]>
git.ipfire.org Git - thirdparty/rspamd.git/log
Vsevolod Stakhov [Thu, 17 Jul 2025 10:49:28 +0000 (11:49 +0100)]
[Test] Write unit tests for new functions
Vsevolod Stakhov [Thu, 17 Jul 2025 10:46:08 +0000 (11:46 +0100)]
[Fix] Store html attributes that are empty
If we see something like <div class=""> we were not storing attribute at all!
Vsevolod Stakhov [Thu, 17 Jul 2025 08:53:04 +0000 (09:53 +0100)]
[Minor] Add method to parse html into html context
Vsevolod Stakhov [Thu, 17 Jul 2025 08:39:54 +0000 (09:39 +0100)]
[Project] Fix Lua API and some constexpr compatibility
Vsevolod Stakhov [Thu, 17 Jul 2025 08:16:50 +0000 (09:16 +0100)]
[Project] Support more common html attributes
Vsevolod Stakhov [Wed, 16 Jul 2025 11:31:26 +0000 (12:31 +0100)]
[Project] Rework system of html tags to allow more tag types
Vsevolod Stakhov [Tue, 15 Jul 2025 10:40:42 +0000 (16:40 +0600)]
Merge pull request #5543 from rspamd/vstakhov-nary-ops-opts
[Rework] Return back N-ary optimizations for arithmetic-alike expressions
Vsevolod Stakhov [Tue, 15 Jul 2025 10:10:09 +0000 (11:10 +0100)]
[Rules] Make bitcoin expression to use explicit flags
Vsevolod Stakhov [Tue, 15 Jul 2025 10:09:45 +0000 (11:09 +0100)]
[Feature] Allow to pass expression flags in the regexp plugin
Vsevolod Stakhov [Mon, 14 Jul 2025 20:22:06 +0000 (21:22 +0100)]
[Rework] Return back N-ary optimizations for arithmetic-alike expressions
Vsevolod Stakhov [Mon, 14 Jul 2025 15:05:51 +0000 (21:05 +0600)]
Merge pull request #5530 from rspamd/vstakhov-more-maps-features
Create rule based maps
Vsevolod Stakhov [Mon, 14 Jul 2025 13:50:36 +0000 (14:50 +0100)]
[Test] Add functional tests for regexp maps
Vsevolod Stakhov [Mon, 14 Jul 2025 09:46:32 +0000 (10:46 +0100)]
[Project] Fix symbols finalisation
Vsevolod Stakhov [Sun, 13 Jul 2025 21:03:50 +0000 (22:03 +0100)]
[Minor] Add some more debug logs
Vsevolod Stakhov [Sun, 13 Jul 2025 14:56:58 +0000 (15:56 +0100)]
[Minor] Improve logging
Vsevolod Stakhov [Sun, 13 Jul 2025 14:28:09 +0000 (15:28 +0100)]
[Fix] Fix DL lists initialisations
Vsevolod Stakhov [Sat, 12 Jul 2025 13:21:43 +0000 (19:21 +0600)]
Merge pull request #5540 from 1358/clean-gpt-response-for-openai
Cleanup GPT response for openai-provider, too (<think>)
Vsevolod Stakhov [Sat, 12 Jul 2025 13:21:00 +0000 (14:21 +0100)]
[Project] Store regexp rules state to avoid incomplete/orphaned rules
Tom Mittelstädt [Thu, 10 Jul 2025 08:31:18 +0000 (10:31 +0200)]
clean gpt response for openai, too
Vsevolod Stakhov [Mon, 7 Jul 2025 14:45:43 +0000 (15:45 +0100)]
[Minor] Use more efficient approach for iterations
Vsevolod Stakhov [Mon, 7 Jul 2025 11:10:07 +0000 (12:10 +0100)]
[Project] Fix scoped compilation again
Vsevolod Stakhov [Mon, 7 Jul 2025 10:03:44 +0000 (11:03 +0100)]
[Minor] Another rework of the notifications
Vsevolod Stakhov [Mon, 7 Jul 2025 10:02:13 +0000 (11:02 +0100)]
[Fix] Fix order of descriptor closing
Vsevolod Stakhov [Sat, 5 Jul 2025 07:16:29 +0000 (13:16 +0600)]
Merge pull request #5534 from moisseev/webui
[WebUI] Update classifiers on server or tab switch
Vsevolod Stakhov [Sat, 5 Jul 2025 07:16:12 +0000 (13:16 +0600)]
Merge pull request #5537 from moisseev/test
[Test] Update ESLint and Stylelint linters
Alexander Moisseev [Wed, 2 Jul 2025 10:46:29 +0000 (13:46 +0300)]
[Test] Update ESLint and Stylelint linters
Alexander Moisseev [Wed, 2 Jul 2025 10:42:10 +0000 (13:42 +0300)]
[Minor] Replace legacy rgba() alias
with modern rgb() notation
Vsevolod Stakhov [Tue, 1 Jul 2025 20:27:23 +0000 (21:27 +0100)]
[Feature] Add a signal from main to workers for workers ready state
Alexander Moisseev [Mon, 30 Jun 2025 14:05:49 +0000 (17:05 +0300)]
[WebUI] Update classifiers on server or tab switch
Ensure the Bayes classifiers dropdown is refreshed whenever the user
changes the selected server or navigates to the Scan/Learn tab, so it
always reflects the selected server’s configuration.
Vsevolod Stakhov [Mon, 30 Jun 2025 11:44:55 +0000 (17:44 +0600)]
Merge pull request #5524 from moisseev/fuzzy-config
[WebUI] Add fuzzy flag selectors to Scan/Learn tab
Vsevolod Stakhov [Sat, 28 Jun 2025 12:32:17 +0000 (13:32 +0100)]
[Project] Implement scoped compilation
Vsevolod Stakhov [Fri, 27 Jun 2025 16:38:28 +0000 (17:38 +0100)]
[Project] Use re_cache scopes for maps
Vsevolod Stakhov [Fri, 27 Jun 2025 16:16:00 +0000 (17:16 +0100)]
[Project] Implement scoped regexp cache system
Vsevolod Stakhov [Fri, 27 Jun 2025 08:38:03 +0000 (14:38 +0600)]
Merge pull request #5533 from moisseev/sys-user-h
[Minor] Fix FreeBSD build by including sys/user.h
Alexander Moisseev [Fri, 27 Jun 2025 06:46:42 +0000 (09:46 +0300)]
[Minor] Fix FreeBSD build by including sys/user.h
Vsevolod Stakhov [Thu, 26 Jun 2025 08:01:01 +0000 (09:01 +0100)]
[Project] Start implementation of the rules maps
Alexander Moisseev [Wed, 25 Jun 2025 14:20:19 +0000 (17:20 +0300)]
[WebUI] Add fuzzy flag selectors to Scan/Learn tab
- Populate selectors with symbols and flags from writable fuzzy storages.
- Cache each server’s config_id to avoid redundant `/plugins/fuzzy/storages` calls.
- Dynamically show, hide, and disable controls based on fuzzy_check module availability and storage writability.
Vsevolod Stakhov [Wed, 25 Jun 2025 14:03:25 +0000 (15:03 +0100)]
[Feature] Allow lua callback maps to be filled line by line
Alexander Moisseev [Mon, 23 Jun 2025 15:14:22 +0000 (18:14 +0300)]
[Minor] Improve JSDoc for ui.query()
Alexander Moisseev [Sat, 21 Jun 2025 14:12:03 +0000 (17:12 +0300)]
[Minor] Add /plugins/fuzzy/storages endpoint
Allows retrieving the list of configured fuzzy storages via HTTP API,
including associated flags, read_only status, and server addresses.
Vsevolod Stakhov [Wed, 25 Jun 2025 08:39:44 +0000 (09:39 +0100)]
[Fix] GPT: fix processing of messages with no subject
Vsevolod Stakhov [Mon, 23 Jun 2025 07:56:04 +0000 (13:56 +0600)]
Merge pull request #5520 from moisseev/webui
[WebUI] Add Bayes classifier selector to Learn card
Vsevolod Stakhov [Mon, 23 Jun 2025 07:55:53 +0000 (13:55 +0600)]
Merge pull request #5523 from rspamd/vstakhov-more-utils
[Feature] Add some more OS utility functions
Vsevolod Stakhov [Mon, 23 Jun 2025 07:55:40 +0000 (13:55 +0600)]
Merge pull request #5510 from rspamd/vstakhov-flexible-tokenizer
[Project] Add ability to create custom tokenizers for languages
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 20:54:30 +0000 (02:54 +0600)]
Merge pull request #5526 from moisseev/group-sorting
[WebUI] Sort symbol groups in filter dropdown
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
Alexander Moisseev [Sun, 22 Jun 2025 06:15:24 +0000 (09:15 +0300)]
[WebUI] Sort symbol groups in filter dropdown
Sort symbol groups in the Symbols table dropdown filter in a
case-insensitive manner, ensuring alphabetical A–Z ordering
regardless of capitalization.
Vsevolod Stakhov [Sat, 21 Jun 2025 11:16:26 +0000 (12:16 +0100)]
[Feature] Add some more OS utility functions
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
Alexander Moisseev [Wed, 18 Jun 2025 13:56:55 +0000 (16:56 +0300)]
[WebUI] Add Bayes classifier selector to Learn card
This enables users to choose a specific Bayes classifier for training from WebUI.
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