aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* [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 #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
| | | | |
* | | | | Merge pull request #5471 from rspamd/vstakhov-heic-magicVsevolod Stakhov2025-05-174-1/+78
|\ \ \ \ \ | |_|/ / / |/| | | | [Feature] Magic: Support HEIC files
| * | | | [Test] Test heic recognitionvstakhov-heic-magicVsevolod Stakhov2025-05-164-7/+57
| | | | |
| * | | | [Minor] Add HEIC files patternsVsevolod Stakhov2025-05-162-1/+28
|/ / / /
* | | | Merge pull request #5470 from left-try/masterVsevolod Stakhov2025-05-151-2/+2
|\ \ \ \ | | | | | | | | | | [Minor] Fix for docs of lua_redis.redis_make_request_taskless
| * | | | [Minor] Fix for docs of lua_redis.redis_make_request_tasklessIvan Stakhov2025-05-151-2/+2
|/ / / /
* | | | Merge pull request #5468 from fatalbanana/lua_http_docsVsevolod Stakhov2025-05-151-2/+2
|\ \ \ \ | | | | | | | | | | [Minor] Update API docs RE: multiple HTTP headers
| * | | | [Minor] Update API docs RE: multiple HTTP headersAndrew Lewis2025-05-151-2/+2
|/ / / /
* | | | Merge pull request #5459 from NameWeb/patch-1Vsevolod Stakhov2025-05-141-7/+20
|\ \ \ \ | | | | | | | | | | gpt.lua: Remove "thinking" and fix errorlog
| * | | | [Minor] Fix formattingVsevolod Stakhov2025-05-141-7/+7
| | | | |
| * | | | Remove "thinking" and fix errorlogNameWeb2025-05-091-2/+15
| | | | | | | | | | | | | | | | | | | | | | | | | Some models used by Ollama will include "thinking" before the actual response. We now remove this. Also fixed error logging, which probably intended to also log "first_message".
* | | | | [Feature] Add some convenience methodsVsevolod Stakhov2025-05-142-5/+50
| | | | |