]> source.dussan.org Git - rspamd.git/log
rspamd.git
8 years ago[Fix] Fix DNS write errors processing
Vsevolod Stakhov [Tue, 20 Sep 2016 21:57:22 +0000 (22:57 +0100)]
[Fix] Fix DNS write errors processing

Issue: #971
MFH: true

8 years ago[Minor] MX checks should be one_shot
Vsevolod Stakhov [Tue, 20 Sep 2016 13:16:55 +0000 (14:16 +0100)]
[Minor] MX checks should be one_shot

8 years ago[Fix] Use memmove for overlapping regions
Vsevolod Stakhov [Tue, 20 Sep 2016 13:04:32 +0000 (14:04 +0100)]
[Fix] Use memmove for overlapping regions

Issue: #961
MFH: true

8 years ago[Minor] Allow port-less connections for lua_tcp
Vsevolod Stakhov [Tue, 20 Sep 2016 13:04:16 +0000 (14:04 +0100)]
[Minor] Allow port-less connections for lua_tcp

8 years agoMerge pull request #936 from fatalbanana/dkim
Vsevolod Stakhov [Mon, 19 Sep 2016 20:42:13 +0000 (21:42 +0100)]
Merge pull request #936 from fatalbanana/dkim

[Feature] Add R_DKIM_PERMFAIL symbol

8 years agoMerge pull request #951 from moisseev/mid
Vsevolod Stakhov [Mon, 19 Sep 2016 20:41:58 +0000 (21:41 +0100)]
Merge pull request #951 from moisseev/mid

[Feature] Add `mid` Lua module

8 years ago[Feature] Add R_DKIM_PERMFAIL symbol 936/head
Andrew Lewis [Mon, 19 Sep 2016 14:56:16 +0000 (16:56 +0200)]
[Feature] Add R_DKIM_PERMFAIL symbol

8 years ago[Fix] mid: handle incorrect rgexps in the map 951/head
Alexander Moisseev [Mon, 19 Sep 2016 18:38:45 +0000 (21:38 +0300)]
[Fix] mid: handle incorrect rgexps in the map

8 years ago[Minor] Fix ASN caching
Vsevolod Stakhov [Mon, 19 Sep 2016 15:49:55 +0000 (16:49 +0100)]
[Minor] Fix ASN caching

8 years agoMerge pull request #960 from fatalbanana/minor
Vsevolod Stakhov [Mon, 19 Sep 2016 15:37:39 +0000 (16:37 +0100)]
Merge pull request #960 from fatalbanana/minor

[Minor] Clarify display message

8 years ago[Feature] Add redis cache to asn module
Vsevolod Stakhov [Mon, 19 Sep 2016 13:28:01 +0000 (14:28 +0100)]
[Feature] Add redis cache to asn module

8 years ago[Fix] mid: fix map initialization
Alexander Moisseev [Mon, 19 Sep 2016 13:38:46 +0000 (17:38 +0400)]
[Fix] mid: fix map initialization

8 years ago[Test] Test DKIM permfail
Andrew Lewis [Mon, 19 Sep 2016 08:27:55 +0000 (10:27 +0200)]
[Test] Test DKIM permfail

8 years agoMerge pull request #958 from moisseev/once_received
Vsevolod Stakhov [Mon, 19 Sep 2016 12:38:00 +0000 (13:38 +0100)]
Merge pull request #958 from moisseev/once_received

[Minor] Disable ONCE_RECEIVED for local networks

8 years ago[Minor] Clarify display message 960/head
Andrew Lewis [Mon, 19 Sep 2016 08:47:59 +0000 (10:47 +0200)]
[Minor] Clarify display message

8 years ago[Minor] Disable ONCE_RECEIVED for local networks 958/head
Alexander Moisseev [Mon, 19 Sep 2016 06:48:38 +0000 (09:48 +0300)]
[Minor] Disable ONCE_RECEIVED for local networks

8 years agoMerge pull request #956 from moisseev/patch-1
Vsevolod Stakhov [Sun, 18 Sep 2016 20:33:25 +0000 (21:33 +0100)]
Merge pull request #956 from moisseev/patch-1

[Fix] Skip MX check for authenticated users and local networks

8 years ago[Feature] Add `mid` Lua module
Alexander Moisseev [Sat, 17 Sep 2016 09:01:10 +0000 (12:01 +0300)]
[Feature] Add `mid` Lua module

8 years ago[Fix] Skip MX check for authenticated users and local networks 956/head
Alexander Moisseev [Sun, 18 Sep 2016 08:02:44 +0000 (11:02 +0300)]
[Fix] Skip MX check for authenticated users and local networks

8 years ago[Minor] Resolve A record if all MXes are absent
Vsevolod Stakhov [Sat, 17 Sep 2016 17:31:19 +0000 (18:31 +0100)]
[Minor] Resolve A record if all MXes are absent

8 years ago[Minor] Use HELO when SMTP from is empty
Vsevolod Stakhov [Sat, 17 Sep 2016 17:28:59 +0000 (18:28 +0100)]
[Minor] Use HELO when SMTP from is empty

8 years ago[Feature] Add plugin to check MX'es for the sender's domain
Vsevolod Stakhov [Sat, 17 Sep 2016 15:35:35 +0000 (16:35 +0100)]
[Feature] Add plugin to check MX'es for the sender's domain

8 years ago[Minor] Some fixes to lua_tcp module
Vsevolod Stakhov [Sat, 17 Sep 2016 15:35:07 +0000 (16:35 +0100)]
[Minor] Some fixes to lua_tcp module

8 years ago[Minor] Allow to set timeout for a connection
Vsevolod Stakhov [Sat, 17 Sep 2016 12:35:15 +0000 (13:35 +0100)]
[Minor] Allow to set timeout for a connection

8 years ago[Minor] Use byte array not gstring for input buffer
Vsevolod Stakhov [Sat, 17 Sep 2016 12:28:22 +0000 (13:28 +0100)]
[Minor] Use byte array not gstring for input buffer

8 years ago[Feature] Rework lua tcp module
Vsevolod Stakhov [Sat, 17 Sep 2016 12:22:20 +0000 (13:22 +0100)]
[Feature] Rework lua tcp module

8 years ago[Fix] Fix parsing of lua comments with empty lines
Vsevolod Stakhov [Fri, 16 Sep 2016 17:45:43 +0000 (18:45 +0100)]
[Fix] Fix parsing of lua comments with empty lines

8 years ago[Minor] Improve logging for fann train
Vsevolod Stakhov [Fri, 16 Sep 2016 11:18:04 +0000 (12:18 +0100)]
[Minor] Improve logging for fann train

8 years ago[Minor] Reduce log noise
Vsevolod Stakhov [Fri, 16 Sep 2016 11:05:20 +0000 (12:05 +0100)]
[Minor] Reduce log noise

8 years ago[Minor] Fix compilation
Vsevolod Stakhov [Thu, 15 Sep 2016 11:09:40 +0000 (12:09 +0100)]
[Minor] Fix compilation

8 years ago[Minor] Use attachments filenames as bayes tokens
Vsevolod Stakhov [Thu, 15 Sep 2016 10:57:34 +0000 (11:57 +0100)]
[Minor] Use attachments filenames as bayes tokens

8 years ago[Minor] Improve constant memcmp function
Vsevolod Stakhov [Wed, 14 Sep 2016 22:53:01 +0000 (23:53 +0100)]
[Minor] Improve constant memcmp function

8 years agoMerge pull request #952 from fatalbanana/rlimit4
Vsevolod Stakhov [Wed, 14 Sep 2016 10:02:44 +0000 (11:02 +0100)]
Merge pull request #952 from fatalbanana/rlimit4

Ratelimit fixes

8 years ago[Minor] Use mime recipients count as a metatoken
Vsevolod Stakhov [Wed, 14 Sep 2016 09:55:08 +0000 (10:55 +0100)]
[Minor] Use mime recipients count as a metatoken

8 years ago[Minor] Fix whitelisted_user map initialisation 952/head
Andrew Lewis [Wed, 14 Sep 2016 08:39:20 +0000 (10:39 +0200)]
[Minor] Fix whitelisted_user map initialisation

8 years ago[Minor] Ratelimit: don't copy data
Andrew Lewis [Wed, 14 Sep 2016 06:56:24 +0000 (08:56 +0200)]
[Minor] Ratelimit: don't copy data

8 years ago[Fix] Allow plain IP addresses in Rspamd maps
Vsevolod Stakhov [Tue, 13 Sep 2016 15:26:21 +0000 (16:26 +0100)]
[Fix] Allow plain IP addresses in Rspamd maps

MFH: true

8 years agoMerge pull request #950 from fatalbanana/rlimit3
Vsevolod Stakhov [Tue, 13 Sep 2016 13:08:47 +0000 (14:08 +0100)]
Merge pull request #950 from fatalbanana/rlimit3

More ratelimit cleanup

8 years ago[Minor] Remove more useless code from ratelimit 950/head
Andrew Lewis [Tue, 13 Sep 2016 13:01:52 +0000 (15:01 +0200)]
[Minor] Remove more useless code from ratelimit

8 years agoMerge pull request #949 from fatalbanana/rbl
Vsevolod Stakhov [Tue, 13 Sep 2016 12:26:06 +0000 (13:26 +0100)]
Merge pull request #949 from fatalbanana/rbl

[Minor] RBL: Display matched IP instead of thing being matched against

8 years agoMerge pull request #948 from fatalbanana/rlimit3
Vsevolod Stakhov [Tue, 13 Sep 2016 12:25:58 +0000 (13:25 +0100)]
Merge pull request #948 from fatalbanana/rlimit3

[Minor] Some small changes to ratelimit

8 years ago[Feature] Normalize all ANN inputs
Vsevolod Stakhov [Tue, 13 Sep 2016 12:22:38 +0000 (13:22 +0100)]
[Feature] Normalize all ANN inputs

8 years ago[Minor] Some small changes to ratelimit 948/head
Andrew Lewis [Tue, 13 Sep 2016 09:02:44 +0000 (11:02 +0200)]
[Minor] Some small changes to ratelimit

 - Don't bother calling init() on builtin keywords
 - Adjust adaptive ratelimits to better deal with new model
 - Populate user_data from custom keyword file
 - Restore & extend user-specific ratelimit behaviour

8 years ago[Minor] RBL: Display matched IP instead of thing being matched against 949/head
Andrew Lewis [Tue, 13 Sep 2016 08:01:43 +0000 (10:01 +0200)]
[Minor] RBL: Display matched IP instead of thing being matched against

8 years ago[Minor] Do not use shortcut ANNs
Vsevolod Stakhov [Mon, 12 Sep 2016 17:24:28 +0000 (18:24 +0100)]
[Minor] Do not use shortcut ANNs

8 years ago[Minor] Fix fann inputs count check
Vsevolod Stakhov [Mon, 12 Sep 2016 16:47:35 +0000 (17:47 +0100)]
[Minor] Fix fann inputs count check

8 years ago[Minor] Remove debug message
Vsevolod Stakhov [Mon, 12 Sep 2016 16:34:38 +0000 (17:34 +0100)]
[Minor] Remove debug message

8 years agoMerge pull request #946 from fatalbanana/rlimit3
Vsevolod Stakhov [Mon, 12 Sep 2016 16:35:50 +0000 (17:35 +0100)]
Merge pull request #946 from fatalbanana/rlimit3

[Minor] Fix ratelimit rework: don't recycle stale value

8 years ago[Minor] Fix ratelimit rework: don't recycle stale value 946/head
Andrew Lewis [Mon, 12 Sep 2016 16:23:04 +0000 (18:23 +0200)]
[Minor] Fix ratelimit rework: don't recycle stale value

8 years agoMerge pull request #945 from fatalbanana/rlimit3
Vsevolod Stakhov [Mon, 12 Sep 2016 15:17:49 +0000 (16:17 +0100)]
Merge pull request #945 from fatalbanana/rlimit3

[Feature] User-defined ratelimits

8 years ago[Feature] Fann scores now uses metadata from a message
Vsevolod Stakhov [Mon, 12 Sep 2016 15:15:44 +0000 (16:15 +0100)]
[Feature] Fann scores now uses metadata from a message

By introducing of extra data, it is now possible to train ANN with
metadata of messages improving quality of filtering.

8 years ago[Feature] Allow to pass extra data from plugins to log helper
Vsevolod Stakhov [Mon, 12 Sep 2016 15:15:12 +0000 (16:15 +0100)]
[Feature] Allow to pass extra data from plugins to log helper

8 years ago[Feature] Return symbol scores when getting resulting symbols
Vsevolod Stakhov [Mon, 12 Sep 2016 15:14:49 +0000 (16:14 +0100)]
[Feature] Return symbol scores when getting resulting symbols

8 years ago[Feature] User-defined ratelimits 945/head
Andrew Lewis [Mon, 12 Sep 2016 15:12:05 +0000 (17:12 +0200)]
[Feature] User-defined ratelimits

8 years ago[Minor] Set symmetric activation functions for ANN
Vsevolod Stakhov [Mon, 12 Sep 2016 12:23:25 +0000 (13:23 +0100)]
[Minor] Set symmetric activation functions for ANN

8 years ago[Fix] Do not classify when a message has not enough tokens
Vsevolod Stakhov [Mon, 12 Sep 2016 11:31:43 +0000 (12:31 +0100)]
[Fix] Do not classify when a message has not enough tokens

Issue: #556
MFH: true

8 years ago[Minor] Explicitly reinit libevent PRNG on fork
Vsevolod Stakhov [Sun, 11 Sep 2016 21:03:57 +0000 (22:03 +0100)]
[Minor] Explicitly reinit libevent PRNG on fork

8 years agoMerge pull request #942 from fatalbanana/rlimit
Vsevolod Stakhov [Sat, 10 Sep 2016 15:24:14 +0000 (16:24 +0100)]
Merge pull request #942 from fatalbanana/rlimit

Ratelimit: handle nil values & fix nonconformant key

8 years ago[Fix] Properly handle nil values in ratelimit plugin 942/head
Andrew Lewis [Fri, 9 Sep 2016 20:42:38 +0000 (22:42 +0200)]
[Fix] Properly handle nil values in ratelimit plugin

 - Also fix nonconformant ratelimit key

8 years agoMerge pull request #941 from fatalbanana/xunit
Vsevolod Stakhov [Fri, 9 Sep 2016 15:37:40 +0000 (16:37 +0100)]
Merge pull request #941 from fatalbanana/xunit

[Minor] Generate XUnit output from tests

8 years agoMerge pull request #940 from fatalbanana/rlimit
Vsevolod Stakhov [Fri, 9 Sep 2016 15:37:33 +0000 (16:37 +0100)]
Merge pull request #940 from fatalbanana/rlimit

[Fix] Fix setting ratelimit key for 'ip' bucket

8 years agoMerge pull request #939 from fatalbanana/hfilter
Vsevolod Stakhov [Fri, 9 Sep 2016 15:37:27 +0000 (16:37 +0100)]
Merge pull request #939 from fatalbanana/hfilter

[Minor] Mostly disable Hfilter for local networks as well

8 years agoMerge pull request #938 from fatalbanana/rbl
Vsevolod Stakhov [Fri, 9 Sep 2016 15:37:08 +0000 (16:37 +0100)]
Merge pull request #938 from fatalbanana/rbl

[Feature] Descriptive options for RBL symbols

8 years ago[CritFix] Fix hyperscan compilation on regexp change
Vsevolod Stakhov [Fri, 9 Sep 2016 15:17:49 +0000 (16:17 +0100)]
[CritFix] Fix hyperscan compilation on regexp change

Rspamd could use an incorrect hyperscan database in the case when a
single regexp has been changed. In this case, Rspamd did not recalculate
the cached files causing shifting of regexp IDs. Subsequently, that
caused random regexp to match whilst completely different patterns were
expected.

With this change, Rspamd also takes care about the order of regexps
(by including it in the crypto hash). This change eliminates the issue
and Rspamd can deal with regexps changes correctly.

MFH: true

8 years ago[Minor] Generate XUnit output from tests 941/head
Andrew Lewis [Fri, 9 Sep 2016 15:13:24 +0000 (17:13 +0200)]
[Minor] Generate XUnit output from tests

8 years ago[Fix] Fix setting ratelimit key for 'ip' bucket 940/head
Andrew Lewis [Fri, 9 Sep 2016 14:55:17 +0000 (16:55 +0200)]
[Fix] Fix setting ratelimit key for 'ip' bucket

8 years ago[Fix] Fix processing of redirect in SPF includes
Vsevolod Stakhov [Fri, 9 Sep 2016 13:09:56 +0000 (14:09 +0100)]
[Fix] Fix processing of redirect in SPF includes

MFH: true

8 years ago[Fix] Fix processing of fuzzy learns from Lua
Vsevolod Stakhov [Fri, 9 Sep 2016 13:06:18 +0000 (14:06 +0100)]
[Fix] Fix processing of fuzzy learns from Lua

8 years ago[Feature] Add decompression support in rspamd client
Vsevolod Stakhov [Fri, 9 Sep 2016 12:50:37 +0000 (13:50 +0100)]
[Feature] Add decompression support in rspamd client

8 years ago[Feature] Add replies compression
Vsevolod Stakhov [Fri, 9 Sep 2016 12:39:09 +0000 (13:39 +0100)]
[Feature] Add replies compression

8 years ago[Feature] Preserve decompression context between tasks
Vsevolod Stakhov [Fri, 9 Sep 2016 11:39:38 +0000 (12:39 +0100)]
[Feature] Preserve decompression context between tasks

8 years ago[Feature] Add support for dictionary in client compression
Vsevolod Stakhov [Fri, 9 Sep 2016 11:08:35 +0000 (12:08 +0100)]
[Feature] Add support for dictionary in client compression

8 years ago[Feature] Allow to use dictionaries for compression
Vsevolod Stakhov [Fri, 9 Sep 2016 10:20:29 +0000 (11:20 +0100)]
[Feature] Allow to use dictionaries for compression

8 years ago[Minor] Mostly disable Hfilter for local networks as well 939/head
Andrew Lewis [Fri, 9 Sep 2016 12:23:57 +0000 (14:23 +0200)]
[Minor] Mostly disable Hfilter for local networks as well

8 years ago[Feature] Descriptive options for RBL symbols 938/head
Andrew Lewis [Fri, 9 Sep 2016 11:30:42 +0000 (13:30 +0200)]
[Feature] Descriptive options for RBL symbols

8 years agoMerge pull request #937 from fatalbanana/replies
Vsevolod Stakhov [Thu, 8 Sep 2016 17:50:42 +0000 (18:50 +0100)]
Merge pull request #937 from fatalbanana/replies

Don't force action in replies module for authed users/local networks

8 years ago[Feature] Add compression support to rspamd client
Vsevolod Stakhov [Thu, 8 Sep 2016 17:42:42 +0000 (18:42 +0100)]
[Feature] Add compression support to rspamd client

8 years ago[Minor] Small fixes to compressed requests
Vsevolod Stakhov [Thu, 8 Sep 2016 17:42:24 +0000 (18:42 +0100)]
[Minor] Small fixes to compressed requests

8 years ago[Feature] Add support for input encryption
Vsevolod Stakhov [Thu, 8 Sep 2016 17:17:16 +0000 (18:17 +0100)]
[Feature] Add support for input encryption

8 years ago[Fix] Don't force action in replies module for authenticated users/local networks 937/head
Andrew Lewis [Thu, 8 Sep 2016 16:50:42 +0000 (18:50 +0200)]
[Fix] Don't force action in replies module for authenticated users/local networks

8 years ago[Feature] Add zstd compression library
Vsevolod Stakhov [Thu, 8 Sep 2016 15:59:45 +0000 (16:59 +0100)]
[Feature] Add zstd compression library

8 years ago[Minor] Improve shared memory fd check
Vsevolod Stakhov [Thu, 8 Sep 2016 15:20:30 +0000 (16:20 +0100)]
[Minor] Improve shared memory fd check

8 years agoMerge pull request #935 from fatalbanana/composites
Vsevolod Stakhov [Thu, 8 Sep 2016 15:12:17 +0000 (16:12 +0100)]
Merge pull request #935 from fatalbanana/composites

[Minor] Fine-tune composites

8 years agoMerge pull request #934 from fatalbanana/dmarc
Vsevolod Stakhov [Thu, 8 Sep 2016 15:12:03 +0000 (16:12 +0100)]
Merge pull request #934 from fatalbanana/dmarc

[Feature] Descriptive options for DMARC failure symbols

8 years ago[Minor] Fine-tune composites 935/head
Andrew Lewis [Thu, 8 Sep 2016 14:41:27 +0000 (16:41 +0200)]
[Minor] Fine-tune composites

8 years ago[Feature] Descriptive options for DMARC failure symbols 934/head
Andrew Lewis [Thu, 8 Sep 2016 14:16:16 +0000 (16:16 +0200)]
[Feature] Descriptive options for DMARC failure symbols

8 years ago[Fix] Handle failures for inactive pooled connections
Vsevolod Stakhov [Thu, 8 Sep 2016 14:25:28 +0000 (15:25 +0100)]
[Fix] Handle failures for inactive pooled connections

8 years ago[Fix] Fix hiredis stupidity
Vsevolod Stakhov [Thu, 8 Sep 2016 14:25:12 +0000 (15:25 +0100)]
[Fix] Fix hiredis stupidity

8 years ago[Fix] Treat all errors in redis_pool as fatal errors for a connection
Vsevolod Stakhov [Thu, 8 Sep 2016 13:40:38 +0000 (14:40 +0100)]
[Fix] Treat all errors in redis_pool as fatal errors for a connection

8 years ago[Fix] Use real size instead of displayed for core limits
Vsevolod Stakhov [Thu, 8 Sep 2016 12:23:49 +0000 (13:23 +0100)]
[Fix] Use real size instead of displayed for core limits

8 years ago[Minor] Fix order check for post-filters
Vsevolod Stakhov [Thu, 8 Sep 2016 11:22:54 +0000 (12:22 +0100)]
[Minor] Fix order check for post-filters

8 years ago[Feature] Implement real priorities for pre and post filters
Vsevolod Stakhov [Thu, 8 Sep 2016 11:11:46 +0000 (12:11 +0100)]
[Feature] Implement real priorities for pre and post filters

Now pre and post filters with higher priorities have guarantee to be
finished before (or after in case of postfilters) filters with lower priorities.
Previously, there was a guarantee for start time which was not enough
for many use cases.

8 years ago[Minor] Improve logging for ratelimit
Vsevolod Stakhov [Thu, 8 Sep 2016 10:54:03 +0000 (11:54 +0100)]
[Minor] Improve logging for ratelimit

8 years ago[Minor] Remove redundant config line
Vsevolod Stakhov [Thu, 8 Sep 2016 10:35:27 +0000 (11:35 +0100)]
[Minor] Remove redundant config line

8 years ago[Minor] Improve log message
Vsevolod Stakhov [Wed, 7 Sep 2016 16:30:43 +0000 (17:30 +0100)]
[Minor] Improve log message

8 years ago[Fix] Another fix for rdns_make_request_full invocation
Vsevolod Stakhov [Wed, 7 Sep 2016 15:16:07 +0000 (16:16 +0100)]
[Fix] Another fix for rdns_make_request_full invocation

8 years ago[Fix] Fix DNS request in monitored
Vsevolod Stakhov [Wed, 7 Sep 2016 11:15:29 +0000 (12:15 +0100)]
[Fix] Fix DNS request in monitored

8 years ago[Minor] Try to hunt issue with redis pool failures
Vsevolod Stakhov [Tue, 6 Sep 2016 16:03:48 +0000 (17:03 +0100)]
[Minor] Try to hunt issue with redis pool failures

8 years agoMerge pull request #930 from fatalbanana/ratelimit
Vsevolod Stakhov [Tue, 6 Sep 2016 15:17:47 +0000 (16:17 +0100)]
Merge pull request #930 from fatalbanana/ratelimit

Ratelimit: remove duplicated division on ham scores; fix registration

8 years ago[Feature] Add support for fuzzy learn and unlearn from lua
Vsevolod Stakhov [Tue, 6 Sep 2016 15:14:53 +0000 (16:14 +0100)]
[Feature] Add support for fuzzy learn and unlearn from lua