]> source.dussan.org Git - rspamd.git/log
rspamd.git
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[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

3 years ago[Test] Add some unit tests for punycode conversion 3572/head
Andrew Lewis [Wed, 9 Dec 2020 09:11:54 +0000 (11:11 +0200)]
[Test] Add some unit tests for punycode conversion

3 years ago[Minor] One more fix
Vsevolod Stakhov [Tue, 8 Dec 2020 16:47:06 +0000 (16:47 +0000)]
[Minor] One more fix

3 years ago[Fix] Restore simple dkim canonicalisation mode
Vsevolod Stakhov [Tue, 8 Dec 2020 16:28:49 +0000 (16:28 +0000)]
[Fix] Restore simple dkim canonicalisation mode

3 years ago[Minor] Allow to skip composites second pass
Vsevolod Stakhov [Tue, 8 Dec 2020 15:09:08 +0000 (15:09 +0000)]
[Minor] Allow to skip composites second pass

3 years ago[Minor] Store composite status in the composite atom
Vsevolod Stakhov [Tue, 8 Dec 2020 14:47:53 +0000 (14:47 +0000)]
[Minor] Store composite status in the composite atom

3 years ago[Minor] Improve composites processing strncmp -> memcmp
Vsevolod Stakhov [Tue, 8 Dec 2020 13:53:29 +0000 (13:53 +0000)]
[Minor] Improve composites processing strncmp -> memcmp

3 years ago[Fix] Fix canonicalisation when l= tag is presented
Vsevolod Stakhov [Mon, 7 Dec 2020 16:56:28 +0000 (16:56 +0000)]
[Fix] Fix canonicalisation when l= tag is presented

Issue: #3566

3 years ago[Minor] Add some missing types
Vsevolod Stakhov [Fri, 4 Dec 2020 19:19:48 +0000 (19:19 +0000)]
[Minor] Add some missing types

3 years ago[Minor] Lua_magic: Use larger span to look for text patterns
Vsevolod Stakhov [Thu, 3 Dec 2020 11:51:03 +0000 (11:51 +0000)]
[Minor] Lua_magic: Use larger span to look for text patterns

3 years ago[Minor] Fix text operation
Vsevolod Stakhov [Wed, 2 Dec 2020 08:34:58 +0000 (08:34 +0000)]
[Minor] Fix text operation

3 years ago[Minor] Fix --from argument
Vsevolod Stakhov [Tue, 1 Dec 2020 14:43:38 +0000 (14:43 +0000)]
[Minor] Fix --from argument

3 years ago[Minor] Lua_content: Fix a corner case when unpacking compound objects
Vsevolod Stakhov [Tue, 1 Dec 2020 14:37:44 +0000 (14:37 +0000)]
[Minor] Lua_content: Fix a corner case when unpacking compound objects

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

3 years ago[Minor] rspamadm clickhouse: batching; query parameters 3564/head
Andrew Lewis [Mon, 30 Nov 2020 15:15:39 +0000 (17:15 +0200)]
[Minor] rspamadm clickhouse: batching; query parameters

3 years ago[Rework] Clickhouse: Improve performance
Vsevolod Stakhov [Mon, 30 Nov 2020 14:27:39 +0000 (14:27 +0000)]
[Rework] Clickhouse: Improve performance

3 years ago[Feature] Lua_clickhouse: Add optional row callback for large selections
Vsevolod Stakhov [Mon, 30 Nov 2020 14:12:58 +0000 (14:12 +0000)]
[Feature] Lua_clickhouse: Add optional row callback for large selections

3 years ago[Minor] Lua_clickhouse: Improve parsing performance
Vsevolod Stakhov [Mon, 30 Nov 2020 13:33:32 +0000 (13:33 +0000)]
[Minor] Lua_clickhouse: Improve parsing performance

3 years ago[Minor] Allow to ask password from terminal
Vsevolod Stakhov [Mon, 30 Nov 2020 11:50:27 +0000 (11:50 +0000)]
[Minor] Allow to ask password from terminal

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

3 years ago[Minor] Move urls find in subject to task process stage
Vsevolod Stakhov [Fri, 27 Nov 2020 12:17:41 +0000 (12:17 +0000)]
[Minor] Move urls find in subject to task process stage

3 years ago[Minor] Style: Fix logical order
Vsevolod Stakhov [Fri, 27 Nov 2020 11:40:46 +0000 (11:40 +0000)]
[Minor] Style: Fix logical order

3 years ago[Minor] Fix symbol name usage
Vsevolod Stakhov [Fri, 27 Nov 2020 11:36:40 +0000 (11:36 +0000)]
[Minor] Fix symbol name usage

3 years ago[Minor] Clickhouse: one more text related fix
Vsevolod Stakhov [Thu, 26 Nov 2020 14:39:05 +0000 (14:39 +0000)]
[Minor] Clickhouse: one more text related fix

3 years ago[Minor] Clickhouse: Fix text returns
Vsevolod Stakhov [Thu, 26 Nov 2020 14:32:42 +0000 (14:32 +0000)]
[Minor] Clickhouse: Fix text returns

3 years ago[Fix] Fix text selectors
Vsevolod Stakhov [Thu, 26 Nov 2020 12:29:09 +0000 (12:29 +0000)]
[Fix] Fix text selectors

3 years ago[Minor] Fix the case
Vsevolod Stakhov [Wed, 25 Nov 2020 17:23:52 +0000 (17:23 +0000)]
[Minor] Fix the case

3 years ago[Test] Disable broken test (type mismatch)
Vsevolod Stakhov [Wed, 25 Nov 2020 16:54:35 +0000 (16:54 +0000)]
[Test] Disable broken test (type mismatch)

3 years ago[Minor] Remove tostring
Vsevolod Stakhov [Wed, 25 Nov 2020 16:39:51 +0000 (16:39 +0000)]
[Minor] Remove tostring

3 years ago[Feature] Support rspamd_text in selector regexps
Vsevolod Stakhov [Wed, 25 Nov 2020 16:38:39 +0000 (16:38 +0000)]
[Feature] Support rspamd_text in selector regexps

3 years ago[Minor] Fix style
Vsevolod Stakhov [Wed, 25 Nov 2020 13:33:28 +0000 (13:33 +0000)]
[Minor] Fix style

3 years ago[Rework] Add final cleanup logic
Vsevolod Stakhov [Wed, 25 Nov 2020 13:31:38 +0000 (13:31 +0000)]
[Rework] Add final cleanup logic

3 years ago[Feature] Multimap: support adding map values as extra options 3561/head
Andrew Lewis [Wed, 25 Nov 2020 12:55:18 +0000 (14:55 +0200)]
[Feature] Multimap: support adding map values as extra options

3 years ago[Rework] Add stale cache removal
Vsevolod Stakhov [Wed, 25 Nov 2020 11:59:53 +0000 (11:59 +0000)]
[Rework] Add stale cache removal

3 years ago[Rework] Some tunes to cache saving
Vsevolod Stakhov [Wed, 25 Nov 2020 11:42:04 +0000 (11:42 +0000)]
[Rework] Some tunes to cache saving

3 years ago[Rework] Add preliminary support of hyperscan caching for re maps
Vsevolod Stakhov [Tue, 24 Nov 2020 16:07:45 +0000 (16:07 +0000)]
[Rework] Add preliminary support of hyperscan caching for re maps

3 years ago[Rework] Use full crypto hash for regexp maps
Vsevolod Stakhov [Tue, 24 Nov 2020 15:46:22 +0000 (15:46 +0000)]
[Rework] Use full crypto hash for regexp maps

3 years agoMerge pull request #3550 from ventulis/master
Vsevolod Stakhov [Wed, 25 Nov 2020 11:12:09 +0000 (11:12 +0000)]
Merge pull request #3550 from ventulis/master

[Minor] Add Rspamd version to ICAP User Agent

3 years ago[Minor] Add task uid to ICAP User Agent 3550/head
ventulis [Tue, 24 Nov 2020 16:00:53 +0000 (17:00 +0100)]
[Minor] Add task uid to ICAP User Agent

3 years ago[Minor] Add disabled and extended ICAP User Agent
ventulis [Tue, 24 Nov 2020 15:35:25 +0000 (16:35 +0100)]
[Minor] Add disabled and extended ICAP User Agent

3 years ago[Minor] Fix rare case of off-by-one read
Vsevolod Stakhov [Tue, 24 Nov 2020 12:06:19 +0000 (12:06 +0000)]
[Minor] Fix rare case of off-by-one read

3 years agoMerge pull request #3559 from fatalbanana/specific_urls2
Vsevolod Stakhov [Tue, 24 Nov 2020 11:11:38 +0000 (11:11 +0000)]
Merge pull request #3559 from fatalbanana/specific_urls2

[Minor] Selectors: further fixes for dealing with specific URLs

3 years ago[Minor] Selectors: further fixes for dealing with specific URLs 3559/head
Andrew Lewis [Tue, 24 Nov 2020 11:02:26 +0000 (13:02 +0200)]
[Minor] Selectors: further fixes for dealing with specific URLs

3 years agoMerge pull request #3558 from fatalbanana/specific_urls_extractor
Vsevolod Stakhov [Tue, 24 Nov 2020 10:38:00 +0000 (10:38 +0000)]
Merge pull request #3558 from fatalbanana/specific_urls_extractor

[Minor] Selectors: fixes for specific URLs

3 years ago[Minor] Selectors: fixes for specific URLs 3558/head
Andrew Lewis [Tue, 24 Nov 2020 10:32:10 +0000 (12:32 +0200)]
[Minor] Selectors: fixes for specific URLs

3 years ago[Fix] Spamassassin: Preserve 'pcre_only' flag when dealing with regexp replacements
Vsevolod Stakhov [Mon, 23 Nov 2020 20:07:57 +0000 (20:07 +0000)]
[Fix] Spamassassin: Preserve 'pcre_only' flag when dealing with regexp replacements

3 years agoMerge pull request #3554 from fatalbanana/rspamadm_clickhouse
Vsevolod Stakhov [Mon, 23 Nov 2020 16:45:46 +0000 (16:45 +0000)]
Merge pull request #3554 from fatalbanana/rspamadm_clickhouse

[Feature] `rspamadm clickhouse` command

3 years ago[Feature] `rspamadm clickhouse` command 3554/head
Andrew Lewis [Mon, 23 Nov 2020 13:27:20 +0000 (15:27 +0200)]
[Feature] `rspamadm clickhouse` command

3 years ago[Fix] Spamassassin: Fix pcre_only flags
Vsevolod Stakhov [Mon, 23 Nov 2020 11:00:30 +0000 (11:00 +0000)]
[Fix] Spamassassin: Fix pcre_only flags

3 years ago[Minor] Propagate pcre_only flag
Vsevolod Stakhov [Mon, 23 Nov 2020 11:00:16 +0000 (11:00 +0000)]
[Minor] Propagate pcre_only flag

3 years ago[Minor] Add lua_parsers to docs
Vsevolod Stakhov [Sat, 21 Nov 2020 21:22:56 +0000 (21:22 +0000)]
[Minor] Add lua_parsers to docs

3 years ago[Fix] Fix quoted-printable soft newlines bugged case
Vsevolod Stakhov [Fri, 20 Nov 2020 15:55:39 +0000 (15:55 +0000)]
[Fix] Fix quoted-printable soft newlines bugged case

3 years ago[Minor] Lua_magic: Add ics pattern
Vsevolod Stakhov [Fri, 20 Nov 2020 11:23:56 +0000 (11:23 +0000)]
[Minor] Lua_magic: Add ics pattern

3 years ago[Minor] Lua_content: Allow multiple content types to be matched
Vsevolod Stakhov [Fri, 20 Nov 2020 11:23:28 +0000 (11:23 +0000)]
[Minor] Lua_content: Allow multiple content types to be matched

3 years ago[Minor] Lua_magic: Do not treat by default non-text part as text
Vsevolod Stakhov [Fri, 20 Nov 2020 11:23:04 +0000 (11:23 +0000)]
[Minor] Lua_magic: Do not treat by default non-text part as text

3 years agoMerge pull request #3555 from moisseev/webui
Vsevolod Stakhov [Fri, 20 Nov 2020 11:06:17 +0000 (11:06 +0000)]
Merge pull request #3555 from moisseev/webui

[WebUI] Add History tab autorefreshing

3 years ago[WebUI] Disable Refresh until ongoing requests 3555/head
moisseev [Fri, 20 Nov 2020 10:14:54 +0000 (13:14 +0300)]
[WebUI] Disable Refresh until ongoing requests

are finished

3 years ago[Minor] Add `complete` callback
moisseev [Fri, 20 Nov 2020 08:25:33 +0000 (11:25 +0300)]
[Minor] Add `complete` callback

which to be called when requests to all neighbours are finished.

3 years ago[Minor] Improve error messages
Vsevolod Stakhov [Thu, 19 Nov 2020 11:44:01 +0000 (11:44 +0000)]
[Minor] Improve error messages

3 years ago[Minor] Fix some more lua compat issues with text:find
Vsevolod Stakhov [Thu, 19 Nov 2020 11:34:03 +0000 (11:34 +0000)]
[Minor] Fix some more lua compat issues with text:find

3 years ago [WebUI] Add History tab autorefreshing
moisseev [Thu, 19 Nov 2020 08:06:54 +0000 (11:06 +0300)]
 [WebUI] Add History tab autorefreshing

Issue: #820

3 years ago[Fix] Apply max_lua_urls limit for emails as well
Vsevolod Stakhov [Wed, 18 Nov 2020 19:56:29 +0000 (19:56 +0000)]
[Fix] Apply max_lua_urls limit for emails as well

3 years ago[Fix] Fix off-by-one with init check
Vsevolod Stakhov [Wed, 18 Nov 2020 17:50:19 +0000 (17:50 +0000)]
[Fix] Fix off-by-one with init check

3 years ago[Fix] Fix substring search in case if srchlen == inlen
Vsevolod Stakhov [Wed, 18 Nov 2020 17:47:33 +0000 (17:47 +0000)]
[Fix] Fix substring search in case if srchlen == inlen

3 years ago[Minor] Fix another stupid tests regression
Vsevolod Stakhov [Wed, 18 Nov 2020 14:11:33 +0000 (14:11 +0000)]
[Minor] Fix another stupid tests regression

3 years ago[Minor] Fix bogus cmake
Vsevolod Stakhov [Wed, 18 Nov 2020 13:08:08 +0000 (13:08 +0000)]
[Minor] Fix bogus cmake

3 years ago[Minor] Use CONFIGURE_DEPENDS for glob expressions
Vsevolod Stakhov [Wed, 18 Nov 2020 13:01:15 +0000 (13:01 +0000)]
[Minor] Use CONFIGURE_DEPENDS for glob expressions

3 years ago[Fix] Fix smtp comments exclusion
Vsevolod Stakhov [Wed, 18 Nov 2020 12:29:22 +0000 (12:29 +0000)]
[Fix] Fix smtp comments exclusion

3 years ago[Fix] Fix parsing of escape characters in quoted pairs
Vsevolod Stakhov [Wed, 18 Nov 2020 10:50:30 +0000 (10:50 +0000)]
[Fix] Fix parsing of escape characters in quoted pairs

3 years ago[Minor] Neural: Add store_pool_only train option
Vsevolod Stakhov [Tue, 17 Nov 2020 11:21:50 +0000 (11:21 +0000)]
[Minor] Neural: Add store_pool_only train option