]> source.dussan.org Git - rspamd.git/log
rspamd.git
2 years ago[Minor] Sigh, one more fix to the conditions
Vsevolod Stakhov [Sun, 26 Dec 2021 20:09:14 +0000 (20:09 +0000)]
[Minor] Sigh, one more fix to the conditions

2 years ago[Minor] Add namespace
Vsevolod Stakhov [Sun, 26 Dec 2021 19:59:27 +0000 (19:59 +0000)]
[Minor] Add namespace

2 years ago[Minor] Fix another overflow
Vsevolod Stakhov [Sun, 26 Dec 2021 19:56:58 +0000 (19:56 +0000)]
[Minor] Fix another overflow

2 years ago[Minor] Check for NULL pointer
Vsevolod Stakhov [Sat, 25 Dec 2021 20:22:18 +0000 (20:22 +0000)]
[Minor] Check for NULL pointer

2 years ago[Minor] More divisions by zero
Vsevolod Stakhov [Sat, 25 Dec 2021 20:17:08 +0000 (20:17 +0000)]
[Minor] More divisions by zero

2 years ago[Minor] Fix division by zero
Vsevolod Stakhov [Sat, 25 Dec 2021 20:02:54 +0000 (20:02 +0000)]
[Minor] Fix division by zero

2 years agoMerge pull request #4019 from rekup/fix/arc_whitelisted_signers_map
Vsevolod Stakhov [Fri, 24 Dec 2021 10:35:21 +0000 (10:35 +0000)]
Merge pull request #4019 from rekup/fix/arc_whitelisted_signers_map

[Fix] Avoid overwriting whitelisted_signers_map

2 years ago[Fix] Avoid overwriting whitelisted_signers_map 4019/head
Reto Kupferschmid [Thu, 23 Dec 2021 21:53:50 +0000 (22:53 +0100)]
[Fix] Avoid overwriting whitelisted_signers_map

2 years ago[Fix] Try to revert back maps content on errors properly
Vsevolod Stakhov [Wed, 22 Dec 2021 20:47:13 +0000 (20:47 +0000)]
[Fix] Try to revert back maps content on errors properly

2 years ago[Minor] Fix fuzzy hashes exporting
Vsevolod Stakhov [Wed, 22 Dec 2021 20:04:05 +0000 (20:04 +0000)]
[Minor] Fix fuzzy hashes exporting

Suggested by: @dupondje

2 years ago[Minor] Use unhex utility
Vsevolod Stakhov [Tue, 21 Dec 2021 21:18:17 +0000 (21:18 +0000)]
[Minor] Use unhex utility

2 years ago[Minor] Add unhex utility
Vsevolod Stakhov [Tue, 21 Dec 2021 20:21:06 +0000 (20:21 +0000)]
[Minor] Add unhex utility

2 years ago[Minor] Enable redis periodics for the fuzzy worker
Vsevolod Stakhov [Mon, 20 Dec 2021 16:36:55 +0000 (16:36 +0000)]
[Minor] Enable redis periodics for the fuzzy worker

2 years agoMerge pull request #4013 from dupondje/add_pdf_mapping
Vsevolod Stakhov [Sun, 19 Dec 2021 14:27:22 +0000 (14:27 +0000)]
Merge pull request #4013 from dupondje/add_pdf_mapping

Map application/x-pdf to pdf

2 years agoMerge pull request #4010 from dupondje/mailspike_wl
Vsevolod Stakhov [Sun, 19 Dec 2021 14:27:11 +0000 (14:27 +0000)]
Merge pull request #4010 from dupondje/mailspike_wl

Assign weights to Mailspike Whitelists

2 years agoMerge pull request #4015 from moisseev/eslint
Vsevolod Stakhov [Sat, 18 Dec 2021 19:28:05 +0000 (19:28 +0000)]
Merge pull request #4015 from moisseev/eslint

[Test]  Disable prefer-object-has-own ESLint rule

2 years ago[Test] Disable prefer-object-has-own ESLint rule 4015/head
moisseev [Sat, 18 Dec 2021 19:22:24 +0000 (22:22 +0300)]
[Test]  Disable prefer-object-has-own ESLint rule

as Object.hasOwn(…) is not implemented in Pale Moon.

2 years agoMerge pull request #4014 from moisseev/webui
Vsevolod Stakhov [Sat, 18 Dec 2021 19:12:47 +0000 (19:12 +0000)]
Merge pull request #4014 from moisseev/webui

[WebUI] Fix saving credentials in password manager

2 years ago[WebUI] Fix saving credentials in password manager 4014/head
moisseev [Sat, 18 Dec 2021 17:44:39 +0000 (20:44 +0300)]
[WebUI] Fix saving credentials in password manager

for recent browser versions.

2 years ago[Minor] Increase EDNS0 max packet size to couple with some poor TXT records
Vsevolod Stakhov [Fri, 17 Dec 2021 18:08:24 +0000 (18:08 +0000)]
[Minor] Increase EDNS0 max packet size to couple with some poor TXT records

2 years ago[Minor] Clear up on lua errors
Vsevolod Stakhov [Fri, 17 Dec 2021 12:04:00 +0000 (12:04 +0000)]
[Minor] Clear up on lua errors

2 years agoMap application/x-pdf to pdf 4013/head
Jean-Louis Dupond [Fri, 17 Dec 2021 09:18:35 +0000 (10:18 +0100)]
Map application/x-pdf to pdf

Some mails were marked as
MIME_BAD_ATTACHMENT (4) [pdf:application/x-pdf]

application/x-pdf might be obsolete but still used.

2 years agoAssign weights to Mailspike Whitelists 4010/head
Jean-Louis Dupond [Thu, 16 Dec 2021 15:18:42 +0000 (16:18 +0100)]
Assign weights to Mailspike Whitelists

Assign a weight to the MAILSPIKE whitelist RBL symbols.
Use the same but negative weight as its blacklist counterparts.

Also fix some indents in the file

2 years ago[Minor] Really set a sane font size
Vsevolod Stakhov [Thu, 16 Dec 2021 15:50:52 +0000 (15:50 +0000)]
[Minor] Really set a sane font size

2 years ago[Minor] Add type safety and fix default font size
Vsevolod Stakhov [Thu, 16 Dec 2021 15:37:26 +0000 (15:37 +0000)]
[Minor] Add type safety and fix default font size

2 years ago[Minor] Antivirus: Improve parts selection
Vsevolod Stakhov [Wed, 15 Dec 2021 15:20:19 +0000 (15:20 +0000)]
[Minor] Antivirus: Improve parts selection

2 years ago[Fix] Fix processing captures from pcre2
Vsevolod Stakhov [Tue, 14 Dec 2021 17:42:35 +0000 (17:42 +0000)]
[Fix] Fix processing captures from pcre2

2 years ago[Minor] Dmarc: Fold header using specific newline type
Vsevolod Stakhov [Tue, 14 Dec 2021 16:41:14 +0000 (16:41 +0000)]
[Minor] Dmarc: Fold header using specific newline type

2 years ago[Minor] Bimi: Fold huge bimi header
Vsevolod Stakhov [Tue, 14 Dec 2021 16:41:01 +0000 (16:41 +0000)]
[Minor] Bimi: Fold huge bimi header

2 years ago[Minor] More fixes for headers folding
Vsevolod Stakhov [Tue, 14 Dec 2021 16:40:01 +0000 (16:40 +0000)]
[Minor] More fixes for headers folding

2 years ago[Minor] Update invocation
Vsevolod Stakhov [Tue, 14 Dec 2021 16:25:19 +0000 (16:25 +0000)]
[Minor] Update invocation

2 years ago[Minor] Allow lua_text in addition to strings
Vsevolod Stakhov [Tue, 14 Dec 2021 16:16:56 +0000 (16:16 +0000)]
[Minor] Allow lua_text in addition to strings

2 years ago[Minor] Don't use zero terminated strings
Vsevolod Stakhov [Tue, 14 Dec 2021 16:16:34 +0000 (16:16 +0000)]
[Minor] Don't use zero terminated strings

2 years ago[Minor] Bimi: Fold header
Vsevolod Stakhov [Tue, 14 Dec 2021 15:54:36 +0000 (15:54 +0000)]
[Minor] Bimi: Fold header

2 years ago[Minor] Bimi: Fix Redis storage
Vsevolod Stakhov [Mon, 13 Dec 2021 14:25:43 +0000 (14:25 +0000)]
[Minor] Bimi: Fix Redis storage

2 years ago[Minor] Spamtrap: Allow to use multiple recipients
Vsevolod Stakhov [Sun, 12 Dec 2021 23:42:18 +0000 (23:42 +0000)]
[Minor] Spamtrap: Allow to use multiple recipients

2 years ago[Minor] Use unified method to obtain http host
Vsevolod Stakhov [Sat, 11 Dec 2021 12:30:09 +0000 (12:30 +0000)]
[Minor] Use unified method to obtain http host

2 years agoMerge pull request #4003 from msuslu/master
Vsevolod Stakhov [Fri, 10 Dec 2021 16:22:17 +0000 (16:22 +0000)]
Merge pull request #4003 from msuslu/master

Fix Typo at Settings Key

2 years agoMerge pull request #1 from msuslu/msuslu-patch-1 4003/head
Mehmet Suslu [Fri, 10 Dec 2021 15:41:04 +0000 (18:41 +0300)]
Merge pull request #1 from msuslu/msuslu-patch-1

Update clickhouse.lua

2 years agoUpdate clickhouse.lua
Mehmet Suslu [Fri, 10 Dec 2021 15:39:39 +0000 (18:39 +0300)]
Update clickhouse.lua

fix typo collect_garbadge -> collect_garbage

2 years ago[Feature] Allow to skip DNS resolution for keep-alive connections
Vsevolod Stakhov [Thu, 9 Dec 2021 14:02:18 +0000 (14:02 +0000)]
[Feature] Allow to skip DNS resolution for keep-alive connections

2 years ago[Minor] Fix ssl connection reuse
Vsevolod Stakhov [Thu, 9 Dec 2021 11:58:55 +0000 (11:58 +0000)]
[Minor] Fix ssl connection reuse

2 years ago[Test] Fix mime dump test
Vsevolod Stakhov [Thu, 9 Dec 2021 11:09:06 +0000 (11:09 +0000)]
[Test] Fix mime dump test

2 years ago[Test] Fix string formatting
Vsevolod Stakhov [Thu, 9 Dec 2021 11:08:54 +0000 (11:08 +0000)]
[Test] Fix string formatting

2 years ago[Minor] Fix schema and add size in all cases
Vsevolod Stakhov [Thu, 9 Dec 2021 11:02:32 +0000 (11:02 +0000)]
[Minor] Fix schema and add size in all cases

2 years ago[Fix] Output service parts as well
Vsevolod Stakhov [Thu, 9 Dec 2021 11:00:14 +0000 (11:00 +0000)]
[Fix] Output service parts as well

2 years ago[Minor] Aws_s3: Fix some issues found
Vsevolod Stakhov [Wed, 8 Dec 2021 15:20:44 +0000 (15:20 +0000)]
[Minor] Aws_s3: Fix some issues found

2 years ago[Feature] Aws_s3: Allow to store large parts separately
Vsevolod Stakhov [Wed, 8 Dec 2021 14:57:57 +0000 (14:57 +0000)]
[Feature] Aws_s3: Allow to store large parts separately

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