]>
source.dussan.org Git - rspamd.git/log
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
Vsevolod Stakhov [Tue, 5 Dec 2023 22:05:00 +0000 (22:05 +0000)]
Merge pull request #4724 from moisseev/webui
[Test] Remove default ESLint Stylistic rule
Vsevolod Stakhov [Tue, 5 Dec 2023 16:24:46 +0000 (16:24 +0000)]
[Project] Move the whole backend to C++
Easier to work further.
Vsevolod Stakhov [Tue, 5 Dec 2023 14:55:52 +0000 (14:55 +0000)]
[Minor] Few more fixes
moisseev [Tue, 5 Dec 2023 08:30:30 +0000 (11:30 +0300)]
[Test] Use `npm ls` to show versions
moisseev [Tue, 5 Dec 2023 07:43:29 +0000 (10:43 +0300)]
[Test] Remove default ESLint Stylistic rule
Vsevolod Stakhov [Mon, 4 Dec 2023 15:18:50 +0000 (15:18 +0000)]
[Project] Temporary fixes to start new bayes logic debug
Vsevolod Stakhov [Mon, 4 Dec 2023 15:18:08 +0000 (15:18 +0000)]
[Fix] Fix wrong raw_len usage
Vsevolod Stakhov [Mon, 4 Dec 2023 15:01:09 +0000 (15:01 +0000)]
[Minor] Slightly improve logging
Vsevolod Stakhov [Mon, 4 Dec 2023 14:34:00 +0000 (14:34 +0000)]
[Project] Start to rework C part
Vsevolod Stakhov [Sun, 3 Dec 2023 20:16:05 +0000 (20:16 +0000)]
Merge pull request #4723 from moisseev/webui
[WebUI] Refine symbols score input boxes
moisseev [Sun, 3 Dec 2023 16:59:17 +0000 (19:59 +0300)]
[WebUI] Update symbols score background on input
moisseev [Sun, 3 Dec 2023 14:03:39 +0000 (17:03 +0300)]
[Minor] Use single quotes rather than escapes
moisseev [Sun, 3 Dec 2023 13:45:14 +0000 (16:45 +0300)]
[WebUI] Refine symbols score input boxes
- reduce the minimum number of digits to appear after the decimal from 3 to 2
- remove useless dynamic step
- remove useless dynamic min/max restrictions
Vsevolod Stakhov [Sat, 2 Dec 2023 15:54:04 +0000 (15:54 +0000)]
[Project] Optimise classify script
Vsevolod Stakhov [Sat, 2 Dec 2023 12:36:17 +0000 (12:36 +0000)]
[Project] Add classify redis script
Vsevolod Stakhov [Fri, 1 Dec 2023 09:00:58 +0000 (09:00 +0000)]
Merge pull request #4721 from fatalbanana/axe_dockerfile
[Minor] Replace Dockerfile with advertisement for image
Andrew Lewis [Thu, 30 Nov 2023 20:24:47 +0000 (22:24 +0200)]
[Minor] Replace Dockerfile with advertisement for image
Vsevolod Stakhov [Wed, 29 Nov 2023 16:05:31 +0000 (16:05 +0000)]
[Project] Start migration of bayes redis backend to Lua
Vsevolod Stakhov [Wed, 29 Nov 2023 14:59:24 +0000 (14:59 +0000)]
Merge pull request #4717 from fatalbanana/dkim_signing_table
[Fix] dkim_signing: siging_table: lowercase before lookup
Andrew Lewis [Wed, 29 Nov 2023 12:32:06 +0000 (14:32 +0200)]
[Fix] dkim_signing: siging_table: lowercase before lookup
Vsevolod Stakhov [Sun, 26 Nov 2023 22:47:58 +0000 (22:47 +0000)]
[Minor] Some neats
Vsevolod Stakhov [Sat, 25 Nov 2023 13:51:25 +0000 (13:51 +0000)]
Merge pull request #4716 from rspamd/vstakhov-fix-4690
Fix issues with the raw header on header insertion/modification
Vsevolod Stakhov [Sat, 25 Nov 2023 13:42:03 +0000 (13:42 +0000)]
[Test] Add unit tests for unfolding
Vsevolod Stakhov [Sat, 25 Nov 2023 12:42:59 +0000 (12:42 +0000)]
[Minor] Append header to the ordered list of headers if it does not exist
Vsevolod Stakhov [Fri, 24 Nov 2023 15:30:01 +0000 (15:30 +0000)]
[Minor] Remove unused
Vsevolod Stakhov [Thu, 23 Nov 2023 15:37:29 +0000 (15:37 +0000)]
[Fix] Fix issues with the raw header on header insertion/modification
Vsevolod Stakhov [Wed, 22 Nov 2023 15:13:07 +0000 (15:13 +0000)]
Merge pull request #4715 from moisseev/webui
[Minor] Convert callbacks to arrow functions
Vsevolod Stakhov [Wed, 22 Nov 2023 15:04:29 +0000 (15:04 +0000)]
Merge pull request #4714 from rspamd/vstakhov-fix-fuzzy-stat
Fix fuzzy stat
moisseev [Wed, 22 Nov 2023 07:28:30 +0000 (10:28 +0300)]
[Minor] Convert callbacks to arrow functions
Vsevolod Stakhov [Tue, 21 Nov 2023 16:26:36 +0000 (16:26 +0000)]
[Minor] Store approximation
Vsevolod Stakhov [Tue, 21 Nov 2023 16:20:26 +0000 (16:20 +0000)]
Merge pull request #4712 from moisseev/webui
[Minor] Use consistent object key/value spacing
Vsevolod Stakhov [Tue, 21 Nov 2023 15:38:50 +0000 (15:38 +0000)]
[Minor] Fix format string
Vsevolod Stakhov [Tue, 21 Nov 2023 15:08:08 +0000 (15:08 +0000)]
[Rework] Use a more sane data structure and refactor
Vsevolod Stakhov [Tue, 21 Nov 2023 14:47:19 +0000 (14:47 +0000)]
[Fix] Fix overflow in fuzzy_stats command
moisseev [Mon, 20 Nov 2023 12:58:06 +0000 (15:58 +0300)]
[Minor] Use destructuring
Vsevolod Stakhov [Mon, 20 Nov 2023 11:42:17 +0000 (11:42 +0000)]
Merge pull request #4713 from fatalbanana/resign
[Minor] Re-sign YAML
Andrew Lewis [Mon, 20 Nov 2023 11:34:50 +0000 (13:34 +0200)]
[Minor] Re-sign YAML
moisseev [Mon, 20 Nov 2023 11:25:09 +0000 (14:25 +0300)]
[Minor] Disallow padding within blocks
moisseev [Mon, 20 Nov 2023 11:15:56 +0000 (14:15 +0300)]
[Minor] Use consistent function style
moisseev [Mon, 20 Nov 2023 11:00:56 +0000 (14:00 +0300)]
[Minor] Use multiple variable declarations
moisseev [Mon, 20 Nov 2023 10:40:08 +0000 (13:40 +0300)]
[Minor] Use consistent object key/value spacing
Vsevolod Stakhov [Sun, 19 Nov 2023 20:49:29 +0000 (20:49 +0000)]
Merge pull request #4711 from moisseev/webui
[Test] Restore stylistic rules check
moisseev [Sun, 19 Nov 2023 15:31:57 +0000 (18:31 +0300)]
[Test] Enforce maximum line length
moisseev [Sun, 19 Nov 2023 13:41:27 +0000 (16:41 +0300)]
[Test] Show @stylistic/eslint-plugin version
moisseev [Sun, 19 Nov 2023 13:35:51 +0000 (16:35 +0300)]
[Test] Restore stylistic rules check
https://eslint.org/blog/2023/10/deprecating-formatting-rules/
Vsevolod Stakhov [Sat, 18 Nov 2023 12:20:40 +0000 (12:20 +0000)]
Merge pull request #4709 from fatalbanana/demiltertest
[Test] Skip miltertest tests if it is not installed
Vsevolod Stakhov [Sat, 18 Nov 2023 12:18:48 +0000 (12:18 +0000)]
[Fix] Fix some corner cases when parsing maps with no newlines
Vsevolod Stakhov [Sat, 18 Nov 2023 12:09:13 +0000 (12:09 +0000)]
Merge pull request #4710 from fatalbanana/py36
[Test] Fix dummy http server on python 3.6
Andrew Lewis [Sat, 18 Nov 2023 01:38:06 +0000 (03:38 +0200)]
[Test] Skip miltertest tests if it is not installed
Andrew Lewis [Sat, 18 Nov 2023 00:08:46 +0000 (02:08 +0200)]
[Test] Fix dummy http server on python 3.6
Vsevolod Stakhov [Fri, 17 Nov 2023 14:31:51 +0000 (14:31 +0000)]
Merge pull request #4707 from moisseev/webui
[Minor] Get rid of 'var' declarations
moisseev [Fri, 17 Nov 2023 13:58:05 +0000 (16:58 +0300)]
[Minor] Update JS libraries
moisseev [Fri, 17 Nov 2023 10:02:41 +0000 (13:02 +0300)]
[Minor] Get rid of 'var' declarations
Vsevolod Stakhov [Thu, 16 Nov 2023 20:08:11 +0000 (20:08 +0000)]
Merge pull request #4706 from fatalbanana/settings_test
[Test] Try correct settings test
Andrew Lewis [Thu, 16 Nov 2023 18:01:36 +0000 (20:01 +0200)]
[Test] One more suspicious fix for settings tests
Andrew Lewis [Thu, 16 Nov 2023 16:28:19 +0000 (18:28 +0200)]
[Test] Try correct settings test
Andrew Lewis [Thu, 16 Nov 2023 19:11:36 +0000 (21:11 +0200)]
[Test] Try break tests
Vsevolod Stakhov [Thu, 16 Nov 2023 15:57:51 +0000 (15:57 +0000)]
Merge pull request #4704 from wuruilong01/master
Add support for loongarch
Vsevolod Stakhov [Thu, 16 Nov 2023 15:57:35 +0000 (15:57 +0000)]
Merge pull request #4705 from moisseev/dynload
[WebUI] Load modules dynamically
Vsevolod Stakhov [Thu, 16 Nov 2023 15:47:23 +0000 (15:47 +0000)]
[Minor] Allow argument atoms to start from `-`
Vsevolod Stakhov [Thu, 16 Nov 2023 15:32:35 +0000 (15:32 +0000)]
[Minor] Relax arguments grammar for selectors
moisseev [Thu, 16 Nov 2023 14:42:18 +0000 (17:42 +0300)]
[Minor] Remove temporary IIFEs
moisseev [Thu, 16 Nov 2023 14:07:27 +0000 (17:07 +0300)]
[WebUI] Load modules dynamically
Vsevolod Stakhov [Thu, 16 Nov 2023 13:27:31 +0000 (13:27 +0000)]
[Minor] Preserve old environ on exit
wuruilong [Thu, 16 Nov 2023 07:25:40 +0000 (07:25 +0000)]
Add support for loongarch
Vsevolod Stakhov [Wed, 15 Nov 2023 13:43:05 +0000 (13:43 +0000)]
[Minor] Fix build with no hyperscan
Issue: #4702
Vsevolod Stakhov [Tue, 14 Nov 2023 15:01:02 +0000 (15:01 +0000)]
Release 3.7.4
* [Enhancement] Add composite rule for suspicious URLs in suspicious messages
* [Fix] Another try to fix setproctitle
* [Fix] Do not cleanup hyperscan files unless new ones are loaded
* [Fix] Fix various issues with canonicalisation of the paths
* [Fix] Properly set config field when creating tasks from Lua
* [Fix] Set loaded variable explicitly
* [Fix] known_senders: fix config handling
* [Fix] rbl: fix `exclude_local`
* [Minor] Add missing <algorithm> include for gcc 14
* [Minor] Add rule for messages missing both X-Mailer and User-Agent header
* [Minor] Bundle fasttext as linux distributives are just useless
* [Minor] Enable fasttext on RPM based linux
* [Minor] Forgot it in one more place
* [Minor] Improve FREEMAIL_AFF capture rates
* [Minor] Limit fasttext to amd64 only
* [Minor] Properly search for fasttext include
* [Minor] Treat *.zpaq attachments as archives and harmful
* [Minor] Update to 3.7.4
* [Minor] force_actions: set a group for symbols
* [WebUI] Update map editor
Vsevolod Stakhov [Tue, 14 Nov 2023 14:51:43 +0000 (14:51 +0000)]
Merge pull request #4700 from moisseev/webui
[Minor] Remove obsolete code
Vsevolod Stakhov [Tue, 14 Nov 2023 14:51:32 +0000 (14:51 +0000)]
Merge pull request #4699 from fatalbanana/umask
[Test] Set umask where it's useful
moisseev [Tue, 14 Nov 2023 09:57:46 +0000 (12:57 +0300)]
[Minor] Use modern ESLint globals definition
moisseev [Tue, 14 Nov 2023 07:58:04 +0000 (10:58 +0300)]
[Minor] Remove obsolete code
ES6 is required now for WebUI anyway.
Vsevolod Stakhov [Mon, 13 Nov 2023 16:03:36 +0000 (16:03 +0000)]
[Fix] Another try to fix setproctitle
Andrew Lewis [Mon, 13 Nov 2023 14:19:06 +0000 (16:19 +0200)]
[Test] Set umask where it's useful
Vsevolod Stakhov [Mon, 13 Nov 2023 13:03:49 +0000 (13:03 +0000)]
[Fix] Set loaded variable explicitly
Vsevolod Stakhov [Mon, 13 Nov 2023 10:55:43 +0000 (10:55 +0000)]
[Minor] Properly search for fasttext include