]>
source.dussan.org Git - rspamd.git/log
Vsevolod Stakhov [Mon, 5 Aug 2024 16:20:32 +0000 (17:20 +0100)]
[Minor] Pass queue-id from Milter to log tag
Vsevolod Stakhov [Sun, 4 Aug 2024 18:49:08 +0000 (00:49 +0600)]
Merge branch 'master' into vstakhov-log-tag-passthrough
Vsevolod Stakhov [Sat, 3 Aug 2024 16:11:04 +0000 (17:11 +0100)]
[Project] Allow to change log tag from HTTP request
Vsevolod Stakhov [Fri, 2 Aug 2024 11:13:33 +0000 (17:13 +0600)]
Merge pull request #5083 from fatalbanana/test_milter_headers
[Test] Add tests for milter_headers
Vsevolod Stakhov [Fri, 2 Aug 2024 11:13:23 +0000 (17:13 +0600)]
Merge pull request #5088 from moisseev/senderscore
[Conf] Add SenderScore Reputationlist RBL
Vsevolod Stakhov [Thu, 1 Aug 2024 14:48:50 +0000 (20:48 +0600)]
Merge pull request #5091 from rspamd/vstakhov-redis-fix-scripts-loading
[Fix] Fix Redis scripts uploading when Redis is not ready
Vsevolod Stakhov [Thu, 1 Aug 2024 14:21:28 +0000 (15:21 +0100)]
[Minor] Fix logging
Vsevolod Stakhov [Thu, 1 Aug 2024 13:55:29 +0000 (14:55 +0100)]
[Minor] Fix status change and improve logging
Vsevolod Stakhov [Thu, 1 Aug 2024 12:17:39 +0000 (18:17 +0600)]
Merge pull request #5084 from rspamd/vstakhov-negative-group-limits
[Feature] Allow to set negative group score limit via `min_score`
Vsevolod Stakhov [Thu, 1 Aug 2024 11:58:13 +0000 (12:58 +0100)]
[Test] Add tests for group score limits
Vsevolod Stakhov [Thu, 1 Aug 2024 11:53:03 +0000 (12:53 +0100)]
[Minor] Fix logic of the checks
Vsevolod Stakhov [Thu, 1 Aug 2024 11:15:12 +0000 (17:15 +0600)]
Merge pull request #5086 from rspamd/vstakhov-redis-better-errors
[Minor] Improve errors reporting for lua_redis
Vsevolod Stakhov [Thu, 1 Aug 2024 11:13:07 +0000 (12:13 +0100)]
[Fix] Fix Redis scripts uploading when Redis is not ready
Initially, there was no way to recover from Redis errors that are temporary
by nature (e.g. when Redis was busy with loading database).
This PR adds logic to check returned reply and adds more fine-grained
errors-per-server handling.
moisseev [Wed, 31 Jul 2024 15:17:56 +0000 (18:17 +0300)]
[Conf] Add SenderScore Reputationlist RBL
Vsevolod Stakhov [Wed, 31 Jul 2024 09:12:35 +0000 (10:12 +0100)]
[Minor] Improve errors reporting for lua_redis
Vsevolod Stakhov [Tue, 30 Jul 2024 16:14:07 +0000 (17:14 +0100)]
[Feature] Allow to set negative group score limit via `min_score`
Andrew Lewis [Tue, 30 Jul 2024 14:16:28 +0000 (16:16 +0200)]
[Test] Add more tests for milter_headers
Andrew Lewis [Tue, 30 Jul 2024 12:37:13 +0000 (14:37 +0200)]
[Test] Add tests for milter_headers
Vsevolod Stakhov [Tue, 30 Jul 2024 10:17:34 +0000 (11:17 +0100)]
[Minor] Add `task:set_subject` alias for sanity
Vsevolod Stakhov [Mon, 29 Jul 2024 17:47:25 +0000 (23:47 +0600)]
Merge pull request #5079 from dragoangel/patch-7
Add name in statistic.conf
Dmitriy Alekseev [Mon, 29 Jul 2024 17:30:15 +0000 (19:30 +0200)]
Merge branch 'master' into patch-7
Vsevolod Stakhov [Mon, 29 Jul 2024 17:29:36 +0000 (23:29 +0600)]
Merge pull request #5077 from moisseev/senderscore
[Conf] Add SenderScore RPBL return codes
Dmitriy Alekseev [Mon, 29 Jul 2024 17:29:01 +0000 (19:29 +0200)]
Update conf/statistic.conf
Co-authored-by: Vsevolod Stakhov <vsevolod@rspamd.com>
moisseev [Mon, 29 Jul 2024 17:06:41 +0000 (20:06 +0300)]
Rename unrecognized SenderScore RBL result symbol
Dmitriy Alekseev [Mon, 29 Jul 2024 13:01:44 +0000 (15:01 +0200)]
Update statistic.conf
Dmitriy Alekseev [Mon, 29 Jul 2024 12:19:59 +0000 (14:19 +0200)]
Update statistic.conf
moisseev [Mon, 29 Jul 2024 07:32:46 +0000 (10:32 +0300)]
Set SenderScore RPBL scores
moisseev [Sun, 28 Jul 2024 15:26:38 +0000 (18:26 +0300)]
[Conf] Add SenderScore RPBL return codes
Vsevolod Stakhov [Sun, 28 Jul 2024 07:45:26 +0000 (08:45 +0100)]
[Minor] Try to fix ambigious rvalue
Vsevolod Stakhov [Fri, 26 Jul 2024 17:04:27 +0000 (18:04 +0100)]
[Minor] Fix known senders to work with empty mime recipients
Issue: #5070
Vsevolod Stakhov [Thu, 25 Jul 2024 13:10:46 +0000 (19:10 +0600)]
Merge pull request #4960 from JasonStephenson/bugfix/arc-regex-fix
[FIX] Arc regex to no longer match on dmarc=
Jason Stephenson [Thu, 25 Jul 2024 12:52:02 +0000 (13:52 +0100)]
linter fix
Vsevolod Stakhov [Thu, 25 Jul 2024 12:21:44 +0000 (13:21 +0100)]
[Conf] Increase scores for strange things in the archives
Vsevolod Stakhov [Thu, 25 Jul 2024 12:15:12 +0000 (13:15 +0100)]
[Fix] GPT: Fix bug in condition check
Jason Stephenson [Tue, 23 Jul 2024 15:12:28 +0000 (16:12 +0100)]
Use pattern to get all methodspecs + reasonspecs, and return the value of the arc one if present
Vsevolod Stakhov [Tue, 23 Jul 2024 10:39:12 +0000 (11:39 +0100)]
[Minor] Update version to 3.9.2
Vsevolod Stakhov [Tue, 23 Jul 2024 10:37:27 +0000 (11:37 +0100)]
Release 3.9.1
* [Conf] Spf: Add R_SPF_PLUSALL symbol with some score
* [Feature] Spf: Treat SPF +all in a special way
* [Minor] Ensure some safety when checking weights
* [Minor] Fix several issues with flag propagation
* [Minor] Gpt: Improve prompt and add some conversion heursitics
* [Minor] Gpt: Remove top_p reduce temperature to 0
* [Minor] Gpt: Set response_format
* [Minor] Gpt: Use gpt-4o-mini by default
Vsevolod Stakhov [Mon, 22 Jul 2024 14:10:31 +0000 (20:10 +0600)]
Merge pull request #5068 from rspamd/vstakhov-gpt-fixes
Some tunes and fixes for GPT
Vsevolod Stakhov [Mon, 22 Jul 2024 12:34:37 +0000 (13:34 +0100)]
[Minor] Use gpt-4o-mini by default
Vsevolod Stakhov [Mon, 22 Jul 2024 12:33:37 +0000 (13:33 +0100)]
[Minor] Improve prompt and add some conversion heursitics
Vsevolod Stakhov [Mon, 22 Jul 2024 12:25:39 +0000 (13:25 +0100)]
[Minor] Ensure some safety when checking weights
Issue: #5065
Vsevolod Stakhov [Mon, 22 Jul 2024 12:10:02 +0000 (13:10 +0100)]
[Minor] Set response_format
Vsevolod Stakhov [Mon, 22 Jul 2024 12:06:51 +0000 (13:06 +0100)]
[Minor] Remove top_p reduce temperature to 0
Vsevolod Stakhov [Fri, 19 Jul 2024 13:08:40 +0000 (19:08 +0600)]
Merge pull request #5063 from moisseev/eslint
[Test] Migrate ESLint to 9.7.0
moisseev [Thu, 18 Jul 2024 14:30:45 +0000 (17:30 +0300)]
[Test] Migrate ESLint to 9.7.0
Vsevolod Stakhov [Thu, 18 Jul 2024 13:42:22 +0000 (19:42 +0600)]
Merge pull request #5059 from rspamd/vstakhov-spf-plusall
[Feature] Treat SPF +all in a special way
Vsevolod Stakhov [Thu, 18 Jul 2024 13:30:53 +0000 (19:30 +0600)]
Merge branch 'master' into vstakhov-spf-plusall
Vsevolod Stakhov [Thu, 18 Jul 2024 12:27:44 +0000 (13:27 +0100)]
[Conf] Add R_SPF_PLUSALL symbol with some score
Vsevolod Stakhov [Thu, 18 Jul 2024 12:26:26 +0000 (13:26 +0100)]
[Minor] Fix several issues with flag propagation
Vsevolod Stakhov [Thu, 18 Jul 2024 12:13:27 +0000 (13:13 +0100)]
[Test] Add test for SPF +all
Vsevolod Stakhov [Wed, 17 Jul 2024 18:39:42 +0000 (00:39 +0600)]
Merge pull request #5058 from moisseev/setup-node-ci
[Test] Use actions/setup-node
moisseev [Wed, 17 Jul 2024 13:21:40 +0000 (16:21 +0300)]
[Test] Use actions/setup-node
The `npm ci`sets up exact versions of Node.js packages listed in the package-lock.json file,
which is ensuring consistency across different test runs and environments.
Vsevolod Stakhov [Wed, 17 Jul 2024 14:35:18 +0000 (15:35 +0100)]
[Feature] Treat SPF +all in a special way
Issue: #4996
Vsevolod Stakhov [Fri, 12 Jul 2024 11:24:28 +0000 (12:24 +0100)]
[Minor] Update version to 3.9.1
Vsevolod Stakhov [Fri, 12 Jul 2024 11:17:54 +0000 (12:17 +0100)]
Release 3.9.0
* [CritFix] Protect regexp matcher from regexps with empty patterns
* [Feature] Allow adding X-CMAE-Score header
* [Feature] Allow custom milter quarantine and tempfail messages
* [Feature] Allow to specify minimum weight in GPT plugin
* [Feature] Cloudmark: Add scores_symbols setting
* [Feature] Further optimization to the hot path
* [Feature] Make min_resolve_interval configurable
* [Feature] Report slow synchronous rules
* [Feature] Rspamc: add `files-list` option
* [Feature] Support metrics command in normal/proxy workers
* [Feature] Support reply in message pack format
* [Feature] Use msgpack in the client
* [Feature] Verify sanity of l= tag in DKIM
* [Feature] milter_headers: support not removing headers
* [Fix] Allow autolearn for the controller worker
* [Fix] Allow spaces in DMARC records
* [Fix] Allow to set 0 as number of rows to disable roll history
* [Fix] Always set the unlearn flag when relearning
* [Fix] Apply detection phase if fasttext could not detect language
* [Fix] Backport fixes from libucl
* [Fix] Backport multiple fixes from libucl
* [Fix] Change expiration logic for redis_cache
* [Fix] Check nconns when firing the final termination event
* [Fix] Do not apply tableshape for known senders
* [Fix] Do not crash if symbol is missing in the metric
* [Fix] Do not read out-of-boundary when doing base64 encoding
* [Fix] Do not save multipatterns to FS in certain cases
* [Fix] Fix another corner case that allows candidates to be freed without init
* [Fix] Fix documentation nesting
* [Fix] Fix dynamic_symbols in the multimap plugin
* [Fix] Fix inconsistent nesting in mime parts
* [Fix] Fix parsing of maps definitions
* [Fix] Fix shared memory proxying when compression is set
* [Fix] Fuzzy add/delete handlers are badly broken for compression
* [Fix] Honor dynamic thresholds for greylisting module
* [Fix] If we have one statfile disabled we need to disable all
* [Fix] Increase/decrease hash_key value for tokens depending on is_unlearn
* [Fix] Libucl: Fix messagepack autodetection
* [Fix] Resgore the collaterally removed line
* [Fix] Unset autolearn flag if we learn explicitly
* [Fix] Update `nconns` in proxy
* [Fix] Update greylisting threshold as it can be easily dynamic
* [Fix] Update is_spam in learned_ids when relearning
* [Fix] Use explicit timeouts in the metadata exporter
* [Fix] metric_exporter: avoid sending `nil` in metric values
* [Project] Add GPT plugin
* [Project] Add a tool to perform statistical analysis of classifiers
* [Project] Finally fix slow timer behaviour
* [Project] Implement fuzzy check retransmits backpressure
* [Project] Improve stats processing
* [Project] Reduce default window size of OSB tokenizer to 2
* [Project] Rework grow factor
* [Project] Start optimization of userdata hashing
* [Project] Use libarchive for troublesome archives
* [Rework] Allow metrics endpoint to be enabled for each scanner
* [Rework] Allow multiple conditions for dkim signing when using vault/redis
* [Rework] Introduce dynamic_rate_limit for ratelimits
* [Rework] Serialize control commands
* [Rework] Update fmt to version 11
* [Rework] Use direct hashing instead of string hashing
* [Rules] Added rules for detecting likely malware
Vsevolod Stakhov [Fri, 12 Jul 2024 08:40:59 +0000 (14:40 +0600)]
Merge pull request #5053 from moisseev/ratelimit
Update comments in ratelimit.conf example
moisseev [Fri, 12 Jul 2024 06:38:14 +0000 (09:38 +0300)]
Update comments in ratelimit.conf example
Vsevolod Stakhov [Thu, 11 Jul 2024 15:23:33 +0000 (16:23 +0100)]
[Fix] Do not crash if symbol is missing in the metric
Vsevolod Stakhov [Thu, 11 Jul 2024 15:08:00 +0000 (16:08 +0100)]
[Fix] Do not apply tableshape for known senders
Vsevolod Stakhov [Thu, 11 Jul 2024 14:10:13 +0000 (20:10 +0600)]
Merge pull request #5045 from rspamd/vstakhov-ratelimits-disable-dyn
Introduce dynamic_rate_limit for ratelimits plugin
Vsevolod Stakhov [Thu, 11 Jul 2024 13:28:39 +0000 (19:28 +0600)]
Merge branch 'master' into vstakhov-ratelimits-disable-dyn
Vsevolod Stakhov [Thu, 11 Jul 2024 13:28:24 +0000 (19:28 +0600)]
Merge pull request #5051 from fatalbanana/fix_ratelimit_tests
[Test] Fix ratelimit tests
Vsevolod Stakhov [Thu, 11 Jul 2024 13:13:26 +0000 (14:13 +0100)]
[Minor] cmath is a bit more strict
Vsevolod Stakhov [Thu, 11 Jul 2024 13:09:26 +0000 (14:09 +0100)]
[Test] Add missing
Vsevolod Stakhov [Thu, 11 Jul 2024 13:03:40 +0000 (14:03 +0100)]
[Minor] Specify failure reason clearly
Vsevolod Stakhov [Thu, 11 Jul 2024 12:47:05 +0000 (13:47 +0100)]
[Minor] Fix logic
Andrew Lewis [Thu, 11 Jul 2024 13:03:25 +0000 (15:03 +0200)]
[Test] Fix ratelimit tests
Vsevolod Stakhov [Wed, 10 Jul 2024 12:53:30 +0000 (18:53 +0600)]
Merge branch 'master' into vstakhov-ratelimits-disable-dyn
Vsevolod Stakhov [Wed, 10 Jul 2024 12:53:18 +0000 (18:53 +0600)]
Merge pull request #5048 from fatalbanana/ratelimit_tests
[Test] Add tests for ratelimit module
Andrew Lewis [Wed, 10 Jul 2024 12:46:34 +0000 (14:46 +0200)]
[Test] Add tests for ratelimit module
Vsevolod Stakhov [Tue, 9 Jul 2024 15:53:44 +0000 (16:53 +0100)]
[Minor] Mention mode of dynamic limits in the log
Vsevolod Stakhov [Tue, 9 Jul 2024 15:20:48 +0000 (21:20 +0600)]
Merge pull request #5043 from rspamd/vstakhov-gpt-tunes
Improve some functions in the GPT plugin
Vsevolod Stakhov [Tue, 9 Jul 2024 13:22:31 +0000 (14:22 +0100)]
[Project] Enable compatibility with the existing buckets
Vsevolod Stakhov [Mon, 8 Jul 2024 18:22:25 +0000 (19:22 +0100)]
[Rework] Introduce dynamic_rate_limit for ratelimits
Vsevolod Stakhov [Mon, 8 Jul 2024 17:34:16 +0000 (23:34 +0600)]
Merge pull request #5041 from fatalbanana/graphite_nil
[Fix] metric_exporter: avoid sending `nil` in metric values (#5027)
Andrew Lewis [Mon, 8 Jul 2024 14:05:52 +0000 (16:05 +0200)]
[Fix] metric_exporter: avoid sending `nil` in metric values
Vsevolod Stakhov [Mon, 8 Jul 2024 13:52:35 +0000 (19:52 +0600)]
Merge pull request #5042 from fatalbanana/suspicious_images
[Minor] Fix description (#3867)
Andrew Lewis [Mon, 8 Jul 2024 13:49:55 +0000 (15:49 +0200)]
[Minor] Fix description
Vsevolod Stakhov [Mon, 8 Jul 2024 13:49:19 +0000 (14:49 +0100)]
[Feature] Allow to specify minimum weight in GPT plugin
Vsevolod Stakhov [Mon, 8 Jul 2024 13:42:03 +0000 (14:42 +0100)]
[Minor] Push dynamic symbol weight
Vsevolod Stakhov [Mon, 1 Jul 2024 18:27:28 +0000 (00:27 +0600)]
Merge pull request #5035 from rspamd/vstakhov-gpt-experiments
Trying to test various things with GPT
Vsevolod Stakhov [Mon, 1 Jul 2024 18:15:10 +0000 (19:15 +0100)]
[Project] Trying to test various things with GPT
Vsevolod Stakhov [Mon, 1 Jul 2024 14:35:25 +0000 (20:35 +0600)]
Merge pull request #5034 from rspamd/vstakhov-fmt-11
Update embedded fmtlib to 11.0
Vsevolod Stakhov [Mon, 1 Jul 2024 14:20:42 +0000 (15:20 +0100)]
[Minor] Update dependency info
Vsevolod Stakhov [Mon, 1 Jul 2024 14:20:05 +0000 (15:20 +0100)]
[Rework] Update fmt to version 11
Vsevolod Stakhov [Sun, 30 Jun 2024 15:22:41 +0000 (16:22 +0100)]
[Minor] Set mres earlier
Issue: #5028
Vsevolod Stakhov [Sun, 30 Jun 2024 15:19:32 +0000 (21:19 +0600)]
Merge pull request #5032 from rspamd/vstakhov-gpt-plugin
Add GPT plugin
Vsevolod Stakhov [Sun, 30 Jun 2024 15:05:09 +0000 (16:05 +0100)]
[Minor] Log FP and FN
Vsevolod Stakhov [Sat, 29 Jun 2024 12:31:08 +0000 (13:31 +0100)]
[Minor] Add some missing symbols
Vsevolod Stakhov [Sat, 29 Jun 2024 12:27:25 +0000 (13:27 +0100)]
[Minor] Add from and subject to the prompt
Vsevolod Stakhov [Fri, 28 Jun 2024 14:21:23 +0000 (15:21 +0100)]
[Minor] Allow to specify spam/ham symbols in classifier_test
Vsevolod Stakhov [Fri, 28 Jun 2024 14:14:54 +0000 (15:14 +0100)]
[Minor] Allow autolearn
Vsevolod Stakhov [Fri, 28 Jun 2024 14:11:42 +0000 (15:11 +0100)]
[Minor] Apply review suggestion
Vsevolod Stakhov [Fri, 28 Jun 2024 14:09:50 +0000 (15:09 +0100)]
[Minor] Adjust configuration
Vsevolod Stakhov [Fri, 28 Jun 2024 14:06:05 +0000 (15:06 +0100)]
[Minor] Make except symbols configurable
Vsevolod Stakhov [Fri, 28 Jun 2024 14:03:30 +0000 (15:03 +0100)]
Update src/plugins/lua/gpt.lua
Co-authored-by: Andrew Lewis <nerf@judo.za.org>
Vsevolod Stakhov [Fri, 28 Jun 2024 14:00:21 +0000 (15:00 +0100)]
[Minor] Check words count properly
Vsevolod Stakhov [Fri, 28 Jun 2024 10:18:40 +0000 (11:18 +0100)]
[Project] Add checks to decide if we need a GPT check
Vsevolod Stakhov [Fri, 28 Jun 2024 09:54:38 +0000 (10:54 +0100)]
[Minor] Also use gzip compression
Vsevolod Stakhov [Fri, 28 Jun 2024 09:53:10 +0000 (10:53 +0100)]
[Minor] Use keep-alive and upstreams logic