aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* | Release 3.12.03.12.0Vsevolod Stakhov2025-06-092-2/+46
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * [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
* | [Fix] Fix race condition in maps loading by unlocking backend on switchVsevolod Stakhov2025-06-071-2/+35
| |
* | [Minor] Always disable xxhash inlineVsevolod Stakhov2025-06-061-3/+1
| |
* | [Minor] Fix some compile warningsVsevolod Stakhov2025-06-065-145/+252
| |
* | [Fix] Fix variable propagation (no functional change)Vsevolod Stakhov2025-06-061-1/+0
| |
* | [Fix] As we have replxx library, always use itVsevolod Stakhov2025-06-064-47/+5
| |
* | Merge pull request #5496 from drclau/drclau/fix-milter-headers-routines-overrideVsevolod Stakhov2025-06-064-1/+33
|\ \ | | | | | | [Fix] Correct logic error in milter_headers.lua: skip_wanted()
| * | [Fix] correct logic error in milter_headers.lua: skip_wanted()Claudiu Dragalina-Paraipan2025-06-054-1/+33
| |/ | | | | | | | | | | | | - 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
* | Merge pull request #5492 from rspamd/vstakhov-logging-improvementsVsevolod Stakhov2025-06-067-22/+305
|\ \ | | | | | | Logging improvements
| * | [Feature] Allow to specify max log tag length for all log messagesvstakhov-logging-improvementsVsevolod Stakhov2025-06-056-20/+166
| | |
| * | [Feature] Allow to specify log tag in proxyVsevolod Stakhov2025-06-051-2/+139
| |/ | | | | | | Issue: #5194
* | Merge pull request #5495 from kevinzb56/kevinzb56-patch-1Vsevolod Stakhov2025-06-061-1/+1
|\ \ | |/ |/| [Minor] Correcting the index number for is_spam
| * Correcting the index number for is_spamKevin Shah2025-06-061-1/+1
|/
* Merge pull request #5490 from rspamd/vstakhov-ucl-fixVsevolod Stakhov2025-06-0519-38/+100
|\ | | | | 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.
| * [Fix] Use safe parsers everywhere except configurationVsevolod Stakhov2025-06-0517-33/+55
| |
| * [Fix] Backport some issues from libuclvstakhov-ucl-fixVsevolod Stakhov2025-06-042-4/+38
| |
| * [CritFix] In lua-ucl disable macros and file variables by defaultVsevolod Stakhov2025-06-041-2/+8
| | | | | | | | | | | | | | 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.
* | Merge pull request #5489 from heptalium/masterVsevolod Stakhov2025-06-051-1/+1
|\ \ | |/ |/| Reputation Plugin: Fix comment to correspond the code above
| * Fix comment to correspond the code aboveJens Meißner2025-06-031-1/+1
| |
* | Merge pull request #5488 from lucasRolff/add-token-usage-gptVsevolod Stakhov2025-06-031-0/+4
|\ \ | |/ |/| [Minor] Log the token usage for OpenAI (compatible) plain conversion
| * [Minor] Log the token usage for OpenAI (compatible) plain conversionLucas Rolff2025-06-031-0/+4
|/
* Merge pull request #5483 from moisseev/selector-file-uploadVsevolod Stakhov2025-06-015-62/+91
|\ | | | | [WebUI] Add file upload to `Test selectors`
| * [WebUI] Rework file upload JS implementationAlexander Moisseev2025-05-263-79/+61
| | | | | | | | | | | | Original code, which seems AI-generated, was broken Closes #5381
| * [Minor] Revert drag-and-drop setup adjustmentsAlexander Moisseev2025-05-191-8/+6
| | | | | | | | | | - Restore descriptive variable name `dragoverClassList` - Re-establish unified event prevention
| * [WebUI] Add file upload to Test Selectors (#5381)Shravan A Y2025-05-195-50/+99
| | | | | | | | | | | | | | 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
* | Merge pull request #5486 from fatalbanana/lua_fuzzyVsevolod Stakhov2025-06-011-4/+6
|\ \ | | | | | | [Minor] Fix fuzzy lua callback when there are no shingles
| * | [Minor] Fix fuzzy lua callback when there are no shinglesAndrew Lewis2025-05-281-4/+6
|/ /
* | Merge pull request #5477 from japc/multimap-type-errVsevolod Stakhov2025-05-221-0/+3
|\ \ | | | | | | [Minor] Print error on multimap invalid type
| * | [Minor] Print error on multimap invalid typeJose Celestino2025-05-221-0/+3
| | |
* | | Merge pull request #5428 from rspamd/vstakhov-replies-fake-rcptVsevolod Stakhov2025-05-227-57/+90
|\ \ \ | |/ / |/| | [Rework] Replies: consider all recipients and use smtp ones
| * | [Fix] Known senders: More recipients test logicvstakhov-replies-fake-rcptVsevolod Stakhov2025-05-222-22/+48
| | |
| * | [Fix] Known senders: Use the same logic as in the replies moduleVsevolod Stakhov2025-05-221-1/+1
| | |
| * | [Minor] Restore Vsevolod's changesAndrew Lewis2025-05-161-15/+7
| | |
| * | [Minor] Fix one more testAndrew Lewis2025-05-161-4/+8
| | |
| * | [Minor] Fix syntaxAndrew Lewis2025-05-151-2/+1
| | |
| * | [Test] Partially fix testsAndrew Lewis2025-05-151-11/+28
| | |
| * | [Test] Fix bloody testsVsevolod Stakhov2025-05-011-15/+10
| | |
| * | [Test] Move tests with the same numberVsevolod Stakhov2025-05-013-0/+0
| | |
| * | test: use SMTP recipient via Rcpt= in replies test casesVsevolod Stakhov2025-05-011-6/+6
| | |
| * | test: update replies module tests to match new SMTP recipient behaviorVsevolod Stakhov2025-05-011-4/+4
| | |
| * | [Rework] Replies: consider all recipients and use smtp onesVsevolod Stakhov2025-04-141-13/+13
| | |
* | | Merge pull request #5475 from fatalbanana/deb_fixVsevolod Stakhov2025-05-211-1/+1
|\ \ \ | | | | | | | | [Minor] Fix Debian package build
| * | | [Minor] Fix Debian package buildAndrew Lewis2025-05-211-1/+1
|/ / /
* | | [Minor] Lua_http: Add more examplesVsevolod Stakhov2025-05-201-9/+110
| | |
* | | Merge pull request #5464 from jendis/lua_redis_fixVsevolod Stakhov2025-05-191-12/+12
|\ \ \ | | | | | | | | fix(lua_redis): Improve Redis script loading
| * | | fix(lua_redis): Improve Redis script loadingJan Smutny2025-05-121-12/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change modifies how Rspamd handles Redis script loading across multiple servers to improve resilience during server failures and restarts. Previously, the system required ALL Redis servers to successfully load a script before considering it ready for use. This caused modules to get stuck in a waiting state when any Redis server was down, reporting errors like: "redis script is not ready, waiting it to be loaded" even when most servers were operational. Key changes: - Replace is_all_servers_ready() with is_any_server_ready() to allow operation when at least one server has successfully loaded the script - Reset all servers to "unsent" status when NOSCRIPT errors are encountered to properly handle server restarts - Ensure script loading is retried appropriately on reconnection This fix allows Rspamd to continue operating when some Redis servers are temporarily unavailable and to recover gracefully when servers rejoin the pool.
* | | | Merge pull request #5473 from TwizzyDizzy/masterVsevolod Stakhov2025-05-192-2/+3
|\ \ \ \ | |_|_|/ |/| | | Modify documentation for rspamc "-P" parameter
| * | | Modify rspamc doc to clarify that control password can also be passed by pathTwizzyDizzy2025-05-162-2/+3
| | | |
* | | | Merge pull request #5413 from dragoangel/patch-11Vsevolod Stakhov2025-05-171-0/+6
|\ \ \ \ | | | | | | | | | | Add FREEMAIL_REPLYTO_NEQ_FROM rule
| * | | | Add FREEMAIL_REPLYTO_NEQ_FROM ruleDmitriy Alekseev2025-03-301-0/+6
| | | | |