]>
source.dussan.org Git - rspamd.git/log
Vsevolod Stakhov [Mon, 28 Dec 2020 14:23:21 +0000 (14:23 +0000)]
Merge pull request #3586 from J0WI/patch-2
[Feature] Docker: use Debian slim variant
Vsevolod Stakhov [Sun, 27 Dec 2020 21:02:39 +0000 (21:02 +0000)]
[Minor] Allow to load config with no controller defined
Vsevolod Stakhov [Sun, 27 Dec 2020 19:33:55 +0000 (19:33 +0000)]
Merge pull request #3585 from J0WI/patch-1
[Minor] Docker: use apt-transport-https
Vsevolod Stakhov [Sat, 26 Dec 2020 23:27:49 +0000 (23:27 +0000)]
[Rework] Distinguish between strict config test mode
J0WI [Fri, 25 Dec 2020 15:38:59 +0000 (15:38 +0000)]
[Feature] Docker: use Debian slim variant
J0WI [Fri, 25 Dec 2020 15:31:32 +0000 (15:31 +0000)]
[Minor] Docker: use apt-transport-https
Vsevolod Stakhov [Fri, 25 Dec 2020 14:01:41 +0000 (14:01 +0000)]
[Minor] Optimize the common case + fix signed char
Vsevolod Stakhov [Fri, 25 Dec 2020 13:47:47 +0000 (13:47 +0000)]
[Minor] Escape log lines in logger
Vsevolod Stakhov [Thu, 24 Dec 2020 14:02:28 +0000 (14:02 +0000)]
Merge pull request #3583 from rpv-tomsk/master
Fix some typos in code comments
Vsevolod Stakhov [Wed, 23 Dec 2020 18:27:08 +0000 (18:27 +0000)]
[Minor] Add fallback
Vsevolod Stakhov [Wed, 23 Dec 2020 18:24:40 +0000 (18:24 +0000)]
[Feature] Improve charset detection logic
Vsevolod Stakhov [Wed, 23 Dec 2020 18:24:18 +0000 (18:24 +0000)]
[Fix] Return MimeCharset as we work with emails...
Vsevolod Stakhov [Wed, 23 Dec 2020 17:48:34 +0000 (17:48 +0000)]
[Minor] Skip double utf8 checks
Vsevolod Stakhov [Wed, 23 Dec 2020 15:28:32 +0000 (15:28 +0000)]
[Minor] Fix lifetime
This is a reason why I hate C
Pavel Rochnyack [Wed, 23 Dec 2020 03:45:33 +0000 (10:45 +0700)]
Fix typos in code comments
Vsevolod Stakhov [Tue, 22 Dec 2020 21:05:11 +0000 (21:05 +0000)]
[Minor] Fix spf record dump
Vsevolod Stakhov [Tue, 22 Dec 2020 17:23:59 +0000 (17:23 +0000)]
[Minor] Add a path test
Vsevolod Stakhov [Tue, 22 Dec 2020 17:23:11 +0000 (17:23 +0000)]
[CritFix] Fix controller paths normalisation
It fixes errors like 'rspamd_controller_handle_lua_plugin: plugin handler
/plugins/selectors/list_extractorstors has not been found'
Vsevolod Stakhov [Tue, 22 Dec 2020 16:02:36 +0000 (16:02 +0000)]
[Minor] Fix missing comma
Vsevolod Stakhov [Tue, 22 Dec 2020 15:52:20 +0000 (15:52 +0000)]
Merge pull request #3582 from citrin/x-mailer-rules
[Rules] X-Mailer rules update
Vsevolod Stakhov [Tue, 22 Dec 2020 15:50:47 +0000 (15:50 +0000)]
[Minor] Lua_task: Simplify has_header method
Vsevolod Stakhov [Tue, 22 Dec 2020 15:47:49 +0000 (15:47 +0000)]
Merge pull request #3581 from citrin/has-header
[Minor] Use task:has_header instead of task:get_header
Vsevolod Stakhov [Tue, 22 Dec 2020 15:46:27 +0000 (15:46 +0000)]
[Minor] Use less strict rules for pkcs7 detection
Issue: #3568
Anton Yuzhaninov [Tue, 22 Dec 2020 13:40:40 +0000 (13:40 +0000)]
[Minor] Add rule for forged X-Mailer: Internet Mail Service
Anton Yuzhaninov [Tue, 22 Dec 2020 13:23:48 +0000 (13:23 +0000)]
[Minor] Add {header} for header regexps
Anton Yuzhaninov [Tue, 22 Dec 2020 13:05:58 +0000 (13:05 +0000)]
[Minor] Use task:has_header instead of task:get_header
Use task:has_header() to check if header is exists.
Vsevolod Stakhov [Tue, 22 Dec 2020 10:33:34 +0000 (10:33 +0000)]
Merge pull request #3579 from fatalbanana/rbl_logging
[Minor] rbl: move logging to debug level
Vsevolod Stakhov [Tue, 22 Dec 2020 10:33:15 +0000 (10:33 +0000)]
Merge pull request #3580 from citrin/x-mailer-rules
[Rules] X-Mailer header rules
Anton Yuzhaninov [Mon, 21 Dec 2020 20:05:45 +0000 (20:05 +0000)]
[Minor] Remove R_SAJDING and SUSPICIOUS_OPERA_10W_MSGID
These rules are no longer relevant.
Anton Yuzhaninov [Mon, 21 Dec 2020 18:40:41 +0000 (18:40 +0000)]
[Minor] Add FORGED_X_MAILER rule for X-Mailer used by spamboots
Vsevolod Stakhov [Mon, 21 Dec 2020 17:16:50 +0000 (17:16 +0000)]
[Feature] Support SMIME signed messages container
Issue: #3568
Vsevolod Stakhov [Mon, 21 Dec 2020 16:17:42 +0000 (16:17 +0000)]
[Minor] Add pkcs7 content type flag
Vsevolod Stakhov [Mon, 21 Dec 2020 16:16:16 +0000 (16:16 +0000)]
[Fix] Fix flag shift
Andrew Lewis [Mon, 21 Dec 2020 07:07:53 +0000 (09:07 +0200)]
[Minor] rbl: move logging to debug level
Vsevolod Stakhov [Sun, 20 Dec 2020 21:18:01 +0000 (21:18 +0000)]
Update README.md
Vsevolod Stakhov [Sat, 19 Dec 2020 21:03:57 +0000 (21:03 +0000)]
Merge pull request #3577 from fatalbanana/http_headers_plugin
[Minor] Move http_headers to plugin
Vsevolod Stakhov [Fri, 18 Dec 2020 16:12:30 +0000 (16:12 +0000)]
[Feature] Vadesecure: Implement settings_outbound feature as recommended by Vade
Vsevolod Stakhov [Fri, 18 Dec 2020 16:06:53 +0000 (16:06 +0000)]
[Feature] Neural: Move PCA learning to a subprocess
Vsevolod Stakhov [Fri, 18 Dec 2020 16:06:34 +0000 (16:06 +0000)]
[Minor] Support both text and string on return value
Vsevolod Stakhov [Fri, 18 Dec 2020 16:06:21 +0000 (16:06 +0000)]
[Minor] Improve debug
Vsevolod Stakhov [Fri, 18 Dec 2020 16:05:45 +0000 (16:05 +0000)]
[Fix] Fix pushing ucl strings with \0 inside
Vsevolod Stakhov [Fri, 18 Dec 2020 14:44:46 +0000 (14:44 +0000)]
[Minor] Relax `parse_text` input arguments to allow both string and text
Vsevolod Stakhov [Thu, 17 Dec 2020 13:44:52 +0000 (13:44 +0000)]
Merge pull request #3578 from fatalbanana/nn_pool_name
[Minor] neural: use prefix in pool variable names
Andrew Lewis [Thu, 17 Dec 2020 13:40:09 +0000 (15:40 +0200)]
[Minor] neural: use prefix in pool variable names
- Also deduplicate some duplicated stuff
Vsevolod Stakhov [Thu, 17 Dec 2020 13:15:02 +0000 (13:15 +0000)]
Merge pull request #3570 from fatalbanana/nn_training
[Feature] Add controller endpoint for training neural
Andrew Lewis [Thu, 17 Dec 2020 10:58:39 +0000 (12:58 +0200)]
[Minor] Move http_headers to plugin
- Support multiple DKIM results
- Insert DKIM trace symbols
- Always disable callbacks if we got a header
- Make the plugin default-disabled
- Disable callbacks instead of virtual symbols
Andrew Lewis [Thu, 17 Dec 2020 09:28:09 +0000 (11:28 +0200)]
[Feature] Add controller endpoint for training neural
- Move neural functions to library
- Parameterise spawn_train
- neural plugin: Fix store_pool_only when autotrain is true
- neural plugin: Use cache_set instead of mempool
- Add test
Vsevolod Stakhov [Tue, 15 Dec 2020 10:25:40 +0000 (10:25 +0000)]
Merge pull request #3576 from citrin/rules-update
[Minor] Remove AOL_SPAM rule
Anton Yuzhaninov [Mon, 14 Dec 2020 19:31:22 +0000 (19:31 +0000)]
[Minor] Update regexp for R_UNDISC_RCPT
Match more variations for undisclosed-recipients, but don't match when
it is used as a lame real name.
Vsevolod Stakhov [Mon, 14 Dec 2020 17:08:30 +0000 (17:08 +0000)]
[Minor] Composites: Insert symbol to the selected result structure
Anton Yuzhaninov [Sun, 13 Dec 2020 21:10:05 +0000 (21:10 +0000)]
[Minor] Add rule for old MUA version
These versions are rarely used by real uses nowadays, but can be found
in spam.
Vsevolod Stakhov [Mon, 14 Dec 2020 12:32:12 +0000 (12:32 +0000)]
[Minor] Composites: Another try to deal properly with shadow results
Vsevolod Stakhov [Mon, 14 Dec 2020 10:18:32 +0000 (10:18 +0000)]
[Minor] Allow to get raw body of non processed messages
Anton Yuzhaninov [Sat, 12 Dec 2020 19:30:46 +0000 (19:30 +0000)]
[Minor] Remove FAKE_REPLY_C and move FAKE_REPLY rule to regexp module
FAKE_REPLY_C rule no longer works because MUA it used are no longer used
(and ones which are used changed headers they add). In theory one can
test all popular modern MUA and see which add only References, which
only In-Reply-To and which add both headers. But it will be a lot of
work to maintain such rule up to date. It still has a small number of
hits, but mostly because some spammers use old X-Mailer headers. This
should be addressed separately.
While here re-create FAKE_REPLY as a regexp module rule - this way it
should be more efficient.
Anton Yuzhaninov [Sat, 12 Dec 2020 18:17:39 +0000 (18:17 +0000)]
[Minor] Remove AOL_SPAM rule
Mail from AOL not longer have X-AOL-Global-Disposition header and this
rule no longer works. AOL messages now have X-YMail-OSG header (like
yahoo.com), but it is encrypted/obfuscated and cannot be used here.
Vsevolod Stakhov [Fri, 11 Dec 2020 11:53:51 +0000 (11:53 +0000)]
[Minor] ...
Vsevolod Stakhov [Fri, 11 Dec 2020 11:49:29 +0000 (11:49 +0000)]
[Minor] Format string...
Vsevolod Stakhov [Fri, 11 Dec 2020 11:41:33 +0000 (11:41 +0000)]
[Minor] Add more debug for shadow result
Vsevolod Stakhov [Thu, 10 Dec 2020 19:19:12 +0000 (19:19 +0000)]
Merge pull request #3575 from a16bitsysop/alpine-lua
[Minor] Add LIB_SUFFIXES needed to detect lua on alpine linux
Duncan Bellamy [Thu, 10 Dec 2020 19:09:28 +0000 (19:09 +0000)]
[Minor] Add LIB_SUFFIXES needed to detect lua on alpine linux
Vsevolod Stakhov [Thu, 10 Dec 2020 11:55:30 +0000 (11:55 +0000)]
[Minor] Reputation: More safe default
Vsevolod Stakhov [Thu, 10 Dec 2020 11:52:53 +0000 (11:52 +0000)]
[Feature] Reputation: Allow to specify ip masks
Vsevolod Stakhov [Wed, 9 Dec 2020 20:31:23 +0000 (20:31 +0000)]
[Minor] Spamassassin: Try to fix [if-unset] stuff
Vsevolod Stakhov [Wed, 9 Dec 2020 17:57:14 +0000 (17:57 +0000)]
[Minor] Fix condition
Vsevolod Stakhov [Wed, 9 Dec 2020 17:48:55 +0000 (17:48 +0000)]
[Minor] Spamassassin: Fix shadow results caching
Vsevolod Stakhov [Wed, 9 Dec 2020 17:39:23 +0000 (17:39 +0000)]
[Minor] Fix schema validation
Vsevolod Stakhov [Wed, 9 Dec 2020 17:32:54 +0000 (17:32 +0000)]
[Rework] Milter_headers: improve extended_headers_rcpt support
Vsevolod Stakhov [Wed, 9 Dec 2020 15:25:11 +0000 (15:25 +0000)]
Merge pull request #3574 from fatalbanana/selectors_cache
[Minor] Selectors: support extracting task cache variables
Andrew Lewis [Wed, 9 Dec 2020 14:46:31 +0000 (16:46 +0200)]
[Minor] Selectors: support extracting task cache variables
Vsevolod Stakhov [Wed, 9 Dec 2020 13:39:41 +0000 (13:39 +0000)]
[Minor] Do not use static buffers
Vsevolod Stakhov [Wed, 9 Dec 2020 09:15:41 +0000 (09:15 +0000)]
Merge pull request #3572 from fatalbanana/lua_idn_url_unit
[Test] Add some unit tests for punycode conversion
Andrew Lewis [Wed, 9 Dec 2020 09:11:54 +0000 (11:11 +0200)]
[Test] Add some unit tests for punycode conversion
Vsevolod Stakhov [Tue, 8 Dec 2020 16:47:06 +0000 (16:47 +0000)]
[Minor] One more fix
Vsevolod Stakhov [Tue, 8 Dec 2020 16:28:49 +0000 (16:28 +0000)]
[Fix] Restore simple dkim canonicalisation mode
Vsevolod Stakhov [Tue, 8 Dec 2020 15:09:08 +0000 (15:09 +0000)]
[Minor] Allow to skip composites second pass
Vsevolod Stakhov [Tue, 8 Dec 2020 14:47:53 +0000 (14:47 +0000)]
[Minor] Store composite status in the composite atom
Vsevolod Stakhov [Tue, 8 Dec 2020 13:53:29 +0000 (13:53 +0000)]
[Minor] Improve composites processing strncmp -> memcmp
Vsevolod Stakhov [Mon, 7 Dec 2020 16:56:28 +0000 (16:56 +0000)]
[Fix] Fix canonicalisation when l= tag is presented
Issue: #3566
Vsevolod Stakhov [Fri, 4 Dec 2020 19:19:48 +0000 (19:19 +0000)]
[Minor] Add some missing types
Vsevolod Stakhov [Thu, 3 Dec 2020 11:51:03 +0000 (11:51 +0000)]
[Minor] Lua_magic: Use larger span to look for text patterns
Vsevolod Stakhov [Wed, 2 Dec 2020 08:34:58 +0000 (08:34 +0000)]
[Minor] Fix text operation
Vsevolod Stakhov [Tue, 1 Dec 2020 14:43:38 +0000 (14:43 +0000)]
[Minor] Fix --from argument
Vsevolod Stakhov [Tue, 1 Dec 2020 14:37:44 +0000 (14:37 +0000)]
[Minor] Lua_content: Fix a corner case when unpacking compound objects
Vsevolod Stakhov [Mon, 30 Nov 2020 16:53:16 +0000 (16:53 +0000)]
Merge pull request #3564 from fatalbanana/clickhouse_nn2
[Minor] rspamadm clickhouse: batching; query parameters
Andrew Lewis [Mon, 30 Nov 2020 15:15:39 +0000 (17:15 +0200)]
[Minor] rspamadm clickhouse: batching; query parameters
Vsevolod Stakhov [Mon, 30 Nov 2020 14:27:39 +0000 (14:27 +0000)]
[Rework] Clickhouse: Improve performance
Vsevolod Stakhov [Mon, 30 Nov 2020 14:12:58 +0000 (14:12 +0000)]
[Feature] Lua_clickhouse: Add optional row callback for large selections
Vsevolod Stakhov [Mon, 30 Nov 2020 13:33:32 +0000 (13:33 +0000)]
[Minor] Lua_clickhouse: Improve parsing performance
Vsevolod Stakhov [Mon, 30 Nov 2020 11:50:27 +0000 (11:50 +0000)]
[Minor] Allow to ask password from terminal
Vsevolod Stakhov [Sat, 28 Nov 2020 22:31:52 +0000 (22:31 +0000)]
Merge pull request #3561 from fatalbanana/multimap_disable_multisymbol
[Feature] Multimap: support adding map values as extra options
Vsevolod Stakhov [Fri, 27 Nov 2020 12:17:41 +0000 (12:17 +0000)]
[Minor] Move urls find in subject to task process stage
Vsevolod Stakhov [Fri, 27 Nov 2020 11:40:46 +0000 (11:40 +0000)]
[Minor] Style: Fix logical order
Vsevolod Stakhov [Fri, 27 Nov 2020 11:36:40 +0000 (11:36 +0000)]
[Minor] Fix symbol name usage
Vsevolod Stakhov [Thu, 26 Nov 2020 14:39:05 +0000 (14:39 +0000)]
[Minor] Clickhouse: one more text related fix
Vsevolod Stakhov [Thu, 26 Nov 2020 14:32:42 +0000 (14:32 +0000)]
[Minor] Clickhouse: Fix text returns
Vsevolod Stakhov [Thu, 26 Nov 2020 12:29:09 +0000 (12:29 +0000)]
[Fix] Fix text selectors
Vsevolod Stakhov [Wed, 25 Nov 2020 17:23:52 +0000 (17:23 +0000)]
[Minor] Fix the case
Vsevolod Stakhov [Wed, 25 Nov 2020 16:54:35 +0000 (16:54 +0000)]
[Test] Disable broken test (type mismatch)
Vsevolod Stakhov [Wed, 25 Nov 2020 16:39:51 +0000 (16:39 +0000)]
[Minor] Remove tostring
Vsevolod Stakhov [Wed, 25 Nov 2020 16:38:39 +0000 (16:38 +0000)]
[Feature] Support rspamd_text in selector regexps