]>
source.dussan.org Git - rspamd.git/log
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
Vsevolod Stakhov [Fri, 5 Aug 2016 12:00:31 +0000 (13:00 +0100)]
[Fix] Do not set absent hostname to "unknown"
Vsevolod Stakhov [Fri, 5 Aug 2016 11:57:45 +0000 (12:57 +0100)]
[Fix] Fix HFILTER_URL module
Vsevolod Stakhov [Fri, 5 Aug 2016 11:57:10 +0000 (12:57 +0100)]
[Fix] Do not insert HELO/HOSTNAME unknown when they are not passed
Vsevolod Stakhov [Fri, 5 Aug 2016 11:56:31 +0000 (12:56 +0100)]
[Feature] Add method to get urls length in a text part
Vsevolod Stakhov [Fri, 5 Aug 2016 11:56:15 +0000 (12:56 +0100)]
[Fix] Fix printing from field in log_urls
Vsevolod Stakhov [Fri, 5 Aug 2016 11:15:31 +0000 (12:15 +0100)]
[Fix] Some more changes to tag's content length calculations
Andrew Lewis [Fri, 5 Aug 2016 10:35:02 +0000 (11:35 +0100)]
[Test] Add SpamAssassin metas/foreign dependencies test
Vsevolod Stakhov [Fri, 5 Aug 2016 10:12:38 +0000 (11:12 +0100)]
Merge pull request #810 from fatalbanana/dmarc
[Fix] Fix processing of last element of DMARC policies
Vsevolod Stakhov [Fri, 5 Aug 2016 10:11:27 +0000 (11:11 +0100)]
[Feature] Add new methods to lua_html to access HTML tags
Vsevolod Stakhov [Fri, 5 Aug 2016 10:11:12 +0000 (11:11 +0100)]
[Fix] Further fixes in HTML tags parsing
Andrew Lewis [Fri, 5 Aug 2016 09:05:24 +0000 (11:05 +0200)]
[Fix] Fix processing of last element of DMARC policies
Vsevolod Stakhov [Fri, 5 Aug 2016 08:45:32 +0000 (09:45 +0100)]
[Feature] Store content length for HTML tags
Vsevolod Stakhov [Thu, 4 Aug 2016 17:31:57 +0000 (18:31 +0100)]
[Test] Fix recipients test
Vsevolod Stakhov [Thu, 4 Aug 2016 17:31:28 +0000 (18:31 +0100)]
[Fix] Fix multiple request headers structure
Vsevolod Stakhov [Thu, 4 Aug 2016 16:34:56 +0000 (17:34 +0100)]
Merge pull request #809 from fatalbanana/rcpt
[Test] Add test for recipient parsing sanity
Vsevolod Stakhov [Thu, 4 Aug 2016 16:34:44 +0000 (17:34 +0100)]
Merge pull request #808 from fatalbanana/spamassassin
Spamassassin plugin stuffs
Vsevolod Stakhov [Thu, 4 Aug 2016 16:33:21 +0000 (17:33 +0100)]
[Fix] Further fixes for multiple values headers
Andrew Lewis [Thu, 4 Aug 2016 15:18:19 +0000 (16:18 +0100)]
[Test] Add test for recipient parsing sanity
Vsevolod Stakhov [Thu, 4 Aug 2016 15:39:16 +0000 (16:39 +0100)]
[Fix] Restore multiple values headers in protocol
Vsevolod Stakhov [Thu, 4 Aug 2016 15:38:52 +0000 (16:38 +0100)]
[Fix] Fix multiple values headers freeing
Vsevolod Stakhov [Thu, 4 Aug 2016 15:00:14 +0000 (16:00 +0100)]
[Fix] Restore multiple values in headers processing
Vsevolod Stakhov [Thu, 4 Aug 2016 14:39:16 +0000 (15:39 +0100)]
[Feature] Add correlations report in fuzzy stats
Andrew Lewis [Thu, 4 Aug 2016 13:51:12 +0000 (14:51 +0100)]
[Fix] SpamAssassin plugin: support check_freemail_header('EnvelopeFrom', [..])
Andrew Lewis [Thu, 4 Aug 2016 13:39:19 +0000 (14:39 +0100)]
[Test] Beginnings of tests for SpamAssassin plugin
Andrew Lewis [Thu, 4 Aug 2016 11:30:18 +0000 (12:30 +0100)]
[Minor] Reformat test data
Vsevolod Stakhov [Thu, 4 Aug 2016 12:03:41 +0000 (13:03 +0100)]
[Fix] Do not crash on cyclic depends
Vsevolod Stakhov [Thu, 4 Aug 2016 12:03:19 +0000 (13:03 +0100)]
[Minor] Add some debug for multimap depends
Andrew Lewis [Thu, 4 Aug 2016 10:29:45 +0000 (11:29 +0100)]
[Test] Unify some configs
Vsevolod Stakhov [Thu, 4 Aug 2016 11:20:05 +0000 (12:20 +0100)]
Merge pull request #805 from fatalbanana/cdb
[Test] Add test for CDB maps
Vsevolod Stakhov [Thu, 4 Aug 2016 11:19:47 +0000 (12:19 +0100)]
Merge pull request #804 from fatalbanana/warnings
[Minor] Silence warning
Vsevolod Stakhov [Thu, 4 Aug 2016 11:19:41 +0000 (12:19 +0100)]
Merge pull request #803 from fatalbanana/lua
[Minor] Remove duplicated element from task:get_metric_score()
Vsevolod Stakhov [Thu, 4 Aug 2016 11:17:37 +0000 (12:17 +0100)]
[Feature] Allow all types of symbols to be added via __newindex method
Andrew Lewis [Thu, 4 Aug 2016 09:48:48 +0000 (10:48 +0100)]
[Test] Add test for CDB maps
Vsevolod Stakhov [Thu, 4 Aug 2016 09:42:33 +0000 (10:42 +0100)]
[Fix] Parse CGP envelope data
Andrew Lewis [Wed, 3 Aug 2016 21:23:23 +0000 (23:23 +0200)]
[Minor] Silence warning
Andrew Lewis [Wed, 3 Aug 2016 19:35:39 +0000 (21:35 +0200)]
[Minor] Remove duplicated element from task:get_metric_score()
Vsevolod Stakhov [Wed, 3 Aug 2016 17:10:57 +0000 (18:10 +0100)]
[Fix] Fix buffering in CGP integration
Vsevolod Stakhov [Wed, 3 Aug 2016 14:33:26 +0000 (15:33 +0100)]
[Minor] Print the real version of rspamd in Server header
Vsevolod Stakhov [Wed, 3 Aug 2016 13:12:23 +0000 (14:12 +0100)]
[Fix] Decode entitles in href parts
Vsevolod Stakhov [Wed, 3 Aug 2016 11:42:42 +0000 (12:42 +0100)]
Merge pull request #800 from fatalbanana/json
[Test] Some basic tests for JSON sanity
Andrew Lewis [Wed, 3 Aug 2016 10:38:45 +0000 (11:38 +0100)]
[Test] Some basic tests for JSON sanity
Vsevolod Stakhov [Wed, 3 Aug 2016 10:27:28 +0000 (11:27 +0100)]
[Fix] Fix largest possible TLD behaviour
Vsevolod Stakhov [Wed, 3 Aug 2016 09:51:21 +0000 (10:51 +0100)]
Merge pull request #798 from fatalbanana/nan
[Fix] Avoid returning NaN as score on scan
Vsevolod Stakhov [Wed, 3 Aug 2016 09:51:05 +0000 (10:51 +0100)]
Merge pull request #796 from bryongloden/patch-2
Update local_scan.c
Vsevolod Stakhov [Wed, 3 Aug 2016 09:50:58 +0000 (10:50 +0100)]
Merge pull request #794 from bryongloden/patch-1
Update acism_create.c
Vsevolod Stakhov [Wed, 3 Aug 2016 09:50:33 +0000 (10:50 +0100)]
Merge pull request #793 from fatalbanana/dmarc
[Fix] Fix DMARC_BAD_POLICY symbol
Vsevolod Stakhov [Wed, 3 Aug 2016 09:50:18 +0000 (10:50 +0100)]
Merge pull request #792 from fatalbanana/tests
[Test] Add DKIM sign + verify tests
Vsevolod Stakhov [Wed, 3 Aug 2016 09:50:00 +0000 (10:50 +0100)]
Merge pull request #789 from moisseev/defined-array
[Fix] rspamd_stats: remove deprecated defined(@array)