]>
source.dussan.org Git - rspamd.git/log
ishisora [Tue, 21 May 2024 10:56:48 +0000 (19:56 +0900)]
correct headers.lua
ishisora [Tue, 14 May 2024 12:25:41 +0000 (21:25 +0900)]
Merge branch 'rspamd:master' into master
gami [Tue, 14 May 2024 12:19:30 +0000 (21:19 +0900)]
[Minor] Exclude User-Agent: Mozilla Thunderbird from XM_UA_NO_VERSION
gami [Tue, 14 May 2024 12:15:34 +0000 (21:15 +0900)]
[Minor] Exclude User-Agent: Mozilla Thunderbird from XM_UA_NO_VERSION
Vsevolod Stakhov [Tue, 14 May 2024 08:15:34 +0000 (14:15 +0600)]
Merge pull request #4966 from moisseev/eslint
[Test] Disable @stylistic/multiline-comment-style
moisseev [Mon, 13 May 2024 18:47:16 +0000 (21:47 +0300)]
[Test] Disable @stylistic/multiline-comment-style
Vsevolod Stakhov [Mon, 13 May 2024 13:05:07 +0000 (19:05 +0600)]
Merge pull request #4961 from fatalbanana/debian_fasttext
Enable fasttext support on debianalikes
Andrew Lewis [Mon, 13 May 2024 11:00:33 +0000 (13:00 +0200)]
[Minor] debian: enable fasttext
Andrew Lewis [Mon, 13 May 2024 10:57:23 +0000 (12:57 +0200)]
[Minor] debian: add libarchive-dev to Build-Depends
Vsevolod Stakhov [Mon, 6 May 2024 09:26:35 +0000 (15:26 +0600)]
Merge pull request #4955 from twesterhever/temp-dnsbl-mid-fix-selector
[Minor] Properly make use of selectors for checking MID RHSs against DNSBLs
twesterhever [Mon, 6 May 2024 06:44:58 +0000 (06:44 +0000)]
[Minor] Properly make use of selectors for checking MID RHSs against DNSBLs
Related to: https://github.com/rspamd/rspamd/pull/4888
Vsevolod Stakhov [Sat, 4 May 2024 07:04:40 +0000 (13:04 +0600)]
Merge pull request #4953 from ikedas/fix_is_uppercase
[Fix] SUBJ_ALL_CAPS is overkill with some unicase scripts
Vsevolod Stakhov [Fri, 3 May 2024 13:34:19 +0000 (19:34 +0600)]
Merge pull request #4954 from moisseev/webui
[Minor] Remove redundant sub-property
moisseev [Fri, 3 May 2024 06:55:56 +0000 (09:55 +0300)]
[Minor] Remove redundant sub-property
IKEDA Soji [Thu, 2 May 2024 13:34:09 +0000 (22:34 +0900)]
SUBJ_ALL_CAPS is overkill
It should consider characters in unicase scripts as being not uppercase.
Vsevolod Stakhov [Thu, 2 May 2024 13:43:32 +0000 (19:43 +0600)]
Merge pull request #4888 from twesterhever/temp-rbl-mid
Implement DNSBL checks for Message-ID RHS
Vsevolod Stakhov [Wed, 1 May 2024 14:26:56 +0000 (20:26 +0600)]
Merge pull request #4950 from twesterhever/temp-cd-message-body
Add Content-Description header rules
twesterhever [Wed, 1 May 2024 08:10:34 +0000 (08:10 +0000)]
[Minor] Constrain Content-Description regexp
twesterhever [Wed, 1 May 2024 08:09:19 +0000 (08:09 +0000)]
[Minor] Remove superflous "string.format()"
Vsevolod Stakhov [Tue, 30 Apr 2024 14:07:58 +0000 (20:07 +0600)]
Merge pull request #4915 from twesterhever/temp-freemail-mdn
Add detection for freemail and disposable e-mail usage for message delivery notification
Vsevolod Stakhov [Mon, 29 Apr 2024 15:21:56 +0000 (16:21 +0100)]
[Fix] Allow to set 0 as number of rows to disable roll history
Issue: #4947
Closes: #4947
Vsevolod Stakhov [Mon, 29 Apr 2024 13:53:57 +0000 (19:53 +0600)]
Merge pull request #4951 from rspamd/vstakhov-langdet-fix
Apply detection phase if fasttext could not detect language
Vsevolod Stakhov [Mon, 29 Apr 2024 13:29:08 +0000 (14:29 +0100)]
[Fix] Fix another corner case that allows candidates to be freed without init
Vsevolod Stakhov [Sun, 28 Apr 2024 21:15:09 +0000 (22:15 +0100)]
[Fix] Apply detection phase if fasttext could not detect language
Issue: #4929
Vsevolod Stakhov [Sun, 28 Apr 2024 20:34:15 +0000 (02:34 +0600)]
Merge pull request #4949 from twesterhever/temp-archive-content
[Minor] Add bad file types commonly found in archives attached to malspam
twesterhever [Sun, 28 Apr 2024 09:44:07 +0000 (09:44 +0000)]
[Enhancement] Catch "Mail message body" Content-Description
This header frequently surfaces in spam, mostly advance fee fraud.
twesterhever [Sun, 28 Apr 2024 09:43:44 +0000 (09:43 +0000)]
[Minor] Add rule for presence of Content-Description header
twesterhever [Sun, 28 Apr 2024 09:06:17 +0000 (09:06 +0000)]
[Minor] Add bad file types commonly found in archives attached to malspam
twesterhever [Sun, 28 Apr 2024 08:43:32 +0000 (08:43 +0000)]
[Minor] Query MID RHS FQDNs against popular DNSBL using selectors
See https://github.com/rspamd/rspamd/pull/4888 for the related
discussion.
twesterhever [Sun, 28 Apr 2024 08:29:32 +0000 (08:29 +0000)]
Revert "[Enhancement] Check Message-ID RHS against popular DNSBLs by default"
This reverts commit
c78c70c76bb7ae8e714ed773037ccce1012dd20f .
twesterhever [Sun, 28 Apr 2024 08:29:23 +0000 (08:29 +0000)]
Revert "[Enhancement] Implement Message-ID RHS checks against DNSBLs"
This reverts commit
5e84a82f8742ed2bcef65859759c0dd14aa9c4ca .
twesterhever [Sun, 24 Mar 2024 16:29:47 +0000 (16:29 +0000)]
[Enhancement] Check Message-ID RHS against popular DNSBLs by default
twesterhever [Sun, 24 Mar 2024 16:29:22 +0000 (16:29 +0000)]
[Enhancement] Implement Message-ID RHS checks against DNSBLs
Vsevolod Stakhov [Fri, 26 Apr 2024 14:16:08 +0000 (20:16 +0600)]
Merge pull request #4914 from twesterhever/temp-rework-injector-composite
Rework composites for spam injected into compromised accounts
Vsevolod Stakhov [Thu, 25 Apr 2024 14:27:24 +0000 (15:27 +0100)]
[Fix] Backport fixes from libucl
Vsevolod Stakhov [Wed, 24 Apr 2024 14:41:45 +0000 (20:41 +0600)]
Merge pull request #4942 from rspamd/vstakhov-fix-base64
Do not read out-of-boundary when doing base64 encoding
Vsevolod Stakhov [Wed, 24 Apr 2024 13:47:17 +0000 (14:47 +0100)]
[Fix] Do not read out-of-boundary when doing base64 encoding
Vsevolod Stakhov [Wed, 24 Apr 2024 08:49:47 +0000 (14:49 +0600)]
Merge pull request #4939 from rspamd/vstakhov-fuzzy-backpressure
Implement backpressure for fuzzy check
Vsevolod Stakhov [Tue, 23 Apr 2024 14:41:29 +0000 (15:41 +0100)]
[Minor] Further normalization
Vsevolod Stakhov [Tue, 23 Apr 2024 14:40:43 +0000 (15:40 +0100)]
[Minor] Jitter backpressure
Vsevolod Stakhov [Tue, 23 Apr 2024 14:37:18 +0000 (15:37 +0100)]
[Project] Implement fuzzy check retransmits backpressure
Vsevolod Stakhov [Tue, 23 Apr 2024 14:04:05 +0000 (15:04 +0100)]
[Minor] Change log logic in fuzzy_check
Vsevolod Stakhov [Tue, 23 Apr 2024 14:03:25 +0000 (15:03 +0100)]
[Minor] Add function to reschedule events at specific timer
Vsevolod Stakhov [Mon, 22 Apr 2024 18:11:54 +0000 (00:11 +0600)]
Merge pull request #4937 from rspamd/vstakhov-control-fixes
Serialize control commands
Vsevolod Stakhov [Mon, 22 Apr 2024 17:42:08 +0000 (18:42 +0100)]
[Minor] Deal with descriptors in the wait queue
Vsevolod Stakhov [Mon, 22 Apr 2024 17:29:11 +0000 (18:29 +0100)]
[Minor] Do not use pointers to local variables, sigh
Vsevolod Stakhov [Mon, 22 Apr 2024 15:00:01 +0000 (16:00 +0100)]
[Minor] Try to fix mess with refcounts
Vsevolod Stakhov [Mon, 22 Apr 2024 14:49:47 +0000 (15:49 +0100)]
[Rework] Serialize control commands
In fact, we cannot send multiple commands and read them through the pipe. It has
caused multiple weird issues in the past but I can now see clearly how it should
be done. We should send commands and serialize all requests pending to let them
being sent one by one, after reply for the previous command has been received.
Vsevolod Stakhov [Mon, 22 Apr 2024 13:45:10 +0000 (19:45 +0600)]
Merge pull request #4935 from moisseev/webui
[Minor] Update Bootstrap
Vsevolod Stakhov [Mon, 22 Apr 2024 13:24:42 +0000 (19:24 +0600)]
Merge pull request #4934 from dragoangel/patch-5
Fix error in headers_checks.lua
moisseev [Sun, 21 Apr 2024 07:26:47 +0000 (10:26 +0300)]
[Minor] Update Bootstrap
Vsevolod Stakhov [Sat, 20 Apr 2024 14:43:20 +0000 (20:43 +0600)]
Merge pull request #4933 from rspamd/vstakhov-utf8-received
Support UTF8 flag for the received headers
Vsevolod Stakhov [Sat, 20 Apr 2024 14:34:11 +0000 (15:34 +0100)]
[Fix] Backport multiple fixes from libucl
Vsevolod Stakhov [Sat, 20 Apr 2024 11:39:12 +0000 (17:39 +0600)]
Merge pull request #4932 from rspamd/vstakhov-fix-bayes-disable
Fix statfile symbols disabling
Dmitriy Alekseev [Fri, 19 Apr 2024 18:33:44 +0000 (21:33 +0300)]
Fix error in headers_checks.lua
Vsevolod Stakhov [Fri, 19 Apr 2024 13:14:10 +0000 (14:14 +0100)]
[Minor] Support UTF8 in Received flags
Issue: #4919
Vsevolod Stakhov [Fri, 19 Apr 2024 13:06:05 +0000 (14:06 +0100)]
[Fix] If we have one statfile disabled we need to disable all
Vsevolod Stakhov [Thu, 18 Apr 2024 21:15:05 +0000 (03:15 +0600)]
Merge pull request #4930 from aduernberger/bayes_relearn
[Fix] Relearn messages in bayes filter
Vsevolod Stakhov [Thu, 18 Apr 2024 13:27:56 +0000 (19:27 +0600)]
Merge pull request #4926 from lucasRolff/master
[Minor] Add selector to get rspamd_hostname
aduernberger [Thu, 18 Apr 2024 12:44:01 +0000 (14:44 +0200)]
[Fix] Increase/decrease hash_key value for tokens depending on is_unlearn
When relearning a message, this script is called twice:
1. With `is_unlearn` true and the old `is_spam` value
2. With `is_unlearn` false and the new `is_spam` value
If `is_unlearn` is true, the code should not increase the value of the hash_key. Decreasing it ensures that it behaves like a fresh learn with the new is_spam value.
aduernberger [Thu, 18 Apr 2024 12:34:51 +0000 (14:34 +0200)]
[Fix] Update is_spam in learned_ids when relearning
aduernberger [Thu, 18 Apr 2024 12:28:34 +0000 (14:28 +0200)]
[Fix] Always set the unlearn flag when relearning
Treat relearning from ham to spam the same as relearning from spam to ham. `res` is only set to true if the mail is already learned.
Lucas Rolff [Wed, 17 Apr 2024 14:57:49 +0000 (22:57 +0800)]
[Minor] Move hostname resolution up to cache it
Instead of calling get_hostname() for every processed message, we instead reuse the variable value from rspamd boot time
Vsevolod Stakhov [Tue, 16 Apr 2024 14:59:10 +0000 (20:59 +0600)]
Merge pull request #4927 from moisseev/navbar
[WebUI] Prevent navbar layout shift
Vsevolod Stakhov [Mon, 15 Apr 2024 07:41:05 +0000 (13:41 +0600)]
Merge pull request #4922 from moisseev/webui
[WebUI] Add missing handler for file input
Lucas Rolff [Mon, 15 Apr 2024 00:13:21 +0000 (08:13 +0800)]
[Minor] Add selector to get rspamd_hostname
Vsevolod Stakhov [Sat, 13 Apr 2024 11:33:19 +0000 (17:33 +0600)]
Merge pull request #4924 from fatalbanana/cmae_scores
[Minor] Cloudmark scores_symbols: convert keys to numeric values
moisseev [Sat, 13 Apr 2024 08:15:46 +0000 (11:15 +0300)]
[WebUI] Prevent navbar layout shift
caused by buttons hiding and scroll bar
Andrew Lewis [Fri, 12 Apr 2024 20:50:12 +0000 (22:50 +0200)]
[Minor] Cloudmark scores_symbols: convert keys to numeric values
moisseev [Fri, 12 Apr 2024 17:55:47 +0000 (20:55 +0300)]
[WebUI] Add missing handler for file input
Vsevolod Stakhov [Thu, 11 Apr 2024 17:10:20 +0000 (23:10 +0600)]
Merge pull request #4920 from dragoangel/patch-4
[Enhancement] Exclude false positives of MIME_DOUBLE_BAD_EXTENSION
Vsevolod Stakhov [Thu, 11 Apr 2024 17:09:04 +0000 (23:09 +0600)]
Merge pull request #4916 from twesterhever/temp-increase-rdns-none-score
[Minor] Increase RDNS_NONE score to 2.0
Dmitriy Alekseev [Thu, 11 Apr 2024 16:17:08 +0000 (19:17 +0300)]
[Enhancement] Exclude false positives of MIME_DOUBLE_BAD_EXTENSION
If we detected extension of the file and this extension is equal to the real extension then we should not pass second extension to check function as it will trigger false positive for MIME_DOUBLE_BAD_EXTENSION.
Vsevolod Stakhov [Wed, 10 Apr 2024 19:14:37 +0000 (01:14 +0600)]
Merge pull request #4918 from fatalbanana/grow_factor_tests
Add tests for grow_factor
Andrew Lewis [Wed, 10 Apr 2024 14:30:56 +0000 (16:30 +0200)]
[Test] Add tests for grow_factor
Andrew Lewis [Wed, 10 Apr 2024 14:03:07 +0000 (16:03 +0200)]
[Minor] Fix grow_factor
Vsevolod Stakhov [Wed, 10 Apr 2024 09:59:26 +0000 (15:59 +0600)]
Merge pull request #4917 from fatalbanana/gha_whups
[Test] Fix uploading of test logs when tests are failed
Andrew Lewis [Tue, 9 Apr 2024 16:18:11 +0000 (18:18 +0200)]
[Test] Fix uploading of test logs when tests are failed
Vsevolod Stakhov [Tue, 9 Apr 2024 11:51:35 +0000 (17:51 +0600)]
Merge pull request #4913 from moisseev/webui
[WebUI] Escape HTML characters in errors history
Vsevolod Stakhov [Tue, 9 Apr 2024 11:51:12 +0000 (17:51 +0600)]
Merge pull request #4912 from rspamd/vstakhov-grow-factor-rework
Rework grow factor
twesterhever [Tue, 9 Apr 2024 11:25:52 +0000 (11:25 +0000)]
[Minor] Increase RDNS_NONE score to 2.0
twesterhever [Tue, 9 Apr 2024 11:19:11 +0000 (11:19 +0000)]
[Minor] Fix typo in rule name
twesterhever [Tue, 9 Apr 2024 11:17:33 +0000 (11:17 +0000)]
[Minor] Add composite for suspicios free/disposamail MDN usage
twesterhever [Tue, 9 Apr 2024 11:14:16 +0000 (11:14 +0000)]
[Minor] Improve FREEMAIL_AFF detection
twesterhever [Tue, 9 Apr 2024 11:13:15 +0000 (11:13 +0000)]
[Enhancement] Detect freemail and disposable e-mail usage for MDN
twesterhever [Tue, 9 Apr 2024 11:01:39 +0000 (11:01 +0000)]
[Minor] Also respect HAS_XOIP for authenticated messages
twesterhever [Tue, 9 Apr 2024 10:57:00 +0000 (10:57 +0000)]
[Minor] Add some missing groups to existing composite rules
twesterhever [Tue, 9 Apr 2024 10:55:24 +0000 (10:55 +0000)]
[Minor] Rework composites for spam injected into compromised accounts
moisseev [Tue, 9 Apr 2024 06:14:07 +0000 (09:14 +0300)]
[WebUI] Escape HTML characters in errors history
Vsevolod Stakhov [Mon, 8 Apr 2024 18:21:20 +0000 (19:21 +0100)]
[Project] Adjust some final bits
Vsevolod Stakhov [Mon, 8 Apr 2024 18:05:22 +0000 (19:05 +0100)]
[Project] Write a function to adjust grow factor properly
Vsevolod Stakhov [Sun, 7 Apr 2024 17:42:03 +0000 (18:42 +0100)]
[Project] Rework grow factor as it is currently broken
Vsevolod Stakhov [Sat, 6 Apr 2024 16:12:36 +0000 (22:12 +0600)]
Merge pull request #4910 from rspamd/vstakhov-fix-greylist-threshold
Update greylisting threshold on each scan as it can be easily dynamic
Vsevolod Stakhov [Sat, 6 Apr 2024 15:58:08 +0000 (16:58 +0100)]
Merge branch 'master' into vstakhov-fix-greylist-threshold
Vsevolod Stakhov [Sat, 6 Apr 2024 15:57:35 +0000 (21:57 +0600)]
Merge pull request #4911 from fatalbanana/break_greylisting_tests
[Test] Try break greylisting tests
Andrew Lewis [Fri, 5 Apr 2024 20:42:16 +0000 (22:42 +0200)]
[Test] Try break greylisting tests
Vsevolod Stakhov [Fri, 5 Apr 2024 16:56:15 +0000 (17:56 +0100)]
[Fix] Honor dynamic thresholds for greylisting module
Vsevolod Stakhov [Fri, 5 Apr 2024 16:48:06 +0000 (17:48 +0100)]
[Minor] Remove redundant metric name
Vsevolod Stakhov [Fri, 5 Apr 2024 16:44:59 +0000 (17:44 +0100)]
[Fix] Update greylisting threshold as it can be easily dynamic
Issue: #4908
Closes: #4908
Vsevolod Stakhov [Fri, 5 Apr 2024 12:14:00 +0000 (13:14 +0100)]
[Minor] Fix issue with ucl variables
Pointed by: @crest