]> git.ipfire.org Git - thirdparty/rspamd.git/log
thirdparty/rspamd.git
9 months ago[Fix] Fix DL lists initialisations
Vsevolod Stakhov [Sun, 13 Jul 2025 14:28:09 +0000 (15:28 +0100)] 
[Fix] Fix DL lists initialisations

9 months agoMerge pull request #5540 from 1358/clean-gpt-response-for-openai
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>)

9 months ago[Project] Store regexp rules state to avoid incomplete/orphaned rules
Vsevolod Stakhov [Sat, 12 Jul 2025 13:21:00 +0000 (14:21 +0100)] 
[Project] Store regexp rules state to avoid incomplete/orphaned rules

9 months agoclean gpt response for openai, too 5540/head
Tom Mittelstädt [Thu, 10 Jul 2025 08:31:18 +0000 (10:31 +0200)] 
clean gpt response for openai, too

9 months ago[Minor] Use more efficient approach for iterations
Vsevolod Stakhov [Mon, 7 Jul 2025 14:45:43 +0000 (15:45 +0100)] 
[Minor] Use more efficient approach for iterations

9 months ago[Project] Fix scoped compilation again
Vsevolod Stakhov [Mon, 7 Jul 2025 11:10:07 +0000 (12:10 +0100)] 
[Project] Fix scoped compilation again

9 months ago[Minor] Another rework of the notifications
Vsevolod Stakhov [Mon, 7 Jul 2025 10:03:44 +0000 (11:03 +0100)] 
[Minor] Another rework of the notifications

9 months ago[Fix] Fix order of descriptor closing
Vsevolod Stakhov [Mon, 7 Jul 2025 10:02:13 +0000 (11:02 +0100)] 
[Fix] Fix order of descriptor closing

9 months agoMerge pull request #5534 from moisseev/webui
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

9 months agoMerge pull request #5537 from moisseev/test
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

9 months ago[Test] Update ESLint and Stylelint linters 5537/head
Alexander Moisseev [Wed, 2 Jul 2025 10:46:29 +0000 (13:46 +0300)] 
[Test] Update ESLint and Stylelint linters

9 months ago[Minor] Replace legacy rgba() alias
Alexander Moisseev [Wed, 2 Jul 2025 10:42:10 +0000 (13:42 +0300)] 
[Minor] Replace legacy rgba() alias

with modern rgb() notation

9 months ago[Feature] Add a signal from main to workers for workers ready state
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

10 months ago[WebUI] Update classifiers on server or tab switch 5534/head
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.

10 months agoMerge pull request #5524 from moisseev/fuzzy-config
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

10 months ago[Project] Implement scoped compilation
Vsevolod Stakhov [Sat, 28 Jun 2025 12:32:17 +0000 (13:32 +0100)] 
[Project] Implement scoped compilation

10 months ago[Project] Use re_cache scopes for maps
Vsevolod Stakhov [Fri, 27 Jun 2025 16:38:28 +0000 (17:38 +0100)] 
[Project] Use re_cache scopes for maps

10 months ago[Project] Implement scoped regexp cache system
Vsevolod Stakhov [Fri, 27 Jun 2025 16:16:00 +0000 (17:16 +0100)] 
[Project] Implement scoped regexp cache system

10 months agoMerge pull request #5533 from moisseev/sys-user-h
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

10 months ago[Minor] Fix FreeBSD build by including sys/user.h 5533/head
Alexander Moisseev [Fri, 27 Jun 2025 06:46:42 +0000 (09:46 +0300)] 
[Minor] Fix FreeBSD build by including sys/user.h

10 months agoicap.lua: ipv6 pseudo hostname in GET request 5532/head
Stephan Toggweiler [Thu, 26 Jun 2025 13:07:12 +0000 (15:07 +0200)] 
icap.lua: ipv6 pseudo hostname in GET request

ipv6 addresses need to be changed to a pseudo hostname in GET request who is encapsulated in ICAP.
A change to [::] did not work in SkyHigh Web Gateway (aka McAfee)

Didn't use Lua often maybe the code can be optimized.

10 months ago[Project] Start implementation of the rules maps
Vsevolod Stakhov [Thu, 26 Jun 2025 08:01:01 +0000 (09:01 +0100)] 
[Project] Start implementation of the rules maps

10 months ago[WebUI] Add fuzzy flag selectors to Scan/Learn tab 5524/head
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.

10 months ago[Feature] Allow lua callback maps to be filled line by line
Vsevolod Stakhov [Wed, 25 Jun 2025 14:03:25 +0000 (15:03 +0100)] 
[Feature] Allow lua callback maps to be filled line by line

10 months ago[Minor] Improve JSDoc for ui.query()
Alexander Moisseev [Mon, 23 Jun 2025 15:14:22 +0000 (18:14 +0300)] 
[Minor] Improve JSDoc for ui.query()

10 months ago[Minor] Add /plugins/fuzzy/storages endpoint
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.

10 months ago[Fix] GPT: fix processing of messages with no subject
Vsevolod Stakhov [Wed, 25 Jun 2025 08:39:44 +0000 (09:39 +0100)] 
[Fix] GPT: fix processing of messages with no subject

10 months agoMerge pull request #5520 from moisseev/webui
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

10 months agoMerge pull request #5523 from rspamd/vstakhov-more-utils
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

10 months agoMerge pull request #5510 from rspamd/vstakhov-flexible-tokenizer
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

10 months ago[Minor] Make fundamental structures less GLib polluted 5510/head
Vsevolod Stakhov [Sun, 22 Jun 2025 21:34:20 +0000 (22:34 +0100)] 
[Minor] Make fundamental structures less GLib polluted

10 months ago[Project] Rework tokenizers initialisation
Vsevolod Stakhov [Sun, 22 Jun 2025 21:00:16 +0000 (22:00 +0100)] 
[Project] Rework tokenizers initialisation

10 months agoMerge pull request #5526 from moisseev/group-sorting
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

10 months ago[Minor] Fix issue with scores comparison while I'm here
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

10 months ago[WebUI] Sort symbol groups in filter dropdown 5526/head
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.

10 months ago[Feature] Add some more OS utility functions 5523/head
Vsevolod Stakhov [Sat, 21 Jun 2025 11:16:26 +0000 (12:16 +0100)] 
[Feature] Add some more OS utility functions

10 months ago[Project] Create an isolated API for external tokenizers
Vsevolod Stakhov [Fri, 20 Jun 2025 15:50:49 +0000 (16:50 +0100)] 
[Project] Create an isolated API for external tokenizers

10 months ago[Minor] Do not apply snowball to something that has already been stemmed
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

10 months ago[Minor] Fix the test case
Vsevolod Stakhov [Fri, 20 Jun 2025 14:19:58 +0000 (15:19 +0100)] 
[Minor] Fix the test case

10 months ago[Minor] Fix build issues
Vsevolod Stakhov [Fri, 20 Jun 2025 14:12:04 +0000 (15:12 +0100)] 
[Minor] Fix build issues

10 months ago[Rework] Use GLib agnostic type for words
Vsevolod Stakhov [Fri, 20 Jun 2025 13:44:56 +0000 (14:44 +0100)] 
[Rework] Use GLib agnostic type for words

10 months agoMerge branch 'master' into vstakhov-flexible-tokenizer
Vsevolod Stakhov [Thu, 19 Jun 2025 10:50:32 +0000 (11:50 +0100)] 
Merge branch 'master' into vstakhov-flexible-tokenizer

10 months ago[WebUI] Add Bayes classifier selector to Learn card 5520/head
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.

10 months ago[Minor] Update version
Vsevolod Stakhov [Tue, 17 Jun 2025 09:33:03 +0000 (10:33 +0100)] 
[Minor] Update version

10 months agoRelease 3.12.1
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

10 months agoMerge pull request #5494 from g00g1/feat-hfilter-ovh
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

10 months ago[Minor] Proper application of the #5509
Vsevolod Stakhov [Tue, 17 Jun 2025 07:49:33 +0000 (08:49 +0100)] 
[Minor] Proper application of the #5509

10 months agoMerge pull request #5517 from moisseev/classifiers
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

10 months ago[Minor] Try to be consistent in cached flag for maps
Vsevolod Stakhov [Tue, 17 Jun 2025 07:41:59 +0000 (08:41 +0100)] 
[Minor] Try to be consistent in cached flag for maps

10 months agoMerge pull request #5512 from rspamd/vstakhov-maps-lock
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

10 months ago[Minor] Try to be consistent in logging when dealing with Expires 5512/head
Vsevolod Stakhov [Mon, 16 Jun 2025 18:15:28 +0000 (19:15 +0100)] 
[Minor] Try to be consistent in logging when dealing with Expires

10 months ago[Test] Add some more tests for AEAD used in Rspamd
Vsevolod Stakhov [Sun, 15 Jun 2025 17:45:51 +0000 (18:45 +0100)] 
[Test] Add some more tests for AEAD used in Rspamd

10 months ago[Feature] Add /bayes/classifiers HTTP endpoint 5517/head
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.

10 months ago[Minor] Oops, forgot some code to be added
Vsevolod Stakhov [Sat, 14 Jun 2025 13:54:56 +0000 (14:54 +0100)] 
[Minor] Oops, forgot some code to be added

10 months ago[Feature] Further improvements in scheduling next checks
Vsevolod Stakhov [Sat, 14 Jun 2025 13:48:49 +0000 (14:48 +0100)] 
[Feature] Further improvements in scheduling next checks

10 months ago[Fix] Try to avoid incomplete writes
Vsevolod Stakhov [Sat, 14 Jun 2025 12:58:56 +0000 (13:58 +0100)] 
[Fix] Try to avoid incomplete writes

10 months ago[Rework] Eliminate maps locking
Vsevolod Stakhov [Sat, 14 Jun 2025 10:38:03 +0000 (11:38 +0100)] 
[Rework] Eliminate maps locking

10 months agoManual revert of 4c98aab6f670c659dff4c7e0cf392576f7850732
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.

10 months agohfilter: change hostname to a more generic one 5494/head
Serg [Thu, 12 Jun 2025 15:09:51 +0000 (15:09 +0000)] 
hfilter: change hostname to a more generic one

10 months ago[Fix] Another fix for maps concurrent load
Vsevolod Stakhov [Thu, 12 Jun 2025 13:41:36 +0000 (14:41 +0100)] 
[Fix] Another fix for maps concurrent load

10 months agoMerge pull request #5511 from rspamd/revert-5509-temp-ms-attachments
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"

10 months agoRevert "[Minor] Treat *.library-ms and *.search-ms attachments as harmful" 5511/head
Vsevolod Stakhov [Thu, 12 Jun 2025 13:17:29 +0000 (14:17 +0100)] 
Revert "[Minor] Treat *.library-ms and *.search-ms attachments as harmful"

10 months agoMerge pull request #5509 from twesterhever/temp-ms-attachments
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

10 months agoMerge pull request #5507 from rspamd/vstakhov-dup-headers
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

10 months ago[Fix] Do not add log tag header in milter logic 5507/head
Vsevolod Stakhov [Thu, 12 Jun 2025 10:52:55 +0000 (11:52 +0100)] 
[Fix] Do not add log tag header in milter logic

10 months ago[Fix] Do not explicitly add Connection header if it's there
Vsevolod Stakhov [Thu, 12 Jun 2025 09:59:41 +0000 (10:59 +0100)] 
[Fix] Do not explicitly add Connection header if it's there

10 months ago[Minor] Fix compilation
Vsevolod Stakhov [Thu, 12 Jun 2025 09:17:36 +0000 (10:17 +0100)] 
[Minor] Fix compilation

10 months ago[Project] Add ability to create custom tokenizers for languages
Vsevolod Stakhov [Thu, 12 Jun 2025 09:08:45 +0000 (10:08 +0100)] 
[Project] Add ability to create custom tokenizers for languages

10 months ago[Minor] Treat *.library-ms and *.search-ms attachments as harmful 5509/head
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/

10 months agohfilter: Change score for default OVH VPS hostname
Serg [Wed, 11 Jun 2025 17:15:29 +0000 (17:15 +0000)] 
hfilter: Change score for default OVH VPS hostname

10 months ago[Fix] Fix proxy headers duplication
Vsevolod Stakhov [Wed, 11 Jun 2025 10:36:21 +0000 (11:36 +0100)] 
[Fix] Fix proxy headers duplication

Issue: #5505

10 months agoMerge pull request #5506 from rspamd/vstakhov-idna-tests
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

10 months agoMerge pull request #5503 from rspamd/vstakhov-lua-logger-fixes
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

10 months ago[Test] Detect libicu idna behaviour and select the appropriate tests 5506/head
Vsevolod Stakhov [Wed, 11 Jun 2025 09:08:03 +0000 (10:08 +0100)] 
[Test] Detect libicu idna behaviour and select the appropriate tests

10 months ago[Test] Add unit tests for the new logger behaviour 5503/head
Vsevolod Stakhov [Wed, 11 Jun 2025 08:42:24 +0000 (09:42 +0100)] 
[Test] Add unit tests for the new logger behaviour

10 months ago[Fix] Make logger more graceful when dealing with format arguments
Vsevolod Stakhov [Tue, 10 Jun 2025 15:42:36 +0000 (16:42 +0100)] 
[Fix] Make logger more graceful when dealing with format arguments

10 months ago[Fix] Fix several issues with the lua_logger
Vsevolod Stakhov [Tue, 10 Jun 2025 15:28:49 +0000 (16:28 +0100)] 
[Fix] Fix several issues with the lua_logger

10 months ago[Minor] Update version
Vsevolod Stakhov [Mon, 9 Jun 2025 15:00:26 +0000 (16:00 +0100)] 
[Minor] Update version

10 months agoMerge pull request #5500 from TaaviE/patch-1
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

10 months agoRemove aweber.com from spf_dkim_whitelist.inc 5500/head
Taavi Eomäe [Mon, 9 Jun 2025 13:45:56 +0000 (16:45 +0300)] 
Remove aweber.com from spf_dkim_whitelist.inc

10 months agoRelease 3.12.0 3.12.0
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

10 months ago[Fix] Fix race condition in maps loading by unlocking backend on switch
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

10 months ago[Minor] Always disable xxhash inline
Vsevolod Stakhov [Fri, 6 Jun 2025 12:33:07 +0000 (13:33 +0100)] 
[Minor] Always disable xxhash inline

10 months ago[Minor] Fix some compile warnings
Vsevolod Stakhov [Fri, 6 Jun 2025 10:49:46 +0000 (11:49 +0100)] 
[Minor] Fix some compile warnings

10 months ago[Fix] Fix variable propagation (no functional change)
Vsevolod Stakhov [Fri, 6 Jun 2025 10:43:43 +0000 (11:43 +0100)] 
[Fix] Fix variable propagation (no functional change)

10 months ago[Fix] As we have replxx library, always use it
Vsevolod Stakhov [Fri, 6 Jun 2025 10:39:55 +0000 (11:39 +0100)] 
[Fix] As we have replxx library, always use it

10 months agoMerge pull request #5496 from drclau/drclau/fix-milter-headers-routines-override
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()

10 months agoMerge pull request #5492 from rspamd/vstakhov-logging-improvements
Vsevolod Stakhov [Fri, 6 Jun 2025 09:24:37 +0000 (15:24 +0600)] 
Merge pull request #5492 from rspamd/vstakhov-logging-improvements

Logging improvements

10 months agoMerge pull request #5495 from kevinzb56/kevinzb56-patch-1
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

10 months agoCorrecting the index number for is_spam 5495/head
Kevin Shah [Thu, 5 Jun 2025 18:51:01 +0000 (00:21 +0530)] 
Correcting the index number for is_spam

10 months ago[Fix] correct logic error in milter_headers.lua: skip_wanted() 5496/head
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

10 months agohfilter: Add OVH VPS generic hostname
Serg [Thu, 5 Jun 2025 16:55:43 +0000 (16:55 +0000)] 
hfilter: Add OVH VPS generic hostname

10 months ago[Feature] Allow to specify max log tag length for all log messages 5492/head
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

10 months ago[Feature] Allow to specify log tag in proxy
Vsevolod Stakhov [Thu, 5 Jun 2025 12:36:36 +0000 (13:36 +0100)] 
[Feature] Allow to specify log tag in proxy

Issue: #5194

10 months agoMerge pull request #5490 from rspamd/vstakhov-ucl-fix
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.

10 months agoMerge pull request #5489 from heptalium/master
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

10 months ago[Fix] Use safe parsers everywhere except configuration 5490/head
Vsevolod Stakhov [Thu, 5 Jun 2025 10:27:20 +0000 (11:27 +0100)] 
[Fix] Use safe parsers everywhere except configuration

10 months ago[Fix] Backport some issues from libucl
Vsevolod Stakhov [Wed, 4 Jun 2025 11:17:04 +0000 (12:17 +0100)] 
[Fix] Backport some issues from libucl

10 months ago[CritFix] In lua-ucl disable macros and file variables by default
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.

10 months agoMerge pull request #5488 from lucasRolff/add-token-usage-gpt
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