]> source.dussan.org Git - rspamd.git/log
rspamd.git
8 years ago[Fix] DMARC: deal with missing and spurious spaces 865/head
Andrew Lewis [Fri, 19 Aug 2016 19:26:23 +0000 (21:26 +0200)]
[Fix] DMARC: deal with missing and spurious spaces

8 years ago[Minor] Do not traverse empty HTML tree
Vsevolod Stakhov [Fri, 19 Aug 2016 16:13:00 +0000 (17:13 +0100)]
[Minor] Do not traverse empty HTML tree

8 years agoMerge pull request #862 from fatalbanana/userdata
Vsevolod Stakhov [Fri, 19 Aug 2016 12:47:47 +0000 (13:47 +0100)]
Merge pull request #862 from fatalbanana/userdata

Make REDIS_REPLY_NIL non-nil again

8 years ago[Minor] Deal with non-nil REDIS_NIL in multimap 862/head
Andrew Lewis [Fri, 19 Aug 2016 11:45:53 +0000 (13:45 +0200)]
[Minor] Deal with non-nil REDIS_NIL in multimap

8 years agoRevert "[Fix] Fix returning of REDIS_NIL"
Andrew Lewis [Fri, 19 Aug 2016 11:43:32 +0000 (13:43 +0200)]
Revert "[Fix] Fix returning of REDIS_NIL"

This reverts commit ca2374d88c09759f2a46e68801e5eb557eee7d3b.

8 years agoMerge pull request #861 from fatalbanana/scoring
Vsevolod Stakhov [Fri, 19 Aug 2016 10:26:50 +0000 (11:26 +0100)]
Merge pull request #861 from fatalbanana/scoring

[Minor] Zero scoring on some informational symbols

8 years agoMerge pull request #860 from fatalbanana/ipscore2
Vsevolod Stakhov [Fri, 19 Aug 2016 10:26:27 +0000 (11:26 +0100)]
Merge pull request #860 from fatalbanana/ipscore2

[Feature] Allow for more fine-grained scoring for ip_score

8 years ago[Minor] Zero scoring on some informational symbols 861/head
Andrew Lewis [Fri, 19 Aug 2016 10:10:11 +0000 (12:10 +0200)]
[Minor] Zero scoring on some informational symbols

8 years ago[Feature] Allow for more fine-grained scoring for ip_score 860/head
Andrew Lewis [Fri, 19 Aug 2016 09:37:46 +0000 (11:37 +0200)]
[Feature] Allow for more fine-grained scoring for ip_score

 - Also simplify some funny math

8 years ago[Feature] Add SPF method in spf return result
Vsevolod Stakhov [Fri, 19 Aug 2016 09:27:43 +0000 (10:27 +0100)]
[Feature] Add SPF method in spf return result

Issue: #831
Reported by: @moisseev

8 years ago[Fix] Make dnssec configurable option disabled by default for now
Vsevolod Stakhov [Thu, 18 Aug 2016 15:13:24 +0000 (16:13 +0100)]
[Fix] Make dnssec configurable option disabled by default for now

8 years ago[Feature] Pass authenticated bit to lua
Vsevolod Stakhov [Thu, 18 Aug 2016 15:00:44 +0000 (16:00 +0100)]
[Feature] Pass authenticated bit to lua

8 years ago[Minor] Make function to punycode DNS values publicly available
Vsevolod Stakhov [Thu, 18 Aug 2016 14:51:14 +0000 (15:51 +0100)]
[Minor] Make function to punycode DNS values publicly available

8 years ago[Feature] Add support of stub DNSSEC resolver to rdns
Vsevolod Stakhov [Thu, 18 Aug 2016 14:34:14 +0000 (15:34 +0100)]
[Feature] Add support of stub DNSSEC resolver to rdns

8 years ago[Feature] Read redis backend statistics configuration from global section
Vsevolod Stakhov [Thu, 18 Aug 2016 13:18:04 +0000 (14:18 +0100)]
[Feature] Read redis backend statistics configuration from global section

Issue: #766

8 years agoMerge pull request #858 from fatalbanana/ipscore
Vsevolod Stakhov [Thu, 18 Aug 2016 12:25:07 +0000 (13:25 +0100)]
Merge pull request #858 from fatalbanana/ipscore

[Fix] Defer insertion of results in ip_score to avoid skewing stats

8 years agoMerge pull request #857 from fatalbanana/mempool
Vsevolod Stakhov [Thu, 18 Aug 2016 12:24:43 +0000 (13:24 +0100)]
Merge pull request #857 from fatalbanana/mempool

[Feature] Add mempool maps in multimap (instead of ASN/country)

8 years ago[Fix] Fix reload in some plugins and workers
Vsevolod Stakhov [Thu, 18 Aug 2016 12:21:05 +0000 (13:21 +0100)]
[Fix] Fix reload in some plugins and workers

8 years ago[Fix] Fix reloading on SIGHUP
Vsevolod Stakhov [Thu, 18 Aug 2016 12:20:48 +0000 (13:20 +0100)]
[Fix] Fix reloading on SIGHUP

8 years ago[Feature] Add mempool maps in multimap 857/head
Andrew Lewis [Thu, 18 Aug 2016 09:23:30 +0000 (11:23 +0200)]
[Feature] Add mempool maps in multimap

8 years ago[Fix] Defer insertion of results in ip_score to avoid skewing stats 858/head
Andrew Lewis [Thu, 18 Aug 2016 06:58:56 +0000 (08:58 +0200)]
[Fix] Defer insertion of results in ip_score to avoid skewing stats

8 years ago[Minor] Remove google.com from whitelist because of spam abuse
Vsevolod Stakhov [Wed, 17 Aug 2016 13:07:10 +0000 (14:07 +0100)]
[Minor] Remove google.com from whitelist because of spam abuse

8 years agoMerge pull request #856 from fatalbanana/asn
Vsevolod Stakhov [Wed, 17 Aug 2016 10:12:38 +0000 (11:12 +0100)]
Merge pull request #856 from fatalbanana/asn

[Feature] Dedicated module for getting ASN information (Fixes #197)

8 years ago[Feature] ASN module; support matching ASN/country in multimap 856/head
Andrew Lewis [Wed, 17 Aug 2016 09:33:06 +0000 (11:33 +0200)]
[Feature] ASN module; support matching ASN/country in multimap

 - Also removed stuff from ip_score
 - Updated tests

8 years ago[Feature] Log URLs encrypted if we have log encryption pubkey
Vsevolod Stakhov [Tue, 16 Aug 2016 16:03:07 +0000 (17:03 +0100)]
[Feature] Log URLs encrypted if we have log encryption pubkey

8 years ago[Feature] Implement encrypted logs
Vsevolod Stakhov [Tue, 16 Aug 2016 15:45:34 +0000 (16:45 +0100)]
[Feature] Implement encrypted logs

8 years ago[Rework] Rework flags in rspamd logger
Vsevolod Stakhov [Tue, 16 Aug 2016 14:06:14 +0000 (15:06 +0100)]
[Rework] Rework flags in rspamd logger

8 years agoMerge pull request #853 from fatalbanana/cc
Vsevolod Stakhov [Tue, 16 Aug 2016 12:39:27 +0000 (13:39 +0100)]
Merge pull request #853 from fatalbanana/cc

[Test] Use out of tree build for tests/code coverage

8 years ago[Test] Use out of tree build for tests/code coverage 853/head
Andrew Lewis [Tue, 16 Aug 2016 11:30:23 +0000 (13:30 +0200)]
[Test] Use out of tree build for tests/code coverage

 - Also a loosely-related fix for test library

8 years ago[Feature] Add task:get_digest method
Vsevolod Stakhov [Tue, 16 Aug 2016 11:17:10 +0000 (12:17 +0100)]
[Feature] Add task:get_digest method

8 years ago[Fix] Fix hex printing of strings
Vsevolod Stakhov [Tue, 16 Aug 2016 11:16:55 +0000 (12:16 +0100)]
[Fix] Fix hex printing of strings

8 years agoMerge pull request #852 from fatalbanana/statconvert
Vsevolod Stakhov [Tue, 16 Aug 2016 10:22:12 +0000 (11:22 +0100)]
Merge pull request #852 from fatalbanana/statconvert

[Fix] rspamadm statconvert: Oops- fix variable clobbering

8 years ago[Fix] rspamadm statconvert: Oops- fix variable clobbering 852/head
Andrew Lewis [Tue, 16 Aug 2016 10:06:26 +0000 (12:06 +0200)]
[Fix] rspamadm statconvert: Oops- fix variable clobbering

8 years agoMerge pull request #850 from fatalbanana/statconvert
Vsevolod Stakhov [Tue, 16 Aug 2016 09:30:40 +0000 (10:30 +0100)]
Merge pull request #850 from fatalbanana/statconvert

Fixes for rspamadm statconvert (#766)

8 years ago[Fix] rspamadm statconvert: force db to be a string 850/head
Andrew Lewis [Tue, 16 Aug 2016 08:59:49 +0000 (10:59 +0200)]
[Fix] rspamadm statconvert: force db to be a string

8 years ago[Fix] Avoid setting limits when required elements are missing
Vsevolod Stakhov [Tue, 16 Aug 2016 08:55:37 +0000 (09:55 +0100)]
[Fix] Avoid setting limits when required elements are missing

8 years ago[Fix] rspamadm statconvert: use db/password for learn cache
Andrew Lewis [Tue, 16 Aug 2016 08:01:48 +0000 (10:01 +0200)]
[Fix] rspamadm statconvert: use db/password for learn cache

8 years ago[Feature] Allow to print message digest in logs
Vsevolod Stakhov [Mon, 15 Aug 2016 17:41:25 +0000 (18:41 +0100)]
[Feature] Allow to print message digest in logs

8 years ago[Feature] Store task checksum
Vsevolod Stakhov [Mon, 15 Aug 2016 17:32:42 +0000 (18:32 +0100)]
[Feature] Store task checksum

8 years ago[Feature] Allow to get digest of a mime part from lua
Vsevolod Stakhov [Mon, 15 Aug 2016 16:58:07 +0000 (17:58 +0100)]
[Feature] Allow to get digest of a mime part from lua

8 years ago[Feature] Fold DKIM-Signature header
Vsevolod Stakhov [Mon, 15 Aug 2016 15:26:24 +0000 (16:26 +0100)]
[Feature] Fold DKIM-Signature header

8 years ago[Minor] Update to 1.3.4
Vsevolod Stakhov [Mon, 15 Aug 2016 13:46:59 +0000 (14:46 +0100)]
[Minor] Update to 1.3.4

8 years agoRelease 1.3.3
Vsevolod Stakhov [Mon, 15 Aug 2016 13:42:08 +0000 (14:42 +0100)]
Release 1.3.3

* [CritFix] Check hyperscan cache sanity before loading
* [CritFix] Fix setting of fuzzy keys (completely breaks fuzzy storage)
* [Feature] Add SARBL (sarbl.org) uribl
* [Feature] Add `--search-pattern` option to rspamd_stats
* [Feature] Add some sanity check for very long from/to log elements
* [Feature] Allow to create hashes from string in a single step
* [Feature] Fix order of pre and postfilters
* [Feature] Improve lua URLs API
* [Feature] Improve message about fuzzy rules
* [Feature] Pre-calculate blake2 digest for all parts
* [Feature] Print radix duplicate keys as IP addresses
* [Feature] Simple mechanism for disabling RBLs in local.d/rbl.conf
* [Feature] Use faster hash function for fuzzy storage
* [Feature] rspamd_stats: support log directory reading
* [Fix] Add sanity check for url filters
* [Fix] Do not show rmilter section as a fake metric in rspamc
* [Fix] Fix URL filters
* [Fix] Fix a stupid mistake in util.strequal_caseless
* [Fix] Fix blake2b hash of the string "rspamd"
* [Fix] Fix filename maps filter
* [Fix] Fix finding tld in util.get_tld
* [Fix] Fix multimap content filters
* [Fix] Fix returning boolean from Lua
* [Fix] Fix returning of REDIS_NIL
* [Fix] Try to deal with multiple workers terminated
* [Fix] Use forced DNS request when calling for lua_http
* [Rework] Rework multimap filters, add redis maps

Signed-off-by: Vsevolod Stakhov <vsevolod@highsecure.ru>
8 years agoMerge pull request #849 from fatalbanana/testfix
Vsevolod Stakhov [Mon, 15 Aug 2016 13:30:03 +0000 (14:30 +0100)]
Merge pull request #849 from fatalbanana/testfix

[Test] Additions for multimap & proxy tests

8 years ago[Test] Additions for multimap & proxy tests 849/head
Andrew Lewis [Mon, 15 Aug 2016 13:27:37 +0000 (15:27 +0200)]
[Test] Additions for multimap & proxy tests

 - Test unfiltered URL map
 - Test SPAMC & RSPAMC protocols at proxy

8 years ago[Fix] Try to deal with multiple workers terminated
Vsevolod Stakhov [Mon, 15 Aug 2016 10:49:34 +0000 (11:49 +0100)]
[Fix] Try to deal with multiple workers terminated

8 years agoMerge pull request #848 from fatalbanana/fixxx
Vsevolod Stakhov [Mon, 15 Aug 2016 09:51:12 +0000 (10:51 +0100)]
Merge pull request #848 from fatalbanana/fixxx

[Test] Forgot to commit

8 years ago[Fix] Add sanity check for url filters
Vsevolod Stakhov [Mon, 15 Aug 2016 09:48:36 +0000 (10:48 +0100)]
[Fix] Add sanity check for url filters

8 years ago[Test] Forgot to commit 848/head
Andrew Lewis [Mon, 15 Aug 2016 09:48:43 +0000 (10:48 +0100)]
[Test] Forgot to commit

8 years agoMerge pull request #847 from fatalbanana/mmtest
Vsevolod Stakhov [Mon, 15 Aug 2016 09:46:31 +0000 (10:46 +0100)]
Merge pull request #847 from fatalbanana/mmtest

[Test] Add test for multimap URL maps & filters

8 years agoMerge pull request #846 from fatalbanana/fuzzytest
Vsevolod Stakhov [Mon, 15 Aug 2016 09:46:11 +0000 (10:46 +0100)]
Merge pull request #846 from fatalbanana/fuzzytest

[Test] Rework fuzzy tests

8 years ago[Test] Add test for multimap URL maps & filters 847/head
Andrew Lewis [Mon, 15 Aug 2016 09:43:46 +0000 (10:43 +0100)]
[Test] Add test for multimap URL maps & filters

8 years ago[Fix] Fix URL filters
Vsevolod Stakhov [Sun, 14 Aug 2016 21:33:44 +0000 (22:33 +0100)]
[Fix] Fix URL filters

8 years ago[Test] Rework fuzzy tests 846/head
Andrew Lewis [Sun, 14 Aug 2016 15:28:46 +0000 (17:28 +0200)]
[Test] Rework fuzzy tests

 - Add fuzzy & negative match tests
 - Check attachment & text samples
 - Add suites for different algorithms; keyed/unkeyed
 - Move overwrite/delete tests into general suite

8 years agoMerge pull request #845 from fatalbanana/fixtests
Vsevolod Stakhov [Sun, 14 Aug 2016 12:01:15 +0000 (13:01 +0100)]
Merge pull request #845 from fatalbanana/fixtests

[Test] Fix tests

8 years ago[Test] Fix tests 845/head
Andrew Lewis [Sun, 14 Aug 2016 11:52:59 +0000 (13:52 +0200)]
[Test] Fix tests

8 years agoMerge pull request #832 from fatalbanana/tldtest
Vsevolod Stakhov [Sun, 14 Aug 2016 11:43:37 +0000 (12:43 +0100)]
Merge pull request #832 from fatalbanana/tldtest

[Test] Add test for TLD parts

8 years ago[Fix] Fix finding tld in util.get_tld
Vsevolod Stakhov [Sun, 14 Aug 2016 11:31:48 +0000 (12:31 +0100)]
[Fix] Fix finding tld in util.get_tld

8 years ago[Feature] Improve lua URLs API
Vsevolod Stakhov [Sun, 14 Aug 2016 11:31:29 +0000 (12:31 +0100)]
[Feature] Improve lua URLs API

8 years ago[Test] Add test for TLD parts 832/head
Andrew Lewis [Sat, 13 Aug 2016 22:05:33 +0000 (00:05 +0200)]
[Test] Add test for TLD parts

8 years ago[Feature] Add SARBL (sarbl.org) uribl
Vsevolod Stakhov [Sat, 13 Aug 2016 18:20:34 +0000 (19:20 +0100)]
[Feature] Add SARBL (sarbl.org) uribl

8 years ago[Fix] Fix filename maps filter
Vsevolod Stakhov [Sat, 13 Aug 2016 16:16:26 +0000 (17:16 +0100)]
[Fix] Fix filename maps filter

8 years ago[Feature] Improve message about fuzzy rules
Vsevolod Stakhov [Sat, 13 Aug 2016 16:14:32 +0000 (17:14 +0100)]
[Feature] Improve message about fuzzy rules

8 years ago[Feature] Use faster hash function for fuzzy storage
Vsevolod Stakhov [Sat, 13 Aug 2016 16:13:40 +0000 (17:13 +0100)]
[Feature] Use faster hash function for fuzzy storage

8 years ago[CritFix] Fix setting of fuzzy keys (completely breaks fuzzy storage)
Vsevolod Stakhov [Sat, 13 Aug 2016 15:44:48 +0000 (16:44 +0100)]
[CritFix] Fix setting of fuzzy keys (completely breaks fuzzy storage)

8 years ago[Fix] Fix blake2b hash of the string "rspamd"
Vsevolod Stakhov [Sat, 13 Aug 2016 15:30:52 +0000 (16:30 +0100)]
[Fix] Fix blake2b hash of the string "rspamd"

8 years ago[Feature] Allow to create hashes from string in a single step
Vsevolod Stakhov [Sat, 13 Aug 2016 15:12:29 +0000 (16:12 +0100)]
[Feature] Allow to create hashes from string in a single step

8 years ago[Feature] Pre-calculate blake2 digest for all parts
Vsevolod Stakhov [Sat, 13 Aug 2016 10:22:44 +0000 (11:22 +0100)]
[Feature] Pre-calculate blake2 digest for all parts

8 years ago[Feature] Print radix duplicate keys as IP addresses
Vsevolod Stakhov [Fri, 12 Aug 2016 12:57:57 +0000 (13:57 +0100)]
[Feature] Print radix duplicate keys as IP addresses

8 years agoMerge pull request #844 from fatalbanana/teststeststests
Vsevolod Stakhov [Fri, 12 Aug 2016 16:52:41 +0000 (17:52 +0100)]
Merge pull request #844 from fatalbanana/teststeststests

[Test] Some minor updates for tests

8 years ago[Test] Some minor updates for tests 844/head
Andrew Lewis [Fri, 12 Aug 2016 16:00:56 +0000 (17:00 +0100)]
[Test] Some minor updates for tests

 - Removed horrible features from test library
 - Negative cases for SpamAssassin WLBLEval
 - Restructured JSON tests

8 years agoMerge pull request #843 from fatalbanana/redistest
Vsevolod Stakhov [Fri, 12 Aug 2016 10:37:21 +0000 (11:37 +0100)]
Merge pull request #843 from fatalbanana/redistest

[Test] Add tests for redis maps in multimap

8 years ago[Test] Add tests for redis maps in multimap 843/head
Andrew Lewis [Fri, 12 Aug 2016 06:51:59 +0000 (07:51 +0100)]
[Test] Add tests for redis maps in multimap

8 years ago[Fix] Fix multimap content filters
Vsevolod Stakhov [Fri, 12 Aug 2016 10:20:41 +0000 (11:20 +0100)]
[Fix] Fix multimap content filters

8 years ago[Fix] Fix returning of REDIS_NIL
Vsevolod Stakhov [Fri, 12 Aug 2016 10:20:28 +0000 (11:20 +0100)]
[Fix] Fix returning of REDIS_NIL

8 years agoMerge pull request #840 from fatalbanana/sa_wlbl
Vsevolod Stakhov [Thu, 11 Aug 2016 17:22:29 +0000 (18:22 +0100)]
Merge pull request #840 from fatalbanana/sa_wlbl

[Test] Some tests for SpamAssassin WLBLEval

8 years agoMerge pull request #839 from fatalbanana/cdbtest
Vsevolod Stakhov [Thu, 11 Aug 2016 17:22:22 +0000 (18:22 +0100)]
Merge pull request #839 from fatalbanana/cdbtest

[Test] Fix multimap CDB test

8 years ago[Fix] Fix a stupid mistake in util.strequal_caseless
Vsevolod Stakhov [Thu, 11 Aug 2016 16:37:33 +0000 (17:37 +0100)]
[Fix] Fix a stupid mistake in util.strequal_caseless

8 years ago[Fix] Fix returning boolean from Lua
Vsevolod Stakhov [Thu, 11 Aug 2016 16:16:02 +0000 (17:16 +0100)]
[Fix] Fix returning boolean from Lua

8 years ago[Test] Some tests for SpamAssassin WLBLEval 840/head
Andrew Lewis [Thu, 11 Aug 2016 15:20:49 +0000 (16:20 +0100)]
[Test] Some tests for SpamAssassin WLBLEval

8 years ago[Minor] Fix multimap initialization
Vsevolod Stakhov [Thu, 11 Aug 2016 15:08:26 +0000 (16:08 +0100)]
[Minor] Fix multimap initialization

8 years ago[Rework] Rework multimap filters, add redis maps
Vsevolod Stakhov [Thu, 11 Aug 2016 13:59:37 +0000 (14:59 +0100)]
[Rework] Rework multimap filters, add redis maps

Issue: #838
Reported by: @andrejzverev

8 years ago[Test] Fix multimap CDB test 839/head
Andrew Lewis [Thu, 11 Aug 2016 13:42:54 +0000 (14:42 +0100)]
[Test] Fix multimap CDB test

8 years ago[Feature] Fix order of pre and postfilters
Vsevolod Stakhov [Thu, 11 Aug 2016 12:49:24 +0000 (13:49 +0100)]
[Feature] Fix order of pre and postfilters

Prefilters are executed in order inverse to their priorities, e.g.
prefilter with priority 10 will be called before prefilter witj priority
0.

Postfilters are executed in the opposite order: so postfilter with
priority 10 will be executed after postfilter with priority 0.

It is also possible to specify negative priorities for pre and post
filters to inverse this logic.

8 years ago[Minor] Reduce log noise for missing dependencies
Vsevolod Stakhov [Thu, 11 Aug 2016 11:43:25 +0000 (12:43 +0100)]
[Minor] Reduce log noise for missing dependencies

8 years ago[Minor] Use more portable archivers
Vsevolod Stakhov [Thu, 11 Aug 2016 08:48:48 +0000 (09:48 +0100)]
[Minor] Use more portable archivers

8 years agoMerge pull request #837 from moisseev/rspamd_stats
Vsevolod Stakhov [Thu, 11 Aug 2016 08:41:30 +0000 (09:41 +0100)]
Merge pull request #837 from moisseev/rspamd_stats

[Feature] rspamd_stats: support log directory reading

8 years ago[Feature] rspamd_stats: support log directory reading 837/head
Alexander Moisseev [Thu, 11 Aug 2016 07:11:10 +0000 (10:11 +0300)]
[Feature] rspamd_stats: support log directory reading

rspamd_stats will read (and decompress) multiple log files in the specified directory.

8 years ago[Minor] rspamd_stats: fix typo
Alexander Moisseev [Thu, 11 Aug 2016 06:39:13 +0000 (09:39 +0300)]
[Minor] rspamd_stats: fix typo

Reported by: @dehnli via IRC

8 years ago[Minor] rspamd_stats: place parser code in a subroutine
Alexander Moisseev [Thu, 11 Aug 2016 06:31:25 +0000 (09:31 +0300)]
[Minor] rspamd_stats: place parser code in a subroutine

8 years agoMerge pull request #836 from fatalbanana/rmilter
Vsevolod Stakhov [Wed, 10 Aug 2016 22:45:38 +0000 (23:45 +0100)]
Merge pull request #836 from fatalbanana/rmilter

[Doc] Fix set_rmilter_reply example

8 years ago[Doc] Fix set_rmilter_reply example 836/head
Andrew Lewis [Wed, 10 Aug 2016 21:20:58 +0000 (23:20 +0200)]
[Doc] Fix set_rmilter_reply example

8 years agoMerge pull request #833 from fatalbanana/coverage
Vsevolod Stakhov [Wed, 10 Aug 2016 20:33:34 +0000 (21:33 +0100)]
Merge pull request #833 from fatalbanana/coverage

[WIP] Some fixes for code coverage

8 years agoMerge pull request #834 from fatalbanana/RBL
Vsevolod Stakhov [Wed, 10 Aug 2016 20:33:26 +0000 (21:33 +0100)]
Merge pull request #834 from fatalbanana/RBL

[Feature] Simple mechanism for disabling RBLs in local.d/rbl.conf

8 years ago[Fix] Do not show rmilter section as a fake metric in rspamc
Vsevolod Stakhov [Wed, 10 Aug 2016 20:29:53 +0000 (21:29 +0100)]
[Fix] Do not show rmilter section as a fake metric in rspamc

8 years ago[Fix] Use forced DNS request when calling for lua_http
Vsevolod Stakhov [Wed, 10 Aug 2016 20:27:51 +0000 (21:27 +0100)]
[Fix] Use forced DNS request when calling for lua_http

8 years ago[Feature] Simple mechanism for disabling RBLs in local.d/rbl.conf 834/head
Andrew Lewis [Wed, 10 Aug 2016 14:50:17 +0000 (16:50 +0200)]
[Feature] Simple mechanism for disabling RBLs in local.d/rbl.conf

8 years ago[Test] Some fixes for code coverage 833/head
Andrew Lewis [Wed, 10 Aug 2016 12:49:52 +0000 (13:49 +0100)]
[Test] Some fixes for code coverage

8 years ago[Minor] Add alibaba domains to whitelist
Vsevolod Stakhov [Wed, 10 Aug 2016 09:34:52 +0000 (10:34 +0100)]
[Minor] Add alibaba domains to whitelist

8 years ago[CritFix] Check hyperscan cache sanity before loading
Vsevolod Stakhov [Tue, 9 Aug 2016 16:35:45 +0000 (17:35 +0100)]
[CritFix] Check hyperscan cache sanity before loading

When regexp database is changed it is possible that hyperscan cache will
contain some invalid or shifted regexps IDs. In this situation, Rspamd
could not correctly detect that such an event occurred and loaded an
incorrect database.

This commit adds strict crc checking that includes:

1. HS ids
2. HS flags
3. HS serialized blob

If this crc fails to match then Rspamd recompiles the corrupted cache
file.