]>
source.dussan.org Git - rspamd.git/log
Andrew Lewis [Mon, 25 Mar 2024 11:47:50 +0000 (13:47 +0200)]
[Minor] Fix format of example setting (rspamd.com#736)
Vsevolod Stakhov [Sun, 24 Mar 2024 16:22:56 +0000 (22:22 +0600)]
Merge pull request #4887 from rspamd/vstakhov-regexp-fix
Protect regexp matcher from regexps with empty patterns
Vsevolod Stakhov [Sun, 24 Mar 2024 14:51:29 +0000 (14:51 +0000)]
[Test] Add unit test
Vsevolod Stakhov [Sat, 23 Mar 2024 22:38:21 +0000 (22:38 +0000)]
[Minor] Limit to x86_64
Vsevolod Stakhov [Fri, 22 Mar 2024 17:07:58 +0000 (17:07 +0000)]
[CritFix] Protect regexp matcher from regexps with empty patterns
Issue: #4885
Closes: #4885
Vsevolod Stakhov [Fri, 22 Mar 2024 17:03:26 +0000 (17:03 +0000)]
[Minor] Deny zero length in regexp search functions
Vsevolod Stakhov [Thu, 21 Mar 2024 14:30:00 +0000 (20:30 +0600)]
Merge pull request #4882 from rspamd/vstakhov-mime-parser-fix
Fix inconsistent nesting in mime parts
Vsevolod Stakhov [Wed, 20 Mar 2024 17:16:48 +0000 (17:16 +0000)]
[Fix] Fix inconsistent nesting in mime parts
We should do like MUAs do: imlicitly close incomplete mime parts
and treat them as ususal. It is weird and utterly stupid but that's
what MUA do.
Issue: #4740
Closes: #4740
Vsevolod Stakhov [Tue, 19 Mar 2024 15:25:48 +0000 (21:25 +0600)]
Merge pull request #4880 from rspamd/vstakhov-fix-glib-types
[Rework] Remove some of the GLib types in lieu of standard ones
Vsevolod Stakhov [Mon, 18 Mar 2024 18:56:33 +0000 (18:56 +0000)]
[Rework] Further types conversion (no functional changes)
Vsevolod Stakhov [Mon, 18 Mar 2024 14:56:16 +0000 (14:56 +0000)]
[Rework] Remove some of the GLib types in lieu of standard ones
This types have constant conflicts with the system ones especially on OSX.
Vsevolod Stakhov [Mon, 18 Mar 2024 14:47:54 +0000 (20:47 +0600)]
Merge pull request #4878 from moisseev/webui
[Minor] Change FooTable breakpoints to match Bootstrap 5
moisseev [Sun, 17 Mar 2024 16:50:37 +0000 (19:50 +0300)]
[Minor] Change FooTable breakpoints
to match Bootstrap 5
moisseev [Sun, 17 Mar 2024 14:34:34 +0000 (17:34 +0300)]
[Minor] Use cascade FooTable column breakpoints
Vsevolod Stakhov [Sat, 16 Mar 2024 13:17:54 +0000 (19:17 +0600)]
Merge pull request #4877 from moisseev/webui
[WebUI] Add column display mode settings
moisseev [Sat, 16 Mar 2024 11:08:56 +0000 (14:08 +0300)]
[WebUI] Add column display mode settings
for Scan and History tables
Vsevolod Stakhov [Fri, 15 Mar 2024 15:08:35 +0000 (21:08 +0600)]
Merge pull request #4876 from fatalbanana/testlog
[Test] Really fix saving test logs...
Andrew Lewis [Fri, 15 Mar 2024 14:21:24 +0000 (16:21 +0200)]
[Test] Really fix saving test logs...
Vsevolod Stakhov [Fri, 15 Mar 2024 14:28:04 +0000 (20:28 +0600)]
Merge pull request #4875 from fatalbanana/badge
[Minor] README: update build status badge
Andrew Lewis [Fri, 15 Mar 2024 14:23:47 +0000 (16:23 +0200)]
[Minor] README: update build status badge
Vsevolod Stakhov [Fri, 15 Mar 2024 14:13:14 +0000 (20:13 +0600)]
Merge pull request #4873 from rspamd/vstakhov-fix-multipattern-init
Do not save multipatterns to FS in certain cases
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