]>
source.dussan.org Git - rspamd.git/log
Alexander Moisseev [Mon, 19 Sep 2016 06:48:38 +0000 (09:48 +0300)]
[Minor] Disable ONCE_RECEIVED for local networks
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
Alexander Moisseev [Sun, 18 Sep 2016 08:02:44 +0000 (11:02 +0300)]
[Fix] Skip MX check for authenticated users and local networks
Vsevolod Stakhov [Sat, 17 Sep 2016 17:31:19 +0000 (18:31 +0100)]
[Minor] Resolve A record if all MXes are absent
Vsevolod Stakhov [Sat, 17 Sep 2016 17:28:59 +0000 (18:28 +0100)]
[Minor] Use HELO when SMTP from is empty
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
Vsevolod Stakhov [Sat, 17 Sep 2016 15:35:07 +0000 (16:35 +0100)]
[Minor] Some fixes to lua_tcp module
Vsevolod Stakhov [Sat, 17 Sep 2016 12:35:15 +0000 (13:35 +0100)]
[Minor] Allow to set timeout for a connection
Vsevolod Stakhov [Sat, 17 Sep 2016 12:28:22 +0000 (13:28 +0100)]
[Minor] Use byte array not gstring for input buffer
Vsevolod Stakhov [Sat, 17 Sep 2016 12:22:20 +0000 (13:22 +0100)]
[Feature] Rework lua tcp module
Vsevolod Stakhov [Fri, 16 Sep 2016 17:45:43 +0000 (18:45 +0100)]
[Fix] Fix parsing of lua comments with empty lines
Vsevolod Stakhov [Fri, 16 Sep 2016 11:18:04 +0000 (12:18 +0100)]
[Minor] Improve logging for fann train
Vsevolod Stakhov [Fri, 16 Sep 2016 11:05:20 +0000 (12:05 +0100)]
[Minor] Reduce log noise
Vsevolod Stakhov [Thu, 15 Sep 2016 11:09:40 +0000 (12:09 +0100)]
[Minor] Fix compilation
Vsevolod Stakhov [Thu, 15 Sep 2016 10:57:34 +0000 (11:57 +0100)]
[Minor] Use attachments filenames as bayes tokens
Vsevolod Stakhov [Wed, 14 Sep 2016 22:53:01 +0000 (23:53 +0100)]
[Minor] Improve constant memcmp function
Vsevolod Stakhov [Wed, 14 Sep 2016 10:02:44 +0000 (11:02 +0100)]
Merge pull request #952 from fatalbanana/rlimit4
Ratelimit fixes
Vsevolod Stakhov [Wed, 14 Sep 2016 09:55:08 +0000 (10:55 +0100)]
[Minor] Use mime recipients count as a metatoken
Andrew Lewis [Wed, 14 Sep 2016 08:39:20 +0000 (10:39 +0200)]
[Minor] Fix whitelisted_user map initialisation
Andrew Lewis [Wed, 14 Sep 2016 06:56:24 +0000 (08:56 +0200)]
[Minor] Ratelimit: don't copy data
Vsevolod Stakhov [Tue, 13 Sep 2016 15:26:21 +0000 (16:26 +0100)]
[Fix] Allow plain IP addresses in Rspamd maps
MFH: true
Vsevolod Stakhov [Tue, 13 Sep 2016 13:08:47 +0000 (14:08 +0100)]
Merge pull request #950 from fatalbanana/rlimit3
More ratelimit cleanup
Andrew Lewis [Tue, 13 Sep 2016 13:01:52 +0000 (15:01 +0200)]
[Minor] Remove more useless code from ratelimit
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
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
Vsevolod Stakhov [Tue, 13 Sep 2016 12:22:38 +0000 (13:22 +0100)]
[Feature] Normalize all ANN inputs
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
Andrew Lewis [Tue, 13 Sep 2016 08:01:43 +0000 (10:01 +0200)]
[Minor] RBL: Display matched IP instead of thing being matched against
Vsevolod Stakhov [Mon, 12 Sep 2016 17:24:28 +0000 (18:24 +0100)]
[Minor] Do not use shortcut ANNs
Vsevolod Stakhov [Mon, 12 Sep 2016 16:47:35 +0000 (17:47 +0100)]
[Minor] Fix fann inputs count check
Vsevolod Stakhov [Mon, 12 Sep 2016 16:34:38 +0000 (17:34 +0100)]
[Minor] Remove debug message
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
Andrew Lewis [Mon, 12 Sep 2016 16:23:04 +0000 (18:23 +0200)]
[Minor] Fix ratelimit rework: don't recycle stale value
Vsevolod Stakhov [Mon, 12 Sep 2016 15:17:49 +0000 (16:17 +0100)]
Merge pull request #945 from fatalbanana/rlimit3
[Feature] User-defined ratelimits
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.
Vsevolod Stakhov [Mon, 12 Sep 2016 15:15:12 +0000 (16:15 +0100)]
[Feature] Allow to pass extra data from plugins to log helper
Vsevolod Stakhov [Mon, 12 Sep 2016 15:14:49 +0000 (16:14 +0100)]
[Feature] Return symbol scores when getting resulting symbols
Andrew Lewis [Mon, 12 Sep 2016 15:12:05 +0000 (17:12 +0200)]
[Feature] User-defined ratelimits
Vsevolod Stakhov [Mon, 12 Sep 2016 12:23:25 +0000 (13:23 +0100)]
[Minor] Set symmetric activation functions for ANN
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
Vsevolod Stakhov [Sun, 11 Sep 2016 21:03:57 +0000 (22:03 +0100)]
[Minor] Explicitly reinit libevent PRNG on fork
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
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
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
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
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
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
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
Andrew Lewis [Fri, 9 Sep 2016 15:13:24 +0000 (17:13 +0200)]
[Minor] Generate XUnit output from tests
Andrew Lewis [Fri, 9 Sep 2016 14:55:17 +0000 (16:55 +0200)]
[Fix] Fix setting ratelimit key for 'ip' bucket
Vsevolod Stakhov [Fri, 9 Sep 2016 13:09:56 +0000 (14:09 +0100)]
[Fix] Fix processing of redirect in SPF includes
MFH: true
Vsevolod Stakhov [Fri, 9 Sep 2016 13:06:18 +0000 (14:06 +0100)]
[Fix] Fix processing of fuzzy learns from Lua
Vsevolod Stakhov [Fri, 9 Sep 2016 12:50:37 +0000 (13:50 +0100)]
[Feature] Add decompression support in rspamd client
Vsevolod Stakhov [Fri, 9 Sep 2016 12:39:09 +0000 (13:39 +0100)]
[Feature] Add replies compression
Vsevolod Stakhov [Fri, 9 Sep 2016 11:39:38 +0000 (12:39 +0100)]
[Feature] Preserve decompression context between tasks
Vsevolod Stakhov [Fri, 9 Sep 2016 11:08:35 +0000 (12:08 +0100)]
[Feature] Add support for dictionary in client compression
Vsevolod Stakhov [Fri, 9 Sep 2016 10:20:29 +0000 (11:20 +0100)]
[Feature] Allow to use dictionaries for compression
Andrew Lewis [Fri, 9 Sep 2016 12:23:57 +0000 (14:23 +0200)]
[Minor] Mostly disable Hfilter for local networks as well
Andrew Lewis [Fri, 9 Sep 2016 11:30:42 +0000 (13:30 +0200)]
[Feature] Descriptive options for RBL symbols
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
Vsevolod Stakhov [Thu, 8 Sep 2016 17:42:42 +0000 (18:42 +0100)]
[Feature] Add compression support to rspamd client
Vsevolod Stakhov [Thu, 8 Sep 2016 17:42:24 +0000 (18:42 +0100)]
[Minor] Small fixes to compressed requests
Vsevolod Stakhov [Thu, 8 Sep 2016 17:17:16 +0000 (18:17 +0100)]
[Feature] Add support for input encryption
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
Vsevolod Stakhov [Thu, 8 Sep 2016 15:59:45 +0000 (16:59 +0100)]
[Feature] Add zstd compression library
Vsevolod Stakhov [Thu, 8 Sep 2016 15:20:30 +0000 (16:20 +0100)]
[Minor] Improve shared memory fd check
Vsevolod Stakhov [Thu, 8 Sep 2016 15:12:17 +0000 (16:12 +0100)]
Merge pull request #935 from fatalbanana/composites
[Minor] Fine-tune composites
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
Andrew Lewis [Thu, 8 Sep 2016 14:41:27 +0000 (16:41 +0200)]
[Minor] Fine-tune composites
Andrew Lewis [Thu, 8 Sep 2016 14:16:16 +0000 (16:16 +0200)]
[Feature] Descriptive options for DMARC failure symbols
Vsevolod Stakhov [Thu, 8 Sep 2016 14:25:28 +0000 (15:25 +0100)]
[Fix] Handle failures for inactive pooled connections
Vsevolod Stakhov [Thu, 8 Sep 2016 14:25:12 +0000 (15:25 +0100)]
[Fix] Fix hiredis stupidity
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
Vsevolod Stakhov [Thu, 8 Sep 2016 12:23:49 +0000 (13:23 +0100)]
[Fix] Use real size instead of displayed for core limits
Vsevolod Stakhov [Thu, 8 Sep 2016 11:22:54 +0000 (12:22 +0100)]
[Minor] Fix order check for 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.
Vsevolod Stakhov [Thu, 8 Sep 2016 10:54:03 +0000 (11:54 +0100)]
[Minor] Improve logging for ratelimit
Vsevolod Stakhov [Thu, 8 Sep 2016 10:35:27 +0000 (11:35 +0100)]
[Minor] Remove redundant config line
Vsevolod Stakhov [Wed, 7 Sep 2016 16:30:43 +0000 (17:30 +0100)]
[Minor] Improve log message
Vsevolod Stakhov [Wed, 7 Sep 2016 15:16:07 +0000 (16:16 +0100)]
[Fix] Another fix for rdns_make_request_full invocation
Vsevolod Stakhov [Wed, 7 Sep 2016 11:15:29 +0000 (12:15 +0100)]
[Fix] Fix DNS request in monitored
Vsevolod Stakhov [Tue, 6 Sep 2016 16:03:48 +0000 (17:03 +0100)]
[Minor] Try to hunt issue with redis pool failures
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
Vsevolod Stakhov [Tue, 6 Sep 2016 15:14:53 +0000 (16:14 +0100)]
[Feature] Add support for fuzzy learn and unlearn from lua
Vsevolod Stakhov [Tue, 6 Sep 2016 15:14:34 +0000 (16:14 +0100)]
[Feature] Allow plugins to publish their lua API via rspamd_plugins
Andrew Lewis [Tue, 6 Sep 2016 15:03:45 +0000 (17:03 +0200)]
[Minor] Ratelimit: remove duplicated division on ham scores; fix registration
Vsevolod Stakhov [Tue, 6 Sep 2016 13:18:43 +0000 (14:18 +0100)]
[Fix] Fix variable in ann module
Vsevolod Stakhov [Tue, 6 Sep 2016 13:17:28 +0000 (14:17 +0100)]
[Minor] Fix use-after-free
Vsevolod Stakhov [Tue, 6 Sep 2016 12:06:56 +0000 (13:06 +0100)]
[Minor] Create updates queue befroe periodic updates
Vsevolod Stakhov [Tue, 6 Sep 2016 09:36:38 +0000 (10:36 +0100)]
[Minor] Fix symbols registration in fann
Vsevolod Stakhov [Mon, 5 Sep 2016 20:13:21 +0000 (21:13 +0100)]
[Minor] Add logging to the redis backend for fuzzy
Vsevolod Stakhov [Mon, 5 Sep 2016 16:35:11 +0000 (17:35 +0100)]
Merge pull request #928 from fatalbanana/derp
Revert useless commits
Vsevolod Stakhov [Mon, 5 Sep 2016 16:34:35 +0000 (17:34 +0100)]
Merge pull request #929 from fatalbanana/forged
[Feature] Relax FORGED_RECIPIENTS: allow senders to BCC themselves
Vsevolod Stakhov [Mon, 5 Sep 2016 16:18:05 +0000 (17:18 +0100)]
[Feature] Insert two symbols: FANN_HAM and FANN_SPAM instead of one
Vsevolod Stakhov [Mon, 5 Sep 2016 15:57:40 +0000 (16:57 +0100)]
[Minor] Fix multiple issues in redis fuzzy backend
Vsevolod Stakhov [Mon, 5 Sep 2016 15:57:26 +0000 (16:57 +0100)]
[Fix] Adopt fuzzy storage for flexible backends
Vsevolod Stakhov [Mon, 5 Sep 2016 15:57:06 +0000 (16:57 +0100)]
[Minor] Print worker index when starting it
Vsevolod Stakhov [Mon, 5 Sep 2016 14:26:08 +0000 (15:26 +0100)]
[Minor] Implement the rest functions for redis fuzzy backend
Vsevolod Stakhov [Mon, 5 Sep 2016 12:50:39 +0000 (13:50 +0100)]
[Minor] Implement checks in redis fuzzy backend
Vsevolod Stakhov [Mon, 5 Sep 2016 12:50:12 +0000 (13:50 +0100)]
[Fix] Correctly propagate redis timeouts to Lua