]>
source.dussan.org Git - rspamd.git/log
Vsevolod Stakhov [Fri, 15 Mar 2024 14:05:42 +0000 (14:05 +0000)]
[Test] Run functional tests using root user
Vsevolod Stakhov [Fri, 15 Mar 2024 14:02:30 +0000 (14:02 +0000)]
[Test] More rework of the tests
Vsevolod Stakhov [Fri, 15 Mar 2024 13:50:17 +0000 (13:50 +0000)]
[Test] Add missing path
Vsevolod Stakhov [Fri, 15 Mar 2024 13:46:44 +0000 (13:46 +0000)]
[Test] Try to hack
Vsevolod Stakhov [Fri, 15 Mar 2024 13:30:45 +0000 (13:30 +0000)]
Merge remote-tracking branch 'origin/master' into vstakhov-fix-multipattern-init
Vsevolod Stakhov [Fri, 15 Mar 2024 13:30:01 +0000 (19:30 +0600)]
Merge pull request #4874 from fatalbanana/checkout_action
[Test] Use actions/checkout
Andrew Lewis [Fri, 15 Mar 2024 13:28:28 +0000 (15:28 +0200)]
[Test] Use actions/checkout
Vsevolod Stakhov [Fri, 15 Mar 2024 13:26:47 +0000 (13:26 +0000)]
[Minor] Another similar `getline` fix
Vsevolod Stakhov [Fri, 15 Mar 2024 13:25:27 +0000 (13:25 +0000)]
[Minor] Fix irrelevant issue with the `getline` invocation
Vsevolod Stakhov [Fri, 15 Mar 2024 13:18:34 +0000 (13:18 +0000)]
[Fix] Do not save multipatterns to FS in certain cases
Vsevolod Stakhov [Thu, 14 Mar 2024 15:20:29 +0000 (15:20 +0000)]
[Test] Another try to fight with Python
It is probably easier to learn Chinese than to understand this language
Vsevolod Stakhov [Thu, 14 Mar 2024 14:55:36 +0000 (20:55 +0600)]
Merge pull request #4823 from fatalbanana/use_gha
Migrate to Github Actions
Vsevolod Stakhov [Thu, 14 Mar 2024 14:54:14 +0000 (14:54 +0000)]
[Fix] Fuzzy add/delete handlers are badly broken for compression
Vsevolod Stakhov [Thu, 14 Mar 2024 14:44:12 +0000 (20:44 +0600)]
Merge pull request #4871 from rspamd/vstakhov-remove-demjson
Remove demjson dependency as it is clearly outdated and broken
Andrew Lewis [Thu, 14 Mar 2024 13:40:01 +0000 (15:40 +0200)]
[Test] Fix paths
Vsevolod Stakhov [Thu, 14 Mar 2024 13:22:30 +0000 (13:22 +0000)]
[Minor] Fix CLion fuck up
Vsevolod Stakhov [Thu, 14 Mar 2024 13:19:53 +0000 (13:19 +0000)]
[Test] Remove demjson dependency as it is clearly outdated and broken
Andrew Lewis [Thu, 14 Mar 2024 12:56:29 +0000 (14:56 +0200)]
[Test] Use correct image name
Andrew Lewis [Thu, 14 Mar 2024 12:55:00 +0000 (14:55 +0200)]
[Test] Use github-hosted runner
Andrew Lewis [Wed, 13 Mar 2024 16:00:17 +0000 (18:00 +0200)]
[Test] Migrate to Github Actions
Vsevolod Stakhov [Wed, 13 Mar 2024 16:27:36 +0000 (22:27 +0600)]
Merge pull request #4870 from rspamd/vstakhov-rspamc-use-zstd
Use zstd compression in client all the time
Vsevolod Stakhov [Wed, 13 Mar 2024 16:15:26 +0000 (22:15 +0600)]
Merge pull request #4869 from rspamd/vstakhov-fix-maps-parse
Fix parsing of maps definitions
Vsevolod Stakhov [Wed, 13 Mar 2024 15:32:26 +0000 (15:32 +0000)]
[Minor] Grr, reverse
Vsevolod Stakhov [Wed, 13 Mar 2024 15:24:47 +0000 (15:24 +0000)]
[Minor] Use zstd compression by default in the client
No reasons why not to do it, as there are no supported versions without compression support
Vsevolod Stakhov [Sun, 10 Mar 2024 15:43:01 +0000 (15:43 +0000)]
[Fix] Fix parsing of maps definitions
Vsevolod Stakhov [Wed, 13 Mar 2024 15:13:54 +0000 (21:13 +0600)]
Merge pull request #4867 from rspamd/vstakhov-reply-type
[Feature] Support reply in message pack format
Vsevolod Stakhov [Wed, 13 Mar 2024 15:06:03 +0000 (15:06 +0000)]
[Fix] Libucl: Fix messagepack autodetection
Vsevolod Stakhov [Tue, 12 Mar 2024 14:55:53 +0000 (14:55 +0000)]
[Feature] Use msgpack in the client
Vsevolod Stakhov [Mon, 11 Mar 2024 19:03:08 +0000 (19:03 +0000)]
[Minor] Fix invocation
Vsevolod Stakhov [Mon, 11 Mar 2024 18:59:53 +0000 (18:59 +0000)]
[Feature] Support reply in message pack format
Rspamd currently sends reply in JSON format. However, message pack seems to
be a better choice for a compatible client. It is faster and does not need
escaping or even UTF8 validation. This is a surface for further updates.
Vsevolod Stakhov [Mon, 11 Mar 2024 15:27:43 +0000 (21:27 +0600)]
Merge pull request #4866 from rspamd/vstakhov-dkim-signing-vault
Vault signing improvements
Vsevolod Stakhov [Sat, 9 Mar 2024 14:50:47 +0000 (14:50 +0000)]
[Rework] Another rework of the dkim signing logic
Vsevolod Stakhov [Sat, 9 Mar 2024 14:41:14 +0000 (14:41 +0000)]
[Rework] Allow multiple conditions for dkim signing when using vault/redis
Vsevolod Stakhov [Sat, 9 Mar 2024 13:20:53 +0000 (13:20 +0000)]
[Minor] Improve logging when doing signing via Vault
Issue: #4865
Vsevolod Stakhov [Sat, 9 Mar 2024 12:19:18 +0000 (12:19 +0000)]
[Fix] Change expiration logic for redis_cache
Noticed by: @jeremy
Vsevolod Stakhov [Fri, 8 Mar 2024 17:28:37 +0000 (23:28 +0600)]
Merge pull request #4864 from moisseev/filtering
[WebUI] Add check/uncheck all checkboxes buttons
moisseev [Fri, 8 Mar 2024 16:47:18 +0000 (19:47 +0300)]
[WebUI] Add check/uncheck all checkboxes buttons
to table filter dropdowns
Vsevolod Stakhov [Fri, 8 Mar 2024 11:58:16 +0000 (17:58 +0600)]
Merge pull request #4863 from moisseev/webui
[Minor] Add HTTP_MAGIC_SVG key
moisseev [Thu, 7 Mar 2024 18:28:03 +0000 (21:28 +0300)]
[Minor] Add HTTP_MAGIC_SVG key
Vsevolod Stakhov [Thu, 7 Mar 2024 15:24:09 +0000 (21:24 +0600)]
Merge pull request #4862 from moisseev/webui
[Minor] Add background icon to drop area
moisseev [Thu, 7 Mar 2024 15:00:38 +0000 (18:00 +0300)]
[Minor] Add background icon to drop area
Vsevolod Stakhov [Thu, 7 Mar 2024 14:47:34 +0000 (20:47 +0600)]
Merge pull request #4861 from moisseev/webui
[Minor] Serve SVG with the correct CT
moisseev [Thu, 7 Mar 2024 12:29:46 +0000 (15:29 +0300)]
[Minor] Serve SVG with the correct CT
Vsevolod Stakhov [Wed, 6 Mar 2024 18:21:49 +0000 (00:21 +0600)]
Merge pull request #4860 from rspamd/vstakhov-lua-udata-opt-moar
Further optimization to the hot path of lua userdata checks
Vsevolod Stakhov [Wed, 6 Mar 2024 17:44:35 +0000 (17:44 +0000)]
[Feature] Further optimization to the hot path
We check userdata very frequently, so the idea here is the following:
- Store the address of classname (converted to int) in the metatable at index 1
- When we need to check some udata, we can just compare the static address with
the integer stored in metatable
- This avoid quite an expensive `lua_rawequal` call for two tables as we know that
our classes are quite static
Vsevolod Stakhov [Tue, 5 Mar 2024 15:41:46 +0000 (21:41 +0600)]
Merge pull request #4857 from rspamd/vstakhov-lua-udata-opt
[Project] Optimization of userdata hashing
Vsevolod Stakhov [Tue, 5 Mar 2024 15:34:47 +0000 (21:34 +0600)]
Merge pull request #4856 from moisseev/webui
[Minor] Fix status tables borders
Vsevolod Stakhov [Tue, 5 Mar 2024 15:29:33 +0000 (15:29 +0000)]
[Rework] Rework dynamic usage
Vsevolod Stakhov [Tue, 5 Mar 2024 14:44:58 +0000 (14:44 +0000)]
[Minor] Fix lua_tensor usage
Vsevolod Stakhov [Tue, 5 Mar 2024 14:43:07 +0000 (14:43 +0000)]
[Rework] Use direct hashing instead of string hashing
Vsevolod Stakhov [Tue, 5 Mar 2024 14:00:08 +0000 (14:00 +0000)]
[Project] Convert the remaining
Vsevolod Stakhov [Tue, 5 Mar 2024 13:42:00 +0000 (13:42 +0000)]
[Minor] Forgotten files
Vsevolod Stakhov [Tue, 5 Mar 2024 13:39:47 +0000 (13:39 +0000)]
[Project] Start optimization of userdata hashing
moisseev [Mon, 4 Mar 2024 16:30:57 +0000 (19:30 +0300)]
[Minor] Fix status tables borders
Vsevolod Stakhov [Mon, 4 Mar 2024 14:10:31 +0000 (20:10 +0600)]
Merge pull request #4855 from moisseev/webui
[Minor] Align items in card headers and buttons
moisseev [Mon, 4 Mar 2024 12:00:34 +0000 (15:00 +0300)]
[Minor] Update documentation reference
moisseev [Mon, 4 Mar 2024 11:54:08 +0000 (14:54 +0300)]
[Minor] Align items in card headers and buttons
Vsevolod Stakhov [Sun, 3 Mar 2024 13:13:08 +0000 (19:13 +0600)]
Merge pull request #4853 from moisseev/webui
[Minor] Improve minWidth calculation
moisseev [Sun, 3 Mar 2024 08:18:52 +0000 (11:18 +0300)]
[Minor] Improve minWidth calculation
Vsevolod Stakhov [Sat, 2 Mar 2024 14:28:59 +0000 (20:28 +0600)]
Merge pull request #4852 from rspamd/vstakhov-proxy-nconns
Update `nconns` in proxy
Vsevolod Stakhov [Sat, 2 Mar 2024 13:46:59 +0000 (13:46 +0000)]
[Fix] Update `nconns` in proxy
Vsevolod Stakhov [Sat, 2 Mar 2024 12:21:16 +0000 (12:21 +0000)]
[Minor] Add CLion artefacts
Vsevolod Stakhov [Fri, 1 Mar 2024 15:18:05 +0000 (21:18 +0600)]
Merge pull request #4849 from moisseev/webui
[WebUI] Add file input and drop area to scan tab
moisseev [Fri, 1 Mar 2024 14:33:07 +0000 (17:33 +0300)]
[WebUI] Add file input and drop area to scan tab
Vsevolod Stakhov [Thu, 29 Feb 2024 17:32:45 +0000 (23:32 +0600)]
Merge pull request #4845 from fatalbanana/sync_publicsuffix
Sync public suffix list
Vsevolod Stakhov [Thu, 29 Feb 2024 17:32:28 +0000 (23:32 +0600)]
Merge pull request #4847 from fatalbanana/rspamadm_tests
[Test] rspamadm tests: override DBDIR
Vsevolod Stakhov [Thu, 29 Feb 2024 17:28:09 +0000 (23:28 +0600)]
Merge pull request #4846 from twesterhever/temp-file-url
[Minor] Add HAS_FILE_URL rule for messages containing a file:// URL
Andrew Lewis [Thu, 29 Feb 2024 17:15:55 +0000 (19:15 +0200)]
[Test] rspamadm tests: override DBDIR
twesterhever [Thu, 29 Feb 2024 14:34:21 +0000 (14:34 +0000)]
[Minor] Add HAS_FILE_URL rule for messages containing a file:// URL
These are frequently abused for distributing malware via non-HTTP
protocols, such as public Samba servers. file:// URLs may also be abused
for including files from the victims' machine in a message. Either way,
a legitimate usecase is unlikely.
Signed-off-by: twesterhever <40121680+twesterhever@users.noreply.github.com>
Vsevolod Stakhov [Thu, 29 Feb 2024 14:26:16 +0000 (20:26 +0600)]
Merge pull request #4834 from fatalbanana/gha_zombies
[Test] Use Robot-native process management
Andrew Lewis [Thu, 29 Feb 2024 10:42:37 +0000 (12:42 +0200)]
[Test] Use Robot-native process management
- Partially unbreak functional tests in Github Actions
Andrew Lewis [Wed, 28 Feb 2024 19:43:54 +0000 (21:43 +0200)]
Sync public suffix list
Vsevolod Stakhov [Wed, 28 Feb 2024 16:43:38 +0000 (22:43 +0600)]
Merge pull request #4843 from rspamd/vstakhov-libarchive
Support libarchive
Vsevolod Stakhov [Wed, 28 Feb 2024 15:20:58 +0000 (15:20 +0000)]
[Minor] Ask for utf8 string from libarchive
Vsevolod Stakhov [Wed, 28 Feb 2024 10:14:16 +0000 (10:14 +0000)]
[Minor] Detect encryption when libarchive is used
Vsevolod Stakhov [Wed, 28 Feb 2024 10:00:12 +0000 (10:00 +0000)]
[Project] Use libarchive for troublesome archives
Vsevolod Stakhov [Mon, 26 Feb 2024 10:41:43 +0000 (10:41 +0000)]
[Minor] Escape liquid
Vsevolod Stakhov [Mon, 26 Feb 2024 09:20:38 +0000 (15:20 +0600)]
Merge pull request #4839 from rspamd/vstakhov-another-lupa-fix
Rework `jinja_template` functions to avoid LUPA global state dependency
Vsevolod Stakhov [Sun, 25 Feb 2024 15:35:11 +0000 (21:35 +0600)]
Merge pull request #4838 from moisseev/webui
[WebUI] Disable buttons until tables are ready
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`
moisseev [Sun, 25 Feb 2024 14:59:02 +0000 (17:59 +0300)]
[WebUI] Disable buttons until tables are ready
to prevent race conditions
moisseev [Sat, 24 Feb 2024 17:45:31 +0000 (20:45 +0300)]
[Minor] Remove obsolete code
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: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