]>
git.ipfire.org Git - thirdparty/rspamd.git/log
Vsevolod Stakhov [Sat, 15 Mar 2025 15:49:00 +0000 (15:49 +0000)]
[Test] Add tests for CDB maps
Vsevolod Stakhov [Sat, 15 Mar 2025 14:47:26 +0000 (14:47 +0000)]
[Feature] Allow CDB files as external maps
Vsevolod Stakhov [Mon, 10 Mar 2025 19:47:32 +0000 (01:47 +0600)]
Merge pull request #5378 from amulet1/lua_logger_log_format
[Minor] Fix and improve format string processing in lua_logger_log_format()
Vsevolod Stakhov [Mon, 10 Mar 2025 12:54:50 +0000 (18:54 +0600)]
Merge pull request #5380 from rspamd/vstakhov-fmt-embedding
[Fix] Use bundled libfmt everywhere
Vsevolod Stakhov [Mon, 10 Mar 2025 10:52:51 +0000 (10:52 +0000)]
[Fix] Use bundled libfmt everywhere
Issue: #5258
Dmitry Petrov [Sat, 8 Mar 2025 20:44:28 +0000 (15:44 -0500)]
[Minor] Fix and improve format string processing in lua_logger_log_format()
* Fix handling of %s after % with numeric argument
* Fix argument number check
* Preserve unhandled % in the output
* Redesign to simplify the code
Vsevolod Stakhov [Sat, 8 Mar 2025 14:13:16 +0000 (14:13 +0000)]
[Minor] Update version
Vsevolod Stakhov [Sat, 8 Mar 2025 14:11:50 +0000 (14:11 +0000)]
Release 3.11.1
* [Feature] Add 'noop' redis backend for scripts running
* [Feature] Add Redis caching framework
* [Feature] Add UTF8 `sub` and `len` variants for rspamd_text
* [Feature] Allow adding timers to task (respecting symbols)
* [Feature] Allow additional categories to be defined in GPT
* [Feature] Allow fine-grained control on keys permissions
* [Feature] Allow individual `read_only` flag per key
* [Feature] Allow multiple lua scripts for fuzzy storage
* [Feature] Allow to add periodic functions in Lua API
* [Feature] Allow to disable rbls from map
* [Feature] Allow to hash any Lua types
* [Feature] Allow to store shingles as opaque Lua data
* [Feature] Cache LLM replies
* [Feature] GPT: Add ollama support
* [Feature] GPT: Support reason adding
* [Feature] Improve prompt and use plaintext instead of JSON
* [Feature] Lua_task: Allow to load data into the existing task
* [Feature] More additions
* [Feature] Pass shingles to Lua scripts
* [Feature] Preliminary implementation of LLM based anonymizing
* [Feature] Support LLM models consensus
* [Feature] Try to check maps earlier if their expires is too long
* [Feature] Use debug module name from caller in lua_cache
* [Fix] Add timer update before timer setting
* [Fix] Allow to work with no ratelimits
* [Fix] Always create ratelimit buckets
* [Fix] Avoid collision hacks in mempool variables hash
* [Fix] Expire neural ham and spam sets so they not hangup in redis indefinitely
* [Fix] Fix crash on FreeBSD when Rspamd is built without hyperscan
* [Fix] Make table digests consistent
* [Fix] RBL: fix use of `content_urls` and `images` inside `checks`
* [Fix] Verify key type to match DKIM signature type
* [Fix] connIP is not correctly added to request
* [Fix] properly close multipart/related boundary when adding text footer
* [Rework] GPT: Use cache framework
Vsevolod Stakhov [Fri, 7 Mar 2025 17:07:18 +0000 (23:07 +0600)]
Merge pull request #5377 from rspamd/vstakhov-maps-caching
[Feature] Try to check maps earlier if their expires is too long
Vsevolod Stakhov [Fri, 7 Mar 2025 16:50:55 +0000 (22:50 +0600)]
Merge pull request #5376 from dragoangel/patch-10
[Fix] Properly expire neural ham and spam sets
Vsevolod Stakhov [Fri, 7 Mar 2025 16:49:58 +0000 (16:49 +0000)]
[Feature] Try to check maps earlier if their expires is too long
Issue: #5351
Dmitriy Alekseev [Fri, 7 Mar 2025 14:02:32 +0000 (15:02 +0100)]
Update neural_save_unlock.lua
Vsevolod Stakhov [Fri, 7 Mar 2025 12:52:24 +0000 (18:52 +0600)]
Merge pull request #5375 from moisseev/webui
[Test] Update JavaScript linters
Alexander Moisseev [Fri, 7 Mar 2025 08:18:42 +0000 (11:18 +0300)]
[Test] Update JavaScript linters
- @stylistic/eslint-plugin 2.8.0 -> 4.2.0
- eslint 9.10.0 -> 9.21.0
- postcss-html 1.7.0 -> 1.8.0
- stylelint-config-standard 36.0.1 -> 37.0.0
- stylelint 16.9.0 -> 16.15.0
Vsevolod Stakhov [Thu, 6 Mar 2025 14:09:36 +0000 (20:09 +0600)]
Merge pull request #5374 from rspamd/vstakhov-cache-gpt
Use caching framework in gpt module
Vsevolod Stakhov [Thu, 6 Mar 2025 14:00:31 +0000 (20:00 +0600)]
Merge pull request #5372 from amulet1/map_improvements
Better support for maps and IP-related fixes/improvements in settings
Vsevolod Stakhov [Thu, 6 Mar 2025 13:59:51 +0000 (13:59 +0000)]
[Minor] Fix invocation
Vsevolod Stakhov [Thu, 6 Mar 2025 12:39:22 +0000 (12:39 +0000)]
[Rework] GPT: Use cache framework
Vsevolod Stakhov [Thu, 6 Mar 2025 11:48:05 +0000 (11:48 +0000)]
[Feature] Use debug module name from caller in lua_cache
Vsevolod Stakhov [Wed, 5 Mar 2025 19:52:27 +0000 (01:52 +0600)]
Merge branch 'master' into map_improvements
Dmitry Petrov [Wed, 5 Mar 2025 14:18:05 +0000 (09:18 -0500)]
Move an upvalue check out of the closure returned by gen_check_closure()
Dmitry Petrov [Wed, 5 Mar 2025 13:51:56 +0000 (08:51 -0500)]
Improve handling of IP conditions in settings
* Skip invalid IPs (with appropriate error logging)
(previously a bad IP would cause the subsequent IPs in a list to be ignored or make the whole IP condition to be ignored)
* Add validated IPs/maps into a flat table
* Log complete IP in case of invalid mask
Vsevolod Stakhov [Tue, 4 Mar 2025 19:51:44 +0000 (01:51 +0600)]
Merge pull request #5373 from dragoangel/patch-8
[Fix] Add expiration for neural ham and spam sets
Dmitriy Alekseev [Tue, 4 Mar 2025 19:29:06 +0000 (20:29 +0100)]
Fix typo in neural.lua
Dmitriy Alekseev [Tue, 4 Mar 2025 19:27:51 +0000 (20:27 +0100)]
Update neural_save_unlock.lua
Dmitriy Alekseev [Tue, 4 Mar 2025 19:26:56 +0000 (20:26 +0100)]
[Fix] Expire neural ham and spam sets so they not hangup in redis indefinitely
Dmitry Petrov [Tue, 4 Mar 2025 18:12:21 +0000 (13:12 -0500)]
Rework IP processing/checking in settings
* Avoid misleading "cannot parse ip" logging by checking for "map:" prefix early
* Do not use tables for maps or IPs without mask
* Normalize IPs by applying mask during processing
* Add error logging for wrong IP mask
* Simplify check_ip_settings() based on changes in process_ip_condition()
Dmitry Petrov [Tue, 4 Mar 2025 16:16:25 +0000 (11:16 -0500)]
Fix support for "map://" prefix
Vsevolod Stakhov [Mon, 3 Mar 2025 20:54:31 +0000 (02:54 +0600)]
Merge pull request #5369 from rspamd/vstakhov-cache-framework
[Feature] Add Redis caching framework
Vsevolod Stakhov [Mon, 3 Mar 2025 11:11:46 +0000 (11:11 +0000)]
[Feature] More additions
* Hash keys
* Docs
* Example
Vsevolod Stakhov [Mon, 3 Mar 2025 10:11:22 +0000 (10:11 +0000)]
[Minor] Fix format strings
Vsevolod Stakhov [Mon, 3 Mar 2025 10:05:47 +0000 (10:05 +0000)]
[Feature] Add Redis caching framework
Andrew Lewis [Mon, 3 Mar 2025 08:00:16 +0000 (10:00 +0200)]
Merge pull request #5367 from jeromelebleu/fix-spelling
Fix spelling errors in libserver
Vsevolod Stakhov [Sun, 2 Mar 2025 22:19:26 +0000 (04:19 +0600)]
Merge pull request #5366 from jeromelebleu/regenerate-manpages
Regenerate manpages with recent Pandoc version
Vsevolod Stakhov [Sun, 2 Mar 2025 22:18:59 +0000 (04:18 +0600)]
Merge pull request #5365 from jeromelebleu/fix-rspamd_stats-getopt
Prevent option duplicates in rspamd_stats.pl
Jérôme Lebleu [Sun, 2 Mar 2025 12:59:28 +0000 (13:59 +0100)]
Regenerate manpages with recent Pandoc version
Jérôme Lebleu [Sun, 2 Mar 2025 12:57:10 +0000 (13:57 +0100)]
Prevent option duplicates in rspamd_stats.pl
Jérôme Lebleu [Sun, 2 Mar 2025 12:55:27 +0000 (13:55 +0100)]
Fix spelling errors in libserver
Vsevolod Stakhov [Sat, 1 Mar 2025 17:15:36 +0000 (23:15 +0600)]
Merge pull request #5363 from rspamd/vstakhov-ev-base-periodics
Add ability to create timers from Lua
Vsevolod Stakhov [Sat, 1 Mar 2025 15:33:43 +0000 (15:33 +0000)]
[Feature] Allow adding timers to task (respecting symbols)
Vsevolod Stakhov [Sat, 1 Mar 2025 13:52:16 +0000 (13:52 +0000)]
[Feature] Allow to add periodic functions in Lua API
Vsevolod Stakhov [Fri, 28 Feb 2025 10:20:18 +0000 (16:20 +0600)]
Merge pull request #5359 from rspamd/vstakhov-rbl-disable
Allow to disable RBLs via map
Vsevolod Stakhov [Thu, 27 Feb 2025 16:11:50 +0000 (16:11 +0000)]
[Conf] Add map
Vsevolod Stakhov [Thu, 27 Feb 2025 15:53:17 +0000 (15:53 +0000)]
[Feature] Allow to disable rbls from map
Vsevolod Stakhov [Thu, 27 Feb 2025 14:07:01 +0000 (20:07 +0600)]
Merge pull request #5357 from rspamd/vstakhov-collisions-fix
[Fix] Avoid collision hacks in mempool variables hash
Vsevolod Stakhov [Thu, 27 Feb 2025 11:21:07 +0000 (11:21 +0000)]
[Fix] Avoid collision hacks in mempool variables hash
I don't want to debug that again!
Vsevolod Stakhov [Thu, 27 Feb 2025 11:15:10 +0000 (17:15 +0600)]
Merge pull request #5356 from rspamd/vstakhov-gpt-tunes2
More features to GPT plugin
Vsevolod Stakhov [Tue, 25 Feb 2025 12:32:14 +0000 (12:32 +0000)]
[Feature] Allow additional categories to be defined in GPT
Vsevolod Stakhov [Tue, 25 Feb 2025 11:54:02 +0000 (11:54 +0000)]
[Minor] Tune caching
Vsevolod Stakhov [Tue, 25 Feb 2025 11:43:08 +0000 (11:43 +0000)]
[Minor] Tune caching
Vsevolod Stakhov [Tue, 25 Feb 2025 11:38:28 +0000 (11:38 +0000)]
[Feature] Cache LLM replies
Vsevolod Stakhov [Tue, 25 Feb 2025 11:02:23 +0000 (11:02 +0000)]
[Feature] Improve prompt and use plaintext instead of JSON
Vsevolod Stakhov [Mon, 24 Feb 2025 17:12:09 +0000 (17:12 +0000)]
[Minor] GPT: Allow to trigger on specific symbols
Vsevolod Stakhov [Sat, 22 Feb 2025 09:47:21 +0000 (15:47 +0600)]
Merge pull request #5352 from rspamd/vstakhov-dkim-sanitize-keys
[Fix] Verify key type to match DKIM signature type
Vsevolod Stakhov [Fri, 21 Feb 2025 12:18:50 +0000 (12:18 +0000)]
[Fix] Verify key type to match DKIM signature type
Vsevolod Stakhov [Wed, 19 Feb 2025 12:26:06 +0000 (18:26 +0600)]
Merge pull request #5335 from japc/statistics_dump
[Minor] Some small fixes to statistics_dump
Vsevolod Stakhov [Fri, 7 Feb 2025 18:40:00 +0000 (00:40 +0600)]
Merge pull request #5334 from FreddleSpl0it/fix-add-text-footer
[Fix] properly close multipart/related boundary when adding text footer
Jose Celestino [Thu, 6 Feb 2025 01:47:28 +0000 (01:47 +0000)]
[Minor] On statistics_dump opts.cdb was doing dump_out and vice-versa
Jose Celestino [Thu, 6 Feb 2025 01:38:52 +0000 (01:38 +0000)]
[Minor] Fixed nil batch_size on default dump on statistics_dump
FreddleSpl0it [Wed, 5 Feb 2025 12:45:36 +0000 (13:45 +0100)]
[Fix] properly close multipart/related boundary when adding text footer
Vsevolod Stakhov [Tue, 4 Feb 2025 13:21:07 +0000 (19:21 +0600)]
Merge pull request #5319 from japc/map-combined-description
[Minor] Pass both the multimap and the rules descriptions for combined multimap on create
Vsevolod Stakhov [Tue, 4 Feb 2025 10:15:30 +0000 (10:15 +0000)]
[Fix] Allow to work with no ratelimits
Vsevolod Stakhov [Tue, 4 Feb 2025 09:57:17 +0000 (09:57 +0000)]
[Fix] Always create ratelimit buckets
Vsevolod Stakhov [Sun, 2 Feb 2025 07:33:00 +0000 (13:33 +0600)]
Merge pull request #5326 from rspamd/vstakhov-gpt-reason
[Feature] GPT: Support reason adding
Vsevolod Stakhov [Sat, 1 Feb 2025 08:54:04 +0000 (08:54 +0000)]
[Minor] Allow to exclude all symbols
Vsevolod Stakhov [Fri, 31 Jan 2025 14:26:59 +0000 (14:26 +0000)]
[Feature] GPT: Support reason adding
Vsevolod Stakhov [Wed, 29 Jan 2025 09:42:27 +0000 (15:42 +0600)]
Merge pull request #5320 from rspamd/vstakhov-gpt-consensus
[Feature] Support LLM models consensus
Vsevolod Stakhov [Mon, 27 Jan 2025 19:19:28 +0000 (19:19 +0000)]
[Feature] Support LLM models consensus
Jose Celestino [Sun, 26 Jan 2025 18:49:20 +0000 (18:49 +0000)]
[Minor] Pass both the multimap and the rules descriptions for combined when creating
Vsevolod Stakhov [Sun, 26 Jan 2025 10:54:47 +0000 (16:54 +0600)]
Merge pull request #5317 from moisseev/webui
[WebUI] Reset dropdown when clearing filters
Vsevolod Stakhov [Sat, 25 Jan 2025 15:31:12 +0000 (15:31 +0000)]
[Minor] Fix for old OpenSSL, sigh
Vsevolod Stakhov [Sat, 25 Jan 2025 15:26:56 +0000 (15:26 +0000)]
[Minor] Add protection against infinite recursion
Vsevolod Stakhov [Sat, 25 Jan 2025 15:17:01 +0000 (15:17 +0000)]
[Fix] Make table digests consistent
Alexander Moisseev [Sat, 25 Jan 2025 15:06:29 +0000 (18:06 +0300)]
[WebUI] Reset dropdown when clearing filters
Ensure the action dropdown resets to its default value when clearing filters in the history table.
Vsevolod Stakhov [Sat, 25 Jan 2025 14:25:27 +0000 (14:25 +0000)]
[Minor] Really execute on_terminate scripts for fuzzy worker
Vsevolod Stakhov [Sat, 25 Jan 2025 13:45:34 +0000 (13:45 +0000)]
[Minor] Run finish scripts for fuzzy workers
Vsevolod Stakhov [Sat, 25 Jan 2025 13:35:25 +0000 (13:35 +0000)]
[Minor] Deal with packed structure member properly
Vsevolod Stakhov [Sat, 25 Jan 2025 13:29:07 +0000 (13:29 +0000)]
[Minor] Several fixes for fuzzy scripts
Vsevolod Stakhov [Sat, 25 Jan 2025 13:22:32 +0000 (13:22 +0000)]
[Minor] Some fixes for noop backend
Vsevolod Stakhov [Fri, 24 Jan 2025 22:08:32 +0000 (04:08 +0600)]
Merge pull request #5315 from japc/rules-regexp-url
[Minor] Rules regexp url separated and fix no subdomain cases for Google urls
Vsevolod Stakhov [Fri, 24 Jan 2025 22:08:01 +0000 (04:08 +0600)]
Merge pull request #5314 from japc/checks-bool
[Minor] Set RBL checks to bool true
Vsevolod Stakhov [Thu, 23 Jan 2025 13:10:24 +0000 (19:10 +0600)]
Merge pull request #5313 from dragoangel/patch-8
fix: use sub_utf8 to strip headers value to not break utf8 strings
Jose Celestino [Thu, 23 Jan 2025 13:05:57 +0000 (13:05 +0000)]
[Minor] Assuming that the remaining Google urls can also show esld only
Jose Celestino [Thu, 23 Jan 2025 12:58:02 +0000 (12:58 +0000)]
[Minor] HAS_GOOGLE_REDIR was not working with https://google.com
Jose Celestino [Thu, 23 Jan 2025 12:42:40 +0000 (12:42 +0000)]
[Minor] Move url regexes to regexp/urls.lua
Jose Celestino [Thu, 23 Jan 2025 12:38:15 +0000 (12:38 +0000)]
[Minor] Set RBL checks to bool true
Dmitriy Alekseev [Tue, 21 Jan 2025 23:40:57 +0000 (00:40 +0100)]
add task digest
Dmitriy Alekseev [Tue, 21 Jan 2025 23:00:28 +0000 (00:00 +0100)]
fix: use sub_utf8 to strip headers value to not break utf8 strings
Vsevolod Stakhov [Mon, 20 Jan 2025 20:23:55 +0000 (20:23 +0000)]
[Feature] Add UTF8 `sub` and `len` variants for rspamd_text
Vsevolod Stakhov [Mon, 20 Jan 2025 11:47:08 +0000 (17:47 +0600)]
Merge pull request #5310 from fatalbanana/rbl_urls
RBL: fix use of `content_urls` and `images` inside `checks`
Andrew Lewis [Mon, 20 Jan 2025 11:24:15 +0000 (13:24 +0200)]
[Fix] RBL: fix use of `content_urls` and `images` inside `checks`
Andrew Lewis [Mon, 20 Jan 2025 11:22:43 +0000 (13:22 +0200)]
[Test] RBL: test more URL extraction scenarios
Vsevolod Stakhov [Sun, 19 Jan 2025 22:28:43 +0000 (04:28 +0600)]
Merge pull request #5305 from japc/rbl-checks-images
[Minor] rbl check_types was missing images
Jose Celestino [Sun, 19 Jan 2025 13:59:10 +0000 (13:59 +0000)]
[Minor] rbl check_types was missing images
Vsevolod Stakhov [Sat, 18 Jan 2025 13:32:45 +0000 (13:32 +0000)]
[Minor] Push flag and value for fuzzy pre scripts
Andrew Lewis [Fri, 17 Jan 2025 07:20:38 +0000 (09:20 +0200)]
Merge pull request #5300 from crpb/master
remove nixspam
Christopher Bock [Fri, 17 Jan 2025 02:37:57 +0000 (03:37 +0100)]
remove nixspam
nixspam has shutdown their service on 2025.01.16
closes #5299
Vsevolod Stakhov [Wed, 15 Jan 2025 22:09:15 +0000 (04:09 +0600)]
Merge pull request #5292 from japc/resolve_ip-ipv46
[Minor] Respect ipv4 and ipv6 configurations for rbl resolve_ip
Jose Celestino [Tue, 14 Jan 2025 13:52:46 +0000 (13:52 +0000)]
[Minor] Don't skip resolve_ip when ignore_defaults is true and ipv4 and ipv6 aren't set
Vsevolod Stakhov [Tue, 14 Jan 2025 13:10:26 +0000 (19:10 +0600)]
Merge pull request #5294 from fatalbanana/mime_types_ico
[Minor] Add another acceptable mime type for icon