]>
source.dussan.org Git - rspamd.git/log
Vsevolod Stakhov [Mon, 15 Aug 2016 09:46:11 +0000 (10:46 +0100)]
Merge pull request #846 from fatalbanana/fuzzytest
[Test] Rework fuzzy tests
Vsevolod Stakhov [Sun, 14 Aug 2016 21:33:44 +0000 (22:33 +0100)]
[Fix] Fix URL filters
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
Vsevolod Stakhov [Sun, 14 Aug 2016 12:01:15 +0000 (13:01 +0100)]
Merge pull request #845 from fatalbanana/fixtests
[Test] Fix tests
Andrew Lewis [Sun, 14 Aug 2016 11:52:59 +0000 (13:52 +0200)]
[Test] Fix tests
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
Vsevolod Stakhov [Sun, 14 Aug 2016 11:31:48 +0000 (12:31 +0100)]
[Fix] Fix finding tld in util.get_tld
Vsevolod Stakhov [Sun, 14 Aug 2016 11:31:29 +0000 (12:31 +0100)]
[Feature] Improve lua URLs API
Andrew Lewis [Sat, 13 Aug 2016 22:05:33 +0000 (00:05 +0200)]
[Test] Add test for TLD parts
Vsevolod Stakhov [Sat, 13 Aug 2016 18:20:34 +0000 (19:20 +0100)]
[Feature] Add SARBL (sarbl.org) uribl
Vsevolod Stakhov [Sat, 13 Aug 2016 16:16:26 +0000 (17:16 +0100)]
[Fix] Fix filename maps filter
Vsevolod Stakhov [Sat, 13 Aug 2016 16:14:32 +0000 (17:14 +0100)]
[Feature] Improve message about fuzzy rules
Vsevolod Stakhov [Sat, 13 Aug 2016 16:13:40 +0000 (17:13 +0100)]
[Feature] Use faster hash function for 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)
Vsevolod Stakhov [Sat, 13 Aug 2016 15:30:52 +0000 (16:30 +0100)]
[Fix] Fix blake2b hash of the string "rspamd"
Vsevolod Stakhov [Sat, 13 Aug 2016 15:12:29 +0000 (16:12 +0100)]
[Feature] Allow to create hashes from string in a single step
Vsevolod Stakhov [Sat, 13 Aug 2016 10:22:44 +0000 (11:22 +0100)]
[Feature] Pre-calculate blake2 digest for all parts
Vsevolod Stakhov [Fri, 12 Aug 2016 12:57:57 +0000 (13:57 +0100)]
[Feature] Print radix duplicate keys as IP addresses
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
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
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
Andrew Lewis [Fri, 12 Aug 2016 06:51:59 +0000 (07:51 +0100)]
[Test] Add tests for redis maps in multimap
Vsevolod Stakhov [Fri, 12 Aug 2016 10:20:41 +0000 (11:20 +0100)]
[Fix] Fix multimap content filters
Vsevolod Stakhov [Fri, 12 Aug 2016 10:20:28 +0000 (11:20 +0100)]
[Fix] Fix returning of REDIS_NIL
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
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
Vsevolod Stakhov [Thu, 11 Aug 2016 16:37:33 +0000 (17:37 +0100)]
[Fix] Fix a stupid mistake in util.strequal_caseless
Vsevolod Stakhov [Thu, 11 Aug 2016 16:16:02 +0000 (17:16 +0100)]
[Fix] Fix returning boolean from Lua
Andrew Lewis [Thu, 11 Aug 2016 15:20:49 +0000 (16:20 +0100)]
[Test] Some tests for SpamAssassin WLBLEval
Vsevolod Stakhov [Thu, 11 Aug 2016 15:08:26 +0000 (16:08 +0100)]
[Minor] Fix multimap initialization
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
Andrew Lewis [Thu, 11 Aug 2016 13:42:54 +0000 (14:42 +0100)]
[Test] Fix multimap CDB test
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.
Vsevolod Stakhov [Thu, 11 Aug 2016 11:43:25 +0000 (12:43 +0100)]
[Minor] Reduce log noise for missing dependencies
Vsevolod Stakhov [Thu, 11 Aug 2016 08:48:48 +0000 (09:48 +0100)]
[Minor] Use more portable archivers
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
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.
Alexander Moisseev [Thu, 11 Aug 2016 06:39:13 +0000 (09:39 +0300)]
[Minor] rspamd_stats: fix typo
Reported by: @dehnli via IRC
Alexander Moisseev [Thu, 11 Aug 2016 06:31:25 +0000 (09:31 +0300)]
[Minor] rspamd_stats: place parser code in a subroutine
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
Andrew Lewis [Wed, 10 Aug 2016 21:20:58 +0000 (23:20 +0200)]
[Doc] Fix set_rmilter_reply example
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
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
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
Vsevolod Stakhov [Wed, 10 Aug 2016 20:27:51 +0000 (21:27 +0100)]
[Fix] Use forced DNS request when calling for lua_http
Andrew Lewis [Wed, 10 Aug 2016 14:50:17 +0000 (16:50 +0200)]
[Feature] Simple mechanism for disabling RBLs in local.d/rbl.conf
Andrew Lewis [Wed, 10 Aug 2016 12:49:52 +0000 (13:49 +0100)]
[Test] Some fixes for code coverage
Vsevolod Stakhov [Wed, 10 Aug 2016 09:34:52 +0000 (10:34 +0100)]
[Minor] Add alibaba domains to whitelist
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.
Vsevolod Stakhov [Tue, 9 Aug 2016 14:59:28 +0000 (15:59 +0100)]
Merge pull request #830 from fatalbanana/www
[WebUI] Retain history length on update (#829)
Andrew Lewis [Tue, 9 Aug 2016 14:49:14 +0000 (16:49 +0200)]
[WebUI] Retain history length on update (#829)
Vsevolod Stakhov [Tue, 9 Aug 2016 13:25:56 +0000 (14:25 +0100)]
Merge pull request #828 from fatalbanana/proxytest
Add simple test for proxying
Vsevolod Stakhov [Tue, 9 Aug 2016 13:24:52 +0000 (14:24 +0100)]
[Feature] Add some sanity check for very long from/to log elements
Andrew Lewis [Tue, 9 Aug 2016 13:12:46 +0000 (14:12 +0100)]
[Test] Add custom rspamd log follower for non-standard tests
Andrew Lewis [Tue, 9 Aug 2016 12:58:33 +0000 (13:58 +0100)]
[Test] Add simple test for proxying
Andrew Lewis [Tue, 9 Aug 2016 10:58:12 +0000 (11:58 +0100)]
[Test] Make `Run Rspamd` function reusable by other stuff
Vsevolod Stakhov [Tue, 9 Aug 2016 10:11:21 +0000 (11:11 +0100)]
Merge pull request #827 from moisseev/patch-1
[Minor] Update redirectors.inc
Vsevolod Stakhov [Tue, 9 Aug 2016 10:11:06 +0000 (11:11 +0100)]
Merge pull request #826 from fatalbanana/oneshot
[Minor] Give RAMBLER_EMAILBL & URIBL_GREY one_shot = true
Vsevolod Stakhov [Tue, 9 Aug 2016 10:10:56 +0000 (11:10 +0100)]
Merge pull request #823 from fatalbanana/fixtests
[Test] Remove nasty artifact from `Run Rspamd` function
Vsevolod Stakhov [Tue, 9 Aug 2016 09:29:56 +0000 (10:29 +0100)]
[Feature] Add `--search-pattern` option to rspamd_stats
Alexander Moisseev [Tue, 9 Aug 2016 06:45:30 +0000 (09:45 +0300)]
[Minor] Update redirectors.inc
Vsevolod Stakhov [Mon, 8 Aug 2016 15:59:01 +0000 (16:59 +0100)]
[Minor] Update to 1.3.3
Vsevolod Stakhov [Mon, 8 Aug 2016 15:58:06 +0000 (16:58 +0100)]
Release 1.3.2
* [Feature] Add a special symbol for SPF DNS errors: R_SPF_DNSFAIL
* [Feature] Add correlations report in fuzzy stats
* [Feature] Add experimental CGP integration
* [Feature] Add method to get urls length in a text part
* [Feature] Add new methods to lua_html to access HTML tags
* [Feature] Allow all types of symbols to be added via __newindex method
* [Feature] Allow to create settings for authenticated users
* [Feature] Allow to get block content for HTML tags
* [Feature] Improve DNS failures when dealing with SPF
* [Feature] Properly implement R_WHITE_ON_WHITE rule
* [Feature] Remove old ugly rules
* [Feature] Rspamc can now add dkim signature in mime mode
* [Feature] Store content length for HTML tags
* [Feature] Support reacher set of HTML colors
* [Feature] Try to avoid FP for low contrast fonts detection
* [Fix] Add missing HTML colors
* [Fix] Add spaces to dkim signature to allow folding
* [Fix] Avoid returning NaN as score on scan
* [Fix] Decode entitles in href parts
* [Fix] Do not cache SPF records with DNS errors
* [Fix] Do not crash on cyclic depends
* [Fix] Do not insert HELO/HOSTNAME unknown when they are not passed
* [Fix] Do not set absent hostname to "unknown"
* [Fix] Do not stress redis with KEYS command (#791)
* [Fix] Fix DMARC_BAD_POLICY symbol
* [Fix] Fix HFILTER_URL module
* [Fix] Fix HFILTER_URL_ONELINE rule
* [Fix] Fix buffering in CGP integration
* [Fix] Fix colors propagation from parent nodes
* [Fix] Fix confusing OpenSSL API usage of i2d_RSAPublicKey
* [Fix] Fix dependencies id sanity check
* [Fix] Fix folding for semicolon separated tokens
* [Fix] Fix largest possible TLD behaviour
* [Fix] Fix last token folding
* [Fix] Fix length calculations in white on white rule
* [Fix] Fix multiple request headers structure
* [Fix] Fix multiple values headers freeing
* [Fix] Fix parsing of background color
* [Fix] Fix printing from field in log_urls
* [Fix] Fix processing of last element of DMARC policies
* [Fix] Further fixes for HTML colors
* [Fix] Further fixes for multiple values headers
* [Fix] Further fixes for white on white rule
* [Fix] Further fixes in HTML tags parsing
* [Fix] Ignore content type/subtype case
* [Fix] Increase score of R_WHITE_ON_WHITE
* [Fix] Parse CGP envelope data
* [Fix] Propagate colors in HTML
* [Fix] Restore multiple values headers in protocol
* [Fix] Restore multiple values in headers processing
* [Fix] Some more changes to tag's content length calculations
* [Fix] Some more fixes for low contrast fonts detector
* [Fix] SpamAssassin plugin: support check_freemail_header('EnvelopeFrom', [..])
* [Fix] Trigger HTML_SHORT_LINK_IMG on any external image
* [Fix] rspamd_stats: remove deprecated defined(@array)
Signed-off-by: Vsevolod Stakhov <vsevolod@highsecure.ru>
Andrew Lewis [Mon, 8 Aug 2016 15:05:37 +0000 (16:05 +0100)]
[Minor] Give RAMBLER_EMAILBL & URIBL_GREY one_shot = true
Vsevolod Stakhov [Mon, 8 Aug 2016 14:56:29 +0000 (15:56 +0100)]
[Fix] Further fixes for white on white rule
Vsevolod Stakhov [Mon, 8 Aug 2016 14:04:14 +0000 (15:04 +0100)]
[Fix] Fix length calculations in white on white rule
Vsevolod Stakhov [Mon, 8 Aug 2016 13:21:39 +0000 (14:21 +0100)]
[Fix] Increase score of R_WHITE_ON_WHITE
Vsevolod Stakhov [Mon, 8 Aug 2016 13:21:17 +0000 (14:21 +0100)]
[Fix] Some more fixes for low contrast fonts detector
Vsevolod Stakhov [Mon, 8 Aug 2016 13:16:55 +0000 (14:16 +0100)]
[Feature] Try to avoid FP for low contrast fonts detection
Vsevolod Stakhov [Mon, 8 Aug 2016 11:50:21 +0000 (12:50 +0100)]
[Minor] Slightly reduce R_WHITE_ON_WHITE score
Vsevolod Stakhov [Mon, 8 Aug 2016 10:23:57 +0000 (11:23 +0100)]
[Minor] Lower negative DMARC score
Vsevolod Stakhov [Mon, 8 Aug 2016 10:23:19 +0000 (11:23 +0100)]
[Minor] Further reduce negative weights for SPF and DKIM success
Vsevolod Stakhov [Mon, 8 Aug 2016 10:06:56 +0000 (11:06 +0100)]
Merge pull request #819 from moisseev/patch-1
[Doc] Correct README
Andrew Lewis [Mon, 8 Aug 2016 09:06:02 +0000 (10:06 +0100)]
[Test] Remove nasty artifact from `Run Rspamd` function
Vsevolod Stakhov [Sun, 7 Aug 2016 22:45:13 +0000 (23:45 +0100)]
[Fix] Fix dependencies id sanity check
Alexander Moisseev [Sun, 7 Aug 2016 13:22:25 +0000 (16:22 +0300)]
[Doc] Correct README
Alexander Moisseev [Sun, 7 Aug 2016 10:56:14 +0000 (13:56 +0300)]
[Doc] Correct capitalization (mostly) in README
Vsevolod Stakhov [Sun, 7 Aug 2016 09:10:30 +0000 (10:10 +0100)]
[Fix] Add missing HTML colors
Vsevolod Stakhov [Sat, 6 Aug 2016 20:49:07 +0000 (21:49 +0100)]
[Feature] Support reacher set of HTML colors
Vsevolod Stakhov [Sat, 6 Aug 2016 13:32:33 +0000 (14:32 +0100)]
[Fix] Fix colors propagation from parent nodes
Vsevolod Stakhov [Sat, 6 Aug 2016 13:17:54 +0000 (14:17 +0100)]
Merge pull request #816 from moisseev/patch-1
[Fix] Fix HFILTER_URL_ONELINE rule
Vsevolod Stakhov [Sat, 6 Aug 2016 13:17:38 +0000 (14:17 +0100)]
Merge pull request #813 from moisseev/hfilter-helo
Remove symbol HFILTER_HELO_UNKNOWN from mertics.conf
Alexander Moisseev [Fri, 5 Aug 2016 19:17:39 +0000 (22:17 +0300)]
[Fix] Fix HFILTER_URL_ONELINE rule
Vsevolod Stakhov [Fri, 5 Aug 2016 16:26:51 +0000 (17:26 +0100)]
[Minor] Remove unnecessary dependency
Vsevolod Stakhov [Fri, 5 Aug 2016 15:16:50 +0000 (16:16 +0100)]
Merge pull request #815 from fatalbanana/unknown2
[Minor] Fix multimap hostname check
Andrew Lewis [Fri, 5 Aug 2016 15:10:11 +0000 (16:10 +0100)]
[Minor] Fix multimap hostname check
Vsevolod Stakhov [Fri, 5 Aug 2016 15:09:33 +0000 (16:09 +0100)]
Merge pull request #812 from fatalbanana/circleci
[Minor] Small improvement for coverage flags
Vsevolod Stakhov [Fri, 5 Aug 2016 15:05:54 +0000 (16:05 +0100)]
[Feature] Properly implement R_WHITE_ON_WHITE rule
Vsevolod Stakhov [Fri, 5 Aug 2016 15:05:42 +0000 (16:05 +0100)]
[Feature] Remove old ugly rules
Vsevolod Stakhov [Fri, 5 Aug 2016 15:05:13 +0000 (16:05 +0100)]
[Minor] Small fixes to lua stack management
Vsevolod Stakhov [Fri, 5 Aug 2016 14:38:37 +0000 (15:38 +0100)]
[Fix] Further fixes for HTML colors
Vsevolod Stakhov [Fri, 5 Aug 2016 13:36:40 +0000 (14:36 +0100)]
[Minor] Forgotten to save file
Vsevolod Stakhov [Fri, 5 Aug 2016 13:36:08 +0000 (14:36 +0100)]
[Feature] Allow to get block content for HTML tags
Vsevolod Stakhov [Fri, 5 Aug 2016 13:35:53 +0000 (14:35 +0100)]
[Fix] Propagate colors in HTML
Vsevolod Stakhov [Fri, 5 Aug 2016 13:15:51 +0000 (14:15 +0100)]
[Fix] Fix parsing of background color
Vsevolod Stakhov [Fri, 5 Aug 2016 12:57:52 +0000 (13:57 +0100)]
[Fix] Trigger HTML_SHORT_LINK_IMG on any external image
Alexander Moisseev [Fri, 5 Aug 2016 14:13:30 +0000 (18:13 +0400)]
Remove symbol HFILTER_HELO_UNKNOWN from mertics.conf
The symbol is not used anymore.
Andrew Lewis [Fri, 5 Aug 2016 13:05:02 +0000 (14:05 +0100)]
[Minor] Small improvement for coverage flags
Vsevolod Stakhov [Fri, 5 Aug 2016 12:08:00 +0000 (13:08 +0100)]
Merge pull request #811 from fatalbanana/spamassassin
[Test] Add SpamAssassin metas/foreign dependencies test
Vsevolod Stakhov [Fri, 5 Aug 2016 12:01:31 +0000 (13:01 +0100)]
[Minor] Increase HFILTER_URL scores as FP rate should be reduced now