]> source.dussan.org Git - rspamd.git/log
rspamd.git
3 years ago[Minor] Css: Fix hash tokens parsing
Vsevolod Stakhov [Thu, 6 May 2021 10:21:15 +0000 (11:21 +0100)]
[Minor] Css: Fix hash tokens parsing

3 years ago[Minor] Sigh, one more adjustment
Vsevolod Stakhov [Wed, 5 May 2021 15:18:39 +0000 (16:18 +0100)]
[Minor] Sigh, one more adjustment

3 years ago[Minor] Check boundary earlier
Vsevolod Stakhov [Wed, 5 May 2021 15:14:01 +0000 (16:14 +0100)]
[Minor] Check boundary earlier

3 years ago[Minor] Fix unintended reindentation
Vsevolod Stakhov [Wed, 5 May 2021 14:14:51 +0000 (15:14 +0100)]
[Minor] Fix unintended reindentation

3 years agoMerge pull request #3734 from fatalbanana/unreplace_variables
Vsevolod Stakhov [Wed, 5 May 2021 14:03:44 +0000 (15:03 +0100)]
Merge pull request #3734 from fatalbanana/unreplace_variables

further test framework updates

3 years ago[Minor] Fix comments parsing
Vsevolod Stakhov [Wed, 5 May 2021 14:01:47 +0000 (15:01 +0100)]
[Minor] Fix comments parsing

3 years ago[Rework] Use C++ version of the lua threads pool
Vsevolod Stakhov [Wed, 5 May 2021 13:59:56 +0000 (14:59 +0100)]
[Rework] Use C++ version of the lua threads pool

3 years ago[Minor] Allow forced termination of the suspended threads
Vsevolod Stakhov [Wed, 5 May 2021 10:37:43 +0000 (11:37 +0100)]
[Minor] Allow forced termination of the suspended threads

3 years ago[Test] Cleanup 3734/head
Andrew Lewis [Tue, 4 May 2021 22:42:11 +0000 (00:42 +0200)]
[Test] Cleanup

 - Use consistent naming for setup/teardown
 - Remove some unused files
 - Sort & align variables

3 years ago[Test] Use automatically exported variables
Andrew Lewis [Tue, 4 May 2021 19:43:55 +0000 (21:43 +0200)]
[Test] Use automatically exported variables

3 years ago[Project] Css: Fix rules merging
Vsevolod Stakhov [Tue, 4 May 2021 16:51:30 +0000 (17:51 +0100)]
[Project] Css: Fix rules merging

3 years ago[Test] Use lupa for templating rspamd configs
Andrew Lewis [Tue, 4 May 2021 11:48:37 +0000 (13:48 +0200)]
[Test] Use lupa for templating rspamd configs

3 years ago[Minor] Neural: Do not filter static profiles
Vsevolod Stakhov [Tue, 4 May 2021 11:17:24 +0000 (12:17 +0100)]
[Minor] Neural: Do not filter static profiles

3 years ago[Minor] SPF: Fix external relay log message
Vsevolod Stakhov [Mon, 3 May 2021 20:18:53 +0000 (21:18 +0100)]
[Minor] SPF: Fix external relay log message

3 years ago[Test] Add a unit test for buckets variables in the mempool
Vsevolod Stakhov [Sun, 2 May 2021 19:34:43 +0000 (20:34 +0100)]
[Test] Add a unit test for buckets variables in the mempool

3 years ago[Minor] Lua_mempool: Fix setting buckets of variables
Vsevolod Stakhov [Sun, 2 May 2021 19:30:01 +0000 (20:30 +0100)]
[Minor] Lua_mempool: Fix setting buckets of variables

Reported by: Steve Sturges

3 years ago[Minor] Pet luacheck
Vsevolod Stakhov [Fri, 30 Apr 2021 16:58:00 +0000 (17:58 +0100)]
[Minor] Pet luacheck

3 years ago[Minor] Fix work with file names
Vsevolod Stakhov [Fri, 30 Apr 2021 16:51:45 +0000 (17:51 +0100)]
[Minor] Fix work with file names

3 years ago[Minor] Bayes actually uses sets, not lists
Vsevolod Stakhov [Fri, 30 Apr 2021 16:51:29 +0000 (17:51 +0100)]
[Minor] Bayes actually uses sets, not lists

3 years ago[Feature] Add preliminary restore bayes support
Vsevolod Stakhov [Fri, 30 Apr 2021 16:35:44 +0000 (17:35 +0100)]
[Feature] Add preliminary restore bayes support

3 years ago[Minor] Fix command line arguments group
Vsevolod Stakhov [Fri, 30 Apr 2021 15:17:32 +0000 (16:17 +0100)]
[Minor] Fix command line arguments group

Issue: #3742

3 years ago[Minor] Another rework in dumping logic
Vsevolod Stakhov [Fri, 30 Apr 2021 12:48:42 +0000 (13:48 +0100)]
[Minor] Another rework in dumping logic

3 years ago[Minor] Neural: Allow to have flat classification if needed
Vsevolod Stakhov [Thu, 29 Apr 2021 18:44:40 +0000 (19:44 +0100)]
[Minor] Neural: Allow to have flat classification if needed

3 years ago[Feature] Neural: Allow to balance FP/FN for the network
Vsevolod Stakhov [Thu, 29 Apr 2021 18:41:03 +0000 (19:41 +0100)]
[Feature] Neural: Allow to balance FP/FN for the network

3 years agoMerge pull request #3739 from fatalbanana/replyto_addr_eq_from
Vsevolod Stakhov [Thu, 29 Apr 2021 15:35:21 +0000 (16:35 +0100)]
Merge pull request #3739 from fatalbanana/replyto_addr_eq_from

[Minor] Fix REPLYTO_ADDR_EQ_FROM for normalised addresses

3 years ago[Minor] Fix REPLYTO_ADDR_EQ_FROM for normalised addresses 3739/head
Andrew Lewis [Thu, 29 Apr 2021 08:31:59 +0000 (10:31 +0200)]
[Minor] Fix REPLYTO_ADDR_EQ_FROM for normalised addresses

3 years ago[Minor] Allow rspamd_text in rspamd_url.create
Vsevolod Stakhov [Wed, 28 Apr 2021 18:15:43 +0000 (19:15 +0100)]
[Minor] Allow rspamd_text in rspamd_url.create

3 years ago[Minor] Rework dump output structure
Vsevolod Stakhov [Wed, 28 Apr 2021 14:32:14 +0000 (15:32 +0100)]
[Minor] Rework dump output structure

3 years agoMerge pull request #3733 from citrin/rules-updates
Vsevolod Stakhov [Wed, 28 Apr 2021 11:34:59 +0000 (12:34 +0100)]
Merge pull request #3733 from citrin/rules-updates

Rules updates

3 years ago[Rules] Add raw addresses to MULTIPLE_FROM options 3733/head
Anton Yuzhaninov [Tue, 27 Apr 2021 15:50:04 +0000 (16:50 +0100)]
[Rules] Add raw addresses to MULTIPLE_FROM options

It is confusing to have MULTIPLE_FROM with a single address in options,
which happens if one of addresses is empty - usually because of
misplaces <>.  While here simplify condition.

3 years ago[Minor] Make HAS_PHPMAILER_SIG regexps more specific
Anton Yuzhaninov [Tue, 27 Apr 2021 15:23:44 +0000 (16:23 +0100)]
[Minor] Make HAS_PHPMAILER_SIG regexps more specific

Use stricter regexp to avoid false matches.

3 years ago[Minor] Statistics_dump: Fix formatting
Vsevolod Stakhov [Tue, 27 Apr 2021 13:37:11 +0000 (14:37 +0100)]
[Minor] Statistics_dump: Fix formatting

3 years ago[Minor] Rspamadm: Move all warnings to stderr instead of stdin
Vsevolod Stakhov [Tue, 27 Apr 2021 13:33:32 +0000 (14:33 +0100)]
[Minor] Rspamadm: Move all warnings to stderr instead of stdin

3 years ago[Minor] Statistics_dump: Support compression when dump
Vsevolod Stakhov [Tue, 27 Apr 2021 13:30:44 +0000 (14:30 +0100)]
[Minor] Statistics_dump: Support compression when dump

3 years ago[Minor] Try to fix sync Redis API by not resuming LUA_REDIS_SPECIFIC_FINISHED threads
Vsevolod Stakhov [Tue, 27 Apr 2021 11:15:34 +0000 (12:15 +0100)]
[Minor] Try to fix sync Redis API by not resuming LUA_REDIS_SPECIFIC_FINISHED threads

3 years ago[Test] Add unit tests for stream compression
Vsevolod Stakhov [Mon, 26 Apr 2021 15:48:42 +0000 (16:48 +0100)]
[Test] Add unit tests for stream compression

3 years ago[Minor] Do not decompress empty stream as zst behaves badly in this case
Vsevolod Stakhov [Mon, 26 Apr 2021 15:48:20 +0000 (16:48 +0100)]
[Minor] Do not decompress empty stream as zst behaves badly in this case

3 years ago[Feature] Add zstd streaming API
Vsevolod Stakhov [Mon, 26 Apr 2021 14:04:36 +0000 (15:04 +0100)]
[Feature] Add zstd streaming API

3 years ago[Rework] Move compression routines outside of rspamd_util library
Vsevolod Stakhov [Mon, 26 Apr 2021 09:53:56 +0000 (10:53 +0100)]
[Rework] Move compression routines outside of rspamd_util library

3 years ago[Minor] Milter_headers: Use specific settings
Vsevolod Stakhov [Fri, 23 Apr 2021 19:19:05 +0000 (20:19 +0100)]
[Minor] Milter_headers: Use specific settings

Issue: #3728

3 years ago[Feature] Add a simple dumper for bayes tokens
Vsevolod Stakhov [Fri, 23 Apr 2021 13:54:28 +0000 (14:54 +0100)]
[Feature] Add a simple dumper for bayes tokens

3 years ago[Minor] Lua_magic: Return utf8 check as it is useful for many cases
Vsevolod Stakhov [Thu, 22 Apr 2021 13:22:52 +0000 (14:22 +0100)]
[Minor] Lua_magic: Return utf8 check as it is useful for many cases

3 years ago[Minor] Lua_magic: Really add an exclusion...
Vsevolod Stakhov [Thu, 22 Apr 2021 13:13:28 +0000 (14:13 +0100)]
[Minor] Lua_magic: Really add an exclusion...

3 years ago[Minor] Lua_magic: Make an exclusion for message parts
Vsevolod Stakhov [Thu, 22 Apr 2021 13:08:47 +0000 (14:08 +0100)]
[Minor] Lua_magic: Make an exclusion for message parts

3 years ago[Rework] Lua_magic: Try to detect text parts with 8bit characters for non-utf8 encodings
Vsevolod Stakhov [Thu, 22 Apr 2021 13:08:11 +0000 (14:08 +0100)]
[Rework] Lua_magic: Try to detect text parts with 8bit characters for non-utf8 encodings

3 years ago[Minor] Rspamc: Detect zstd input automatically
Vsevolod Stakhov [Thu, 22 Apr 2021 11:51:20 +0000 (12:51 +0100)]
[Minor] Rspamc: Detect zstd input automatically

3 years ago[Minor] Improve logging for REDIS_REPLY_ERROR
Vsevolod Stakhov [Wed, 21 Apr 2021 11:35:04 +0000 (12:35 +0100)]
[Minor] Improve logging for REDIS_REPLY_ERROR

3 years agoMerge pull request #3725 from fatalbanana/neural_ucl
Vsevolod Stakhov [Wed, 21 Apr 2021 08:57:43 +0000 (09:57 +0100)]
Merge pull request #3725 from fatalbanana/neural_ucl

[Minor] rspamadm clickhouse neural_train : avoid UCL parser re-use

3 years ago[Minor] rspamadm clickhouse neural_train : avoid UCL parser re-use 3725/head
Andrew Lewis [Wed, 21 Apr 2021 08:51:41 +0000 (10:51 +0200)]
[Minor] rspamadm clickhouse neural_train : avoid UCL parser re-use

3 years ago[Minor] Check array length before indexing
Vsevolod Stakhov [Tue, 20 Apr 2021 16:23:52 +0000 (17:23 +0100)]
[Minor] Check array length before indexing

3 years ago[Fix] Ical: Do not extract urls from all flags using merely specific ones
Vsevolod Stakhov [Tue, 20 Apr 2021 14:26:46 +0000 (15:26 +0100)]
[Fix] Ical: Do not extract urls from all flags using merely specific ones

3 years ago[Fix] Replies: Fix 'Reply-To' handling in task:get_reply_sender
Vsevolod Stakhov [Tue, 20 Apr 2021 13:36:41 +0000 (14:36 +0100)]
[Fix] Replies: Fix 'Reply-To' handling in task:get_reply_sender

3 years ago[Project] Css: Add rules processing functions and tests
Vsevolod Stakhov [Tue, 20 Apr 2021 11:03:14 +0000 (12:03 +0100)]
[Project] Css: Add rules processing functions and tests

3 years ago[Minor] Libucl: Do not expand empty objects on output
Vsevolod Stakhov [Tue, 20 Apr 2021 10:06:39 +0000 (11:06 +0100)]
[Minor] Libucl: Do not expand empty objects on output

3 years ago[Minor] Fix bcc_addrs usage
Vsevolod Stakhov [Tue, 20 Apr 2021 09:06:43 +0000 (10:06 +0100)]
[Minor] Fix bcc_addrs usage

Issue: #3724

3 years ago[Minor] Url_redirector: Set redirect_target flag
Vsevolod Stakhov [Mon, 19 Apr 2021 16:24:59 +0000 (17:24 +0100)]
[Minor] Url_redirector: Set redirect_target flag

3 years ago[Minor] Use rspamd_url flags to avoid sync issues
Vsevolod Stakhov [Mon, 19 Apr 2021 16:24:18 +0000 (17:24 +0100)]
[Minor] Use rspamd_url flags to avoid sync issues

3 years ago[Rework] Rework extended urls output
Vsevolod Stakhov [Mon, 19 Apr 2021 16:20:02 +0000 (17:20 +0100)]
[Rework] Rework extended urls output

3 years ago[Rework] Rename phished url to a linked url
Vsevolod Stakhov [Mon, 19 Apr 2021 16:14:06 +0000 (17:14 +0100)]
[Rework] Rename phished url to a linked url

3 years ago[Minor] Stop polluting logs on garbadge urls
Vsevolod Stakhov [Sun, 18 Apr 2021 19:40:38 +0000 (20:40 +0100)]
[Minor] Stop polluting logs on garbadge urls

Issue: #3688

3 years ago[Feature] Spamassassin: Allow to set the default priority for SA scores
Vsevolod Stakhov [Sun, 18 Apr 2021 19:26:41 +0000 (20:26 +0100)]
[Feature] Spamassassin: Allow to set the default priority for SA scores

Issue: #3720

3 years ago[Minor] Reduce decay rate and slightly rework rounding
Vsevolod Stakhov [Fri, 16 Apr 2021 16:02:16 +0000 (17:02 +0100)]
[Minor] Reduce decay rate and slightly rework rounding

3 years ago[Minor] Do not output crap in json mode
Vsevolod Stakhov [Fri, 16 Apr 2021 15:52:07 +0000 (16:52 +0100)]
[Minor] Do not output crap in json mode

3 years ago[Minor] Sanity check as ctors order is not defined
Vsevolod Stakhov [Fri, 16 Apr 2021 09:55:12 +0000 (10:55 +0100)]
[Minor] Sanity check as ctors order is not defined

Issue: #3721

3 years ago[Minor] Avoid FP when a protocol prefix is implicitly added
Vsevolod Stakhov [Thu, 15 Apr 2021 20:23:43 +0000 (21:23 +0100)]
[Minor] Avoid FP when a protocol prefix is implicitly added

3 years ago[Fix] Save symcache on exit
Vsevolod Stakhov [Thu, 15 Apr 2021 15:26:50 +0000 (16:26 +0100)]
[Fix] Save symcache on exit

3 years ago[Fix] Initialise symcache even if it cannot be loaded properly
Vsevolod Stakhov [Thu, 15 Apr 2021 15:26:28 +0000 (16:26 +0100)]
[Fix] Initialise symcache even if it cannot be loaded properly

3 years ago[Minor] Allow numeric flags when filling cbdata
Vsevolod Stakhov [Thu, 15 Apr 2021 15:00:53 +0000 (16:00 +0100)]
[Minor] Allow numeric flags when filling cbdata

3 years ago[Minor] Lua_url: Propagate numeric flags
Vsevolod Stakhov [Thu, 15 Apr 2021 14:52:25 +0000 (15:52 +0100)]
[Minor] Lua_url: Propagate numeric flags

3 years ago[Minor] Truncate too long urls instead of discarding them completely
Vsevolod Stakhov [Thu, 15 Apr 2021 14:39:33 +0000 (15:39 +0100)]
[Minor] Truncate too long urls instead of discarding them completely

3 years ago[Minor] It seems we still need raw urls...
Vsevolod Stakhov [Wed, 14 Apr 2021 15:14:43 +0000 (16:14 +0100)]
[Minor] It seems we still need raw urls...

3 years ago[Minor] Improve rspamd_url structure layout and remove `raw` field
Vsevolod Stakhov [Wed, 14 Apr 2021 12:58:58 +0000 (13:58 +0100)]
[Minor] Improve rspamd_url structure layout and remove `raw` field

3 years ago[Minor] Propagate images flag
Vsevolod Stakhov [Wed, 14 Apr 2021 09:47:15 +0000 (10:47 +0100)]
[Minor] Propagate images flag

3 years ago[Minor] Reputation: Fix set token methods
Vsevolod Stakhov [Wed, 14 Apr 2021 09:05:20 +0000 (10:05 +0100)]
[Minor] Reputation: Fix set token methods

3 years agoMerge pull request #3718 from fatalbanana/urlred_test
Vsevolod Stakhov [Tue, 13 Apr 2021 19:32:45 +0000 (20:32 +0100)]
Merge pull request #3718 from fatalbanana/urlred_test

[Test] url-redirector

3 years ago[Minor] Be consistent in the branches of checks
Vsevolod Stakhov [Tue, 13 Apr 2021 16:14:48 +0000 (17:14 +0100)]
[Minor] Be consistent in the branches of checks

3 years ago[Minor] Fix include/exclude mode for get_urls method
Vsevolod Stakhov [Tue, 13 Apr 2021 16:02:54 +0000 (17:02 +0100)]
[Minor] Fix include/exclude mode for get_urls method

3 years ago[Minor] Correct the docs
Vsevolod Stakhov [Tue, 13 Apr 2021 15:26:22 +0000 (16:26 +0100)]
[Minor] Correct the docs

3 years ago[Minor] Distinguish nil from none
Vsevolod Stakhov [Tue, 13 Apr 2021 15:14:06 +0000 (16:14 +0100)]
[Minor] Distinguish nil from none

3 years ago[Test] url-redirector 3718/head
Andrew Lewis [Tue, 13 Apr 2021 13:06:36 +0000 (14:06 +0100)]
[Test] url-redirector

3 years ago[Minor] Add safety checks when decoding CT attributes
Vsevolod Stakhov [Tue, 13 Apr 2021 12:45:32 +0000 (13:45 +0100)]
[Minor] Add safety checks when decoding CT attributes

3 years ago[Minor] Reputation: Fix DNS backend logic
Vsevolod Stakhov [Tue, 13 Apr 2021 12:36:32 +0000 (13:36 +0100)]
[Minor] Reputation: Fix DNS backend logic

3 years ago[Rework] Reputation: Use more flexible types in get/set functions
Vsevolod Stakhov [Tue, 13 Apr 2021 10:57:15 +0000 (11:57 +0100)]
[Rework] Reputation: Use more flexible types in get/set functions

3 years ago[Minor] Phishing: Small safety check
Vsevolod Stakhov [Mon, 12 Apr 2021 15:55:26 +0000 (16:55 +0100)]
[Minor] Phishing: Small safety check

3 years ago[Minor] Url: Fix parsing of numeric urls with a port
Vsevolod Stakhov [Mon, 12 Apr 2021 10:58:28 +0000 (11:58 +0100)]
[Minor] Url: Fix parsing of numeric urls with a port

3 years ago[Rules] Fix FPs for CTYPE_MIXED_BOGUS
Vsevolod Stakhov [Sun, 11 Apr 2021 20:13:42 +0000 (21:13 +0100)]
[Rules] Fix FPs for CTYPE_MIXED_BOGUS

3 years ago[Fix] Add diacritics flag for several eu languages
Vsevolod Stakhov [Sat, 10 Apr 2021 11:32:55 +0000 (12:32 +0100)]
[Fix] Add diacritics flag for several eu languages

3 years ago[Minor] Avoid extra has_symbol call
Vsevolod Stakhov [Fri, 9 Apr 2021 18:27:29 +0000 (19:27 +0100)]
[Minor] Avoid extra has_symbol call

3 years ago[Minor] Phishing: Disable phishing checks when a domain is dmarc authorized domain
Vsevolod Stakhov [Fri, 9 Apr 2021 16:35:55 +0000 (17:35 +0100)]
[Minor] Phishing: Disable phishing checks when a domain is dmarc authorized domain

3 years ago[Project] Css: Remove ragel from build targets (maybe keep for reference)
Vsevolod Stakhov [Fri, 9 Apr 2021 09:40:25 +0000 (10:40 +0100)]
[Project] Css: Remove ragel from build targets (maybe keep for reference)

3 years ago[Rules] Fix HTTP_TO_HTTPS rule
Vsevolod Stakhov [Fri, 9 Apr 2021 09:40:05 +0000 (10:40 +0100)]
[Rules] Fix HTTP_TO_HTTPS rule

3 years ago[Rules] Do not trigger HTML_SHORT_LINK_IMG on external images
Vsevolod Stakhov [Thu, 8 Apr 2021 16:54:41 +0000 (17:54 +0100)]
[Rules] Do not trigger HTML_SHORT_LINK_IMG on external images

3 years agoMerge pull request #3707 from kakochang/patch-1
Vsevolod Stakhov [Wed, 7 Apr 2021 08:55:40 +0000 (09:55 +0100)]
Merge pull request #3707 from kakochang/patch-1

Fix typos in code comments

3 years agoMerge pull request #3708 from fatalbanana/clickhouse_nn
Vsevolod Stakhov [Wed, 7 Apr 2021 08:55:10 +0000 (09:55 +0100)]
Merge pull request #3708 from fatalbanana/clickhouse_nn

[Minor] rspamadm clickhouse : small fixes

3 years ago[Minor] rspamadm clickhouse : small fixes 3708/head
Andrew Lewis [Wed, 7 Apr 2021 08:41:57 +0000 (09:41 +0100)]
[Minor] rspamadm clickhouse : small fixes

 - Fix spelling of nostat(?)
 - Sort table (for correct digest)
 - Don't add non-existing symbols to profile

3 years agoFix typos in code comments 3707/head
Kako, Chang [Wed, 7 Apr 2021 05:00:14 +0000 (13:00 +0800)]
Fix typos in code comments

3 years ago[Minor] Fix broken init logic
Vsevolod Stakhov [Tue, 6 Apr 2021 15:46:02 +0000 (16:46 +0100)]
[Minor] Fix broken init logic

3 years ago[Fix] Move metric and symcache link from validation to the init stage
Vsevolod Stakhov [Tue, 6 Apr 2021 15:40:16 +0000 (16:40 +0100)]
[Fix] Move metric and symcache link from validation to the init stage

3 years ago[Minor] Rspamadm: Init symcache in rspamadm clickhouse
Vsevolod Stakhov [Tue, 6 Apr 2021 15:06:10 +0000 (16:06 +0100)]
[Minor] Rspamadm: Init symcache in rspamadm clickhouse

3 years ago[Minor] Rspamadm: Fix misprint nostat -> no_stat
Vsevolod Stakhov [Tue, 6 Apr 2021 14:39:50 +0000 (15:39 +0100)]
[Minor] Rspamadm: Fix misprint nostat -> no_stat