]> source.dussan.org Git - rspamd.git/log
rspamd.git
3 years ago[Minor] Plug memory leak in arc seal verify
Vsevolod Stakhov [Thu, 7 Jan 2021 15:56:37 +0000 (15:56 +0000)]
[Minor] Plug memory leak in arc seal verify

3 years ago[Fix] Plug GList * leak in redis pool
Vsevolod Stakhov [Thu, 7 Jan 2021 15:53:59 +0000 (15:53 +0000)]
[Fix] Plug GList * leak in redis pool

3 years ago[Minor] Make sanitizer optional
Vsevolod Stakhov [Thu, 7 Jan 2021 15:53:45 +0000 (15:53 +0000)]
[Minor] Make sanitizer optional

3 years ago[Minor] Remove redundant strdup
Vsevolod Stakhov [Thu, 7 Jan 2021 11:04:08 +0000 (11:04 +0000)]
[Minor] Remove redundant strdup

3 years ago[Fix] Do not process links in ignored html tags
Vsevolod Stakhov [Wed, 6 Jan 2021 19:49:23 +0000 (19:49 +0000)]
[Fix] Do not process links in ignored html tags

3 years ago[Feature] Extract text from img alt attributes
Vsevolod Stakhov [Wed, 6 Jan 2021 19:37:57 +0000 (19:37 +0000)]
[Feature] Extract text from img alt attributes

3 years ago[Fix] Fix logging for rspamadm
Vsevolod Stakhov [Wed, 6 Jan 2021 19:18:40 +0000 (19:18 +0000)]
[Fix] Fix logging for rspamadm

3 years ago[Minor] Plug leak on error path
Vsevolod Stakhov [Wed, 6 Jan 2021 16:28:34 +0000 (16:28 +0000)]
[Minor] Plug leak on error path

3 years ago[Fix] Try to fix GError leak
Vsevolod Stakhov [Wed, 6 Jan 2021 16:28:24 +0000 (16:28 +0000)]
[Fix] Try to fix GError leak

3 years ago[Minor] Plug minor leak
Vsevolod Stakhov [Tue, 5 Jan 2021 20:19:12 +0000 (20:19 +0000)]
[Minor] Plug minor leak

3 years ago[Minor] DCC: Fix plugin callback type
Vsevolod Stakhov [Mon, 4 Jan 2021 19:08:11 +0000 (19:08 +0000)]
[Minor] DCC: Fix plugin callback type

Issue: #3594

3 years ago[Minor] Lua_magic: Minor changes
Vsevolod Stakhov [Mon, 4 Jan 2021 16:10:02 +0000 (16:10 +0000)]
[Minor] Lua_magic: Minor changes

3 years agoMerge pull request #3595 from fatalbanana/exe_heuristic
Vsevolod Stakhov [Mon, 4 Jan 2021 16:00:11 +0000 (16:00 +0000)]
Merge pull request #3595 from fatalbanana/exe_heuristic

[Minor] Magic: try avoid false positive exe detection

3 years ago[Minor] Add a small protection against bad characters in symbols
Vsevolod Stakhov [Mon, 4 Jan 2021 14:44:06 +0000 (14:44 +0000)]
[Minor] Add a small protection against bad characters in symbols

3 years ago[Minor] Magic: try avoid false positive exe detection 3595/head
Andrew Lewis [Mon, 4 Jan 2021 11:41:04 +0000 (13:41 +0200)]
[Minor] Magic: try avoid false positive exe detection

3 years ago[Feature] Add support of '==' and '!=' in Rspamd expressions
Vsevolod Stakhov [Mon, 4 Jan 2021 10:11:55 +0000 (10:11 +0000)]
[Feature] Add support of '==' and '!=' in Rspamd expressions

3 years agoUpdate AUTHORS.md
Vsevolod Stakhov [Fri, 1 Jan 2021 18:41:36 +0000 (18:41 +0000)]
Update AUTHORS.md

3 years agoMerge pull request #3588 from a16bitsysop/hyperscan
Vsevolod Stakhov [Thu, 31 Dec 2020 17:15:11 +0000 (17:15 +0000)]
Merge pull request #3588 from a16bitsysop/hyperscan

[Feature] allow hyperscan for aarch64

3 years ago[Minor] Remove assertions as sometimes neural exists without settings...
Vsevolod Stakhov [Wed, 30 Dec 2020 17:59:57 +0000 (17:59 +0000)]
[Minor] Remove assertions as sometimes neural exists without settings...

3 years ago[Fix] Try to fix a mess with settings loading by adding priorities
Vsevolod Stakhov [Wed, 30 Dec 2020 17:23:51 +0000 (17:23 +0000)]
[Fix] Try to fix a mess with settings loading by adding priorities

3 years ago[Fix] Allow to set priorities between post init scripts
Vsevolod Stakhov [Wed, 30 Dec 2020 17:23:31 +0000 (17:23 +0000)]
[Fix] Allow to set priorities between post init scripts

3 years ago[Minor] Add fail-safety for settings post load
Vsevolod Stakhov [Wed, 30 Dec 2020 17:00:52 +0000 (17:00 +0000)]
[Minor] Add fail-safety for settings post load

3 years ago[Test] Fix test
Vsevolod Stakhov [Wed, 30 Dec 2020 15:43:39 +0000 (15:43 +0000)]
[Test] Fix test

3 years agoMerge pull request #3589 from a16bitsysop/compiler-warnings
Vsevolod Stakhov [Tue, 29 Dec 2020 23:28:46 +0000 (23:28 +0000)]
Merge pull request #3589 from a16bitsysop/compiler-warnings

[Minor] Fix some compiler warnings

3 years ago[Minor] Fix some compiler warnings 3589/head
Duncan Bellamy [Sun, 27 Dec 2020 22:41:12 +0000 (22:41 +0000)]
[Minor] Fix some compiler warnings

3 years ago[Feature] allow hyperscan for aarch64 3588/head
Duncan Bellamy [Sun, 27 Dec 2020 22:36:02 +0000 (22:36 +0000)]
[Feature] allow hyperscan for aarch64

3 years ago[Minor] Another try to deal with symbols from settings
Vsevolod Stakhov [Mon, 28 Dec 2020 21:11:41 +0000 (21:11 +0000)]
[Minor] Another try to deal with symbols from settings

Need to handle allowed ids as well

3 years ago[Minor] Fix crash on non resolving virtual dependency
Vsevolod Stakhov [Mon, 28 Dec 2020 21:07:45 +0000 (21:07 +0000)]
[Minor] Fix crash on non resolving virtual dependency

3 years ago[Fix] Try to move setings initialisation to a later stage
Vsevolod Stakhov [Mon, 28 Dec 2020 20:39:43 +0000 (20:39 +0000)]
[Fix] Try to move setings initialisation to a later stage

3 years agoMerge pull request #3586 from J0WI/patch-2
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

3 years ago[Minor] Allow to load config with no controller defined
Vsevolod Stakhov [Sun, 27 Dec 2020 21:02:39 +0000 (21:02 +0000)]
[Minor] Allow to load config with no controller defined

3 years agoMerge pull request #3585 from J0WI/patch-1
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

3 years ago[Rework] Distinguish between strict config test mode
Vsevolod Stakhov [Sat, 26 Dec 2020 23:27:49 +0000 (23:27 +0000)]
[Rework] Distinguish between strict config test mode

3 years ago[Feature] Docker: use Debian slim variant 3586/head
J0WI [Fri, 25 Dec 2020 15:38:59 +0000 (15:38 +0000)]
[Feature] Docker: use Debian slim variant

3 years ago[Minor] Docker: use apt-transport-https 3585/head
J0WI [Fri, 25 Dec 2020 15:31:32 +0000 (15:31 +0000)]
[Minor] Docker: use apt-transport-https

3 years ago[Minor] Optimize the common case + fix signed char
Vsevolod Stakhov [Fri, 25 Dec 2020 14:01:41 +0000 (14:01 +0000)]
[Minor] Optimize the common case + fix signed char

3 years ago[Minor] Escape log lines in logger
Vsevolod Stakhov [Fri, 25 Dec 2020 13:47:47 +0000 (13:47 +0000)]
[Minor] Escape log lines in logger

3 years agoMerge pull request #3583 from rpv-tomsk/master
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

3 years ago[Minor] Add fallback
Vsevolod Stakhov [Wed, 23 Dec 2020 18:27:08 +0000 (18:27 +0000)]
[Minor] Add fallback

3 years ago[Feature] Improve charset detection logic
Vsevolod Stakhov [Wed, 23 Dec 2020 18:24:40 +0000 (18:24 +0000)]
[Feature] Improve charset detection logic

3 years ago[Fix] Return MimeCharset as we work with emails...
Vsevolod Stakhov [Wed, 23 Dec 2020 18:24:18 +0000 (18:24 +0000)]
[Fix] Return MimeCharset as we work with emails...

3 years ago[Minor] Skip double utf8 checks
Vsevolod Stakhov [Wed, 23 Dec 2020 17:48:34 +0000 (17:48 +0000)]
[Minor] Skip double utf8 checks

3 years ago[Minor] Fix lifetime
Vsevolod Stakhov [Wed, 23 Dec 2020 15:28:32 +0000 (15:28 +0000)]
[Minor] Fix lifetime

This is a reason why I hate C

3 years agoFix typos in code comments 3583/head
Pavel Rochnyack [Wed, 23 Dec 2020 03:45:33 +0000 (10:45 +0700)]
Fix typos in code comments

3 years ago[Minor] Fix spf record dump
Vsevolod Stakhov [Tue, 22 Dec 2020 21:05:11 +0000 (21:05 +0000)]
[Minor] Fix spf record dump

3 years ago[Minor] Add a path test
Vsevolod Stakhov [Tue, 22 Dec 2020 17:23:59 +0000 (17:23 +0000)]
[Minor] Add a path test

3 years ago[CritFix] Fix controller paths normalisation
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'

3 years ago[Minor] Fix missing comma
Vsevolod Stakhov [Tue, 22 Dec 2020 16:02:36 +0000 (16:02 +0000)]
[Minor] Fix missing comma

3 years agoMerge pull request #3582 from citrin/x-mailer-rules
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

3 years ago[Minor] Lua_task: Simplify has_header method
Vsevolod Stakhov [Tue, 22 Dec 2020 15:50:47 +0000 (15:50 +0000)]
[Minor] Lua_task: Simplify has_header method

3 years agoMerge pull request #3581 from citrin/has-header
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

3 years ago[Minor] Use less strict rules for pkcs7 detection
Vsevolod Stakhov [Tue, 22 Dec 2020 15:46:27 +0000 (15:46 +0000)]
[Minor] Use less strict rules for pkcs7 detection

Issue: #3568

3 years ago[Minor] Add rule for forged X-Mailer: Internet Mail Service 3582/head
Anton Yuzhaninov [Tue, 22 Dec 2020 13:40:40 +0000 (13:40 +0000)]
[Minor] Add rule for forged X-Mailer: Internet Mail Service

3 years ago[Minor] Add {header} for header regexps
Anton Yuzhaninov [Tue, 22 Dec 2020 13:23:48 +0000 (13:23 +0000)]
[Minor] Add {header} for header regexps

3 years ago[Minor] Use task:has_header instead of task:get_header 3581/head
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.

3 years agoMerge pull request #3579 from fatalbanana/rbl_logging
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

3 years agoMerge pull request #3580 from citrin/x-mailer-rules
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

3 years ago[Minor] Remove R_SAJDING and SUSPICIOUS_OPERA_10W_MSGID 3580/head
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.

3 years ago[Minor] Add FORGED_X_MAILER rule for X-Mailer used by spamboots
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

3 years ago[Feature] Support SMIME signed messages container
Vsevolod Stakhov [Mon, 21 Dec 2020 17:16:50 +0000 (17:16 +0000)]
[Feature] Support SMIME signed messages container

Issue: #3568

3 years ago[Minor] Add pkcs7 content type flag
Vsevolod Stakhov [Mon, 21 Dec 2020 16:17:42 +0000 (16:17 +0000)]
[Minor] Add pkcs7 content type flag

3 years ago[Fix] Fix flag shift
Vsevolod Stakhov [Mon, 21 Dec 2020 16:16:16 +0000 (16:16 +0000)]
[Fix] Fix flag shift

3 years ago[Minor] rbl: move logging to debug level 3579/head
Andrew Lewis [Mon, 21 Dec 2020 07:07:53 +0000 (09:07 +0200)]
[Minor] rbl: move logging to debug level

3 years agoUpdate README.md
Vsevolod Stakhov [Sun, 20 Dec 2020 21:18:01 +0000 (21:18 +0000)]
Update README.md

3 years agoMerge pull request #3577 from fatalbanana/http_headers_plugin
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

3 years ago[Feature] Vadesecure: Implement settings_outbound feature as recommended by Vade
Vsevolod Stakhov [Fri, 18 Dec 2020 16:12:30 +0000 (16:12 +0000)]
[Feature] Vadesecure: Implement settings_outbound feature as recommended by Vade

3 years ago[Feature] Neural: Move PCA learning to a subprocess
Vsevolod Stakhov [Fri, 18 Dec 2020 16:06:53 +0000 (16:06 +0000)]
[Feature] Neural: Move PCA learning to a subprocess

3 years ago[Minor] Support both text and string on return value
Vsevolod Stakhov [Fri, 18 Dec 2020 16:06:34 +0000 (16:06 +0000)]
[Minor] Support both text and string on return value

3 years ago[Minor] Improve debug
Vsevolod Stakhov [Fri, 18 Dec 2020 16:06:21 +0000 (16:06 +0000)]
[Minor] Improve debug

3 years ago[Fix] Fix pushing ucl strings with \0 inside
Vsevolod Stakhov [Fri, 18 Dec 2020 16:05:45 +0000 (16:05 +0000)]
[Fix] Fix pushing ucl strings with \0 inside

3 years ago[Minor] Relax `parse_text` input arguments to allow both string and text
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

3 years agoMerge pull request #3578 from fatalbanana/nn_pool_name
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

3 years ago[Minor] neural: use prefix in pool variable names 3578/head
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

3 years agoMerge pull request #3570 from fatalbanana/nn_training
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

3 years ago[Minor] Move http_headers to plugin 3577/head
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

3 years ago[Feature] Add controller endpoint for training neural 3570/head
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

3 years agoMerge pull request #3576 from citrin/rules-update
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

3 years ago[Minor] Update regexp for R_UNDISC_RCPT 3576/head
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.

3 years ago[Minor] Composites: Insert symbol to the selected result structure
Vsevolod Stakhov [Mon, 14 Dec 2020 17:08:30 +0000 (17:08 +0000)]
[Minor] Composites: Insert symbol to the selected result structure

3 years ago[Minor] Add rule for old MUA version
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.

3 years ago[Minor] Composites: Another try to deal properly with shadow results
Vsevolod Stakhov [Mon, 14 Dec 2020 12:32:12 +0000 (12:32 +0000)]
[Minor] Composites: Another try to deal properly with shadow results

3 years ago[Minor] Allow to get raw body of non processed messages
Vsevolod Stakhov [Mon, 14 Dec 2020 10:18:32 +0000 (10:18 +0000)]
[Minor] Allow to get raw body of non processed messages

3 years ago[Minor] Remove FAKE_REPLY_C and move FAKE_REPLY rule to regexp module
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.

3 years ago[Minor] Remove AOL_SPAM rule
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.

3 years ago[Minor] ...
Vsevolod Stakhov [Fri, 11 Dec 2020 11:53:51 +0000 (11:53 +0000)]
[Minor] ...

3 years ago[Minor] Format string...
Vsevolod Stakhov [Fri, 11 Dec 2020 11:49:29 +0000 (11:49 +0000)]
[Minor] Format string...

3 years ago[Minor] Add more debug for shadow result
Vsevolod Stakhov [Fri, 11 Dec 2020 11:41:33 +0000 (11:41 +0000)]
[Minor] Add more debug for shadow result

3 years agoMerge pull request #3575 from a16bitsysop/alpine-lua
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

3 years ago[Minor] Add LIB_SUFFIXES needed to detect lua on alpine linux 3575/head
Duncan Bellamy [Thu, 10 Dec 2020 19:09:28 +0000 (19:09 +0000)]
[Minor] Add LIB_SUFFIXES needed to detect lua on alpine linux

3 years ago[Minor] Reputation: More safe default
Vsevolod Stakhov [Thu, 10 Dec 2020 11:55:30 +0000 (11:55 +0000)]
[Minor] Reputation: More safe default

3 years ago[Feature] Reputation: Allow to specify ip masks
Vsevolod Stakhov [Thu, 10 Dec 2020 11:52:53 +0000 (11:52 +0000)]
[Feature] Reputation: Allow to specify ip masks

3 years ago[Minor] Spamassassin: Try to fix [if-unset] stuff
Vsevolod Stakhov [Wed, 9 Dec 2020 20:31:23 +0000 (20:31 +0000)]
[Minor] Spamassassin: Try to fix [if-unset] stuff

3 years ago[Minor] Fix condition
Vsevolod Stakhov [Wed, 9 Dec 2020 17:57:14 +0000 (17:57 +0000)]
[Minor] Fix condition

3 years ago[Minor] Spamassassin: Fix shadow results caching
Vsevolod Stakhov [Wed, 9 Dec 2020 17:48:55 +0000 (17:48 +0000)]
[Minor] Spamassassin: Fix shadow results caching

3 years ago[Minor] Fix schema validation
Vsevolod Stakhov [Wed, 9 Dec 2020 17:39:23 +0000 (17:39 +0000)]
[Minor] Fix schema validation

3 years ago[Rework] Milter_headers: improve extended_headers_rcpt support
Vsevolod Stakhov [Wed, 9 Dec 2020 17:32:54 +0000 (17:32 +0000)]
[Rework] Milter_headers: improve extended_headers_rcpt support

3 years agoMerge pull request #3574 from fatalbanana/selectors_cache
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

3 years ago[Minor] Selectors: support extracting task cache variables 3574/head
Andrew Lewis [Wed, 9 Dec 2020 14:46:31 +0000 (16:46 +0200)]
[Minor] Selectors: support extracting task cache variables

3 years ago[Minor] Do not use static buffers
Vsevolod Stakhov [Wed, 9 Dec 2020 13:39:41 +0000 (13:39 +0000)]
[Minor] Do not use static buffers

3 years agoMerge pull request #3572 from fatalbanana/lua_idn_url_unit
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