]>
source.dussan.org Git - rspamd.git/log
Vsevolod Stakhov [Sat, 15 Jan 2022 12:24:25 +0000 (12:24 +0000)]
[Minor] Deal with unknown weight more carefully to avoid special meaning of 0
The special unknown weight must be NAN not 0.0
Vsevolod Stakhov [Thu, 13 Jan 2022 20:54:39 +0000 (20:54 +0000)]
[Minor] Improve logging
Vsevolod Stakhov [Thu, 13 Jan 2022 20:45:14 +0000 (20:45 +0000)]
[Conf] Score MIME_OBFUSCATED_ARCHIVE to 8 points
Vsevolod Stakhov [Thu, 13 Jan 2022 20:44:57 +0000 (20:44 +0000)]
[Minor] Mime_types: Insert MIME_OBFUSCATED_ARCHIVE symbol
Vsevolod Stakhov [Thu, 13 Jan 2022 20:44:37 +0000 (20:44 +0000)]
[Minor] Add knobs to check if an archive was obfuscated
Vsevolod Stakhov [Wed, 12 Jan 2022 21:04:17 +0000 (21:04 +0000)]
[Minor] Check archive file names for 'strange' stuff
Vsevolod Stakhov [Tue, 11 Jan 2022 21:21:43 +0000 (21:21 +0000)]
[Minor] Damn C++ implicit conversions
Vsevolod Stakhov [Tue, 11 Jan 2022 20:59:25 +0000 (20:59 +0000)]
[Minor] Oops, fix foldl call
Vsevolod Stakhov [Tue, 11 Jan 2022 20:25:52 +0000 (20:25 +0000)]
[Minor] Fix some issues in URI_COUNT_ODD rule
Issue: #4037
Vsevolod Stakhov [Tue, 11 Jan 2022 20:25:27 +0000 (20:25 +0000)]
[Minor] Set special flag for non A generated html urls
Vsevolod Stakhov [Tue, 11 Jan 2022 20:25:12 +0000 (20:25 +0000)]
[Minor] Add `special` flag for URLs
Vsevolod Stakhov [Tue, 11 Jan 2022 20:24:51 +0000 (20:24 +0000)]
[Fix] Fix exclude flags setting
Vsevolod Stakhov [Mon, 10 Jan 2022 19:57:31 +0000 (19:57 +0000)]
[Minor] Arc: Do not fail if no AAR header is presented
Vsevolod Stakhov [Sun, 9 Jan 2022 18:00:32 +0000 (18:00 +0000)]
[Minor] Arc: Add logic to adjust rejected dmarc policy by ARC trusted forwarding
Vsevolod Stakhov [Sun, 9 Jan 2022 17:13:46 +0000 (17:13 +0000)]
[Minor] Arc: Use ARC_CHECK as the callback symbol's name
Vsevolod Stakhov [Sun, 9 Jan 2022 12:59:18 +0000 (12:59 +0000)]
[Minor] Arc: Check AAR on trusted forwarding check
Vsevolod Stakhov [Sat, 8 Jan 2022 20:44:45 +0000 (20:44 +0000)]
[Minor] Fix iteration
Vsevolod Stakhov [Sat, 8 Jan 2022 14:43:34 +0000 (14:43 +0000)]
[Minor] Arc: Process AAR headers
Vsevolod Stakhov [Sat, 8 Jan 2022 14:34:58 +0000 (14:34 +0000)]
[Minor] Add authentication results parser function
Vsevolod Stakhov [Sat, 8 Jan 2022 12:09:01 +0000 (12:09 +0000)]
[Minor] Arc: Rename bogus variable
Vsevolod Stakhov [Fri, 7 Jan 2022 14:16:24 +0000 (14:16 +0000)]
[Minor] Close socket on connect error
Vsevolod Stakhov [Fri, 7 Jan 2022 14:12:05 +0000 (14:12 +0000)]
[Fix] Add guards to avoid race condition on TCP connection
Vsevolod Stakhov [Thu, 6 Jan 2022 15:12:50 +0000 (15:12 +0000)]
[Rework] Timeouts are now global per event and not reseted by IO activity
This actually reproduces old libevent behaviour and it was changed by a big design mistake.
We really want IO timeouts to be fired for the whole set of subsequent events, otherwise it should be
designed in a more configurable way...
Vsevolod Stakhov [Thu, 6 Jan 2022 15:03:23 +0000 (15:03 +0000)]
[Minor] Fix parsing of the very long TXT records
Vsevolod Stakhov [Thu, 6 Jan 2022 14:47:10 +0000 (14:47 +0000)]
[Fix] Fix expanding of the variables
Vsevolod Stakhov [Thu, 6 Jan 2022 14:05:35 +0000 (14:05 +0000)]
[Fix] Backport PR from libucl
https://github.com/vstakhov/libucl/pull/260
Vsevolod Stakhov [Wed, 5 Jan 2022 21:36:58 +0000 (21:36 +0000)]
[Fix] Fix HTTP(s) client timeout
Vsevolod Stakhov [Wed, 5 Jan 2022 20:08:26 +0000 (20:08 +0000)]
[Minor] Rdns: Fix hash delisting
Vsevolod Stakhov [Wed, 5 Jan 2022 17:02:39 +0000 (17:02 +0000)]
[Minor] Fix format string
Vsevolod Stakhov [Wed, 5 Jan 2022 13:51:30 +0000 (13:51 +0000)]
[Minor] Use memcpy instead of unaligned access
Vsevolod Stakhov [Wed, 5 Jan 2022 13:51:17 +0000 (13:51 +0000)]
[Minor] Init xxhash3 state properly
Vsevolod Stakhov [Wed, 5 Jan 2022 11:21:59 +0000 (11:21 +0000)]
Merge pull request #4033 from rspamd/rdns-tcp-rework
Rdns tcp rework
Vsevolod Stakhov [Wed, 5 Jan 2022 11:05:57 +0000 (11:05 +0000)]
[Project] Rdns: Fix various ownership issues
Vsevolod Stakhov [Wed, 5 Jan 2022 10:00:50 +0000 (10:00 +0000)]
[Project] Rdns: Restore the previous EDNS0 size
Vsevolod Stakhov [Wed, 5 Jan 2022 10:00:17 +0000 (10:00 +0000)]
[Project] Rdns: Add timeout logic for TCP requests
Vsevolod Stakhov [Wed, 5 Jan 2022 09:56:25 +0000 (09:56 +0000)]
[Project] Rdns: More fixes in TCP handling
Vsevolod Stakhov [Wed, 5 Jan 2022 08:59:43 +0000 (08:59 +0000)]
[Project] Rdns: Unregister TCP requests
Vsevolod Stakhov [Tue, 4 Jan 2022 21:46:40 +0000 (21:46 +0000)]
[Project] Rdns: Send truncated replies via TCP
Vsevolod Stakhov [Mon, 3 Jan 2022 21:59:16 +0000 (21:59 +0000)]
Merge pull request #4031 from dupondje/add_soft_reject
[Minor] Add no soft reject selector for metadata exporter
Vsevolod Stakhov [Mon, 3 Jan 2022 20:55:54 +0000 (20:55 +0000)]
[Project] Rdns: Fix TCP stuff cleanup
Vsevolod Stakhov [Mon, 3 Jan 2022 17:13:37 +0000 (17:13 +0000)]
[Project] Rdns: Add preliminary reading logic for TCP channels
Jean-Louis Dupond [Mon, 3 Jan 2022 12:42:49 +0000 (13:42 +0100)]
[Minor] Add no soft reject selector for metadata exporter
I think its quite common to not export soft rejects via the metadata
exporter. Because when its not spam, the sender will most likely try to
redeliver it again anyway.
Vsevolod Stakhov [Mon, 3 Jan 2022 11:31:30 +0000 (11:31 +0000)]
[Project] Rdns: Implement TCP writing logic
Vsevolod Stakhov [Mon, 3 Jan 2022 00:27:13 +0000 (00:27 +0000)]
[Project] Rdns: Fix TCP connection mess
Vsevolod Stakhov [Sun, 2 Jan 2022 23:53:55 +0000 (23:53 +0000)]
[Project] Rdns: Add reaper for inactive TCP connections
Vsevolod Stakhov [Sun, 2 Jan 2022 23:04:16 +0000 (23:04 +0000)]
Merge pull request #4030 from moisseev/webui
[WebUI] Add scan options
Vsevolod Stakhov [Sun, 2 Jan 2022 21:29:28 +0000 (21:29 +0000)]
[Project] Rdns: Add more functions for TCP based requests
Vsevolod Stakhov [Sun, 2 Jan 2022 20:49:45 +0000 (20:49 +0000)]
[Fix] Fix removing from khash
Vsevolod Stakhov [Sun, 2 Jan 2022 10:34:05 +0000 (10:34 +0000)]
[Project] Rdns: Do not treat TCP channels failure as fatal
moisseev [Sun, 2 Jan 2022 08:05:58 +0000 (11:05 +0300)]
[WebUI] Add scan options
which allow to set HTTP headers for scan request
Vsevolod Stakhov [Sat, 1 Jan 2022 22:49:48 +0000 (22:49 +0000)]
[Project] Further DNS over TCP architecturing
Vsevolod Stakhov [Sat, 1 Jan 2022 17:49:27 +0000 (17:49 +0000)]
[Project] Rdns: Initial support of TCP IO channels
Vsevolod Stakhov [Sat, 1 Jan 2022 17:05:59 +0000 (17:05 +0000)]
[Rework] Rdns: Use faster and more compact hash table for DNS requests
Vsevolod Stakhov [Sat, 1 Jan 2022 16:43:37 +0000 (16:43 +0000)]
[Minor] Rdns: Use flags for IO channels
Vsevolod Stakhov [Thu, 30 Dec 2021 21:09:15 +0000 (21:09 +0000)]
[Minor] Dkim_keygen: Use 0640 instead of 0600
Suggested by: @moisseev
Issue: #4023
Vsevolod Stakhov [Wed, 29 Dec 2021 21:32:07 +0000 (21:32 +0000)]
[Minor] Set 0600 mode on privkey files by default
Issue: #4023
Vsevolod Stakhov [Tue, 28 Dec 2021 20:15:50 +0000 (20:15 +0000)]
[Minor] Slightly improve session events logging
Vsevolod Stakhov [Mon, 27 Dec 2021 21:05:35 +0000 (21:05 +0000)]
[Minor] Refactor argument/member name for better soundness
Vsevolod Stakhov [Mon, 27 Dec 2021 18:45:43 +0000 (18:45 +0000)]
[Minor] Log events on forced timeout
Vsevolod Stakhov [Sun, 26 Dec 2021 20:09:14 +0000 (20:09 +0000)]
[Minor] Sigh, one more fix to the conditions
Vsevolod Stakhov [Sun, 26 Dec 2021 19:59:27 +0000 (19:59 +0000)]
[Minor] Add namespace
Vsevolod Stakhov [Sun, 26 Dec 2021 19:56:58 +0000 (19:56 +0000)]
[Minor] Fix another overflow
Vsevolod Stakhov [Sat, 25 Dec 2021 20:22:18 +0000 (20:22 +0000)]
[Minor] Check for NULL pointer
Vsevolod Stakhov [Sat, 25 Dec 2021 20:17:08 +0000 (20:17 +0000)]
[Minor] More divisions by zero
Vsevolod Stakhov [Sat, 25 Dec 2021 20:02:54 +0000 (20:02 +0000)]
[Minor] Fix division by zero
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
Reto Kupferschmid [Thu, 23 Dec 2021 21:53:50 +0000 (22:53 +0100)]
[Fix] Avoid overwriting whitelisted_signers_map
Vsevolod Stakhov [Wed, 22 Dec 2021 20:47:13 +0000 (20:47 +0000)]
[Fix] Try to revert back maps content on errors properly
Vsevolod Stakhov [Wed, 22 Dec 2021 20:04:05 +0000 (20:04 +0000)]
[Minor] Fix fuzzy hashes exporting
Suggested by: @dupondje
Vsevolod Stakhov [Tue, 21 Dec 2021 21:18:17 +0000 (21:18 +0000)]
[Minor] Use unhex utility
Vsevolod Stakhov [Tue, 21 Dec 2021 20:21:06 +0000 (20:21 +0000)]
[Minor] Add unhex utility
Vsevolod Stakhov [Mon, 20 Dec 2021 16:36:55 +0000 (16:36 +0000)]
[Minor] Enable redis periodics for the fuzzy worker
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
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
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
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.
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
moisseev [Sat, 18 Dec 2021 17:44:39 +0000 (20:44 +0300)]
[WebUI] Fix saving credentials in password manager
for recent browser versions.
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
Vsevolod Stakhov [Fri, 17 Dec 2021 12:04:00 +0000 (12:04 +0000)]
[Minor] Clear up on lua errors
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.
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
Vsevolod Stakhov [Thu, 16 Dec 2021 15:50:52 +0000 (15:50 +0000)]
[Minor] Really set a sane font size
Vsevolod Stakhov [Thu, 16 Dec 2021 15:37:26 +0000 (15:37 +0000)]
[Minor] Add type safety and fix default font size
Vsevolod Stakhov [Wed, 15 Dec 2021 15:20:19 +0000 (15:20 +0000)]
[Minor] Antivirus: Improve parts selection
Vsevolod Stakhov [Tue, 14 Dec 2021 17:42:35 +0000 (17:42 +0000)]
[Fix] Fix processing captures from pcre2
Vsevolod Stakhov [Tue, 14 Dec 2021 16:41:14 +0000 (16:41 +0000)]
[Minor] Dmarc: Fold header using specific newline type
Vsevolod Stakhov [Tue, 14 Dec 2021 16:41:01 +0000 (16:41 +0000)]
[Minor] Bimi: Fold huge bimi header
Vsevolod Stakhov [Tue, 14 Dec 2021 16:40:01 +0000 (16:40 +0000)]
[Minor] More fixes for headers folding
Vsevolod Stakhov [Tue, 14 Dec 2021 16:25:19 +0000 (16:25 +0000)]
[Minor] Update invocation
Vsevolod Stakhov [Tue, 14 Dec 2021 16:16:56 +0000 (16:16 +0000)]
[Minor] Allow lua_text in addition to strings
Vsevolod Stakhov [Tue, 14 Dec 2021 16:16:34 +0000 (16:16 +0000)]
[Minor] Don't use zero terminated strings
Vsevolod Stakhov [Tue, 14 Dec 2021 15:54:36 +0000 (15:54 +0000)]
[Minor] Bimi: Fold header
Vsevolod Stakhov [Mon, 13 Dec 2021 14:25:43 +0000 (14:25 +0000)]
[Minor] Bimi: Fix Redis storage
Vsevolod Stakhov [Sun, 12 Dec 2021 23:42:18 +0000 (23:42 +0000)]
[Minor] Spamtrap: Allow to use multiple recipients
Vsevolod Stakhov [Sat, 11 Dec 2021 12:30:09 +0000 (12:30 +0000)]
[Minor] Use unified method to obtain http host
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
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
Mehmet Suslu [Fri, 10 Dec 2021 15:39:39 +0000 (18:39 +0300)]
Update clickhouse.lua
fix typo collect_garbadge -> collect_garbage
Vsevolod Stakhov [Thu, 9 Dec 2021 14:02:18 +0000 (14:02 +0000)]
[Feature] Allow to skip DNS resolution for keep-alive connections