]>
source.dussan.org Git - rspamd.git/log
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
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
Vsevolod Stakhov [Wed, 3 Apr 2024 15:04:35 +0000 (21:04 +0600)]
Merge pull request #4903 from rspamd/vstakhov-fix-zstd-mmap
Fix shared memory proxying when compression is set
Vsevolod Stakhov [Wed, 3 Apr 2024 14:47:50 +0000 (15:47 +0100)]
[Fix] Fix shared memory proxying when compression is set
Vsevolod Stakhov [Wed, 3 Apr 2024 11:37:10 +0000 (17:37 +0600)]
Merge pull request #4901 from rspamd/vstakhov-milter-quarantine-message
Allow custom milter quarantine and tempfail messages
Vsevolod Stakhov [Tue, 2 Apr 2024 14:39:59 +0000 (15:39 +0100)]
[Feature] Allow custom milter quarantine and tempfail messages
Issue: #4892
Closes: #4892
Vsevolod Stakhov [Thu, 28 Mar 2024 15:22:39 +0000 (21:22 +0600)]
Merge pull request #4894 from rspamd/vstakhov-cloudmark-improvements
Several improvements to the Cloudmark integration
Vsevolod Stakhov [Thu, 28 Mar 2024 15:04:57 +0000 (15:04 +0000)]
[Minor] Fix some corner cases
Vsevolod Stakhov [Wed, 27 Mar 2024 16:04:29 +0000 (16:04 +0000)]
[Feature] Cloudmark: Add scores_symbols setting
Vsevolod Stakhov [Wed, 27 Mar 2024 15:01:29 +0000 (15:01 +0000)]
[Feature] Allow adding X-CMAE-Score header
Vsevolod Stakhov [Tue, 26 Mar 2024 14:51:25 +0000 (20:51 +0600)]
Merge pull request #4890 from twesterhever/temp-received-localhost
[Minor] Add rule for localhost HELOs in Received headers
Vsevolod Stakhov [Tue, 26 Mar 2024 14:50:57 +0000 (20:50 +0600)]
Merge pull request #4889 from twesterhever/temp-replyto-same-as-to
[Enhancement] Add more symbols for Reply-To header characteristics
Vsevolod Stakhov [Mon, 25 Mar 2024 14:44:38 +0000 (20:44 +0600)]
Merge pull request #4891 from fatalbanana/spf_example
[Minor] Fix format of example setting (rspamd/rspamd.com#736)
Andrew Lewis [Mon, 25 Mar 2024 11:47:50 +0000 (13:47 +0200)]
[Minor] Fix format of example setting (rspamd.com#736)
twesterhever [Sun, 24 Mar 2024 17:48:53 +0000 (17:48 +0000)]
[Minor] Add rule for localhost HELOs in Received headers
twesterhever [Sun, 24 Mar 2024 17:24:24 +0000 (17:24 +0000)]
[Enhancement] Add more symbols for Reply-To header characteristics
Vsevolod Stakhov [Sun, 24 Mar 2024 16:22:56 +0000 (22:22 +0600)]
Merge pull request #4887 from rspamd/vstakhov-regexp-fix
Protect regexp matcher from regexps with empty patterns
Vsevolod Stakhov [Sun, 24 Mar 2024 14:51:29 +0000 (14:51 +0000)]
[Test] Add unit test
Vsevolod Stakhov [Sat, 23 Mar 2024 22:38:21 +0000 (22:38 +0000)]
[Minor] Limit to x86_64
Vsevolod Stakhov [Fri, 22 Mar 2024 17:07:58 +0000 (17:07 +0000)]
[CritFix] Protect regexp matcher from regexps with empty patterns
Issue: #4885
Closes: #4885
Vsevolod Stakhov [Fri, 22 Mar 2024 17:03:26 +0000 (17:03 +0000)]
[Minor] Deny zero length in regexp search functions
Vsevolod Stakhov [Thu, 21 Mar 2024 14:30:00 +0000 (20:30 +0600)]
Merge pull request #4882 from rspamd/vstakhov-mime-parser-fix
Fix inconsistent nesting in mime parts
Vsevolod Stakhov [Wed, 20 Mar 2024 17:16:48 +0000 (17:16 +0000)]
[Fix] Fix inconsistent nesting in mime parts
We should do like MUAs do: imlicitly close incomplete mime parts
and treat them as ususal. It is weird and utterly stupid but that's
what MUA do.
Issue: #4740
Closes: #4740
Vsevolod Stakhov [Tue, 19 Mar 2024 15:25:48 +0000 (21:25 +0600)]
Merge pull request #4880 from rspamd/vstakhov-fix-glib-types
[Rework] Remove some of the GLib types in lieu of standard ones
Vsevolod Stakhov [Mon, 18 Mar 2024 18:56:33 +0000 (18:56 +0000)]
[Rework] Further types conversion (no functional changes)
Vsevolod Stakhov [Mon, 18 Mar 2024 14:56:16 +0000 (14:56 +0000)]
[Rework] Remove some of the GLib types in lieu of standard ones
This types have constant conflicts with the system ones especially on OSX.
Vsevolod Stakhov [Mon, 18 Mar 2024 14:47:54 +0000 (20:47 +0600)]
Merge pull request #4878 from moisseev/webui
[Minor] Change FooTable breakpoints to match Bootstrap 5
moisseev [Sun, 17 Mar 2024 16:50:37 +0000 (19:50 +0300)]
[Minor] Change FooTable breakpoints
to match Bootstrap 5
moisseev [Sun, 17 Mar 2024 14:34:34 +0000 (17:34 +0300)]
[Minor] Use cascade FooTable column breakpoints
Vsevolod Stakhov [Sat, 16 Mar 2024 13:17:54 +0000 (19:17 +0600)]
Merge pull request #4877 from moisseev/webui
[WebUI] Add column display mode settings
moisseev [Sat, 16 Mar 2024 11:08:56 +0000 (14:08 +0300)]
[WebUI] Add column display mode settings
for Scan and History tables
Vsevolod Stakhov [Fri, 15 Mar 2024 15:08:35 +0000 (21:08 +0600)]
Merge pull request #4876 from fatalbanana/testlog
[Test] Really fix saving test logs...
Andrew Lewis [Fri, 15 Mar 2024 14:21:24 +0000 (16:21 +0200)]
[Test] Really fix saving test logs...
Vsevolod Stakhov [Fri, 15 Mar 2024 14:28:04 +0000 (20:28 +0600)]
Merge pull request #4875 from fatalbanana/badge
[Minor] README: update build status badge
Andrew Lewis [Fri, 15 Mar 2024 14:23:47 +0000 (16:23 +0200)]
[Minor] README: update build status badge
Vsevolod Stakhov [Fri, 15 Mar 2024 14:13:14 +0000 (20:13 +0600)]
Merge pull request #4873 from rspamd/vstakhov-fix-multipattern-init
Do not save multipatterns to FS in certain cases
Vsevolod Stakhov [Fri, 15 Mar 2024 14:05:42 +0000 (14:05 +0000)]
[Test] Run functional tests using root user
Vsevolod Stakhov [Fri, 15 Mar 2024 14:02:30 +0000 (14:02 +0000)]
[Test] More rework of the tests
Vsevolod Stakhov [Fri, 15 Mar 2024 13:50:17 +0000 (13:50 +0000)]
[Test] Add missing path
Vsevolod Stakhov [Fri, 15 Mar 2024 13:46:44 +0000 (13:46 +0000)]
[Test] Try to hack
Vsevolod Stakhov [Fri, 15 Mar 2024 13:30:45 +0000 (13:30 +0000)]
Merge remote-tracking branch 'origin/master' into vstakhov-fix-multipattern-init
Vsevolod Stakhov [Fri, 15 Mar 2024 13:30:01 +0000 (19:30 +0600)]
Merge pull request #4874 from fatalbanana/checkout_action
[Test] Use actions/checkout
Andrew Lewis [Fri, 15 Mar 2024 13:28:28 +0000 (15:28 +0200)]
[Test] Use actions/checkout
Vsevolod Stakhov [Fri, 15 Mar 2024 13:26:47 +0000 (13:26 +0000)]
[Minor] Another similar `getline` fix
Vsevolod Stakhov [Fri, 15 Mar 2024 13:25:27 +0000 (13:25 +0000)]
[Minor] Fix irrelevant issue with the `getline` invocation
Vsevolod Stakhov [Fri, 15 Mar 2024 13:18:34 +0000 (13:18 +0000)]
[Fix] Do not save multipatterns to FS in certain cases