]> source.dussan.org Git - rspamd.git/log
rspamd.git
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 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 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

3 months ago[Minor] Some minor fixes
Vsevolod Stakhov [Thu, 15 Aug 2024 13:57:54 +0000 (14:57 +0100)]
[Minor] Some minor fixes

3 months ago[Project] Some more fixes
Vsevolod Stakhov [Thu, 15 Aug 2024 13:18:50 +0000 (14:18 +0100)]
[Project] Some more fixes

3 months ago[Project] Add API method to push unwrapped UCL object
Vsevolod Stakhov [Wed, 14 Aug 2024 11:27:40 +0000 (12:27 +0100)]
[Project] Add API method to push unwrapped UCL object

3 months ago[Test] Add unit tests for ucl functions
Vsevolod Stakhov [Tue, 13 Aug 2024 14:07:31 +0000 (15:07 +0100)]
[Test] Add unit tests for ucl functions

3 months ago[Fix] Make tostring in UCL a bit less brain-damaged
Vsevolod Stakhov [Tue, 13 Aug 2024 14:07:06 +0000 (15:07 +0100)]
[Fix] Make tostring in UCL a bit less brain-damaged

3 months ago[Project] Add more stuff to transparent UCL
Vsevolod Stakhov [Tue, 13 Aug 2024 13:43:29 +0000 (14:43 +0100)]
[Project] Add more stuff to transparent UCL

3 months ago[Project] Allow manipulations with opaque UCL objects
Vsevolod Stakhov [Tue, 13 Aug 2024 13:03:04 +0000 (14:03 +0100)]
[Project] Allow manipulations with opaque UCL objects

If we export an UCL object to Lua we actually lose a lot of useful
properties of UCL. For example, we miss ordering, comments, implicit
arrays etc.

This PR is intended to allow manipulation with UCL object like plain
userdata, without unwrapping them to the Lua primitives.

3 months ago[Minor] Update publicsuffix list
Vsevolod Stakhov [Mon, 12 Aug 2024 18:00:54 +0000 (19:00 +0100)]
[Minor] Update publicsuffix list

Closes: #5103
3 months ago[Minor] More docs update
Vsevolod Stakhov [Mon, 12 Aug 2024 18:00:39 +0000 (19:00 +0100)]
[Minor] More docs update

3 months ago[Minor] Add instructions for update
Vsevolod Stakhov [Mon, 12 Aug 2024 17:52:08 +0000 (18:52 +0100)]
[Minor] Add instructions for update

3 months agoMerge pull request #5100 from rspamd/vstakhov-fix-kp-encryption
Vsevolod Stakhov [Fri, 9 Aug 2024 12:39:22 +0000 (18:39 +0600)]
Merge pull request #5100 from rspamd/vstakhov-fix-kp-encryption

Fix keypairs encryption/decryption

3 months agoMerge pull request #5099 from rspamd/vstakhov-remove-nist-cryptobox
Vsevolod Stakhov [Fri, 9 Aug 2024 12:39:05 +0000 (18:39 +0600)]
Merge pull request #5099 from rspamd/vstakhov-remove-nist-cryptobox

Remove NIST mode from cryptobox

3 months ago[Test] Add test for keypairs encrypt/decrypt 5100/head
Vsevolod Stakhov [Fri, 9 Aug 2024 12:10:35 +0000 (13:10 +0100)]
[Test] Add test for keypairs encrypt/decrypt

3 months ago[Fix] Use proper keys when doing asymmetric encryption
Vsevolod Stakhov [Fri, 9 Aug 2024 12:03:46 +0000 (13:03 +0100)]
[Fix] Use proper keys when doing asymmetric encryption

3 months ago[Minor] Oops, fix pubkey loading 5099/head
Vsevolod Stakhov [Fri, 9 Aug 2024 11:46:17 +0000 (12:46 +0100)]
[Minor] Oops, fix pubkey loading

3 months ago[Project] Remove NIST mode from everywhere
Vsevolod Stakhov [Fri, 9 Aug 2024 10:12:23 +0000 (11:12 +0100)]
[Project] Remove NIST mode from everywhere

3 months ago[Project] Remove NIST (OpenSSL) mode from cryptobox
Vsevolod Stakhov [Fri, 9 Aug 2024 09:00:53 +0000 (10:00 +0100)]
[Project] Remove NIST (OpenSSL) mode from cryptobox

In fact, this mode increases complexity of the crypto library for no
good reason: it is never used in Rspamd and it should not be used in fact.

It was a research project in the past that should not be supported any
longer.

3 months ago[Fix] Do not install doctest stuff
Vsevolod Stakhov [Fri, 9 Aug 2024 08:14:12 +0000 (09:14 +0100)]
[Fix] Do not install doctest stuff

Reported by: @moisseev

3 months ago[Fix] Apply the same workaround for signing keys
Vsevolod Stakhov [Thu, 8 Aug 2024 09:53:35 +0000 (10:53 +0100)]
[Fix] Apply the same workaround for signing keys

3 months ago[Fix] Add workaround for the bug in OpenSSL < 3.0.8
Vsevolod Stakhov [Thu, 8 Aug 2024 09:46:28 +0000 (10:46 +0100)]
[Fix] Add workaround for the bug in OpenSSL < 3.0.8

3 months ago[Minor] CMake: show version of packages found if available
Vsevolod Stakhov [Thu, 8 Aug 2024 08:52:29 +0000 (09:52 +0100)]
[Minor] CMake: show version of packages found if available

3 months ago[Minor] Another fight with OpenSSL so called "consistency"
Vsevolod Stakhov [Wed, 7 Aug 2024 18:54:19 +0000 (19:54 +0100)]
[Minor] Another fight with OpenSSL so called "consistency"

3 months ago[Minor] Another try to fix p256 encryption
Vsevolod Stakhov [Wed, 7 Aug 2024 18:23:41 +0000 (19:23 +0100)]
[Minor] Another try to fix p256 encryption

3 months ago[Fix] More bogus sizes fix
Vsevolod Stakhov [Wed, 7 Aug 2024 15:15:11 +0000 (16:15 +0100)]
[Fix] More bogus sizes fix

3 months ago[Minor] Some more fixes for old OSSL
Vsevolod Stakhov [Wed, 7 Aug 2024 15:03:58 +0000 (16:03 +0100)]
[Minor] Some more fixes for old OSSL

3 months ago[Fix] Sign key != encryption key, omg
Vsevolod Stakhov [Wed, 7 Aug 2024 15:01:42 +0000 (16:01 +0100)]
[Fix] Sign key != encryption key, omg

3 months ago[Test] Use proper keypairs
Vsevolod Stakhov [Wed, 7 Aug 2024 14:53:02 +0000 (15:53 +0100)]
[Test] Use proper keypairs

3 months ago[Test] Fix some test
Vsevolod Stakhov [Wed, 7 Aug 2024 14:02:01 +0000 (15:02 +0100)]
[Test] Fix some test

3 months ago[Minor] Some more incompatibilities cleaned up
Vsevolod Stakhov [Wed, 7 Aug 2024 13:50:23 +0000 (14:50 +0100)]
[Minor] Some more incompatibilities cleaned up

3 months ago[Fix] Fix compatibility with OSSL 1.0
Vsevolod Stakhov [Wed, 7 Aug 2024 13:45:03 +0000 (14:45 +0100)]
[Fix] Fix compatibility with OSSL 1.0

3 months ago[Minor] Avoid some warnings
Vsevolod Stakhov [Wed, 7 Aug 2024 13:23:44 +0000 (14:23 +0100)]
[Minor] Avoid some warnings

3 months ago[Test] Fix unit tests
Vsevolod Stakhov [Wed, 7 Aug 2024 10:08:12 +0000 (11:08 +0100)]
[Test] Fix unit tests

3 months ago[CritFix] The max size for signing key is actually 65 bytes for p256 5072/head
Vsevolod Stakhov [Wed, 7 Aug 2024 09:51:53 +0000 (10:51 +0100)]
[CritFix] The max size for signing key is actually 65 bytes for p256

3 months ago[Minor] Some neats
Vsevolod Stakhov [Wed, 7 Aug 2024 09:50:56 +0000 (10:50 +0100)]
[Minor] Some neats

3 months ago[Fix] Fix and rework various parts
Vsevolod Stakhov [Wed, 7 Aug 2024 09:26:09 +0000 (10:26 +0100)]
[Fix] Fix and rework various parts

3 months agoMerge branch 'master' into master
Vsevolod Stakhov [Wed, 7 Aug 2024 09:06:26 +0000 (15:06 +0600)]
Merge branch 'master' into master

3 months agoMerge pull request #5094 from rspamd/vstakhov-update-doctest
Vsevolod Stakhov [Wed, 7 Aug 2024 09:06:10 +0000 (15:06 +0600)]
Merge pull request #5094 from rspamd/vstakhov-update-doctest

[Dep] Update doctest to 2.4.11

3 months ago[Dep] Update doctest to 2.4.11 5094/head
Vsevolod Stakhov [Wed, 7 Aug 2024 08:56:15 +0000 (09:56 +0100)]
[Dep] Update doctest to 2.4.11

3 months ago[Rework] Use a more straight structure for DKIM keys
Vsevolod Stakhov [Wed, 7 Aug 2024 08:46:35 +0000 (09:46 +0100)]
[Rework] Use a more straight structure for DKIM keys

3 months ago[Minor] Another formatting issue
Vsevolod Stakhov [Wed, 7 Aug 2024 08:38:27 +0000 (09:38 +0100)]
[Minor] Another formatting issue

3 months ago[Minor] Restore formatting
Vsevolod Stakhov [Wed, 7 Aug 2024 08:30:14 +0000 (09:30 +0100)]
[Minor] Restore formatting

3 months agoMerge branch 'master' into master
Vsevolod Stakhov [Wed, 7 Aug 2024 08:27:49 +0000 (14:27 +0600)]
Merge branch 'master' into master

3 months agoMerge pull request #5093 from rspamd/vstakhov-rdns-separate
Vsevolod Stakhov [Tue, 6 Aug 2024 16:11:24 +0000 (22:11 +0600)]
Merge pull request #5093 from rspamd/vstakhov-rdns-separate

[Rework] Resolve rdns in a separate function

3 months ago[Minor] Reduce priority as settings become broken otherwise 5093/head
Vsevolod Stakhov [Tue, 6 Aug 2024 13:03:27 +0000 (14:03 +0100)]
[Minor] Reduce priority as settings become broken otherwise

For future settings rework: there should be spill of settings checks
to allow dependency on symbols that are required for settings conditions.

3 months ago[Rework] Resolve rdns in a separate function
Vsevolod Stakhov [Tue, 6 Aug 2024 12:45:27 +0000 (13:45 +0100)]
[Rework] Resolve rdns in a separate function

Historically, it was done in `once_received` module, however, that check must
be done early, even before settings (as they could rely on hostname).

Hence, it was discussed to move this code to a separate rule.

3 months agoMerge pull request #5092 from rspamd/vstakhov-log-tag-passthrough
Vsevolod Stakhov [Mon, 5 Aug 2024 22:01:40 +0000 (04:01 +0600)]
Merge pull request #5092 from rspamd/vstakhov-log-tag-passthrough

[Project] Allow to change log tag from HTTP request

3 months ago[Minor] Show HTTP result for mirrors as well 5092/head
Vsevolod Stakhov [Mon, 5 Aug 2024 17:51:52 +0000 (18:51 +0100)]
[Minor] Show HTTP result for mirrors as well

3 months ago[Minor] Show better log when proxy finishes it's connection
Vsevolod Stakhov [Mon, 5 Aug 2024 17:50:29 +0000 (18:50 +0100)]
[Minor] Show better log when proxy finishes it's connection

3 months ago[Minor] Propagate proxy log tag
Vsevolod Stakhov [Mon, 5 Aug 2024 17:44:02 +0000 (18:44 +0100)]
[Minor] Propagate proxy log tag

3 months ago[Minor] Pass queue-id from Milter to log tag
Vsevolod Stakhov [Mon, 5 Aug 2024 16:20:32 +0000 (17:20 +0100)]
[Minor] Pass queue-id from Milter to log tag

3 months agoMerge branch 'master' into vstakhov-log-tag-passthrough
Vsevolod Stakhov [Sun, 4 Aug 2024 18:49:08 +0000 (00:49 +0600)]
Merge branch 'master' into vstakhov-log-tag-passthrough

3 months ago[Project] Allow to change log tag from HTTP request
Vsevolod Stakhov [Sat, 3 Aug 2024 16:11:04 +0000 (17:11 +0100)]
[Project] Allow to change log tag from HTTP request

3 months agoMerge pull request #5083 from fatalbanana/test_milter_headers
Vsevolod Stakhov [Fri, 2 Aug 2024 11:13:33 +0000 (17:13 +0600)]
Merge pull request #5083 from fatalbanana/test_milter_headers

[Test] Add tests for milter_headers

3 months agoMerge pull request #5088 from moisseev/senderscore
Vsevolod Stakhov [Fri, 2 Aug 2024 11:13:23 +0000 (17:13 +0600)]
Merge pull request #5088 from moisseev/senderscore

[Conf] Add SenderScore Reputationlist RBL

3 months agoMerge pull request #5091 from rspamd/vstakhov-redis-fix-scripts-loading
Vsevolod Stakhov [Thu, 1 Aug 2024 14:48:50 +0000 (20:48 +0600)]
Merge pull request #5091 from rspamd/vstakhov-redis-fix-scripts-loading

[Fix] Fix Redis scripts uploading when Redis is not ready

3 months ago[Minor] Fix logging 5091/head
Vsevolod Stakhov [Thu, 1 Aug 2024 14:21:28 +0000 (15:21 +0100)]
[Minor] Fix logging

3 months ago[Minor] Fix status change and improve logging
Vsevolod Stakhov [Thu, 1 Aug 2024 13:55:29 +0000 (14:55 +0100)]
[Minor] Fix status change and improve logging

3 months agoMerge pull request #5084 from rspamd/vstakhov-negative-group-limits
Vsevolod Stakhov [Thu, 1 Aug 2024 12:17:39 +0000 (18:17 +0600)]
Merge pull request #5084 from rspamd/vstakhov-negative-group-limits

[Feature] Allow to set negative group score limit via `min_score`

3 months ago[Test] Add tests for group score limits 5084/head
Vsevolod Stakhov [Thu, 1 Aug 2024 11:58:13 +0000 (12:58 +0100)]
[Test] Add tests for group score limits

3 months ago[Minor] Fix logic of the checks
Vsevolod Stakhov [Thu, 1 Aug 2024 11:53:03 +0000 (12:53 +0100)]
[Minor] Fix logic of the checks

3 months agoMerge pull request #5086 from rspamd/vstakhov-redis-better-errors
Vsevolod Stakhov [Thu, 1 Aug 2024 11:15:12 +0000 (17:15 +0600)]
Merge pull request #5086 from rspamd/vstakhov-redis-better-errors

[Minor] Improve errors reporting for lua_redis

3 months ago[Fix] Fix Redis scripts uploading when Redis is not ready
Vsevolod Stakhov [Thu, 1 Aug 2024 11:13:07 +0000 (12:13 +0100)]
[Fix] Fix Redis scripts uploading when Redis is not ready

Initially, there was no way to recover from Redis errors that are temporary
by nature (e.g. when Redis was busy with loading database).

This PR adds logic to check returned reply and adds more fine-grained
errors-per-server handling.

3 months ago[Conf] Add SenderScore Reputationlist RBL 5088/head
moisseev [Wed, 31 Jul 2024 15:17:56 +0000 (18:17 +0300)]
[Conf] Add SenderScore Reputationlist RBL

3 months ago[Test] Test work on ubuntu
LeftTry [Wed, 31 Jul 2024 11:22:24 +0000 (17:22 +0600)]
[Test] Test work on ubuntu

3 months ago[Minor] Improve errors reporting for lua_redis 5086/head
Vsevolod Stakhov [Wed, 31 Jul 2024 09:12:35 +0000 (10:12 +0100)]
[Minor] Improve errors reporting for lua_redis

3 months ago[Feature] Allow to set negative group score limit via `min_score`
Vsevolod Stakhov [Tue, 30 Jul 2024 16:14:07 +0000 (17:14 +0100)]
[Feature] Allow to set negative group score limit via `min_score`

3 months ago[Test] Add more tests for milter_headers 5083/head
Andrew Lewis [Tue, 30 Jul 2024 14:16:28 +0000 (16:16 +0200)]
[Test] Add more tests for milter_headers

3 months ago[Test] Add tests for milter_headers
Andrew Lewis [Tue, 30 Jul 2024 12:37:13 +0000 (14:37 +0200)]
[Test] Add tests for milter_headers

3 months agoMerge branch 'rspamd:master' into master
Ivan Stakhov [Tue, 30 Jul 2024 11:40:29 +0000 (16:40 +0500)]
Merge branch 'rspamd:master' into master

3 months ago[Minor] Add `task:set_subject` alias for sanity
Vsevolod Stakhov [Tue, 30 Jul 2024 10:17:34 +0000 (11:17 +0100)]
[Minor] Add `task:set_subject` alias for sanity

3 months agoMerge pull request #5079 from dragoangel/patch-7
Vsevolod Stakhov [Mon, 29 Jul 2024 17:47:25 +0000 (23:47 +0600)]
Merge pull request #5079 from dragoangel/patch-7

Add name in statistic.conf

3 months agoMerge branch 'master' into patch-7 5079/head
Dmitriy Alekseev [Mon, 29 Jul 2024 17:30:15 +0000 (19:30 +0200)]
Merge branch 'master' into patch-7

3 months agoMerge pull request #5077 from moisseev/senderscore
Vsevolod Stakhov [Mon, 29 Jul 2024 17:29:36 +0000 (23:29 +0600)]
Merge pull request #5077 from moisseev/senderscore

[Conf] Add SenderScore RPBL return codes

3 months agoUpdate conf/statistic.conf
Dmitriy Alekseev [Mon, 29 Jul 2024 17:29:01 +0000 (19:29 +0200)]
Update conf/statistic.conf

Co-authored-by: Vsevolod Stakhov <vsevolod@rspamd.com>
3 months agoRename unrecognized SenderScore RBL result symbol 5077/head
moisseev [Mon, 29 Jul 2024 17:06:41 +0000 (20:06 +0300)]
Rename unrecognized SenderScore RBL result symbol

3 months agoUpdate statistic.conf
Dmitriy Alekseev [Mon, 29 Jul 2024 13:01:44 +0000 (15:01 +0200)]
Update statistic.conf

3 months agoUpdate statistic.conf
Dmitriy Alekseev [Mon, 29 Jul 2024 12:19:59 +0000 (14:19 +0200)]
Update statistic.conf

3 months agoSet SenderScore RPBL scores
moisseev [Mon, 29 Jul 2024 07:32:46 +0000 (10:32 +0300)]
Set SenderScore RPBL scores

3 months ago[Conf] Add SenderScore RPBL return codes
moisseev [Sun, 28 Jul 2024 15:26:38 +0000 (18:26 +0300)]
[Conf] Add SenderScore RPBL return codes

3 months agoMerge remote-tracking branch 'origin/master'
LeftTry [Sun, 28 Jul 2024 13:57:37 +0000 (19:57 +0600)]
Merge remote-tracking branch 'origin/master'

3 months ago[Rework] Clean up legacy code
LeftTry [Sun, 28 Jul 2024 13:57:25 +0000 (19:57 +0600)]
[Rework] Clean up legacy code

3 months ago[Minor] Provide description for rspamd_cryptobox_verify_compat function
LeftTry [Sun, 28 Jul 2024 13:50:17 +0000 (19:50 +0600)]
[Minor] Provide description for rspamd_cryptobox_verify_compat function

3 months ago[Minor] Try to fix ambigious rvalue
Vsevolod Stakhov [Sun, 28 Jul 2024 07:45:26 +0000 (08:45 +0100)]
[Minor] Try to fix ambigious rvalue

3 months agoMerge branch 'rspamd:master' into master
Ivan Stakhov [Sat, 27 Jul 2024 09:27:22 +0000 (15:27 +0600)]
Merge branch 'rspamd:master' into master