]> source.dussan.org Git - rspamd.git/log
rspamd.git
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

3 years ago[Minor] Disable headers hash for statistics
Vsevolod Stakhov [Tue, 6 Apr 2021 14:39:19 +0000 (15:39 +0100)]
[Minor] Disable headers hash for statistics

Discussed with: @moisseev

3 years ago[Minor] Slightly extend 'forbidden' flags
Vsevolod Stakhov [Tue, 6 Apr 2021 13:59:07 +0000 (14:59 +0100)]
[Minor] Slightly extend 'forbidden' flags

3 years ago[Minor] Rspamadm: Exclude nostat symbols
Vsevolod Stakhov [Tue, 6 Apr 2021 13:29:30 +0000 (14:29 +0100)]
[Minor] Rspamadm: Exclude nostat symbols

3 years ago[Minor] Rspamadm: Do a more deep initialisation for clickhouse subcommand
Vsevolod Stakhov [Tue, 6 Apr 2021 13:10:13 +0000 (14:10 +0100)]
[Minor] Rspamadm: Do a more deep initialisation for clickhouse subcommand

3 years ago[Minor] Ratelimit: Do not forget to register symbol
Vsevolod Stakhov [Mon, 5 Apr 2021 15:24:51 +0000 (16:24 +0100)]
[Minor] Ratelimit: Do not forget to register symbol

3 years agoMerge pull request #3697 from moisseev/webui-lib
Vsevolod Stakhov [Sat, 3 Apr 2021 19:54:35 +0000 (20:54 +0100)]
Merge pull request #3697 from moisseev/webui-lib

[WebUI] Update libraries

3 years agoMerge pull request #3696 from moisseev/webui
Vsevolod Stakhov [Sat, 3 Apr 2021 19:54:25 +0000 (20:54 +0100)]
Merge pull request #3696 from moisseev/webui

[WebUI] Fix sorting errors by date

3 years ago[WebUI] Update libraries 3697/head
moisseev [Sat, 3 Apr 2021 15:27:24 +0000 (18:27 +0300)]
[WebUI] Update libraries

 - jQuery v3.5.1 -> v3.6.0
 - Bootstrap v4.5.0 -> v4.6.0

3 years ago[WebUI] Fix sorting errors by date 3696/head
moisseev [Fri, 2 Apr 2021 17:45:08 +0000 (20:45 +0300)]
[WebUI] Fix sorting errors by date

Fixes #2965
Submitted by: @z-jun

3 years ago[Minor] Lua_util: Allow to use text in several rspamd_util methods
Vsevolod Stakhov [Fri, 2 Apr 2021 14:37:52 +0000 (15:37 +0100)]
[Minor] Lua_util: Allow to use text in several rspamd_util methods

3 years ago[Minor] Lua_text: Add a hack to use several distinct fake texts
Vsevolod Stakhov [Fri, 2 Apr 2021 14:37:31 +0000 (15:37 +0100)]
[Minor] Lua_text: Add a hack to use several distinct fake texts

3 years ago[Minor] DMARC: Fix table nesting
Vsevolod Stakhov [Fri, 2 Apr 2021 12:48:15 +0000 (13:48 +0100)]
[Minor] DMARC: Fix table nesting

3 years ago[Minor] DMARC: Fix munging when reply-to is presented
Vsevolod Stakhov [Fri, 2 Apr 2021 12:18:58 +0000 (13:18 +0100)]
[Minor] DMARC: Fix munging when reply-to is presented

3 years agoMerge pull request #3695 from FelixSchwarz/master
Vsevolod Stakhov [Thu, 1 Apr 2021 19:46:20 +0000 (20:46 +0100)]
Merge pull request #3695 from FelixSchwarz/master

[Minor] Update dependency info

3 years ago[Fix] Another FSM fix to accomodate possibility of multiple consequent ?
Vsevolod Stakhov [Thu, 1 Apr 2021 11:40:41 +0000 (12:40 +0100)]
[Fix] Another FSM fix to accomodate possibility of multiple consequent ?

3 years ago[Test] Add some more rfc2047 tricky cases
Vsevolod Stakhov [Thu, 1 Apr 2021 11:21:56 +0000 (12:21 +0100)]
[Test] Add some more rfc2047 tricky cases

3 years ago[Fix] Fix parsing of rfc2047 tokens with '?' inside
Vsevolod Stakhov [Thu, 1 Apr 2021 11:21:36 +0000 (12:21 +0100)]
[Fix] Fix parsing of rfc2047 tokens with '?' inside

3 years agoMerge pull request #3694 from HeinleinSupport/lua_scanners/kasp_se
Vsevolod Stakhov [Wed, 31 Mar 2021 19:08:35 +0000 (20:08 +0100)]
Merge pull request #3694 from HeinleinSupport/lua_scanners/kasp_se

[Minor] kaspersky_se - fix macro detection

3 years agoMerge pull request #3693 from HeinleinSupport/actions_warning
Vsevolod Stakhov [Wed, 31 Mar 2021 19:07:36 +0000 (20:07 +0100)]
Merge pull request #3693 from HeinleinSupport/actions_warning

[Minor] cfg_transform - fix actions sanity check

3 years ago[Minor] Update dependency info 3695/head
Felix Schwarz [Wed, 31 Mar 2021 16:02:00 +0000 (18:02 +0200)]
[Minor] Update dependency info

3 years ago[Fix] Fix '==' parsing in the content type attributes parser
Vsevolod Stakhov [Tue, 30 Mar 2021 19:43:48 +0000 (20:43 +0100)]
[Fix] Fix '==' parsing in the content type attributes parser

3 years ago[Fix] Fix rfc2047 embedded into rfc2231 pieces in special headers
Vsevolod Stakhov [Tue, 30 Mar 2021 19:30:28 +0000 (20:30 +0100)]
[Fix] Fix rfc2047 embedded into rfc2231 pieces in special headers

3 years ago[Fix] Fix last quote character parsing in the content-type state machine
Vsevolod Stakhov [Tue, 30 Mar 2021 19:30:09 +0000 (20:30 +0100)]
[Fix] Fix last quote character parsing in the content-type state machine

3 years ago[Minor] kaspersky_se - fix macro detection 3694/head
Carsten Rosenberg [Tue, 30 Mar 2021 17:56:14 +0000 (19:56 +0200)]
[Minor] kaspersky_se - fix macro detection

3 years ago[Minor] Bitcoin: Another fix for bleach32 regexp
Vsevolod Stakhov [Tue, 30 Mar 2021 15:44:32 +0000 (16:44 +0100)]
[Minor] Bitcoin: Another fix for bleach32 regexp

3 years ago[Minor] Clickhouse: Use original smtp from
Vsevolod Stakhov [Tue, 30 Mar 2021 14:57:04 +0000 (15:57 +0100)]
[Minor] Clickhouse: Use original smtp from

3 years ago[Project] Css: Implement styles merging
Vsevolod Stakhov [Mon, 29 Mar 2021 14:17:09 +0000 (15:17 +0100)]
[Project] Css: Implement styles merging

3 years ago[Project] Css: Tidy up lambdas
Vsevolod Stakhov [Mon, 29 Mar 2021 13:43:14 +0000 (14:43 +0100)]
[Project] Css: Tidy up lambdas