]>
source.dussan.org Git - rspamd.git/log
Andrew Lewis [Tue, 13 Sep 2016 13:01:52 +0000 (15:01 +0200)]
[Minor] Remove more useless code from ratelimit
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 [Mon, 12 Sep 2016 16:23:04 +0000 (18:23 +0200)]
[Minor] Fix ratelimit rework: don't recycle stale value
Andrew Lewis [Mon, 12 Sep 2016 15:12:05 +0000 (17:12 +0200)]
[Feature] User-defined ratelimits
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
Andrew Lewis [Mon, 5 Sep 2016 11:48:47 +0000 (13:48 +0200)]
[Feature] Relax FORGED_RECIPIENTS: allow senders to BCC themselves
Andrew Lewis [Mon, 5 Sep 2016 07:03:17 +0000 (09:03 +0200)]
Revert "[WebUI] Fix saving actions from web interface (#769)"
This reverts commit
692a0de56d09031d96864fc71bdefb361be41a33 .
Andrew Lewis [Mon, 5 Sep 2016 06:48:00 +0000 (08:48 +0200)]
Revert "[Feature] Add common way to disable Lua modules"
This reverts commit
f552edd887794a5086dcf93d36f8f82d83553196 .
Conflicts:
src/plugins/lua/antivirus.lua
src/plugins/lua/asn.lua
src/plugins/lua/dcc.lua
src/plugins/lua/dmarc.lua
src/plugins/lua/emails.lua
src/plugins/lua/forged_recipients.lua
src/plugins/lua/greylist.lua
src/plugins/lua/hfilter.lua
src/plugins/lua/ip_score.lua
src/plugins/lua/maillist.lua
src/plugins/lua/mime_types.lua
src/plugins/lua/multimap.lua
src/plugins/lua/once_received.lua
src/plugins/lua/ratelimit.lua
src/plugins/lua/rbl.lua
src/plugins/lua/replies.lua
src/plugins/lua/rspamd_update.lua
src/plugins/lua/trie.lua
src/plugins/lua/whitelist.lua
Vsevolod Stakhov [Sun, 4 Sep 2016 18:59:35 +0000 (19:59 +0100)]
[Minor] Forgot to save in the previous commit
Vsevolod Stakhov [Sun, 4 Sep 2016 18:58:04 +0000 (19:58 +0100)]
[Minor] Use infox instead of info in logging
Vsevolod Stakhov [Sun, 4 Sep 2016 18:57:54 +0000 (19:57 +0100)]
[Minor] Fix macro usage
Vsevolod Stakhov [Sat, 3 Sep 2016 15:31:40 +0000 (16:31 +0100)]
[Feature] Add more meta-tokens to bayes
Vsevolod Stakhov [Fri, 2 Sep 2016 17:29:18 +0000 (18:29 +0100)]
Merge pull request #927 from fatalbanana/fixtest
[Test] Fix setting DBDIR
Vsevolod Stakhov [Fri, 2 Sep 2016 17:29:08 +0000 (18:29 +0100)]
Merge pull request #926 from fatalbanana/minor
[Minor] Fix log message; don't use legacy API
Andrew Lewis [Fri, 2 Sep 2016 16:49:54 +0000 (18:49 +0200)]
[Test] Fix stats_path
Vsevolod Stakhov [Fri, 2 Sep 2016 16:52:20 +0000 (17:52 +0100)]
[Minor] Implement some features of redis backend
Vsevolod Stakhov [Fri, 2 Sep 2016 15:01:55 +0000 (16:01 +0100)]
[Minor] Skeleton for redis fuzzy backend
Vsevolod Stakhov [Fri, 2 Sep 2016 14:33:16 +0000 (15:33 +0100)]
[Minor] `type` -> `backend` for fuzzy backend type
Vsevolod Stakhov [Fri, 2 Sep 2016 14:30:22 +0000 (15:30 +0100)]
[Minor] Fix periodic updates
Vsevolod Stakhov [Fri, 2 Sep 2016 13:33:49 +0000 (14:33 +0100)]
Merge branch 'fuzzy-backend-rework'
Vsevolod Stakhov [Fri, 2 Sep 2016 13:32:58 +0000 (14:32 +0100)]
[Rework] Adopt fuzzy storage for abstract backend
Andrew Lewis [Thu, 1 Sep 2016 17:43:21 +0000 (19:43 +0200)]
[Minor] Fix log message; don't use legacy API
Vsevolod Stakhov [Thu, 1 Sep 2016 20:14:52 +0000 (21:14 +0100)]
[Minor] Add more routines to fuzzy backend subrs
Vsevolod Stakhov [Thu, 1 Sep 2016 15:41:41 +0000 (16:41 +0100)]
Merge pull request #924 from fatalbanana/enabled
[Feature] Add common way to disable Lua modules
Vsevolod Stakhov [Thu, 1 Sep 2016 15:31:45 +0000 (16:31 +0100)]
[Minor] Add sqlite helpers to the abstract API
Andrew Lewis [Thu, 1 Sep 2016 15:25:12 +0000 (17:25 +0200)]
[Feature] Add common way to disable Lua modules
Vsevolod Stakhov [Thu, 1 Sep 2016 15:14:00 +0000 (16:14 +0100)]
[Minor] Add skeleton for backend abstract functions
Vsevolod Stakhov [Thu, 1 Sep 2016 14:58:05 +0000 (15:58 +0100)]
[Rework] Reorganize the internal backend structure
Vsevolod Stakhov [Thu, 1 Sep 2016 13:38:20 +0000 (14:38 +0100)]
[Rework] Reorganize fuzzy backend structure
Vsevolod Stakhov [Thu, 1 Sep 2016 11:20:27 +0000 (12:20 +0100)]
Merge pull request #922 from fatalbanana/dkim
[Minor] Don't yield R_DKIM_NA for local/authenticated/whitelisted senders
Vsevolod Stakhov [Thu, 1 Sep 2016 11:19:57 +0000 (12:19 +0100)]
Merge pull request #923 from fatalbanana/maxn
[Fix] Banish table.maxn from Lua parts
Vsevolod Stakhov [Thu, 1 Sep 2016 10:34:46 +0000 (11:34 +0100)]
[Fix] Use the correct macro to get the size of control
Andrew Lewis [Thu, 1 Sep 2016 08:22:50 +0000 (10:22 +0200)]
[Fix] Banish table.maxn from Lua parts
Andrew Lewis [Thu, 1 Sep 2016 07:42:12 +0000 (09:42 +0200)]
[Minor] Don't yield R_DKIM_NA for local/authenticated/whitelisted senders
Vsevolod Stakhov [Wed, 31 Aug 2016 20:40:52 +0000 (21:40 +0100)]
Merge pull request #919 from fatalbanana/spamhaus
[Minor] Silence RBL log
Vsevolod Stakhov [Wed, 31 Aug 2016 20:37:27 +0000 (21:37 +0100)]
[Minor] Do not blame about unsupported file locks
Vsevolod Stakhov [Wed, 31 Aug 2016 16:07:44 +0000 (17:07 +0100)]
[Fix] Fix actrie patterns
Andrew Lewis [Wed, 31 Aug 2016 15:00:22 +0000 (17:00 +0200)]
[Minor] Silence RBL log
Vsevolod Stakhov [Wed, 31 Aug 2016 14:33:58 +0000 (15:33 +0100)]
[Minor] Tune printf for hex and base32 input strings
Vsevolod Stakhov [Wed, 31 Aug 2016 10:54:00 +0000 (11:54 +0100)]
[Fix] Fix format string
Vsevolod Stakhov [Wed, 31 Aug 2016 10:40:03 +0000 (11:40 +0100)]
[Fix] Fix min_learns option