]> source.dussan.org Git - rspamd.git/log
rspamd.git
7 weeks ago[Rework] Remove control block support vstakhov-remove-control-block 5160/head
Vsevolod Stakhov [Thu, 26 Sep 2024 14:21:41 +0000 (15:21 +0100)]
[Rework] Remove control block support

It has been buggy and never really used by anyone I suppose.

8 weeks ago[Fix] Fix glib internals by setting locale in `rspamc`
Vsevolod Stakhov [Wed, 25 Sep 2024 11:43:27 +0000 (12:43 +0100)]
[Fix] Fix glib internals by setting locale in `rspamc`

8 weeks agoMerge pull request #5156 from rspamd/vstakhov-dynamic-fuzzy-keys-iter
Vsevolod Stakhov [Tue, 24 Sep 2024 14:24:16 +0000 (20:24 +0600)]
Merge pull request #5156 from rspamd/vstakhov-dynamic-fuzzy-keys-iter

[Fix] Iterate over dynamic keys in fuzzy storage

8 weeks ago[Fix] Iterate over dynamic keys in fuzzy storage 5156/head
Vsevolod Stakhov [Tue, 24 Sep 2024 14:13:39 +0000 (15:13 +0100)]
[Fix] Iterate over dynamic keys in fuzzy storage

8 weeks agoMerge pull request #5154 from rspamd/vstakhov-ssl-fixes
Vsevolod Stakhov [Tue, 24 Sep 2024 08:55:26 +0000 (14:55 +0600)]
Merge pull request #5154 from rspamd/vstakhov-ssl-fixes

Fixes for OpenSSL

8 weeks ago[CI] Learning what ci can 5154/head
Vsevolod Stakhov [Tue, 24 Sep 2024 08:44:32 +0000 (09:44 +0100)]
[CI] Learning what ci can

8 weeks ago[CI] Maybe enable devtoolset if possible
Vsevolod Stakhov [Tue, 24 Sep 2024 08:38:59 +0000 (09:38 +0100)]
[CI] Maybe enable devtoolset if possible

8 weeks ago[Minor] Another compatibility fix
Vsevolod Stakhov [Tue, 24 Sep 2024 08:30:22 +0000 (09:30 +0100)]
[Minor] Another compatibility fix

8 weeks ago[Minor] Use portable macro for old OpenSSL vstakhov-ssl-fixes
Vsevolod Stakhov [Tue, 24 Sep 2024 08:25:16 +0000 (09:25 +0100)]
[Minor] Use portable macro for old OpenSSL

8 weeks ago[Minor] Another compatibility fix
Vsevolod Stakhov [Tue, 24 Sep 2024 08:23:37 +0000 (09:23 +0100)]
[Minor] Another compatibility fix

8 weeks agoMerge branch 'master' into vstakhov-ssl-fixes
Vsevolod Stakhov [Mon, 23 Sep 2024 21:47:55 +0000 (03:47 +0600)]
Merge branch 'master' into vstakhov-ssl-fixes

8 weeks agoMerge pull request #5153 from rspamd/vstakhov-ci-try
Vsevolod Stakhov [Mon, 23 Sep 2024 21:47:43 +0000 (03:47 +0600)]
Merge pull request #5153 from rspamd/vstakhov-ci-try

Add more build targets

8 weeks ago[Fix] Get rid of EVP_PKEY_CTX_set1_rsa_keygen_pubexp
Vsevolod Stakhov [Mon, 23 Sep 2024 18:15:44 +0000 (19:15 +0100)]
[Fix] Get rid of EVP_PKEY_CTX_set1_rsa_keygen_pubexp

OpenSSL uses 65537 by default, no need in explicit set.

8 weeks agoUpdate ci_rspamd_build.yml vstakhov-ci-try 5153/head
Vsevolod Stakhov [Mon, 23 Sep 2024 17:48:03 +0000 (18:48 +0100)]
Update ci_rspamd_build.yml

8 weeks agoUpdate ci.yml
Vsevolod Stakhov [Mon, 23 Sep 2024 17:43:21 +0000 (18:43 +0100)]
Update ci.yml

8 weeks agoCreate ci_rspamd_build.yml
Vsevolod Stakhov [Mon, 23 Sep 2024 17:42:54 +0000 (18:42 +0100)]
Create ci_rspamd_build.yml

8 weeks agoAdd more build targets
Vsevolod Stakhov [Mon, 23 Sep 2024 17:37:31 +0000 (18:37 +0100)]
Add more build targets

Issue: #5152

8 weeks ago[Minor] Our version should be 3.10
Vsevolod Stakhov [Mon, 23 Sep 2024 14:28:05 +0000 (15:28 +0100)]
[Minor] Our version should be 3.10

8 weeks agoMerge pull request #5144 from rspamd/vstakhov-keypair-encoding
Vsevolod Stakhov [Sun, 22 Sep 2024 13:32:40 +0000 (19:32 +0600)]
Merge pull request #5144 from rspamd/vstakhov-keypair-encoding

[Rework] Allow more flexible keypair encoding

8 weeks ago[Rework] Allow more flexible keypair encoding vstakhov-keypair-encoding 5144/head
Vsevolod Stakhov [Sat, 21 Sep 2024 13:59:12 +0000 (14:59 +0100)]
[Rework] Allow more flexible keypair encoding

2 months agoMerge pull request #5140 from rspamd/vstakhov-cpu-detection
Vsevolod Stakhov [Fri, 20 Sep 2024 13:02:18 +0000 (19:02 +0600)]
Merge pull request #5140 from rspamd/vstakhov-cpu-detection

[Feature] Detect CPU using __builtin_cpu_supports where it's possible

2 months agoMerge branch 'master' into vstakhov-cpu-detection vstakhov-cpu-detection 5140/head
Vsevolod Stakhov [Fri, 20 Sep 2024 13:00:05 +0000 (19:00 +0600)]
Merge branch 'master' into vstakhov-cpu-detection

2 months ago[Feature] Add rspamadm secretbox command
Ivan Stakhov [Wed, 18 Sep 2024 16:10:59 +0000 (19:10 +0300)]
[Feature] Add rspamadm secretbox command

* [Minor] Small fix for error messages

* [Feature] Create rspamadm util to decrypt header

* [Feature] Create python example to encrypt/decrypt header

* [Minor] Small clean up

* [Minor] Change c-rspamadm util to lua-rspamadm util

* [Minor] Small clean up

* [Minor] Add some debug

* [Feature] Add secretbox command

* [Minor] Debug

* [Minor] Add additional return for encrypted string(noce + encrypted string

* [Minor] Small debug

* [Minor] Add a way to provide encrypted text concatenated with nonce

* [Minor] Add nonce to encrypt text

* [Minor] Clean up

* [Minor] Clean up unused variable

* [Minor] Small fix

* [Minor] Fix return issue

* [Minor] Add blake2b for key derivation

* [Minor] Small upgrade to debug

* [Minor] Small clean up

* [Minor] Change return to more convenient form

* [Minor] Change print to test form

* [Test] Provide tests for encrypt/decrypt with rspamadm util and python script

* [Minor] Change python to python3

* [Minor] Add stderr check

* [Minor] Make the function return nonce+text

* [Minor] Change unit tests to new return format

* [Minor] Add flag to manage encodings

* [Minor] Add --encoding argument to manage encodings

* [Minor] Change tests for new input format

* [Minor] Fix lua format

* [Minor] Small fix

* [Minor] Provide full support for new return format of maybe_encrypt_header

* [Test] Test small fix

* [Test] Small fix

* [Minor] Clean up

* [Minor] Small fix for name of variable

* [Minor] Small clean up

* [Minor] Change format of command to a mre convenient

* [Minor] Change tests to be same as a format of a command

* [Minor] Change description of flags

* [Minor] Small fix

---------

Co-authored-by: Ivan Stakhov <50211739+LeftTry@users.noreply.github.com>
2 months agoMerge pull request #5142 from fatalbanana/dmarc_only_domains
Vsevolod Stakhov [Wed, 18 Sep 2024 16:10:20 +0000 (22:10 +0600)]
Merge pull request #5142 from fatalbanana/dmarc_only_domains

[Feature] DMARC: Implement reporting.only_domains setting

2 months ago[Feature] DMARC: Implement reporting.only_domains setting 5142/head
Andrew Lewis [Wed, 18 Sep 2024 10:57:49 +0000 (12:57 +0200)]
[Feature] DMARC: Implement reporting.only_domains setting

2 months ago[Rework] Use __builtin_cpu_supports where possible
Vsevolod Stakhov [Mon, 16 Sep 2024 13:31:24 +0000 (14:31 +0100)]
[Rework] Use __builtin_cpu_supports where possible

2 months ago[Minor] Detect __builtin_cpu_supports
Vsevolod Stakhov [Mon, 16 Sep 2024 13:22:42 +0000 (14:22 +0100)]
[Minor] Detect __builtin_cpu_supports

2 months ago[Minor] Do not autolearn messages without queue id
Vsevolod Stakhov [Sat, 14 Sep 2024 13:41:36 +0000 (14:41 +0100)]
[Minor] Do not autolearn messages without queue id

Suggested by: @moisseev

2 months agoMerge pull request #5133 from moisseev/test
Vsevolod Stakhov [Sat, 14 Sep 2024 12:22:21 +0000 (18:22 +0600)]
Merge pull request #5133 from moisseev/test

 [Test] Upgrade linters

2 months agoMerge pull request #5139 from spacefreak86/fix-dmarc-grammar
Vsevolod Stakhov [Fri, 13 Sep 2024 12:50:23 +0000 (18:50 +0600)]
Merge pull request #5139 from spacefreak86/fix-dmarc-grammar

[Fix] Rework DMARC grammar to correctly handle spaces in values

2 months ago[Minor] remove unnecessary calls of lpeg.P in DMARC grammar 5139/head
Thomas Oettli [Fri, 13 Sep 2024 09:40:13 +0000 (11:40 +0200)]
[Minor] remove unnecessary calls of lpeg.P in DMARC grammar
Just to make to code more readable.

2 months ago[Fix] Rework DMARC to correctly handle spaces in DMARC records
Thomas Oettli [Thu, 12 Sep 2024 16:43:10 +0000 (18:43 +0200)]
[Fix] Rework DMARC to correctly handle spaces in DMARC records
Issue: #4906

2 months agoMerge pull request #5135 from rspamd/vstakhov-fuzzy-keys-limits
Vsevolod Stakhov [Thu, 12 Sep 2024 13:14:42 +0000 (19:14 +0600)]
Merge pull request #5135 from rspamd/vstakhov-fuzzy-keys-limits

Implement individual limits for fuzzy keys

2 months ago[Minor] Sigh, so hard to fix it 5135/head
Vsevolod Stakhov [Thu, 12 Sep 2024 12:33:18 +0000 (13:33 +0100)]
[Minor] Sigh, so hard to fix it

2 months ago[Minor] C varargs suck
Vsevolod Stakhov [Thu, 12 Sep 2024 11:30:29 +0000 (12:30 +0100)]
[Minor] C varargs suck

2 months ago[Minor] Slight explanations of the decision made
Vsevolod Stakhov [Thu, 12 Sep 2024 09:55:54 +0000 (10:55 +0100)]
[Minor] Slight explanations of the decision made

2 months ago[Project] Implement expiration
Vsevolod Stakhov [Wed, 11 Sep 2024 20:40:12 +0000 (21:40 +0100)]
[Project] Implement expiration

2 months ago[Project] Implement per-key ratelimit
Vsevolod Stakhov [Wed, 11 Sep 2024 20:33:30 +0000 (21:33 +0100)]
[Project] Implement per-key ratelimit

2 months ago [Test] Upgrade linters 5133/head
Alexander Moisseev [Wed, 11 Sep 2024 14:13:13 +0000 (17:13 +0300)]
 [Test] Upgrade linters

- Upgraded `eslint` from 9.7.0 to 9.10.0
- Upgraded `@stylistic/eslint-plugin` from 2.3.0 to 2.8.0
- Upgraded `stylelint` from 16.7.0 to 16.9.0

2 months ago[Project] Add parsing of key limits and expire date
Vsevolod Stakhov [Wed, 11 Sep 2024 14:00:48 +0000 (15:00 +0100)]
[Project] Add parsing of key limits and expire date

2 months ago[Project] Add ratelimit parsing for fuzzy keys
Vsevolod Stakhov [Wed, 11 Sep 2024 13:43:22 +0000 (14:43 +0100)]
[Project] Add ratelimit parsing for fuzzy keys

2 months ago[Project] Move ratelimit parsing stuff to a common library
Vsevolod Stakhov [Wed, 11 Sep 2024 13:16:23 +0000 (14:16 +0100)]
[Project] Move ratelimit parsing stuff to a common library

2 months ago[Project] Rework ratelimits check
Vsevolod Stakhov [Tue, 10 Sep 2024 16:01:52 +0000 (17:01 +0100)]
[Project] Rework ratelimits check

2 months ago[Minor] Fix some unsafe chmod
Vsevolod Stakhov [Tue, 10 Sep 2024 10:14:26 +0000 (11:14 +0100)]
[Minor] Fix some unsafe chmod

2 months ago[Minor] Fix some SSL issues
Vsevolod Stakhov [Tue, 10 Sep 2024 09:28:00 +0000 (10:28 +0100)]
[Minor] Fix some SSL issues

2 months agoMerge pull request #5131 from rspamd/vstakhov-fuzzy-mode
Vsevolod Stakhov [Tue, 10 Sep 2024 08:43:06 +0000 (14:43 +0600)]
Merge pull request #5131 from rspamd/vstakhov-fuzzy-mode

[Feature] Allow different modes for fuzzy rules

2 months ago[Feature] Allow differen modes for fuzzy rules 5131/head
Vsevolod Stakhov [Mon, 9 Sep 2024 17:55:55 +0000 (18:55 +0100)]
[Feature] Allow differen modes for fuzzy rules

2 months agoMerge pull request #5129 from rspamd/vstakhov-redis-schema
Vsevolod Stakhov [Sun, 8 Sep 2024 15:50:38 +0000 (21:50 +0600)]
Merge pull request #5129 from rspamd/vstakhov-redis-schema

[Fix] Another fix for Redis schema

2 months ago[Fix] Another fix for Redis schema 5129/head
Vsevolod Stakhov [Sat, 7 Sep 2024 13:42:15 +0000 (14:42 +0100)]
[Fix] Another fix for Redis schema

Issue: #5112

2 months agoMerge pull request #5127 from rspamd/vstakhov-fuzzy-symbols
Vsevolod Stakhov [Thu, 5 Sep 2024 15:34:49 +0000 (21:34 +0600)]
Merge pull request #5127 from rspamd/vstakhov-fuzzy-symbols

Rework fuzzy symbols

2 months ago[Rework] Implement new replies logic on the server's side 5127/head
Vsevolod Stakhov [Thu, 5 Sep 2024 12:46:12 +0000 (13:46 +0100)]
[Rework] Implement new replies logic on the server's side

2 months ago[Minor] Add `encryption_required` symbol
Vsevolod Stakhov [Thu, 5 Sep 2024 12:42:08 +0000 (13:42 +0100)]
[Minor] Add `encryption_required` symbol

2 months ago[Minor] s/BLOCKED/FORBIDDEN/
Vsevolod Stakhov [Thu, 5 Sep 2024 12:36:40 +0000 (13:36 +0100)]
[Minor] s/BLOCKED/FORBIDDEN/

We want it to be more informative and to distinguish from FUZZY_DENIED

2 months ago[Rework] Change fuzzy error symbols
Vsevolod Stakhov [Thu, 5 Sep 2024 12:35:12 +0000 (13:35 +0100)]
[Rework] Change fuzzy error symbols

FUZZY_BLOCKED -> FUZZY_RATELIMITED
FUZZY_BLOCKED - new symbol for permanent bans

2 months ago[Feature] Add tooling to encrypt strings in Lua
Ivan Stakhov [Thu, 5 Sep 2024 10:48:22 +0000 (13:48 +0300)]
[Feature] Add tooling to encrypt strings in Lua

* [Fix] Provide support for OpenSSL 3.0

* [Feature] Provide function to encode header with configured public key

* [Feature] Provide function to decode header with configured public key

* [Test] Add tests for maybe encode/decode header

* [Minor] Fix tests for encode/decode header

* [Minor] Small clean up

* [Minor] Small clean up

* [Minor] Small fix for OpenSSL 3.0 support

* [Minor] Provide logging

* [Minor] Small fix

* [Fix] Fix typo error

* [Fix] Another typo

* [Minor] Little clean up

* [Minor] Little fix

* [Minor] Small fix

* [Minor] Small fix

* [Minor] Rewrite the arguments of secretbox:encrypt/decrypt functions to a more understandable format

* [Fix] Fix problem with nonce was not provided

* [Test] Add test for nonce

* [Minor] Little clean up

* [Minor] Little clean up

* [Test] Test

* [Test] Test

* [Test] Test

* [Minor] Little fix

* [Minor] Small fix

* [Minor] Small fix

* [Test] Small fix

* [Test] Test

* [Test] Test

* [Test] Test

* [Test] Test

* [Minor] Small fix for fips provider

* [Minor] Change provider apply logic

* [Test] Little fix for provider

* [Minor] Provide OpenSSL <3.0 support

* [Test] Possible provider fix

* [Test] Possible provider fix

* [Test] Little fix

* [Minor] Fix provider issue

* [Minor] Small clean up

* [Minor] Change logging errors

* Update lualib/lua_util.lua

---------

Co-authored-by: Vsevolod Stakhov <vsevolod@rspamd.com>
2 months agoMerge pull request #5126 from rspamd/vstakhov-change-passthrough
Vsevolod Stakhov [Thu, 5 Sep 2024 10:20:00 +0000 (16:20 +0600)]
Merge pull request #5126 from rspamd/vstakhov-change-passthrough

[Rework] Change the logic of skipping symbols

2 months ago[Rework] Change the logic of skipping symbols 5126/head
Vsevolod Stakhov [Wed, 4 Sep 2024 09:53:55 +0000 (10:53 +0100)]
[Rework] Change the logic of skipping symbols

We now do not skip pre/post filters even if the task result has reached
threshold.

2 months agoMerge pull request #5111 from oliyks/fix-icap-url-encode
Vsevolod Stakhov [Wed, 4 Sep 2024 09:26:31 +0000 (15:26 +0600)]
Merge pull request #5111 from oliyks/fix-icap-url-encode

[Fix] ICAP: encode constructed  path to be URL safe.

2 months agodeduplicate url_encode_string 5111/head
Tarmo Oja [Wed, 4 Sep 2024 09:07:12 +0000 (12:07 +0300)]
deduplicate url_encode_string

2 months agoMerge branch 'master' into fix-icap-url-encode
Tarmo Oja [Wed, 4 Sep 2024 08:34:52 +0000 (11:34 +0300)]
Merge branch 'master' into fix-icap-url-encode

2 months agoMerge pull request #5125 from rspamd/vstakhov-lua-fix-register-symbols
Vsevolod Stakhov [Mon, 2 Sep 2024 15:46:49 +0000 (21:46 +0600)]
Merge pull request #5125 from rspamd/vstakhov-lua-fix-register-symbols

[Fix] Unify lua symbols registration

2 months ago[Minor] Forgot to handle `parent` 5125/head
Vsevolod Stakhov [Mon, 2 Sep 2024 15:35:31 +0000 (16:35 +0100)]
[Minor] Forgot to handle `parent`

2 months ago[Minor] Restore legacy way to register symbols...
Vsevolod Stakhov [Mon, 2 Sep 2024 15:21:58 +0000 (16:21 +0100)]
[Minor] Restore legacy way to register symbols...

2 months ago[Doc] Discourage old brain damaged method of symbols registration
Vsevolod Stakhov [Mon, 2 Sep 2024 14:45:12 +0000 (15:45 +0100)]
[Doc] Discourage old brain damaged method of symbols registration

2 months ago[Fix] Unify lua symbols registration
Vsevolod Stakhov [Mon, 2 Sep 2024 14:29:14 +0000 (15:29 +0100)]
[Fix] Unify lua symbols registration

I'm curious why this bug has been not mentioned for such a long time...

2 months agoMerge pull request #5114 from fatalbanana/robot_startup
Vsevolod Stakhov [Fri, 30 Aug 2024 11:40:17 +0000 (17:40 +0600)]
Merge pull request #5114 from fatalbanana/robot_startup

[Test] Improve startup error handling

2 months ago[Minor] Change log level for autolearning
Vsevolod Stakhov [Fri, 30 Aug 2024 10:07:51 +0000 (11:07 +0100)]
[Minor] Change log level for autolearning

Fix unidiomatic string builder when I'm here.

2 months agoMerge pull request #5121 from rspamd/vstakhov-rdns-check-condition
Vsevolod Stakhov [Fri, 30 Aug 2024 09:56:18 +0000 (15:56 +0600)]
Merge pull request #5121 from rspamd/vstakhov-rdns-check-condition

[Fix] Preserve the previous behaviour of RDNS_* checks

2 months ago[Fix] Preserve the previous behaviour of RDNS_* checks 5121/head
Vsevolod Stakhov [Thu, 29 Aug 2024 14:45:10 +0000 (15:45 +0100)]
[Fix] Preserve the previous behaviour of RDNS_* checks

2 months agoMerge pull request #5119 from slavkoja/patch-2
Vsevolod Stakhov [Thu, 29 Aug 2024 14:11:30 +0000 (20:11 +0600)]
Merge pull request #5119 from slavkoja/patch-2

Update URIBL_RED/GREY scores

2 months agoUpdate surbl_group.conf 5119/head
Slavko [Thu, 29 Aug 2024 09:16:28 +0000 (11:16 +0200)]
Update surbl_group.conf

2 months agoMerge pull request #5118 from rspamd/vstakhov-fix-5089
Vsevolod Stakhov [Wed, 28 Aug 2024 19:56:34 +0000 (01:56 +0600)]
Merge pull request #5118 from rspamd/vstakhov-fix-5089

Fix for issue #5089 - learning of the empty tasks

2 months ago[Fix] Another safe-guards for learning/classifying an empty message 5118/head
Vsevolod Stakhov [Wed, 28 Aug 2024 12:10:28 +0000 (13:10 +0100)]
[Fix] Another safe-guards for learning/classifying an empty message

2 months agoMerge branch 'master' into robot_startup 5114/head
Andrew Lewis [Mon, 26 Aug 2024 10:20:43 +0000 (12:20 +0200)]
Merge branch 'master' into robot_startup

2 months ago[Test] Improve on previous changes
Andrew Lewis [Mon, 26 Aug 2024 10:11:50 +0000 (12:11 +0200)]
[Test] Improve on previous changes

 - Remove unnecessary process waiting
 - Relax retry time

2 months agoMerge pull request #5115 from dragoangel/patch-7
Vsevolod Stakhov [Sun, 25 Aug 2024 20:51:07 +0000 (02:51 +0600)]
Merge pull request #5115 from dragoangel/patch-7

Set expiration for history_redis to 5 days by default

2 months agoUpdate history_redis.lua 5115/head
Dmitriy Alekseev [Sat, 24 Aug 2024 11:51:23 +0000 (13:51 +0200)]
Update history_redis.lua

2 months agoSet expiration for history_redis to 5 days by default
Dmitriy Alekseev [Sat, 24 Aug 2024 11:42:53 +0000 (13:42 +0200)]
Set expiration for history_redis to 5 days by default

2 months ago[Test] Improve startup error handling
Andrew Lewis [Fri, 23 Aug 2024 15:04:52 +0000 (17:04 +0200)]
[Test] Improve startup error handling

2 months agohandle nil
Tarmo Oja [Fri, 23 Aug 2024 12:00:27 +0000 (15:00 +0300)]
handle nil

2 months ago[PATCH] Encode constructed path to be URL safe.
Tarmo Oja [Thu, 22 Aug 2024 09:57:06 +0000 (12:57 +0300)]
[PATCH] Encode constructed path to be URL safe.

fix #4643

3 months agoMerge pull request #5110 from fatalbanana/re_grow_factor_tests
Vsevolod Stakhov [Wed, 21 Aug 2024 19:24:49 +0000 (01:24 +0600)]
Merge pull request #5110 from fatalbanana/re_grow_factor_tests

[Test] Improve grow_factor tests

3 months ago[Test] Improve grow_factor tests 5110/head
Andrew Lewis [Tue, 20 Aug 2024 10:45:12 +0000 (12:45 +0200)]
[Test] Improve grow_factor tests

3 months agoFix issue with broken HTTP message to learn endpoints (#5106)
Vsevolod Stakhov [Sat, 17 Aug 2024 19:25:53 +0000 (01:25 +0600)]
Fix issue with broken HTTP message to learn endpoints (#5106)

* [Fix] Check message before trying to dereference pointer

Issue: #5089

* [Minor] Fix stripping of the last characters

3 months ago[Minor] Fix stripping of the last characters
Vsevolod Stakhov [Sat, 17 Aug 2024 18:57:16 +0000 (19:57 +0100)]
[Minor] Fix stripping of the last characters

3 months agoProvide OpenSSL 3.0 support for lua_rsa (#5101)
Ivan Stakhov [Sat, 17 Aug 2024 17:47:01 +0000 (23:47 +0600)]
Provide OpenSSL 3.0 support for lua_rsa (#5101)

* [Fix] Provide OSSL 3.0 support for lua_rsa (not working)

* [Fix] Provide full OpenSSL 3.0 for lua_rsa

* [Minor] Little clean up

* [Minor] Clean up code from debug

* [Test] Replace for fixed size fstring allocation

* [Test] Add rsa padding and signature md for pctx

* [Test] Little changes

* [Fix] Little fix for rsa_sign_memory work correctly

* [Minor] Little clean up

* [Minor] Small fix

* [Minor] Little clean up

* [Test] Add signature verification test for rsa2048

3 months ago[Fix] Check message before trying to dereference pointer
Vsevolod Stakhov [Sat, 17 Aug 2024 15:58:56 +0000 (16:58 +0100)]
[Fix] Check message before trying to dereference pointer

Issue: #5089

3 months agoMerge pull request #5104 from rspamd/vstakhov-transparent-ucl
Vsevolod Stakhov [Fri, 16 Aug 2024 12:50:58 +0000 (18:50 +0600)]
Merge pull request #5104 from rspamd/vstakhov-transparent-ucl

[Project] Allow manipulations with opaque UCL objects

3 months ago[Test] Add more unit tests 5104/head
Vsevolod Stakhov [Fri, 16 Aug 2024 12:25:41 +0000 (13:25 +0100)]
[Test] Add more unit tests

3 months ago[Minor] Add some hacks to convert lua table into either object or an array
Vsevolod Stakhov [Fri, 16 Aug 2024 12:21:28 +0000 (13:21 +0100)]
[Minor] Add some hacks to convert lua table into either object or an array

3 months ago[Test] Fix broken test
Vsevolod Stakhov [Fri, 16 Aug 2024 12:06:30 +0000 (13:06 +0100)]
[Test] Fix broken test

3 months ago[Minor] Restore back one more legacy conversion
Vsevolod Stakhov [Fri, 16 Aug 2024 11:45:05 +0000 (12:45 +0100)]
[Minor] Restore back one more legacy conversion

3 months ago[Minor] Restore legacy conversions
Vsevolod Stakhov [Fri, 16 Aug 2024 10:56:53 +0000 (11:56 +0100)]
[Minor] Restore legacy conversions

With new `index` method it seems much easier in fact

3 months ago[Minor] Add support for transparent ucl in override_defaults
Vsevolod Stakhov [Fri, 16 Aug 2024 10:50:49 +0000 (11:50 +0100)]
[Minor] Add support for transparent ucl in override_defaults

3 months ago[Minor] Sime minor changes
Vsevolod Stakhov [Thu, 15 Aug 2024 16:55:19 +0000 (17:55 +0100)]
[Minor] Sime minor changes

3 months ago[Minor] Fix import again
Vsevolod Stakhov [Thu, 15 Aug 2024 16:45:48 +0000 (17:45 +0100)]
[Minor] Fix import again

3 months ago[Minor] Slight cleanup
Vsevolod Stakhov [Thu, 15 Aug 2024 16:37:46 +0000 (17:37 +0100)]
[Minor] Slight cleanup

3 months ago[Project] Try to allow more transparent access of ucl elements
Vsevolod Stakhov [Thu, 15 Aug 2024 16:37:17 +0000 (17:37 +0100)]
[Project] Try to allow more transparent access of ucl elements

3 months ago[Minor] Fix check
Vsevolod Stakhov [Thu, 15 Aug 2024 14:08:47 +0000 (15:08 +0100)]
[Minor] Fix check

3 months ago[Rework] Breaking: Rewrite cfg transform and remove legacy
Vsevolod Stakhov [Thu, 15 Aug 2024 13:58:35 +0000 (14:58 +0100)]
[Rework] Breaking: Rewrite cfg transform and remove legacy

What is removed:

* SURBL/Email -> rbl conversion
* IP reputation -> reputation conversion

Reasoning:

* Too hard to support forever
* Outdated
* Want to use transparent UCL instead of modifying the config from Lua