]> source.dussan.org Git - rspamd.git/log
rspamd.git
2 years ago[Minor] Remove occasional debug
Vsevolod Stakhov [Wed, 8 Dec 2021 14:07:17 +0000 (14:07 +0000)]
[Minor] Remove occasional debug

2 years ago[Minor] Another ubsan catch
Vsevolod Stakhov [Wed, 8 Dec 2021 14:05:35 +0000 (14:05 +0000)]
[Minor] Another ubsan catch

2 years ago[Fix] Phishing: Deal with phishing + redirected URL
Vsevolod Stakhov [Wed, 8 Dec 2021 13:07:44 +0000 (13:07 +0000)]
[Fix] Phishing: Deal with phishing + redirected URL

2 years ago[Fix] Clear SSL errors
Vsevolod Stakhov [Wed, 8 Dec 2021 11:42:17 +0000 (11:42 +0000)]
[Fix] Clear SSL errors

2 years ago[Rework] Allow to restore SSL handlers after keepalive pooling
Vsevolod Stakhov [Wed, 8 Dec 2021 11:37:33 +0000 (11:37 +0000)]
[Rework] Allow to restore SSL handlers after keepalive pooling

2 years ago[Rework] Rework SSL flag operations
Vsevolod Stakhov [Wed, 8 Dec 2021 11:31:35 +0000 (11:31 +0000)]
[Rework] Rework SSL flag operations

2 years ago[Rework] Include SSL flag into keepalive hash
Vsevolod Stakhov [Wed, 8 Dec 2021 10:49:29 +0000 (10:49 +0000)]
[Rework] Include SSL flag into keepalive hash

2 years ago[Minor] Bimi: Rework redis caching logic
Vsevolod Stakhov [Tue, 7 Dec 2021 21:30:56 +0000 (21:30 +0000)]
[Minor] Bimi: Rework redis caching logic

2 years ago[Minor] Try to fix keepalive for SSL connections
Vsevolod Stakhov [Tue, 7 Dec 2021 18:47:35 +0000 (18:47 +0000)]
[Minor] Try to fix keepalive for SSL connections

2 years ago[Minor] Dmarc_report: Fix automatic dates filling
Vsevolod Stakhov [Tue, 7 Dec 2021 14:05:09 +0000 (14:05 +0000)]
[Minor] Dmarc_report: Fix automatic dates filling

2 years ago[Test] Remove broken test
Vsevolod Stakhov [Mon, 6 Dec 2021 13:31:56 +0000 (13:31 +0000)]
[Test] Remove broken test

2 years ago[Minor] Backport ucl fix
Vsevolod Stakhov [Mon, 6 Dec 2021 11:45:52 +0000 (11:45 +0000)]
[Minor] Backport ucl fix

2 years ago[Minor] Polish alignment macros
Vsevolod Stakhov [Mon, 6 Dec 2021 11:39:54 +0000 (11:39 +0000)]
[Minor] Polish alignment macros

2 years ago[Minor] Remove unused x86 dispatcher
Vsevolod Stakhov [Mon, 6 Dec 2021 11:30:19 +0000 (11:30 +0000)]
[Minor] Remove unused x86 dispatcher

2 years ago[Test] Add a small test for xxh3
Vsevolod Stakhov [Sun, 5 Dec 2021 18:22:41 +0000 (18:22 +0000)]
[Test] Add a small test for xxh3

2 years ago[Minor] Add xxh3 support to lua_cryptobox
Vsevolod Stakhov [Sun, 5 Dec 2021 18:18:38 +0000 (18:18 +0000)]
[Minor] Add xxh3 support to lua_cryptobox

2 years ago[Rework] Use xxh3 as a default hash and fix memory/alignment issues
Vsevolod Stakhov [Sun, 5 Dec 2021 18:15:36 +0000 (18:15 +0000)]
[Rework] Use xxh3 as a default hash and fix memory/alignment issues

2 years ago[Minor] Update bundled xxhash
Vsevolod Stakhov [Sat, 4 Dec 2021 14:53:23 +0000 (14:53 +0000)]
[Minor] Update bundled xxhash

2 years ago[Minor] Fix some alignment issues
Vsevolod Stakhov [Sat, 4 Dec 2021 14:45:30 +0000 (14:45 +0000)]
[Minor] Fix some alignment issues

2 years ago[Minor] Fix arguments order
Vsevolod Stakhov [Sat, 4 Dec 2021 14:40:50 +0000 (14:40 +0000)]
[Minor] Fix arguments order

2 years ago[Rework] Mempool: Use explicit alignment
Vsevolod Stakhov [Sat, 4 Dec 2021 14:37:47 +0000 (14:37 +0000)]
[Rework] Mempool: Use explicit alignment

2 years ago[Minor] Fix enum handling
Vsevolod Stakhov [Sat, 4 Dec 2021 14:20:26 +0000 (14:20 +0000)]
[Minor] Fix enum handling

2 years ago[Minor] Allow ubsan usage
Vsevolod Stakhov [Sat, 4 Dec 2021 14:12:39 +0000 (14:12 +0000)]
[Minor] Allow ubsan usage

2 years ago[Minor] Fix alignment issue
Vsevolod Stakhov [Fri, 3 Dec 2021 21:13:21 +0000 (21:13 +0000)]
[Minor] Fix alignment issue

2 years ago[Feature] Lua_magic: Add a sane CSV heuristic
Vsevolod Stakhov [Fri, 3 Dec 2021 14:37:52 +0000 (14:37 +0000)]
[Feature] Lua_magic: Add a sane CSV heuristic

2 years ago[Minor] Greylist: Fix docs
Vsevolod Stakhov [Thu, 2 Dec 2021 20:31:40 +0000 (20:31 +0000)]
[Minor] Greylist: Fix docs

Issue: #3997

2 years ago[Minor] Redis_history: Fix docs
Vsevolod Stakhov [Thu, 2 Dec 2021 20:18:39 +0000 (20:18 +0000)]
[Minor] Redis_history: Fix docs

Issue: #3997

2 years ago[Minor] Fix ip validity check
Vsevolod Stakhov [Thu, 2 Dec 2021 12:17:06 +0000 (12:17 +0000)]
[Minor] Fix ip validity check

2 years ago[Minor] Fix format string
Vsevolod Stakhov [Wed, 1 Dec 2021 19:41:26 +0000 (19:41 +0000)]
[Minor] Fix format string

2 years ago[Minor] Spf: Deal with enormously large SPF records
Vsevolod Stakhov [Wed, 1 Dec 2021 19:25:52 +0000 (19:25 +0000)]
[Minor] Spf: Deal with enormously large SPF records

2 years ago[Minor] Adopt Rspamd to flags in rdns reply
Vsevolod Stakhov [Wed, 1 Dec 2021 19:10:29 +0000 (19:10 +0000)]
[Minor] Adopt Rspamd to flags in rdns reply

2 years ago[Minor] Process DNS reply flags
Vsevolod Stakhov [Wed, 1 Dec 2021 17:00:37 +0000 (17:00 +0000)]
[Minor] Process DNS reply flags

2 years ago[Minor] Update bundled lua-argparse to 0.7.1
Vsevolod Stakhov [Wed, 1 Dec 2021 09:40:56 +0000 (09:40 +0000)]
[Minor] Update bundled lua-argparse to 0.7.1

2 years agoMerge pull request #3999 from dupondje/spamhaus_uribl
Vsevolod Stakhov [Tue, 30 Nov 2021 13:58:10 +0000 (13:58 +0000)]
Merge pull request #3999 from dupondje/spamhaus_uribl

Uncomment but disable SpamHaus URIBL

2 years agoMerge pull request #3998 from dupondje/fix_symbols_disable
Vsevolod Stakhov [Tue, 30 Nov 2021 13:57:32 +0000 (13:57 +0000)]
Merge pull request #3998 from dupondje/fix_symbols_disable

Fix disabling symbols

2 years ago[Minor] Fix rule
Vsevolod Stakhov [Tue, 30 Nov 2021 13:51:54 +0000 (13:51 +0000)]
[Minor] Fix rule

2 years ago[Minor] Remove unused function
Vsevolod Stakhov [Mon, 29 Nov 2021 17:28:20 +0000 (17:28 +0000)]
[Minor] Remove unused function

2 years ago[Rules] Remove ancient and inefficient rules
Vsevolod Stakhov [Mon, 29 Nov 2021 17:26:27 +0000 (17:26 +0000)]
[Rules] Remove ancient and inefficient rules

2 years ago[Rules] Fix old rules to stop global functions usage
Vsevolod Stakhov [Mon, 29 Nov 2021 16:56:13 +0000 (16:56 +0000)]
[Rules] Fix old rules to stop global functions usage

2 years ago[Fix] Fix stuctured headers pushing
Vsevolod Stakhov [Mon, 29 Nov 2021 16:34:30 +0000 (16:34 +0000)]
[Fix] Fix stuctured headers pushing

2 years agoUncomment but disable SpamHaus URIBL 3999/head
Jean-Louis Dupond [Mon, 29 Nov 2021 15:04:39 +0000 (16:04 +0100)]
Uncomment but disable SpamHaus URIBL

Fix the Spamhaus URIBL and uncomment but disable it.
This way it can be easily enabled in local.d without the need to copy
the whole block.
Symbols are also ignored as this will generate a warning otherwise.

2 years agoFix disabling symbols 3998/head
Jean-Louis Dupond [Mon, 29 Nov 2021 14:53:47 +0000 (15:53 +0100)]
Fix disabling symbols

If enabled = false, then we should set RSPAMD_SYMBOL_FLAG_DISABLED.
Now setting enabled = true sets RSPAMD_SYMBOL_FLAG_DISABLED. Which is
incorrect.

2 years ago[Test] Improve envelope stuff testing
Vsevolod Stakhov [Sun, 28 Nov 2021 12:23:06 +0000 (12:23 +0000)]
[Test] Improve envelope stuff testing

2 years ago[Minor] Fix task:set_recipients when the original recipients are absent
Vsevolod Stakhov [Sun, 28 Nov 2021 12:16:53 +0000 (12:16 +0000)]
[Minor] Fix task:set_recipients when the original recipients are absent

2 years ago[Test] Fix tests
Vsevolod Stakhov [Sat, 27 Nov 2021 14:57:35 +0000 (14:57 +0000)]
[Test] Fix tests

2 years ago[Feature] Lua_mime: Add schema for message transfer
Vsevolod Stakhov [Sat, 27 Nov 2021 14:57:20 +0000 (14:57 +0000)]
[Feature] Lua_mime: Add schema for message transfer

2 years ago[Minor] Lua_mime: Flatten headers array
Vsevolod Stakhov [Sat, 27 Nov 2021 14:21:08 +0000 (14:21 +0000)]
[Minor] Lua_mime: Flatten headers array

2 years agoMerge pull request #3994 from MrKrisKrisu/dev-ks-mimepgp
Vsevolod Stakhov [Fri, 26 Nov 2021 14:45:30 +0000 (14:45 +0000)]
Merge pull request #3994 from MrKrisKrisu/dev-ks-mimepgp

Add application/pgp-keys to known mime types

2 years ago[Minor] Phishing: Fix confusing scoring
Vsevolod Stakhov [Thu, 25 Nov 2021 15:34:04 +0000 (15:34 +0000)]
[Minor] Phishing: Fix confusing scoring

2 years ago[Fix] Phishing: Fix finding domains in the phishing map
Vsevolod Stakhov [Thu, 25 Nov 2021 15:33:48 +0000 (15:33 +0000)]
[Fix] Phishing: Fix finding domains in the phishing map

2 years agoAdd application/pgp-keys to known mime types 3994/head
Kristian Stöckel [Thu, 25 Nov 2021 14:50:18 +0000 (15:50 +0100)]
Add application/pgp-keys to known mime types

2 years ago[Minor] Pet luacheck temporarily
Vsevolod Stakhov [Thu, 25 Nov 2021 11:06:39 +0000 (11:06 +0000)]
[Minor] Pet luacheck temporarily

2 years ago[Feature] Add public suffic compilation utility
Vsevolod Stakhov [Thu, 25 Nov 2021 11:01:21 +0000 (11:01 +0000)]
[Feature] Add public suffic compilation utility

Issue: #3984

2 years ago[Test] Oops, add a missing require
Vsevolod Stakhov [Wed, 24 Nov 2021 20:52:20 +0000 (20:52 +0000)]
[Test] Oops, add a missing require

2 years ago[Test] Add unit test for message to ucl function
Vsevolod Stakhov [Wed, 24 Nov 2021 20:45:27 +0000 (20:45 +0000)]
[Test] Add unit test for message to ucl function

2 years ago[Test] One more fix
Vsevolod Stakhov [Wed, 24 Nov 2021 17:55:04 +0000 (17:55 +0000)]
[Test] One more fix

2 years ago[Test] Add a simple config helper for the unit tests
Vsevolod Stakhov [Wed, 24 Nov 2021 09:45:52 +0000 (09:45 +0000)]
[Test] Add a simple config helper for the unit tests

2 years ago[Minor] Slightly rework the table filling
Vsevolod Stakhov [Wed, 24 Nov 2021 09:35:56 +0000 (09:35 +0000)]
[Minor] Slightly rework the table filling

2 years agoMerge pull request #3991 from bradleydoherty59/structured_message_envelope_info
Vsevolod Stakhov [Tue, 23 Nov 2021 23:50:59 +0000 (23:50 +0000)]
Merge pull request #3991 from bradleydoherty59/structured_message_envelope_info

[Minor] Store Envelope (SMTP) information on structured task.

2 years ago[Minor] Remove redundent MIME from/recipients. Add from_ip. 3991/head
bradleydoherty59 [Tue, 23 Nov 2021 22:34:59 +0000 (16:34 -0600)]
[Minor] Remove redundent MIME from/recipients. Add from_ip.

2 years ago[Minor] Store Envelope (SMTP) information on structured task as task.envelope.
bradleydoherty59 [Tue, 23 Nov 2021 22:22:19 +0000 (16:22 -0600)]
[Minor] Store Envelope (SMTP) information on structured task as task.envelope.

2 years ago[Minor] Reduce log noise for `exists` macro in SPF
Vsevolod Stakhov [Tue, 23 Nov 2021 12:23:02 +0000 (12:23 +0000)]
[Minor] Reduce log noise for `exists` macro in SPF

2 years agoMerge pull request #3988 from cpragadeesh/test_fix
Vsevolod Stakhov [Tue, 23 Nov 2021 07:02:37 +0000 (07:02 +0000)]
Merge pull request #3988 from cpragadeesh/test_fix

[Test] Fix neural plugin tests

2 years ago[Test] Fix neural plugin tests 3988/head
Pragadeesh Chandiran [Mon, 22 Nov 2021 23:19:12 +0000 (18:19 -0500)]
[Test] Fix neural plugin tests

2 years ago[Minor] Increase log severity of some of the SPF errors
Vsevolod Stakhov [Mon, 22 Nov 2021 21:17:00 +0000 (21:17 +0000)]
[Minor] Increase log severity of some of the SPF errors

2 years ago[Minor] Write SPF digest even if it is not cached
Vsevolod Stakhov [Mon, 22 Nov 2021 16:56:28 +0000 (16:56 +0000)]
[Minor] Write SPF digest even if it is not cached

2 years ago[Minor] Fix data flow
Vsevolod Stakhov [Mon, 22 Nov 2021 11:01:49 +0000 (11:01 +0000)]
[Minor] Fix data flow

2 years ago[Minor] Fix test stage
Vsevolod Stakhov [Sun, 21 Nov 2021 16:45:49 +0000 (16:45 +0000)]
[Minor] Fix test stage

2 years ago[Minor] Mx check: Add wait_for_greeting option
Vsevolod Stakhov [Sun, 21 Nov 2021 16:36:26 +0000 (16:36 +0000)]
[Minor] Mx check: Add wait_for_greeting option

Issue: #3966

2 years ago[Minor] Mx check: Emit quit command
Vsevolod Stakhov [Sun, 21 Nov 2021 16:33:41 +0000 (16:33 +0000)]
[Minor] Mx check: Emit quit command

Issue: #3966

2 years ago[Minor] Remove unused option
Vsevolod Stakhov [Sun, 21 Nov 2021 16:19:10 +0000 (16:19 +0000)]
[Minor] Remove unused option

2 years ago[Minor] Remove obsolete WITH_HIREDIS define
Vsevolod Stakhov [Sat, 20 Nov 2021 22:18:45 +0000 (22:18 +0000)]
[Minor] Remove obsolete WITH_HIREDIS define

2 years ago[Fix] Rbl: Fix inversed logic of the url_full_hostname
Vsevolod Stakhov [Fri, 19 Nov 2021 20:30:06 +0000 (20:30 +0000)]
[Fix] Rbl: Fix inversed logic of the url_full_hostname

2 years ago[Minor] Treat empty `from` protocol header as canonical `<>`
Vsevolod Stakhov [Fri, 19 Nov 2021 14:46:11 +0000 (14:46 +0000)]
[Minor] Treat empty `from` protocol header as canonical `<>`

Issue: #3983

2 years ago[Minor] Add safe-guard for the root tag
Vsevolod Stakhov [Fri, 19 Nov 2021 10:49:54 +0000 (10:49 +0000)]
[Minor] Add safe-guard for the root tag

2 years ago[Fix] Fix logic in HTML processing FSM
Vsevolod Stakhov [Fri, 19 Nov 2021 10:35:16 +0000 (10:35 +0000)]
[Fix] Fix logic in HTML processing FSM

2 years ago[Minor] Fix triggering of the suspicious url rule on percent encoding
Vsevolod Stakhov [Fri, 19 Nov 2021 09:53:49 +0000 (09:53 +0000)]
[Minor] Fix triggering of the suspicious url rule on percent encoding

2 years ago[Fix] Do not double call error handler on ssl errors in the timeout path
Vsevolod Stakhov [Thu, 18 Nov 2021 15:45:09 +0000 (15:45 +0000)]
[Fix] Do not double call error handler on ssl errors in the timeout path

2 years ago[Minor] Fix for old compilers
Vsevolod Stakhov [Thu, 18 Nov 2021 12:32:05 +0000 (12:32 +0000)]
[Minor] Fix for old compilers

2 years ago[Minor] Per luacheck when I'm here
Vsevolod Stakhov [Thu, 18 Nov 2021 11:48:45 +0000 (11:48 +0000)]
[Minor] Per luacheck when I'm here

2 years ago[Fix] Improve duplicate settings error reporting
Vsevolod Stakhov [Thu, 18 Nov 2021 11:47:27 +0000 (11:47 +0000)]
[Fix] Improve duplicate settings error reporting

Issue: #3957

2 years ago[Fix] Fix parsing of the compound mailto urls
Vsevolod Stakhov [Wed, 17 Nov 2021 21:54:30 +0000 (21:54 +0000)]
[Fix] Fix parsing of the compound mailto urls

2 years ago[Fix] Find suspicious url encodings that could break url extraction
Vsevolod Stakhov [Wed, 17 Nov 2021 21:48:00 +0000 (21:48 +0000)]
[Fix] Find suspicious url encodings that could break url extraction

2 years agoMerge pull request #3982 from fatalbanana/query_maps_json
Vsevolod Stakhov [Wed, 17 Nov 2021 14:36:37 +0000 (14:36 +0000)]
Merge pull request #3982 from fatalbanana/query_maps_json

[Feature] JSON endpoint for querying maps

2 years agoMerge pull request #3981 from moisseev/ip-width
Vsevolod Stakhov [Wed, 17 Nov 2021 14:35:29 +0000 (14:35 +0000)]
Merge pull request #3981 from moisseev/ip-width

[Minor] Set IP column min-width relative to font-size

2 years ago[Feature] JSON endpoint for querying maps 3982/head
Andrew Lewis [Wed, 17 Nov 2021 13:57:01 +0000 (15:57 +0200)]
[Feature] JSON endpoint for querying maps

2 years ago[Minor] Set IP column min-width relative to font-size 3981/head
moisseev [Wed, 17 Nov 2021 12:45:22 +0000 (15:45 +0300)]
[Minor] Set IP column min-width relative to font-size

2 years ago[Minor] Rbl: Add url_full_hostname option
Vsevolod Stakhov [Tue, 16 Nov 2021 17:14:53 +0000 (17:14 +0000)]
[Minor] Rbl: Add url_full_hostname option

2 years ago[Minor] Change error to the notice
Vsevolod Stakhov [Tue, 16 Nov 2021 10:08:06 +0000 (10:08 +0000)]
[Minor] Change error to the notice

With this change, Rspamd will no longer emit error codes on learn condition skipping.

Issue: #3956

2 years agoMerge pull request #3980 from cpragadeesh/roc_implementation
Vsevolod Stakhov [Mon, 15 Nov 2021 19:05:48 +0000 (19:05 +0000)]
Merge pull request #3980 from cpragadeesh/roc_implementation

[Feature] Add ROC based threshold estimation for neural network plugin

2 years ago[Minor] Update bundled fmt to 8.0.1
Vsevolod Stakhov [Mon, 15 Nov 2021 08:44:22 +0000 (08:44 +0000)]
[Minor] Update bundled fmt to 8.0.1

2 years ago[Feature] Add ROC feature to neural network plugin 3980/head
Pragadeesh Chandiran [Mon, 8 Nov 2021 05:13:04 +0000 (00:13 -0500)]
[Feature] Add ROC feature to neural network plugin

2 years agoRevert "[Minor] Disable eslint in CI"
Vsevolod Stakhov [Sun, 14 Nov 2021 21:10:03 +0000 (21:10 +0000)]
Revert "[Minor] Disable eslint in CI"

This reverts commit d970e1e7b4271dc6c852ea65a4aabd214ef9ea63.

2 years agoMerge pull request #3979 from moisseev/stylelint
Vsevolod Stakhov [Sun, 14 Nov 2021 21:10:16 +0000 (21:10 +0000)]
Merge pull request #3979 from moisseev/stylelint

[Test] Fix Stylelint

2 years ago[Test] Pet Stylelint 3979/head
moisseev [Sun, 14 Nov 2021 18:18:58 +0000 (21:18 +0300)]
[Test] Pet Stylelint

2 years ago[Test] Add PostCSS syntaxes for embedded styles
moisseev [Sun, 14 Nov 2021 17:39:52 +0000 (20:39 +0300)]
[Test] Add PostCSS syntaxes for embedded styles

(required since Stylelint 14.0.0)

2 years agoMerge pull request #3978 from yasuhirokimura/enable_pcre2_by_default
Vsevolod Stakhov [Sun, 14 Nov 2021 12:05:18 +0000 (12:05 +0000)]
Merge pull request #3978 from yasuhirokimura/enable_pcre2_by_default

Enable PCRE2 by default.

2 years agoEnable PCRE2 by default. 3978/head
Yasuhiro Kimura [Sun, 14 Nov 2021 08:18:09 +0000 (17:18 +0900)]
Enable PCRE2 by default.

There are 2 major versions of the PCRE library, PCRE and PCRE2. Rspamd
supports both and current default is the former. But according to the
web page of PCRE library it has reached its end of life. So change the
default to the latter.

2 years agoMerge pull request #3977 from moisseev/surbl
Vsevolod Stakhov [Fri, 12 Nov 2021 21:20:03 +0000 (21:20 +0000)]
Merge pull request #3977 from moisseev/surbl

[Conf] Set one_shot for URIBL rules by default

2 years ago[Minor] Allow headers addition if configured
Vsevolod Stakhov [Fri, 12 Nov 2021 21:18:49 +0000 (21:18 +0000)]
[Minor] Allow headers addition if configured