]> source.dussan.org Git - rspamd.git/log
rspamd.git
10 months ago[Project] Try to do strings concatenation in C
Vsevolod Stakhov [Thu, 14 Dec 2023 16:34:35 +0000 (16:34 +0000)]
[Project] Try to do strings concatenation in C

10 months ago[Feature] Proxy: Allow `encrypted_only` option
Vsevolod Stakhov [Thu, 14 Dec 2023 15:09:38 +0000 (15:09 +0000)]
[Feature] Proxy: Allow `encrypted_only` option

10 months agoMerge pull request #4743 from fatalbanana/rbl_luapatterns_again
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

10 months ago[Minor] rbl: try harder to identify lua patterns 4743/head
Andrew Lewis [Wed, 13 Dec 2023 10:13:06 +0000 (12:13 +0200)]
[Minor] rbl: try harder to identify lua patterns

10 months agoMerge pull request #4742 from fatalbanana/rbl_url_whitelist
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

10 months ago[Feature] rbl: support disabling or replacing url_whitelist per RBL 4742/head
Andrew Lewis [Tue, 12 Dec 2023 20:53:23 +0000 (22:53 +0200)]
[Feature] rbl: support disabling or replacing url_whitelist per RBL

10 months agoMerge pull request #4739 from fatalbanana/bayes_redis
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

10 months ago[Minor] Have bayes use global redis settings 4739/head
Andrew Lewis [Tue, 12 Dec 2023 07:52:45 +0000 (09:52 +0200)]
[Minor] Have bayes use global redis settings

10 months ago[Minor] Fix learned stats
Vsevolod Stakhov [Mon, 11 Dec 2023 14:58:25 +0000 (14:58 +0000)]
[Minor] Fix learned stats

10 months ago[Minor] Link runtime to the proper statfile context
Vsevolod Stakhov [Mon, 11 Dec 2023 14:38:20 +0000 (14:38 +0000)]
[Minor] Link runtime to the proper statfile context

10 months agoMerge pull request #4718 from rspamd/vstakhov-bayes-rework
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

10 months agoMerge pull request #4735 from moisseev/webui
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

10 months ago[Test] Remove deprecated Stylelint rule 4735/head
moisseev [Sat, 9 Dec 2023 14:49:20 +0000 (17:49 +0300)]
[Test] Remove deprecated Stylelint rule

10 months ago[Project] Add some stats 4718/head
Vsevolod Stakhov [Fri, 8 Dec 2023 16:51:04 +0000 (16:51 +0000)]
[Project] Add some stats

10 months agoMerge pull request #4732 from AdamMajer/logging_fix
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

10 months agoMerge pull request #4733 from fatalbanana/systemd_test
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

10 months ago[Test] Test systemd logging 4733/head
Andrew Lewis [Fri, 8 Dec 2023 10:51:08 +0000 (12:51 +0200)]
[Test] Test systemd logging

10 months ago[Project] Various fixes
Vsevolod Stakhov [Fri, 8 Dec 2023 10:48:53 +0000 (10:48 +0000)]
[Project] Various fixes

10 months ago[Project] Fix compile issues and rework in more C++ style
Vsevolod Stakhov [Fri, 8 Dec 2023 09:45:38 +0000 (09:45 +0000)]
[Project] Fix compile issues and rework in more C++ style

10 months ago[Rework] Use strings for int64_t
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.

10 months ago[Minor] Fix keys name
Vsevolod Stakhov [Fri, 8 Dec 2023 09:19:05 +0000 (09:19 +0000)]
[Minor] Fix keys name

10 months agoMerge pull request #4730 from moisseev/webui
Vsevolod Stakhov [Fri, 8 Dec 2023 09:13:26 +0000 (09:13 +0000)]
Merge pull request #4730 from moisseev/webui

[Test] Unbreak ESLint

10 months ago[CritFix] - Fix reported length of logging structure 4732/head
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.

10 months ago[Project] Add some basic learning
Vsevolod Stakhov [Thu, 7 Dec 2023 15:40:08 +0000 (15:40 +0000)]
[Project] Add some basic learning

10 months ago[Minor] Remove obsoleted code, phew
Vsevolod Stakhov [Thu, 7 Dec 2023 15:04:52 +0000 (15:04 +0000)]
[Minor] Remove obsoleted code, phew

10 months ago[Project] Add bayes learn script
Vsevolod Stakhov [Thu, 7 Dec 2023 15:01:11 +0000 (15:01 +0000)]
[Project] Add bayes learn script

10 months ago[Test] Unbreak ESLint 4730/head
moisseev [Thu, 7 Dec 2023 14:49:08 +0000 (17:49 +0300)]
[Test] Unbreak ESLint

10 months ago[Minor] Add initial stat callback
Vsevolod Stakhov [Thu, 7 Dec 2023 13:56:03 +0000 (13:56 +0000)]
[Minor] Add initial stat callback

10 months agoMerge pull request #4725 from moisseev/npm-ls
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

10 months ago[Minor] Fix store/load
Vsevolod Stakhov [Wed, 6 Dec 2023 17:33:27 +0000 (17:33 +0000)]
[Minor] Fix store/load

10 months ago[Project] Further caching logic modifications
Vsevolod Stakhov [Wed, 6 Dec 2023 15:36:52 +0000 (15:36 +0000)]
[Project] Further caching logic modifications

10 months agoMerge pull request #4728 from fatalbanana/test_rspamadm_logger
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

10 months ago[Project] Rework stat runtime
Vsevolod Stakhov [Wed, 6 Dec 2023 14:46:45 +0000 (14:46 +0000)]
[Project] Rework stat runtime

10 months ago[Minor] Allow to steal variables from the mempool
Vsevolod Stakhov [Wed, 6 Dec 2023 14:43:41 +0000 (14:43 +0000)]
[Minor] Allow to steal variables from the mempool

10 months ago[Test] Exercise rspamadm lua logger in functional tests 4728/head
Andrew Lewis [Wed, 6 Dec 2023 12:30:14 +0000 (14:30 +0200)]
[Test] Exercise rspamadm lua logger in functional tests

10 months agoMerge pull request #4724 from moisseev/webui
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

10 months ago[Project] Move the whole backend to C++
Vsevolod Stakhov [Tue, 5 Dec 2023 16:24:46 +0000 (16:24 +0000)]
[Project] Move the whole backend to C++

Easier to work further.

10 months ago[Minor] Few more fixes
Vsevolod Stakhov [Tue, 5 Dec 2023 14:55:52 +0000 (14:55 +0000)]
[Minor] Few more fixes

10 months ago[Test] Use `npm ls` to show versions 4725/head
moisseev [Tue, 5 Dec 2023 08:30:30 +0000 (11:30 +0300)]
[Test] Use `npm ls` to show versions

10 months ago[Test] Remove default ESLint Stylistic rule 4724/head
moisseev [Tue, 5 Dec 2023 07:43:29 +0000 (10:43 +0300)]
[Test] Remove default ESLint Stylistic rule

10 months ago[Project] Temporary fixes to start new bayes logic debug
Vsevolod Stakhov [Mon, 4 Dec 2023 15:18:50 +0000 (15:18 +0000)]
[Project] Temporary fixes to start new bayes logic debug

10 months ago[Fix] Fix wrong raw_len usage
Vsevolod Stakhov [Mon, 4 Dec 2023 15:18:08 +0000 (15:18 +0000)]
[Fix] Fix wrong raw_len usage

10 months ago[Minor] Slightly improve logging
Vsevolod Stakhov [Mon, 4 Dec 2023 15:01:09 +0000 (15:01 +0000)]
[Minor] Slightly improve logging

10 months ago[Project] Start to rework C part
Vsevolod Stakhov [Mon, 4 Dec 2023 14:34:00 +0000 (14:34 +0000)]
[Project] Start to rework C part

10 months agoMerge pull request #4723 from moisseev/webui
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

10 months ago[WebUI] Update symbols score background on input 4723/head
moisseev [Sun, 3 Dec 2023 16:59:17 +0000 (19:59 +0300)]
[WebUI] Update symbols score background on input

10 months ago[Minor] Use single quotes rather than escapes
moisseev [Sun, 3 Dec 2023 14:03:39 +0000 (17:03 +0300)]
[Minor] Use single quotes rather than escapes

10 months ago[WebUI] Refine symbols score input boxes
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

10 months ago[Project] Optimise classify script
Vsevolod Stakhov [Sat, 2 Dec 2023 15:54:04 +0000 (15:54 +0000)]
[Project] Optimise classify script

10 months ago[Project] Add classify redis script
Vsevolod Stakhov [Sat, 2 Dec 2023 12:36:17 +0000 (12:36 +0000)]
[Project] Add classify redis script

10 months agoMerge pull request #4721 from fatalbanana/axe_dockerfile
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

10 months ago[Minor] Replace Dockerfile with advertisement for image 4721/head
Andrew Lewis [Thu, 30 Nov 2023 20:24:47 +0000 (22:24 +0200)]
[Minor] Replace Dockerfile with advertisement for image

10 months ago[Project] Start migration of bayes redis backend to Lua
Vsevolod Stakhov [Wed, 29 Nov 2023 16:05:31 +0000 (16:05 +0000)]
[Project] Start migration of bayes redis backend to Lua

10 months agoMerge pull request #4717 from fatalbanana/dkim_signing_table
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

10 months ago[Fix] dkim_signing: siging_table: lowercase before lookup 4717/head
Andrew Lewis [Wed, 29 Nov 2023 12:32:06 +0000 (14:32 +0200)]
[Fix] dkim_signing: siging_table: lowercase before lookup

10 months ago[Minor] Some neats
Vsevolod Stakhov [Sun, 26 Nov 2023 22:47:58 +0000 (22:47 +0000)]
[Minor] Some neats

10 months agoMerge pull request #4716 from rspamd/vstakhov-fix-4690
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

10 months ago[Test] Add unit tests for unfolding 4716/head
Vsevolod Stakhov [Sat, 25 Nov 2023 13:42:03 +0000 (13:42 +0000)]
[Test] Add unit tests for unfolding

10 months ago[Minor] Append header to the ordered list of headers if it does not exist
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

10 months ago[Minor] Remove unused
Vsevolod Stakhov [Fri, 24 Nov 2023 15:30:01 +0000 (15:30 +0000)]
[Minor] Remove unused

10 months ago[Fix] Fix issues with the raw header on header insertion/modification
Vsevolod Stakhov [Thu, 23 Nov 2023 15:37:29 +0000 (15:37 +0000)]
[Fix] Fix issues with the raw header on header insertion/modification

10 months agoMerge pull request #4715 from moisseev/webui
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

10 months agoMerge pull request #4714 from rspamd/vstakhov-fix-fuzzy-stat
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

10 months ago[Minor] Convert callbacks to arrow functions 4715/head
moisseev [Wed, 22 Nov 2023 07:28:30 +0000 (10:28 +0300)]
[Minor] Convert callbacks to arrow functions

10 months ago[Minor] Store approximation 4714/head
Vsevolod Stakhov [Tue, 21 Nov 2023 16:26:36 +0000 (16:26 +0000)]
[Minor] Store approximation

10 months agoMerge pull request #4712 from moisseev/webui
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

10 months ago[Minor] Fix format string
Vsevolod Stakhov [Tue, 21 Nov 2023 15:38:50 +0000 (15:38 +0000)]
[Minor] Fix format string

10 months ago[Rework] Use a more sane data structure and refactor
Vsevolod Stakhov [Tue, 21 Nov 2023 15:08:08 +0000 (15:08 +0000)]
[Rework] Use a more sane data structure and refactor

10 months ago[Fix] Fix overflow in fuzzy_stats command
Vsevolod Stakhov [Tue, 21 Nov 2023 14:47:19 +0000 (14:47 +0000)]
[Fix] Fix overflow in fuzzy_stats command

10 months ago[Minor] Use destructuring 4712/head
moisseev [Mon, 20 Nov 2023 12:58:06 +0000 (15:58 +0300)]
[Minor] Use destructuring

10 months agoMerge pull request #4713 from fatalbanana/resign
Vsevolod Stakhov [Mon, 20 Nov 2023 11:42:17 +0000 (11:42 +0000)]
Merge pull request #4713 from fatalbanana/resign

[Minor] Re-sign YAML

10 months ago[Minor] Re-sign YAML 4713/head
Andrew Lewis [Mon, 20 Nov 2023 11:34:50 +0000 (13:34 +0200)]
[Minor] Re-sign YAML

10 months ago[Minor] Disallow padding within blocks
moisseev [Mon, 20 Nov 2023 11:25:09 +0000 (14:25 +0300)]
[Minor] Disallow padding within blocks

10 months ago[Minor] Use consistent function style
moisseev [Mon, 20 Nov 2023 11:15:56 +0000 (14:15 +0300)]
[Minor] Use consistent function style

10 months ago[Minor] Use multiple variable declarations
moisseev [Mon, 20 Nov 2023 11:00:56 +0000 (14:00 +0300)]
[Minor] Use multiple variable declarations

10 months ago[Minor] Use consistent object key/value spacing
moisseev [Mon, 20 Nov 2023 10:40:08 +0000 (13:40 +0300)]
[Minor] Use consistent object key/value spacing

10 months agoMerge pull request #4711 from moisseev/webui
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

10 months ago[Test] Enforce maximum line length 4711/head
moisseev [Sun, 19 Nov 2023 15:31:57 +0000 (18:31 +0300)]
[Test] Enforce maximum line length

10 months ago[Test] Show @stylistic/eslint-plugin version
moisseev [Sun, 19 Nov 2023 13:41:27 +0000 (16:41 +0300)]
[Test] Show @stylistic/eslint-plugin version

10 months ago[Test] Restore stylistic rules check
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/

10 months agoMerge pull request #4709 from fatalbanana/demiltertest
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

10 months ago[Fix] Fix some corner cases when parsing maps with no newlines
Vsevolod Stakhov [Sat, 18 Nov 2023 12:18:48 +0000 (12:18 +0000)]
[Fix] Fix some corner cases when parsing maps with no newlines

10 months agoMerge pull request #4710 from fatalbanana/py36
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

10 months ago[Test] Skip miltertest tests if it is not installed 4709/head
Andrew Lewis [Sat, 18 Nov 2023 01:38:06 +0000 (03:38 +0200)]
[Test] Skip miltertest tests if it is not installed

10 months ago[Test] Fix dummy http server on python 3.6 4710/head
Andrew Lewis [Sat, 18 Nov 2023 00:08:46 +0000 (02:08 +0200)]
[Test] Fix dummy http server on python 3.6

10 months agoMerge pull request #4707 from moisseev/webui
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

10 months ago[Minor] Update JS libraries 4707/head
moisseev [Fri, 17 Nov 2023 13:58:05 +0000 (16:58 +0300)]
[Minor] Update JS libraries

10 months ago[Minor] Get rid of 'var' declarations
moisseev [Fri, 17 Nov 2023 10:02:41 +0000 (13:02 +0300)]
[Minor] Get rid of 'var' declarations

11 months agoMerge pull request #4706 from fatalbanana/settings_test
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

11 months ago[Test] One more suspicious fix for settings tests 4706/head
Andrew Lewis [Thu, 16 Nov 2023 18:01:36 +0000 (20:01 +0200)]
[Test] One more suspicious fix for settings tests

11 months ago[Test] Try correct settings test
Andrew Lewis [Thu, 16 Nov 2023 16:28:19 +0000 (18:28 +0200)]
[Test] Try correct settings test

11 months ago[Test] Try break tests
Andrew Lewis [Thu, 16 Nov 2023 19:11:36 +0000 (21:11 +0200)]
[Test] Try break tests

11 months agoMerge pull request #4704 from wuruilong01/master
Vsevolod Stakhov [Thu, 16 Nov 2023 15:57:51 +0000 (15:57 +0000)]
Merge pull request #4704 from wuruilong01/master

Add support for loongarch

11 months agoMerge pull request #4705 from moisseev/dynload
Vsevolod Stakhov [Thu, 16 Nov 2023 15:57:35 +0000 (15:57 +0000)]
Merge pull request #4705 from moisseev/dynload

[WebUI] Load modules dynamically

11 months ago[Minor] Allow argument atoms to start from `-`
Vsevolod Stakhov [Thu, 16 Nov 2023 15:47:23 +0000 (15:47 +0000)]
[Minor] Allow argument atoms to start from `-`

11 months ago[Minor] Relax arguments grammar for selectors
Vsevolod Stakhov [Thu, 16 Nov 2023 15:32:35 +0000 (15:32 +0000)]
[Minor] Relax arguments grammar for selectors

11 months ago[Minor] Remove temporary IIFEs 4705/head
moisseev [Thu, 16 Nov 2023 14:42:18 +0000 (17:42 +0300)]
[Minor] Remove temporary IIFEs

11 months ago[WebUI] Load modules dynamically
moisseev [Thu, 16 Nov 2023 14:07:27 +0000 (17:07 +0300)]
[WebUI] Load modules dynamically

11 months ago[Minor] Preserve old environ on exit
Vsevolod Stakhov [Thu, 16 Nov 2023 13:27:31 +0000 (13:27 +0000)]
[Minor] Preserve old environ on exit

11 months agoAdd support for loongarch 4704/head
wuruilong [Thu, 16 Nov 2023 07:25:40 +0000 (07:25 +0000)]
Add support for loongarch