]>
source.dussan.org Git - rspamd.git/log
Vsevolod Stakhov [Mon, 26 Feb 2024 09:36:56 +0000 (09:36 +0000)]
Release 3.8.4
* [Fix] Fix issue with dmarc reports
Vsevolod Stakhov [Mon, 26 Feb 2024 09:28:50 +0000 (09:28 +0000)]
Merge branch 'vstakhov-another-lupa-fix' into rspamd-3.8
Vsevolod Stakhov [Sun, 25 Feb 2024 15:27:33 +0000 (15:27 +0000)]
[Fix] Avoid stupid practice of polluting module's internal state
Vsevolod Stakhov [Sun, 25 Feb 2024 15:24:04 +0000 (15:24 +0000)]
[Rework] Allow custom filters in `jinja_template`
Vsevolod Stakhov [Thu, 22 Feb 2024 16:24:56 +0000 (16:24 +0000)]
[Minor] Release 3.8.3
Vsevolod Stakhov [Wed, 21 Feb 2024 17:32:10 +0000 (17:32 +0000)]
[Fix] Allow different template expansion parameters
Probably one of the most dirty hacks I've used in the Lua code in Rspamd...
Vsevolod Stakhov [Wed, 21 Feb 2024 19:27:58 +0000 (01:27 +0600)]
Merge pull request #4830 from rspamd/vstakhov-fix-history-key
[Fix] Allow different template expansion parameters
Vsevolod Stakhov [Wed, 21 Feb 2024 17:32:10 +0000 (17:32 +0000)]
[Fix] Allow different template expansion parameters
Probably one of the most dirty hacks I've used in the Lua code in Rspamd...
Vsevolod Stakhov [Wed, 21 Feb 2024 16:54:08 +0000 (22:54 +0600)]
Merge pull request #4829 from rspamd/revert-4826-vstakhov-fix-history-key
Revert "[Fix] Fix history key, as we use `{=` and not `{{` in templates"
Vsevolod Stakhov [Wed, 21 Feb 2024 16:53:56 +0000 (16:53 +0000)]
Revert "[Fix] Fix history key, as we use `{=` and not `{{` in templates"
Vsevolod Stakhov [Wed, 21 Feb 2024 11:52:02 +0000 (17:52 +0600)]
Merge pull request #4826 from rspamd/vstakhov-fix-history-key
[Fix] Fix history key, as we use `{=` and not `{{` in templates
Vsevolod Stakhov [Wed, 21 Feb 2024 11:24:19 +0000 (11:24 +0000)]
[Fix] Fix history key, as we use `{=` and not `{{` in templates
Vsevolod Stakhov [Tue, 20 Feb 2024 17:22:25 +0000 (17:22 +0000)]
[Minor] Revert version bump
Vsevolod Stakhov [Tue, 20 Feb 2024 17:21:09 +0000 (17:21 +0000)]
[Minor] Update version to 3.9.0
Vsevolod Stakhov [Tue, 20 Feb 2024 16:07:48 +0000 (16:07 +0000)]
[Minor] Allow to have only dynamic keys in fuzzy storage
Vsevolod Stakhov [Mon, 19 Feb 2024 16:30:27 +0000 (22:30 +0600)]
Merge pull request #4822 from rspamd/vstakhov-ctest
Build tests with CTest in Cmake
Vsevolod Stakhov [Mon, 19 Feb 2024 16:19:21 +0000 (16:19 +0000)]
[Minor] Build tests with CTest in Cmake
Vsevolod Stakhov [Sat, 17 Feb 2024 14:44:26 +0000 (20:44 +0600)]
Merge pull request #4818 from rspamd/vstakhov-fuzzy-keymap
Allow dynamic keypairs loading in fuzzy storage
Vsevolod Stakhov [Sat, 17 Feb 2024 13:38:53 +0000 (13:38 +0000)]
[Test] Working with bloody robot to add some new tests
Vsevolod Stakhov [Sat, 17 Feb 2024 13:25:58 +0000 (13:25 +0000)]
[Minor] Improve logging
Vsevolod Stakhov [Sat, 17 Feb 2024 13:19:26 +0000 (13:19 +0000)]
[Fix] Fix initial maps load
Vsevolod Stakhov [Sat, 17 Feb 2024 12:30:35 +0000 (12:30 +0000)]
[Test] Add tests for dynamic fuzzy keys
Vsevolod Stakhov [Fri, 16 Feb 2024 15:40:25 +0000 (21:40 +0600)]
Merge pull request #4806 from rspamd/vstakhov-kas-improvements
[Feature] Improve Kaspersky AS integration
Vsevolod Stakhov [Fri, 16 Feb 2024 15:39:16 +0000 (15:39 +0000)]
[Feature] Implement dynamic keys map in fuzzy storage
Vsevolod Stakhov [Thu, 15 Feb 2024 15:21:33 +0000 (15:21 +0000)]
[Minor] Add refcounts on fuzzy keys for shared usage
Vsevolod Stakhov [Wed, 14 Feb 2024 16:24:46 +0000 (16:24 +0000)]
[Rework] Use khash instead of glib hashes for many reasons
Vsevolod Stakhov [Tue, 13 Feb 2024 15:27:16 +0000 (21:27 +0600)]
Merge pull request #4816 from rspamd/vstakhov-4808
[Fix] Encode headers in metadata exporter
Vsevolod Stakhov [Tue, 13 Feb 2024 15:15:26 +0000 (15:15 +0000)]
[Fix] Encode headers in metadata exporter
Issue: #4808
Vsevolod Stakhov [Tue, 13 Feb 2024 15:04:24 +0000 (15:04 +0000)]
[Fix] Make stat tokens allocation consistent
Vsevolod Stakhov [Mon, 12 Feb 2024 18:34:07 +0000 (00:34 +0600)]
Merge pull request #4814 from rspamd/vstakhov-redirector-fragment
Fix issues with URL fragment in HTTP requests
Vsevolod Stakhov [Mon, 12 Feb 2024 15:36:29 +0000 (15:36 +0000)]
[Test] Add unit tests
Vsevolod Stakhov [Mon, 12 Feb 2024 15:24:47 +0000 (15:24 +0000)]
[Fix] Try to fix url path issue
Vsevolod Stakhov [Mon, 12 Feb 2024 15:07:30 +0000 (15:07 +0000)]
[Minor] Slightly improve log message
Vsevolod Stakhov [Mon, 12 Feb 2024 14:59:52 +0000 (14:59 +0000)]
[Feature] Lua_url: Add `to_http` method
Vsevolod Stakhov [Sat, 10 Feb 2024 15:59:06 +0000 (21:59 +0600)]
Merge pull request #4813 from rspamd/vstakhov-json-syslog
[Feature] Support JSON logging when in syslog mode
Vsevolod Stakhov [Sat, 10 Feb 2024 15:46:16 +0000 (15:46 +0000)]
[Minor] Add LOG_CONS flag to `openlog`
Vsevolod Stakhov [Fri, 9 Feb 2024 15:32:48 +0000 (15:32 +0000)]
[Feature] Support JSON logging when in syslog mode
Vsevolod Stakhov [Thu, 8 Feb 2024 15:10:41 +0000 (21:10 +0600)]
Merge pull request #4803 from fatalbanana/surbl_config
[Minor] Add more returnbits to surbl configuration
Vsevolod Stakhov [Fri, 2 Feb 2024 09:30:31 +0000 (15:30 +0600)]
Merge pull request #4807 from fatalbanana/rspamd_task_docs
[Minor] rspamd_task API docs: fix broken link
Andrew Lewis [Thu, 1 Feb 2024 15:32:09 +0000 (17:32 +0200)]
[Minor] rspamd_task API docs: fix broken link
Vsevolod Stakhov [Thu, 1 Feb 2024 13:25:11 +0000 (13:25 +0000)]
[Minor] Support keepalive and authorization
Vsevolod Stakhov [Thu, 1 Feb 2024 13:21:21 +0000 (13:21 +0000)]
[Minor] Proper header name
Vsevolod Stakhov [Thu, 1 Feb 2024 13:20:36 +0000 (13:20 +0000)]
[Minor] KAS: add source ip information
Vsevolod Stakhov [Thu, 1 Feb 2024 12:32:31 +0000 (18:32 +0600)]
Merge pull request #4805 from rspamd/vstakhov-fix-rspamadm-mime-stat
[Fix] Resolve issue with bayes stat in `rspamadm` mode
Vsevolod Stakhov [Thu, 1 Feb 2024 11:55:12 +0000 (17:55 +0600)]
Merge pull request #4804 from fatalbanana/configwizard_confdir
[Minor] configwizard: really use LOCAL_CONFDIR
Vsevolod Stakhov [Thu, 1 Feb 2024 11:49:07 +0000 (11:49 +0000)]
[Fix] Resolve issue with bayes stat in `rspamadm` mode
Andrew Lewis [Thu, 1 Feb 2024 10:19:39 +0000 (12:19 +0200)]
[Minor] configwizard: really use LOCAL_CONFDIR
Vsevolod Stakhov [Wed, 31 Jan 2024 16:23:08 +0000 (22:23 +0600)]
Merge pull request #4802 from rspamd/vstakhov-proxy-host-fixes
Deal with `Connection` and `Host` headers on proxying
Andrew Lewis [Wed, 31 Jan 2024 15:07:57 +0000 (17:07 +0200)]
[Minor] Add more returnbits to surbl configuration
Vsevolod Stakhov [Mon, 29 Jan 2024 13:04:24 +0000 (13:04 +0000)]
[Fix] Deal with `Connection` and `Host` headers on proxying
Vsevolod Stakhov [Mon, 29 Jan 2024 11:26:04 +0000 (11:26 +0000)]
[Minor] Fix doc string
Vsevolod Stakhov [Mon, 29 Jan 2024 11:04:47 +0000 (17:04 +0600)]
Merge pull request #4801 from rspamd/vstakhov-history-prefix-templates
[Feature] Allow to add templates to redis history prefix
Vsevolod Stakhov [Mon, 29 Jan 2024 10:31:57 +0000 (10:31 +0000)]
[Feature] Allow to add templates to redis history prefix
Issue: #4793
Closes: #4793
Vsevolod Stakhov [Sun, 28 Jan 2024 17:42:34 +0000 (23:42 +0600)]
Merge pull request #4798 from moisseev/passthrough
[WebUI] Show pass-through module in History
Vsevolod Stakhov [Sun, 28 Jan 2024 17:42:27 +0000 (23:42 +0600)]
Merge pull request #4796 from moisseev/webui
[Minor] Move server selection logic to common.js
Vsevolod Stakhov [Sun, 28 Jan 2024 17:42:18 +0000 (23:42 +0600)]
Merge pull request #4795 from moisseev/adjust
[Rework] Breaking: Do not report module as action
moisseev [Sun, 28 Jan 2024 14:32:20 +0000 (17:32 +0300)]
[WebUI] Show pass-through module in History
Alexander Moisseev [Sun, 28 Jan 2024 08:25:10 +0000 (11:25 +0300)]
[Rework] Breaking: Do not report module as action
in the /history response since we have the `passthrough_module` key
for that purpose.
While that might be handy in some situations,
mixing actions and module names is confusing in general.
Vsevolod Stakhov [Sat, 27 Jan 2024 14:39:30 +0000 (20:39 +0600)]
Merge pull request #4794 from rspamd/vstakhov-multimap-addr-extraction
[Feature] Add extraction type for `from` maps
Vsevolod Stakhov [Sat, 27 Jan 2024 09:21:00 +0000 (09:21 +0000)]
[Minor] Allow the same logic for recipients
Vsevolod Stakhov [Sat, 27 Jan 2024 09:05:40 +0000 (09:05 +0000)]
[Feature] Add extraction type for `from` maps
Attribute name: `extract_from`. Possible values:
* `default` - try smtp, if not exists try mime
* `mime` - check mime only
* `smtp` - check smtp only
* `both` - try to match both
Vsevolod Stakhov [Thu, 25 Jan 2024 19:09:56 +0000 (19:09 +0000)]
[Minor] Update version
Vsevolod Stakhov [Thu, 25 Jan 2024 19:05:39 +0000 (19:05 +0000)]
Release 3.8.1
* [Fix] Fix headers insertion in the ordered list
* [Fix] Fix learn error propagation
* [Fix] Fix learning with long prefixes
* [Fix] Fix potential double free by expclicitly zeroing pointers
* [Fix] Fix storing of the bayes tokens
* [Fix] Use short comments rather than long one
Vsevolod Stakhov [Thu, 25 Jan 2024 14:38:18 +0000 (14:38 +0000)]
[Fix] Fix potential double free by expclicitly zeroing pointers
Vsevolod Stakhov [Thu, 25 Jan 2024 11:54:36 +0000 (11:54 +0000)]
[Minor] Add fail-safety
Vsevolod Stakhov [Thu, 25 Jan 2024 10:25:07 +0000 (16:25 +0600)]
Merge pull request #4790 from fatalbanana/fix_rbl_warning
[Minor] rbl: fix warning
Andrew Lewis [Thu, 25 Jan 2024 09:12:53 +0000 (11:12 +0200)]
[Minor] rbl: fix warning
Vsevolod Stakhov [Thu, 25 Jan 2024 08:40:38 +0000 (14:40 +0600)]
Merge pull request #4789 from fatalbanana/per_user_test
[Test] statistics: per-user
Andrew Lewis [Wed, 24 Jan 2024 23:58:50 +0000 (01:58 +0200)]
[Test] statistics: per-user
Vsevolod Stakhov [Wed, 24 Jan 2024 16:18:58 +0000 (16:18 +0000)]
[Minor] Fix old test
Vsevolod Stakhov [Wed, 24 Jan 2024 14:44:12 +0000 (14:44 +0000)]
[Fix] Fix learning with long prefixes
Issue: #4786
Closes: #4786
Vsevolod Stakhov [Mon, 22 Jan 2024 19:07:50 +0000 (19:07 +0000)]
[Fix] Fix headers insertion in the ordered list
Vsevolod Stakhov [Mon, 22 Jan 2024 14:36:12 +0000 (14:36 +0000)]
[Fix] Fix learn error propagation
Vsevolod Stakhov [Mon, 22 Jan 2024 14:35:48 +0000 (14:35 +0000)]
[Minor] Add some convenience methods
Vsevolod Stakhov [Mon, 22 Jan 2024 14:18:34 +0000 (14:18 +0000)]
[Fix] Fix storing of the bayes tokens
Vsevolod Stakhov [Mon, 22 Jan 2024 13:57:31 +0000 (19:57 +0600)]
Merge pull request #4785 from arkamar/lua-maps-nested-comment
[Fix] Replace comment types
Petr Vaněk [Mon, 22 Jan 2024 10:38:02 +0000 (11:38 +0100)]
[Minor] Fix typo in comment
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