]>
git.ipfire.org Git - thirdparty/rspamd.git/log
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
Vsevolod Stakhov [Mon, 12 May 2025 15:22:02 +0000 (21:22 +0600)]
Merge pull request #5452 from kevinzb56/feature1
Added --non-default Option to rspamadm configdump for Local Configuration
Vsevolod Stakhov [Mon, 12 May 2025 15:21:43 +0000 (21:21 +0600)]
Merge pull request #5456 from rspamd/vstakhov-proxy-improvements
Some improvements to the proxy
Vsevolod Stakhov [Mon, 12 May 2025 15:21:30 +0000 (21:21 +0600)]
Merge pull request #5457 from moisseev/webui
[WebUI] Add deletion of specific fuzzy hashes
Jan Smutny [Fri, 25 Apr 2025 09:36:49 +0000 (11:36 +0200)]
fix(lua_redis): Improve Redis script loading
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.
NameWeb [Fri, 9 May 2025 08:29:05 +0000 (10:29 +0200)]
Remove "thinking" and fix errorlog
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".
Alexander Moisseev [Fri, 9 May 2025 07:37:13 +0000 (10:37 +0300)]
[WebUI] Fix Fuzzy hashes card close btn alignment
Alexander Moisseev [Fri, 9 May 2025 07:16:19 +0000 (10:16 +0300)]
[Minor] Align data-upload to controller endpoints
Alexander Moisseev [Fri, 9 May 2025 07:03:34 +0000 (10:03 +0300)]
[Minor] Remove unused cleanTextUpload helper
Alexander Moisseev [Thu, 8 May 2025 15:31:38 +0000 (18:31 +0300)]
[WebUI] Add deletion of specific fuzzy hashes
Vsevolod Stakhov [Thu, 8 May 2025 07:45:16 +0000 (13:45 +0600)]
Merge pull request #5458 from xandris/bugfix/doctest-2.4.12-build-failure
[Fix] libmime: doctest 2.4.12 compatibilty
Alexandra Parker [Wed, 7 May 2025 20:17:32 +0000 (13:17 -0700)]
[Fix] libmime: declare comparators const for doctest 2.4.12 compatibility
Petr Vaněk pointed out a change in doctest 2.4.12 that broke the libmime
test code:
https://github.com/doctest/doctest/commit/
d7a5eeb820b61cc3af8a61b3117f76a403b7742a
CHECK is now treats LHS as const and the compiler won't find non-const
operator== as a result. It's reasonable for comparators to be const, so
make them const.
Signed-Off-By: Alexandra Parker <alex.iris.parker@gmail.com>
Alexander Moisseev [Wed, 7 May 2025 15:29:05 +0000 (18:29 +0300)]
[Fix] Allow 'Hash' in Access-Control-Allow-Headers
so clients can include the Hash header in CORS preflight requests
to /fuzzydelhash endpoint.
Vsevolod Stakhov [Wed, 7 May 2025 13:27:32 +0000 (14:27 +0100)]
[Feature] Add keep-alive support
Vsevolod Stakhov [Wed, 7 May 2025 08:19:50 +0000 (14:19 +0600)]
Merge pull request #5455 from dragoangel/patch-10
Fix librdns maxname limit
Vsevolod Stakhov [Tue, 6 May 2025 16:39:05 +0000 (17:39 +0100)]
[Feature] Allow to use HTTPS when connection to backends in proxy
Vsevolod Stakhov [Tue, 6 May 2025 16:35:29 +0000 (17:35 +0100)]
[Feature] Allow to specify extra headers in Rspamd proxy
Vsevolod Stakhov [Tue, 6 May 2025 16:27:35 +0000 (17:27 +0100)]
[Fix] Really fix local objects filtering, sigh...
Dmitriy Alekseev [Sun, 4 May 2025 23:17:07 +0000 (01:17 +0200)]
Fix librdns maxname limit
Vsevolod Stakhov [Sat, 3 May 2025 12:32:17 +0000 (13:32 +0100)]
[Minor] Some usablity improvements
Vsevolod Stakhov [Sat, 3 May 2025 12:27:10 +0000 (13:27 +0100)]
[Minor] Exclude empty objects
Vsevolod Stakhov [Sat, 3 May 2025 12:24:33 +0000 (13:24 +0100)]
[Fix] Fix various issues
Kevin Shah [Fri, 2 May 2025 17:30:48 +0000 (23:00 +0530)]
Merge branch 'master' into feature1
kevinzb56 [Fri, 2 May 2025 17:30:10 +0000 (17:30 +0000)]
removed -n shortcut
Vsevolod Stakhov [Fri, 2 May 2025 16:50:55 +0000 (22:50 +0600)]
Merge pull request #5443 from kevinzb56/temp2
Added exclusion list for reputation
Vsevolod Stakhov [Fri, 2 May 2025 16:35:39 +0000 (22:35 +0600)]
Merge pull request #5454 from moisseev/webui
[WebUI] Add `Delete hash` button
Alexander Moisseev [Fri, 2 May 2025 15:38:30 +0000 (18:38 +0300)]
[WebUI] Add `Delete hash` button
- Add `Delete hash` button
- Rename `Upload FUZZY` button to `Add hash`
Vsevolod Stakhov [Thu, 1 May 2025 13:52:32 +0000 (14:52 +0100)]
[Fix] Add null check for master_conn->up in proxy backend error handler
Vsevolod Stakhov [Thu, 1 May 2025 13:52:19 +0000 (14:52 +0100)]
[Fix] Prevent crashes when accessing upstream address in self-scan mode
Vsevolod Stakhov [Thu, 1 May 2025 13:47:44 +0000 (14:47 +0100)]
[Fix] Add fail check for cfg transform for some corner cases
Vsevolod Stakhov [Thu, 1 May 2025 13:35:39 +0000 (19:35 +0600)]
Merge pull request #5453 from rspamd/vstakhov-fuzzy-check-split-servers
Allow to use different servers for fuzzy operations
Vsevolod Stakhov [Thu, 1 May 2025 13:35:05 +0000 (14:35 +0100)]
[Test] Fix bloody tests
Vsevolod Stakhov [Thu, 1 May 2025 13:30:18 +0000 (14:30 +0100)]
[Test] Move tests with the same number
Vsevolod Stakhov [Thu, 1 May 2025 13:28:18 +0000 (14:28 +0100)]
test: use SMTP recipient via Rcpt= in replies test cases
Vsevolod Stakhov [Thu, 1 May 2025 13:25:26 +0000 (14:25 +0100)]
test: update replies module tests to match new SMTP recipient behavior
Vsevolod Stakhov [Thu, 1 May 2025 13:20:22 +0000 (14:20 +0100)]
[Minor] Some fixes
kevinzb56 [Thu, 1 May 2025 11:58:45 +0000 (11:58 +0000)]
modified dumping
Vsevolod Stakhov [Thu, 1 May 2025 08:35:57 +0000 (09:35 +0100)]
[Test] Improve fuzzy split server test configuration and setup
Vsevolod Stakhov [Thu, 1 May 2025 08:32:48 +0000 (09:32 +0100)]
test: add fuzzy tests for split, read-only, and write-only server modes
Vsevolod Stakhov [Thu, 1 May 2025 08:28:02 +0000 (09:28 +0100)]
[Minor] Remove servers completely and use `read_servers` for all compat stuff
Vsevolod Stakhov [Thu, 1 May 2025 08:17:00 +0000 (09:17 +0100)]
[Feature] Add support for separate read and write servers in fuzzy check
Kevin Shah [Mon, 28 Apr 2025 13:53:09 +0000 (19:23 +0530)]
Merge branch 'rspamd:master' into temp2
Vsevolod Stakhov [Fri, 25 Apr 2025 07:49:48 +0000 (08:49 +0100)]
[Fix] Filter invalid domains in fuzzy extra data
Issue: #5446
Vsevolod Stakhov [Wed, 23 Apr 2025 18:43:23 +0000 (00:43 +0600)]
Merge pull request #5435 from fatalbanana/rpm_logdir
[Minor] RPM: fix log directory attributes
Vsevolod Stakhov [Wed, 23 Apr 2025 18:42:33 +0000 (00:42 +0600)]
Merge pull request #5444 from SuperSandro2000/file.conf
Correct "file.conf" from dist config files
Kevin Shah [Tue, 22 Apr 2025 16:29:26 +0000 (21:59 +0530)]
Merge branch 'master' into temp2
Vsevolod Stakhov [Tue, 22 Apr 2025 08:53:03 +0000 (09:53 +0100)]
[Fix] Arc: Use tonumber when comparing
Issue: #4044
Sandro Jäckel [Tue, 22 Apr 2025 01:19:00 +0000 (03:19 +0200)]
Correct "file.conf" from dist config files
kevinzb56 [Mon, 21 Apr 2025 17:53:21 +0000 (17:53 +0000)]
Added exclusion list for reputation
Vsevolod Stakhov [Fri, 18 Apr 2025 07:29:33 +0000 (13:29 +0600)]
Merge pull request #5436 from SuperSandro2000/patch-1
Fix writing rules tutorial link
Vsevolod Stakhov [Thu, 17 Apr 2025 09:29:20 +0000 (15:29 +0600)]
Merge pull request #5434 from fatalbanana/preresult_modules
[Minor] Use module name when calling `set_pre_result`
Sandro [Wed, 16 Apr 2025 23:47:56 +0000 (01:47 +0200)]
Fix writing rules tutorial link
Andrew Lewis [Wed, 16 Apr 2025 12:35:15 +0000 (14:35 +0200)]
[Minor] RPM: fix log directory attributes
Andrew Lewis [Wed, 16 Apr 2025 10:45:19 +0000 (12:45 +0200)]
[Minor] Use module name when calling `set_pre_result`
Vsevolod Stakhov [Mon, 14 Apr 2025 19:34:47 +0000 (20:34 +0100)]
[Rework] Replies: consider all recipients and use smtp ones
Vsevolod Stakhov [Mon, 14 Apr 2025 07:52:57 +0000 (13:52 +0600)]
Merge pull request #5407 from dragoangel/patch-10
Add Sieve and cPanel forwarding symbols
Vsevolod Stakhov [Mon, 14 Apr 2025 07:52:51 +0000 (13:52 +0600)]
Merge branch 'master' into patch-10
Vsevolod Stakhov [Wed, 9 Apr 2025 19:36:27 +0000 (01:36 +0600)]
Merge pull request #5426 from fatalbanana/recontextal
[Minor] contextal: conditionally disable timer, minor changes
Andrew Lewis [Tue, 8 Apr 2025 10:02:25 +0000 (12:02 +0200)]
[Minor] contextal: conditionally disable timer, minor changes