]>
source.dussan.org Git - rspamd.git/log
Petr Vaněk [Sat, 20 Jan 2024 14:22:22 +0000 (15:22 +0100)]
[Fix] Use short comments rather than long one
Rspamd fails to start with Lua-5.1 because long comment does not allow
nesting, see [1]. This change replaces it to short comments in order to
fix the issue but preserves this part as comment in docs.
[1] https://www.lua.org/manual/5.1/manual.html#7.1
Bug: https://bugs.gentoo.org/922522
Fixes: b189c9fea633 ("[Minor] lua_maps docs: apply formatting")
Fixes: https://github.com/rspamd/rspamd/issues/4784
Vsevolod Stakhov [Fri, 19 Jan 2024 12:46:21 +0000 (12:46 +0000)]
[Minor] Update version to 3.8.1
Vsevolod Stakhov [Fri, 19 Jan 2024 12:45:07 +0000 (12:45 +0000)]
Release 3.8.0
* [Project] Rspamadm fuzzyping command
* [Project] Use Redis scripts for Bayes statistics and cache
* [Project] Support JSON logging
* [CritFix] - Fix reported length of logging structure
* [Feature] Allow to set `max_users` for Redis bayes backend
* [Feature] Escape JSON when needed
* [Feature] Proxy: Allow `encrypted_only` option
* [Feature] Reiterate on gtube patterns
* [Feature] Support ping command in fuzzy storage
* [Feature] Support suppressing DMARC reporting for particular recipients
* [Feature] rbl: support disabling or replacing url_whitelist per RBL
* [Fix] Another try to fix setproctitle
* [Fix] Cleanup session on exit
* [Fix] Do not cleanup hyperscan files unless new ones are loaded
* [Fix] Fix bad access when printing pending events on failure path
* [Fix] Fix issues with the raw header on header insertion/modification
* [Fix] Fix overflow in fuzzy_stats command
* [Fix] Fix some corner cases when parsing maps with no newlines
* [Fix] Fix various issues with canonicalisation of the paths
* [Fix] Fix wrong raw_len usage
* [Fix] Make words selection random deterministic upon content
* [Fix] Properly set config field when creating tasks from Lua
* [Fix] Really fix the language detector statistical heuristic
* [Fix] Set loaded variable explicitly
* [Fix] dkim_signing: siging_table: lowercase before lookup
* [Fix] known_senders: fix config handling
* [Fix] rbl: fix `exclude_local`
Vsevolod Stakhov [Fri, 19 Jan 2024 12:33:09 +0000 (18:33 +0600)]
Merge pull request #4781 from fatalbanana/multimap_rawtext
[Fix] multimap: rawtext: use decoded parts
Vsevolod Stakhov [Fri, 19 Jan 2024 10:11:05 +0000 (10:11 +0000)]
[Minor] Print some more stats
Andrew Lewis [Fri, 19 Jan 2024 07:40:51 +0000 (09:40 +0200)]
[Fix] multimap: rawtext: use decoded parts
Vsevolod Stakhov [Thu, 18 Jan 2024 14:28:36 +0000 (14:28 +0000)]
[Minor] Fix OSX build with backwards
Issue: #4752
Vsevolod Stakhov [Thu, 18 Jan 2024 14:25:52 +0000 (14:25 +0000)]
[Test] Remove some invalid tests for 32 bit platforms
Issue: #4754
Vsevolod Stakhov [Thu, 18 Jan 2024 14:13:41 +0000 (14:13 +0000)]
[Fix] Really fix the language detector statistical heuristic
Vsevolod Stakhov [Thu, 18 Jan 2024 14:00:44 +0000 (14:00 +0000)]
[Fix] Make words selection random deterministic upon content
Vsevolod Stakhov [Thu, 18 Jan 2024 13:18:09 +0000 (13:18 +0000)]
[Minor] Cleanup
Vsevolod Stakhov [Wed, 17 Jan 2024 15:27:24 +0000 (21:27 +0600)]
Merge pull request #4774 from rspamd/vstakhov-redis-cache-rework
Rewrite redis_cache logic in statistics
Vsevolod Stakhov [Wed, 17 Jan 2024 15:11:07 +0000 (15:11 +0000)]
[Minor] Remove special handling
Vsevolod Stakhov [Wed, 17 Jan 2024 15:08:19 +0000 (15:08 +0000)]
[Project] Some more work with regard to configuration
Vsevolod Stakhov [Wed, 17 Jan 2024 14:48:24 +0000 (14:48 +0000)]
[Project] Final things on redis cache rework
Vsevolod Stakhov [Tue, 16 Jan 2024 16:17:36 +0000 (16:17 +0000)]
[Project] Add cache config
Vsevolod Stakhov [Mon, 15 Jan 2024 15:25:23 +0000 (15:25 +0000)]
[Minor] Fix scripts invocation
Vsevolod Stakhov [Mon, 15 Jan 2024 15:02:44 +0000 (15:02 +0000)]
[Project] Further rework of the C part
Vsevolod Stakhov [Fri, 12 Jan 2024 15:41:11 +0000 (15:41 +0000)]
[Project] Initial implementation of the lua counterpart
Vsevolod Stakhov [Fri, 12 Jan 2024 14:53:06 +0000 (14:53 +0000)]
[Minor] Rework redis servers config parsing
Vsevolod Stakhov [Fri, 12 Jan 2024 14:04:55 +0000 (20:04 +0600)]
Merge pull request #4775 from fatalbanana/robot
[Test] Fix tests on Robot Framework 7.0
Andrew Lewis [Fri, 12 Jan 2024 11:09:37 +0000 (13:09 +0200)]
[Test] Fix tests on Robot Framework 7.0
Vsevolod Stakhov [Thu, 11 Jan 2024 15:10:16 +0000 (15:10 +0000)]
[Rework] Start rewriting of the redis cache logic
Vsevolod Stakhov [Wed, 10 Jan 2024 14:36:00 +0000 (20:36 +0600)]
Merge pull request #4772 from fatalbanana/dmarc_pingpong
[Feature] Support suppressing DMARC reporting for particular recipients
Andrew Lewis [Wed, 10 Jan 2024 13:38:39 +0000 (15:38 +0200)]
[Feature] Support suppressing DMARC reporting for particular recipients
Vsevolod Stakhov [Wed, 3 Jan 2024 04:45:02 +0000 (10:45 +0600)]
Merge pull request #4767 from fatalbanana/logging_tests_more
[Test] Some more tests for logging
Andrew Lewis [Mon, 1 Jan 2024 14:01:50 +0000 (16:01 +0200)]
[Test] Some more tests for logging
Vsevolod Stakhov [Mon, 1 Jan 2024 08:10:50 +0000 (14:10 +0600)]
Merge pull request #4766 from moisseev/webui
[WebUI] Normalize IPv4 for column sorting
moisseev [Sun, 31 Dec 2023 16:04:09 +0000 (19:04 +0300)]
[WebUI] Normalize IPv4 for column sorting
Vsevolod Stakhov [Sun, 31 Dec 2023 11:40:33 +0000 (17:40 +0600)]
Merge pull request #4765 from moisseev/webui
[WebUI] Show message size in IEC (base 1024) units
Vsevolod Stakhov [Sat, 30 Dec 2023 21:37:42 +0000 (21:37 +0000)]
[Project] Implement text tokens storage on C++ side
Vsevolod Stakhov [Sat, 30 Dec 2023 21:06:46 +0000 (21:06 +0000)]
[Project] Add store tokens support in new bayes learn
moisseev [Sat, 30 Dec 2023 15:06:40 +0000 (18:06 +0300)]
[WebUI] Show message size in IEC (base 1024) units
Vsevolod Stakhov [Sat, 30 Dec 2023 09:56:06 +0000 (09:56 +0000)]
Merge pull request #4764 from jvoisin/anullptr
[Fix] Fix an overzealous s/NULL/nullptr/g
Julien Voisin [Fri, 29 Dec 2023 16:15:00 +0000 (17:15 +0100)]
Update cfg_utils.cxx
Fix another dumb s/NULL/nullptr/g
Julien Voisin [Fri, 29 Dec 2023 16:13:14 +0000 (17:13 +0100)]
Update cfg_rcl.cxx
Fixed an overzealous s/NULL/nullptr/g
moisseev [Fri, 29 Dec 2023 10:32:37 +0000 (13:32 +0300)]
[Minor] Combine history table column definitions
Vsevolod Stakhov [Thu, 28 Dec 2023 12:38:28 +0000 (12:38 +0000)]
Merge pull request #4762 from moisseev/webui
[Minor] Move common stuff to separate files
moisseev [Thu, 28 Dec 2023 11:31:49 +0000 (14:31 +0300)]
[WebUI] Tweak scan result layout for small devices
moisseev [Wed, 27 Dec 2023 12:22:23 +0000 (15:22 +0300)]
[Minor] Move common stuff to separate files
Vsevolod Stakhov [Wed, 27 Dec 2023 10:33:08 +0000 (10:33 +0000)]
Merge pull request #4759 from moisseev/hfilter
[Minor] Fix typo in hfilter map
Vsevolod Stakhov [Tue, 26 Dec 2023 16:01:17 +0000 (16:01 +0000)]
Merge pull request #4761 from fatalbanana/debian_postinst
[Minor] debian: add missing stuff to rspamd-asan package
Andrew Lewis [Tue, 26 Dec 2023 14:01:26 +0000 (16:01 +0200)]
[Minor] debian: add missing stuff to rspamd-asan package
Vsevolod Stakhov [Mon, 25 Dec 2023 09:28:14 +0000 (09:28 +0000)]
[Dep] Update unordered_dense to 4.4.0
Vsevolod Stakhov [Sun, 24 Dec 2023 15:57:35 +0000 (15:57 +0000)]
Merge pull request #4758 from moisseev/webui
[WebUI] Show pass-through module in scan result
moisseev [Sun, 24 Dec 2023 11:20:58 +0000 (14:20 +0300)]
[Minor] Fix typo in hfilter map
moisseev [Sun, 24 Dec 2023 11:12:52 +0000 (14:12 +0300)]
[Minor] Set FooTable cell font size with CSS
instead of column options
moisseev [Sun, 24 Dec 2023 07:10:05 +0000 (10:10 +0300)]
[WebUI] Show pass-through module in scan result
Vsevolod Stakhov [Fri, 22 Dec 2023 15:02:00 +0000 (15:02 +0000)]
Merge pull request #4757 from moisseev/allow-local
[Minor] Log a debug message when ratelimit skipped
moisseev [Fri, 22 Dec 2023 10:44:42 +0000 (13:44 +0300)]
[Minor] Log a debug message when ratelimit skipped
for a local request
Vsevolod Stakhov [Thu, 21 Dec 2023 12:43:24 +0000 (12:43 +0000)]
Merge pull request #4755 from fatalbanana/ratelimit_symbol
[Minor] ratelimit: make per-bucket symbol behave like global symbol
Andrew Lewis [Thu, 21 Dec 2023 11:11:11 +0000 (13:11 +0200)]
[Minor] ratelimit: make per-bucket symbol behave like global symbol
Vsevolod Stakhov [Mon, 18 Dec 2023 18:40:55 +0000 (18:40 +0000)]
Merge pull request #4750 from fatalbanana/docs_rspamd_html
[Minor] docs: rspamd_html: fix some copypasta
Andrew Lewis [Mon, 18 Dec 2023 15:19:26 +0000 (17:19 +0200)]
[Minor] docs: rspamd_html: fix some copypasta
Vsevolod Stakhov [Sun, 17 Dec 2023 22:56:17 +0000 (22:56 +0000)]
Merge pull request #4749 from moisseev/webui
[WebUI] Send only altered symbols in save requests
moisseev [Sat, 16 Dec 2023 17:31:52 +0000 (20:31 +0300)]
[WebUI] Send only altered symbols in save requests
Vsevolod Stakhov [Fri, 15 Dec 2023 15:03:07 +0000 (15:03 +0000)]
Merge pull request #4748 from moisseev/webui
[WebUI] Symbols: replace individual save buttons
Vsevolod Stakhov [Fri, 15 Dec 2023 14:50:13 +0000 (14:50 +0000)]
[Minor] Remove stupid threshold for saving symbol value
Vsevolod Stakhov [Fri, 15 Dec 2023 14:47:12 +0000 (14:47 +0000)]
Merge pull request #4747 from fatalbanana/minor
[Minor] rbl: revisit previous change
moisseev [Fri, 15 Dec 2023 14:30:25 +0000 (17:30 +0300)]
[WebUI] Symbols: replace individual save buttons
with a sticky group
Andrew Lewis [Fri, 15 Dec 2023 13:02:52 +0000 (15:02 +0200)]
[Minor] rbl: revisit previous change
Vsevolod Stakhov [Thu, 14 Dec 2023 17:02:11 +0000 (17:02 +0000)]
[Minor] Another issue
Vsevolod Stakhov [Thu, 14 Dec 2023 16:53:19 +0000 (16:53 +0000)]
[Minor] Uh-oh...
Vsevolod Stakhov [Thu, 14 Dec 2023 16:46:39 +0000 (16:46 +0000)]
[Minor] Set proper size
Vsevolod Stakhov [Thu, 14 Dec 2023 16:38:56 +0000 (16:38 +0000)]
[Minor] Fix build
Vsevolod Stakhov [Thu, 14 Dec 2023 16:34:35 +0000 (16:34 +0000)]
[Project] Try to do strings concatenation in C
Vsevolod Stakhov [Thu, 14 Dec 2023 15:09:38 +0000 (15:09 +0000)]
[Feature] Proxy: Allow `encrypted_only` option
Vsevolod Stakhov [Wed, 13 Dec 2023 12:20:21 +0000 (12:20 +0000)]
Merge pull request #4743 from fatalbanana/rbl_luapatterns_again
[Minor] rbl: try harder to identify lua patterns
Andrew Lewis [Wed, 13 Dec 2023 10:13:06 +0000 (12:13 +0200)]
[Minor] rbl: try harder to identify lua patterns
Vsevolod Stakhov [Tue, 12 Dec 2023 23:03:22 +0000 (23:03 +0000)]
Merge pull request #4742 from fatalbanana/rbl_url_whitelist
[Feature] rbl: support disabling or replacing url_whitelist per RBL
Andrew Lewis [Tue, 12 Dec 2023 20:53:23 +0000 (22:53 +0200)]
[Feature] rbl: support disabling or replacing url_whitelist per RBL
Vsevolod Stakhov [Tue, 12 Dec 2023 14:50:57 +0000 (14:50 +0000)]
Merge pull request #4739 from fatalbanana/bayes_redis
[Minor] Have bayes use global redis settings
Andrew Lewis [Tue, 12 Dec 2023 07:52:45 +0000 (09:52 +0200)]
[Minor] Have bayes use global redis settings
Vsevolod Stakhov [Mon, 11 Dec 2023 14:58:25 +0000 (14:58 +0000)]
[Minor] Fix learned stats
Vsevolod Stakhov [Mon, 11 Dec 2023 14:38:20 +0000 (14:38 +0000)]
[Minor] Link runtime to the proper statfile context
Vsevolod Stakhov [Sun, 10 Dec 2023 18:58:20 +0000 (18:58 +0000)]
Merge pull request #4718 from rspamd/vstakhov-bayes-rework
Migrate bayes redis backend to Lua scripts
Vsevolod Stakhov [Sat, 9 Dec 2023 14:58:04 +0000 (14:58 +0000)]
Merge pull request #4735 from moisseev/webui
[Test] Remove deprecated Stylelint rule
moisseev [Sat, 9 Dec 2023 14:49:20 +0000 (17:49 +0300)]
[Test] Remove deprecated Stylelint rule
Vsevolod Stakhov [Fri, 8 Dec 2023 16:51:04 +0000 (16:51 +0000)]
[Project] Add some stats
Vsevolod Stakhov [Fri, 8 Dec 2023 12:28:44 +0000 (12:28 +0000)]
Merge pull request #4732 from AdamMajer/logging_fix
[CritFix] - Fix reported length of logging structure
Vsevolod Stakhov [Fri, 8 Dec 2023 12:28:09 +0000 (12:28 +0000)]
Merge pull request #4733 from fatalbanana/systemd_test
[Test] Test systemd logging
Andrew Lewis [Fri, 8 Dec 2023 10:51:08 +0000 (12:51 +0200)]
[Test] Test systemd logging
Vsevolod Stakhov [Fri, 8 Dec 2023 10:48:53 +0000 (10:48 +0000)]
[Project] Various fixes
Vsevolod Stakhov [Fri, 8 Dec 2023 09:45:38 +0000 (09:45 +0000)]
[Project] Fix compile issues and rework in more C++ style
Vsevolod Stakhov [Fri, 8 Dec 2023 09:33:57 +0000 (09:33 +0000)]
[Rework] Use strings for int64_t
It seems there is no easy way to use int64 in Redis Lua, hence, we have
to use strings. It's much more expensive but still some advantage over
the previous schema.
Vsevolod Stakhov [Fri, 8 Dec 2023 09:19:05 +0000 (09:19 +0000)]
[Minor] Fix keys name
Vsevolod Stakhov [Fri, 8 Dec 2023 09:13:26 +0000 (09:13 +0000)]
Merge pull request #4730 from moisseev/webui
[Test] Unbreak ESLint
Adam Majer [Thu, 7 Dec 2023 14:23:10 +0000 (15:23 +0100)]
[CritFix] - Fix reported length of logging structure
The logging code contains one place where the apparent size of the
logging structure is defined and then it's actually utilized in another
place. Re-writes and refactoring this code ended up with these
values to not co-relate what was previously there resulting in a stack
overwrite in last version or currently in log truncation.
Move assignment of logging structure to the place where it's actually
used, reducing future logic de-sync dangers. Also move the g_assert() to
the end as it should be a development aid only.
Vsevolod Stakhov [Thu, 7 Dec 2023 15:40:08 +0000 (15:40 +0000)]
[Project] Add some basic learning
Vsevolod Stakhov [Thu, 7 Dec 2023 15:04:52 +0000 (15:04 +0000)]
[Minor] Remove obsoleted code, phew
Vsevolod Stakhov [Thu, 7 Dec 2023 15:01:11 +0000 (15:01 +0000)]
[Project] Add bayes learn script
moisseev [Thu, 7 Dec 2023 14:49:08 +0000 (17:49 +0300)]
[Test] Unbreak ESLint
Vsevolod Stakhov [Thu, 7 Dec 2023 13:56:03 +0000 (13:56 +0000)]
[Minor] Add initial stat callback
Vsevolod Stakhov [Thu, 7 Dec 2023 12:51:09 +0000 (12:51 +0000)]
Merge pull request #4725 from moisseev/npm-ls
[Test] Use `npm ls` to show versions
Vsevolod Stakhov [Wed, 6 Dec 2023 17:33:27 +0000 (17:33 +0000)]
[Minor] Fix store/load
Vsevolod Stakhov [Wed, 6 Dec 2023 15:36:52 +0000 (15:36 +0000)]
[Project] Further caching logic modifications
Vsevolod Stakhov [Wed, 6 Dec 2023 15:24:20 +0000 (15:24 +0000)]
Merge pull request #4728 from fatalbanana/test_rspamadm_logger
[Test] Exercise rspamadm lua logger in functional tests
Vsevolod Stakhov [Wed, 6 Dec 2023 14:46:45 +0000 (14:46 +0000)]
[Project] Rework stat runtime
Vsevolod Stakhov [Wed, 6 Dec 2023 14:43:41 +0000 (14:43 +0000)]
[Minor] Allow to steal variables from the mempool
Andrew Lewis [Wed, 6 Dec 2023 12:30:14 +0000 (14:30 +0200)]
[Test] Exercise rspamadm lua logger in functional tests