]>
git.ipfire.org Git - thirdparty/rspamd.git/log
Vsevolod Stakhov [Sun, 22 Jun 2025 21:34:20 +0000 (22:34 +0100)]
[Minor] Make fundamental structures less GLib polluted
Vsevolod Stakhov [Sun, 22 Jun 2025 21:00:16 +0000 (22:00 +0100)]
[Project] Rework tokenizers initialisation
Vsevolod Stakhov [Sun, 22 Jun 2025 14:48:34 +0000 (15:48 +0100)]
[Minor] Fix issue with scores comparison while I'm here
Issue: #5384
Vsevolod Stakhov [Fri, 20 Jun 2025 15:50:49 +0000 (16:50 +0100)]
[Project] Create an isolated API for external tokenizers
Vsevolod Stakhov [Fri, 20 Jun 2025 14:24:49 +0000 (15:24 +0100)]
[Minor] Do not apply snowball to something that has already been stemmed
Vsevolod Stakhov [Fri, 20 Jun 2025 14:19:58 +0000 (15:19 +0100)]
[Minor] Fix the test case
Vsevolod Stakhov [Fri, 20 Jun 2025 14:12:04 +0000 (15:12 +0100)]
[Minor] Fix build issues
Vsevolod Stakhov [Fri, 20 Jun 2025 13:44:56 +0000 (14:44 +0100)]
[Rework] Use GLib agnostic type for words
Vsevolod Stakhov [Thu, 19 Jun 2025 10:50:32 +0000 (11:50 +0100)]
Merge branch 'master' into vstakhov-flexible-tokenizer
Vsevolod Stakhov [Tue, 17 Jun 2025 09:33:03 +0000 (10:33 +0100)]
[Minor] Update version
Vsevolod Stakhov [Tue, 17 Jun 2025 09:32:30 +0000 (10:32 +0100)]
Release 3.12.1
* [Feature] Add /bayes/classifiers HTTP endpoint
* [Feature] Further improvements in scheduling next checks
* [Fix] Another fix for maps concurrent load
* [Fix] Do not add log tag header in milter logic
* [Fix] Do not explicitly add Connection header if it's there
* [Fix] Fix proxy headers duplication
* [Fix] Fix several issues with the lua_logger
* [Fix] Make logger more graceful when dealing with format arguments
* [Fix] Try to avoid incomplete writes
* [Rework] Eliminate maps locking
Vsevolod Stakhov [Tue, 17 Jun 2025 09:18:26 +0000 (15:18 +0600)]
Merge pull request #5494 from g00g1/feat-hfilter-ovh
[Enhancement] hfilter: Add VPS generic hostname
Vsevolod Stakhov [Tue, 17 Jun 2025 07:49:33 +0000 (08:49 +0100)]
[Minor] Proper application of the #5509
Vsevolod Stakhov [Tue, 17 Jun 2025 07:47:33 +0000 (13:47 +0600)]
Merge pull request #5517 from moisseev/classifiers
[Feature] Add /bayes/classifiers HTTP endpoint
Vsevolod Stakhov [Tue, 17 Jun 2025 07:41:59 +0000 (08:41 +0100)]
[Minor] Try to be consistent in cached flag for maps
Vsevolod Stakhov [Mon, 16 Jun 2025 18:24:59 +0000 (00:24 +0600)]
Merge pull request #5512 from rspamd/vstakhov-maps-lock
[Fix] Another fix for maps concurrent load
Vsevolod Stakhov [Mon, 16 Jun 2025 18:15:28 +0000 (19:15 +0100)]
[Minor] Try to be consistent in logging when dealing with Expires
Vsevolod Stakhov [Sun, 15 Jun 2025 17:45:51 +0000 (18:45 +0100)]
[Test] Add some more tests for AEAD used in Rspamd
Alexander Moisseev [Sun, 15 Jun 2025 14:25:41 +0000 (17:25 +0300)]
[Feature] Add /bayes/classifiers HTTP endpoint
This endpoint returns a JSON array of names of all configured Bayes classifiers
in the same order as they are declared in the configuration.
Vsevolod Stakhov [Sat, 14 Jun 2025 13:54:56 +0000 (14:54 +0100)]
[Minor] Oops, forgot some code to be added
Vsevolod Stakhov [Sat, 14 Jun 2025 13:48:49 +0000 (14:48 +0100)]
[Feature] Further improvements in scheduling next checks
Vsevolod Stakhov [Sat, 14 Jun 2025 12:58:56 +0000 (13:58 +0100)]
[Fix] Try to avoid incomplete writes
Vsevolod Stakhov [Sat, 14 Jun 2025 10:38:03 +0000 (11:38 +0100)]
[Rework] Eliminate maps locking
Vsevolod Stakhov [Fri, 13 Jun 2025 08:00:01 +0000 (09:00 +0100)]
Manual revert of
4c98aab6f670c659dff4c7e0cf392576f7850732
The problem is that we are trying to lock maps per backend, but periodics
are scheduled per maps. It means that locks are not consistent with what we
schedule and it really does not match the current maps processing logic.
Hence, we revert that change here.
Serg [Thu, 12 Jun 2025 15:09:51 +0000 (15:09 +0000)]
hfilter: change hostname to a more generic one
Vsevolod Stakhov [Thu, 12 Jun 2025 13:41:36 +0000 (14:41 +0100)]
[Fix] Another fix for maps concurrent load
Vsevolod Stakhov [Thu, 12 Jun 2025 13:17:41 +0000 (19:17 +0600)]
Merge pull request #5511 from rspamd/revert-5509-temp-ms-attachments
Revert "[Minor] Treat *.library-ms and *.search-ms attachments as harmful"
Vsevolod Stakhov [Thu, 12 Jun 2025 13:17:29 +0000 (14:17 +0100)]
Revert "[Minor] Treat *.library-ms and *.search-ms attachments as harmful"
Vsevolod Stakhov [Thu, 12 Jun 2025 13:08:13 +0000 (19:08 +0600)]
Merge pull request #5509 from twesterhever/temp-ms-attachments
[Minor] Treat *.library-ms and *.search-ms attachments as harmful
Vsevolod Stakhov [Thu, 12 Jun 2025 13:07:54 +0000 (19:07 +0600)]
Merge pull request #5507 from rspamd/vstakhov-dup-headers
[Fix] Fix proxy headers duplication
Vsevolod Stakhov [Thu, 12 Jun 2025 10:52:55 +0000 (11:52 +0100)]
[Fix] Do not add log tag header in milter logic
Vsevolod Stakhov [Thu, 12 Jun 2025 09:59:41 +0000 (10:59 +0100)]
[Fix] Do not explicitly add Connection header if it's there
Vsevolod Stakhov [Thu, 12 Jun 2025 09:17:36 +0000 (10:17 +0100)]
[Minor] Fix compilation
Vsevolod Stakhov [Thu, 12 Jun 2025 09:08:45 +0000 (10:08 +0100)]
[Project] Add ability to create custom tokenizers for languages
twesterhever [Wed, 11 Jun 2025 20:03:58 +0000 (20:03 +0000)]
[Minor] Treat *.library-ms and *.search-ms attachments as harmful
See: https://www.bleepingcomputer.com/news/security/microsoft-outlook-to-block-more-risky-attachments-used-in-attacks/
Serg [Wed, 11 Jun 2025 17:15:29 +0000 (17:15 +0000)]
hfilter: Change score for default OVH VPS hostname
Vsevolod Stakhov [Wed, 11 Jun 2025 10:36:21 +0000 (11:36 +0100)]
[Fix] Fix proxy headers duplication
Issue: #5505
Vsevolod Stakhov [Wed, 11 Jun 2025 09:24:22 +0000 (15:24 +0600)]
Merge pull request #5506 from rspamd/vstakhov-idna-tests
[Test] Detect libicu idna behaviour and select the appropriate tests
Vsevolod Stakhov [Wed, 11 Jun 2025 09:24:12 +0000 (15:24 +0600)]
Merge pull request #5503 from rspamd/vstakhov-lua-logger-fixes
[Fix] Fix several issues with the lua_logger
Vsevolod Stakhov [Wed, 11 Jun 2025 09:08:03 +0000 (10:08 +0100)]
[Test] Detect libicu idna behaviour and select the appropriate tests
Vsevolod Stakhov [Wed, 11 Jun 2025 08:42:24 +0000 (09:42 +0100)]
[Test] Add unit tests for the new logger behaviour
Vsevolod Stakhov [Tue, 10 Jun 2025 15:42:36 +0000 (16:42 +0100)]
[Fix] Make logger more graceful when dealing with format arguments
Vsevolod Stakhov [Tue, 10 Jun 2025 15:28:49 +0000 (16:28 +0100)]
[Fix] Fix several issues with the lua_logger
Vsevolod Stakhov [Mon, 9 Jun 2025 15:00:26 +0000 (16:00 +0100)]
[Minor] Update version
Vsevolod Stakhov [Mon, 9 Jun 2025 13:56:14 +0000 (19:56 +0600)]
Merge pull request #5500 from TaaviE/patch-1
Remove aweber.com from spf_dkim_whitelist.inc
Taavi Eomäe [Mon, 9 Jun 2025 13:45:56 +0000 (16:45 +0300)]
Remove aweber.com from spf_dkim_whitelist.inc
Vsevolod Stakhov [Mon, 9 Jun 2025 10:11:16 +0000 (11:11 +0100)]
Release 3.12.0
* [CritFix] In lua-ucl disable macros and file variables by default
* [Feature] Add keep-alive support
* [Feature] Add some convenience methods
* [Feature] Add support for separate read and write servers in fuzzy check
* [Feature] Allow CDB files as external maps
* [Feature] Allow to specify Redis version
* [Feature] Allow to specify extra headers in Rspamd proxy
* [Feature] Allow to specify log tag in proxy
* [Feature] Allow to specify max log tag length for all log messages
* [Feature] Allow to use HTTPS when connection to backends in proxy
* [Feature] Output content for all maps
* [Feature] Plugin to integrate with Contextal platform
* [Feature] Show all maps status
* [Fix] Add fail check for cfg transform for some corner cases
* [Fix] Add header with reason everytime (not only for ham) and use correct value for header
* [Fix] Add null check for master_conn->up in proxy backend error handler
* [Fix] Allow 'Hash' in Access-Control-Allow-Headers
* [Fix] Arc: Use tonumber when comparing
* [Fix] As we have replxx library, always use it
* [Fix] Backport some issues from libucl
* [Fix] Filter invalid domains in fuzzy extra data
* [Fix] Fix maps ids
* [Fix] Fix race condition in maps loading by unlocking backend on switch
* [Fix] Fix static maps description passing
* [Fix] Fix variable propagation (no functional change)
* [Fix] Fix various issues
* [Fix] Greylist: Improve body hash calculations
* [Fix] Known senders: More recipients test logic
* [Fix] Known senders: Use the same logic as in the replies module
* [Fix] Prevent crashes when accessing upstream address in self-scan mode
* [Fix] Really fix local objects filtering, sigh...
* [Fix] Update default URL for openphish
* [Fix] Use bundled libfmt everywhere
* [Fix] Use safe parsers everywhere except configuration
* [Fix] correct logic error in milter_headers.lua: skip_wanted()
* [Fix] initialize ollama result table
* [Fix] libmime: declare comparators const for doctest 2.4.12 compatibility
* [Project] Modernize cmake
* [Project] Rework OSDep
* [Rework] Replies: consider all recipients and use smtp ones
* [Rework] Store shared maps data separately
* [Rework] Use locks/loaded per backend for all maps
Vsevolod Stakhov [Sat, 7 Jun 2025 07:45:21 +0000 (08:45 +0100)]
[Fix] Fix race condition in maps loading by unlocking backend on switch
Vsevolod Stakhov [Fri, 6 Jun 2025 12:33:07 +0000 (13:33 +0100)]
[Minor] Always disable xxhash inline
Vsevolod Stakhov [Fri, 6 Jun 2025 10:49:46 +0000 (11:49 +0100)]
[Minor] Fix some compile warnings
Vsevolod Stakhov [Fri, 6 Jun 2025 10:43:43 +0000 (11:43 +0100)]
[Fix] Fix variable propagation (no functional change)
Vsevolod Stakhov [Fri, 6 Jun 2025 10:39:55 +0000 (11:39 +0100)]
[Fix] As we have replxx library, always use it
Vsevolod Stakhov [Fri, 6 Jun 2025 10:15:36 +0000 (16:15 +0600)]
Merge pull request #5496 from drclau/drclau/fix-milter-headers-routines-override
[Fix] Correct logic error in milter_headers.lua: skip_wanted()
Vsevolod Stakhov [Fri, 6 Jun 2025 09:24:37 +0000 (15:24 +0600)]
Merge pull request #5492 from rspamd/vstakhov-logging-improvements
Logging improvements
Vsevolod Stakhov [Fri, 6 Jun 2025 09:23:55 +0000 (15:23 +0600)]
Merge pull request #5495 from kevinzb56/kevinzb56-patch-1
[Minor] Correcting the index number for is_spam
Kevin Shah [Thu, 5 Jun 2025 18:51:01 +0000 (00:21 +0530)]
Correcting the index number for is_spam
Claudiu Dragalina-Paraipan [Thu, 5 Jun 2025 18:40:07 +0000 (21:40 +0300)]
[Fix] correct logic error in milter_headers.lua: skip_wanted()
- fix logic error in skip_wanted()
- add new functional test for this scenario
- add override settings in milter_headers.conf to support the testing
- add supporting functionality in rspamd.robot
Serg [Thu, 5 Jun 2025 16:55:43 +0000 (16:55 +0000)]
hfilter: Add OVH VPS generic hostname
Vsevolod Stakhov [Thu, 5 Jun 2025 14:00:39 +0000 (15:00 +0100)]
[Feature] Allow to specify max log tag length for all log messages
Vsevolod Stakhov [Thu, 5 Jun 2025 12:36:36 +0000 (13:36 +0100)]
[Feature] Allow to specify log tag in proxy
Issue: #5194
Vsevolod Stakhov [Thu, 5 Jun 2025 10:53:01 +0000 (16:53 +0600)]
Merge pull request #5490 from rspamd/vstakhov-ucl-fix
One of the major issues is that we should use safe parser flags for all inputs aside of the real configuration which we should really trust. It means that we need to disable macros, file variables and other UCL features when it is used to parse any potentially unsafe content. I do not treat it as a security vulnerability so far, as Rspamd operates with merely trusted content by HTTP by default, however, it is good to fix to avoid any potential future mususes or even exploits possibilities.
Vsevolod Stakhov [Thu, 5 Jun 2025 10:28:08 +0000 (16:28 +0600)]
Merge pull request #5489 from heptalium/master
Reputation Plugin: Fix comment to correspond the code above
Vsevolod Stakhov [Thu, 5 Jun 2025 10:27:20 +0000 (11:27 +0100)]
[Fix] Use safe parsers everywhere except configuration
Vsevolod Stakhov [Wed, 4 Jun 2025 11:17:04 +0000 (12:17 +0100)]
[Fix] Backport some issues from libucl
Vsevolod Stakhov [Wed, 4 Jun 2025 11:15:41 +0000 (12:15 +0100)]
[CritFix] In lua-ucl disable macros and file variables by default
Since we use libucl to parse untrusted data in some (actually in many) cases,
we must not enable any dangerous things like macros.
This fix should be treated as a critical one.
Vsevolod Stakhov [Tue, 3 Jun 2025 14:26:12 +0000 (20:26 +0600)]
Merge pull request #5488 from lucasRolff/add-token-usage-gpt
[Minor] Log the token usage for OpenAI (compatible) plain conversion
Jens Meißner [Tue, 3 Jun 2025 08:29:15 +0000 (10:29 +0200)]
Fix comment to correspond the code above
Lucas Rolff [Tue, 3 Jun 2025 07:24:29 +0000 (09:24 +0200)]
[Minor] Log the token usage for OpenAI (compatible) plain conversion
Vsevolod Stakhov [Sun, 1 Jun 2025 11:53:32 +0000 (17:53 +0600)]
Merge pull request #5483 from moisseev/selector-file-upload
[WebUI] Add file upload to `Test selectors`
Vsevolod Stakhov [Sun, 1 Jun 2025 11:53:10 +0000 (17:53 +0600)]
Merge pull request #5486 from fatalbanana/lua_fuzzy
[Minor] Fix fuzzy lua callback when there are no shingles
Andrew Lewis [Wed, 28 May 2025 08:29:43 +0000 (10:29 +0200)]
[Minor] Fix fuzzy lua callback when there are no shingles
Alexander Moisseev [Mon, 26 May 2025 10:04:30 +0000 (13:04 +0300)]
[WebUI] Rework file upload JS implementation
Original code, which seems AI-generated, was broken
Closes #5381
Vsevolod Stakhov [Thu, 22 May 2025 13:19:45 +0000 (19:19 +0600)]
Merge pull request #5477 from japc/multimap-type-err
[Minor] Print error on multimap invalid type
Vsevolod Stakhov [Thu, 22 May 2025 10:27:14 +0000 (16:27 +0600)]
Merge pull request #5428 from rspamd/vstakhov-replies-fake-rcpt
[Rework] Replies: consider all recipients and use smtp ones
Vsevolod Stakhov [Thu, 22 May 2025 09:29:14 +0000 (10:29 +0100)]
[Fix] Known senders: More recipients test logic
Jose Celestino [Thu, 22 May 2025 09:21:42 +0000 (10:21 +0100)]
[Minor] Print error on multimap invalid type
Vsevolod Stakhov [Thu, 22 May 2025 09:11:52 +0000 (10:11 +0100)]
[Fix] Known senders: Use the same logic as in the replies module
Vsevolod Stakhov [Wed, 21 May 2025 11:21:32 +0000 (17:21 +0600)]
Merge pull request #5475 from fatalbanana/deb_fix
[Minor] Fix Debian package build
Andrew Lewis [Wed, 21 May 2025 11:20:02 +0000 (13:20 +0200)]
[Minor] Fix Debian package build
Vsevolod Stakhov [Tue, 20 May 2025 17:09:11 +0000 (18:09 +0100)]
[Minor] Lua_http: Add more examples
Alexander Moisseev [Mon, 19 May 2025 14:15:55 +0000 (17:15 +0300)]
[Minor] Revert drag-and-drop setup adjustments
- Restore descriptive variable name `dragoverClassList`
- Re-establish unified event prevention
Shravan A Y [Mon, 10 Mar 2025 16:21:59 +0000 (21:51 +0530)]
[WebUI] Add file upload to Test Selectors (#5381)
Squashed and rebased original commits from ShravanAYG’s selector-file-upload branch
Co-authored-by: ShravanAYG <shravanay205@gmail.com>
See: https://github.com/rspamd/rspamd/pull/5381
Vsevolod Stakhov [Mon, 19 May 2025 13:47:08 +0000 (19:47 +0600)]
Merge pull request #5464 from jendis/lua_redis_fix
fix(lua_redis): Improve Redis script loading
Vsevolod Stakhov [Mon, 19 May 2025 11:20:22 +0000 (17:20 +0600)]
Merge pull request #5473 from TwizzyDizzy/master
Modify documentation for rspamc "-P" parameter
Vsevolod Stakhov [Sat, 17 May 2025 13:40:55 +0000 (19:40 +0600)]
Merge pull request #5413 from dragoangel/patch-11
Add FREEMAIL_REPLYTO_NEQ_FROM rule
Vsevolod Stakhov [Sat, 17 May 2025 12:25:37 +0000 (18:25 +0600)]
Merge pull request #5471 from rspamd/vstakhov-heic-magic
[Feature] Magic: Support HEIC files
TwizzyDizzy [Fri, 16 May 2025 20:00:59 +0000 (22:00 +0200)]
Modify rspamc doc to clarify that control password can also be passed by path
Vsevolod Stakhov [Fri, 16 May 2025 10:53:23 +0000 (11:53 +0100)]
[Test] Test heic recognition
Vsevolod Stakhov [Fri, 16 May 2025 10:43:39 +0000 (11:43 +0100)]
[Minor] Add HEIC files patterns
Andrew Lewis [Fri, 16 May 2025 09:24:48 +0000 (11:24 +0200)]
[Minor] Restore Vsevolod's changes
Andrew Lewis [Fri, 16 May 2025 08:54:55 +0000 (10:54 +0200)]
[Minor] Fix one more test
Vsevolod Stakhov [Thu, 15 May 2025 15:24:13 +0000 (21:24 +0600)]
Merge pull request #5470 from left-try/master
[Minor] Fix for docs of lua_redis.redis_make_request_taskless
Ivan Stakhov [Thu, 15 May 2025 15:10:38 +0000 (21:10 +0600)]
[Minor] Fix for docs of lua_redis.redis_make_request_taskless
Andrew Lewis [Thu, 15 May 2025 14:00:01 +0000 (16:00 +0200)]
[Minor] Fix syntax
Andrew Lewis [Thu, 15 May 2025 12:32:09 +0000 (14:32 +0200)]
[Test] Partially fix tests
Vsevolod Stakhov [Thu, 15 May 2025 11:25:54 +0000 (17:25 +0600)]
Merge pull request #5468 from fatalbanana/lua_http_docs
[Minor] Update API docs RE: multiple HTTP headers
Andrew Lewis [Thu, 15 May 2025 09:09:19 +0000 (11:09 +0200)]
[Minor] Update API docs RE: multiple HTTP headers
Vsevolod Stakhov [Wed, 14 May 2025 12:23:40 +0000 (18:23 +0600)]
Merge pull request #5459 from NameWeb/patch-1
gpt.lua: Remove "thinking" and fix errorlog
Vsevolod Stakhov [Wed, 14 May 2025 12:13:42 +0000 (13:13 +0100)]
[Minor] Fix formatting
Vsevolod Stakhov [Wed, 14 May 2025 11:00:22 +0000 (12:00 +0100)]
[Feature] Add some convenience methods