]>
source.dussan.org Git - rspamd.git/log
Andrew Lewis [Sun, 15 May 2016 16:29:58 +0000 (18:29 +0200)]
[Fix] Fix Exim shutdown patch
Vsevolod Stakhov [Sat, 14 May 2016 11:22:27 +0000 (12:22 +0100)]
[Feature] Enable workaround for exim
Vsevolod Stakhov [Thu, 12 May 2016 11:53:22 +0000 (12:53 +0100)]
[Feature] Backport shingles static test
Vsevolod Stakhov [Tue, 10 May 2016 15:27:11 +0000 (16:27 +0100)]
[CritFix] Fix levenshtein distance calculations
Vsevolod Stakhov [Fri, 6 May 2016 10:10:15 +0000 (11:10 +0100)]
[Fix] Fix max_train setup in ANN module
Vsevolod Stakhov [Thu, 5 May 2016 13:25:09 +0000 (14:25 +0100)]
[CritFix] Fix redis structure by adding {NULL, NULL} member
Issue: #609
Reported by: @moisseev
Bernard Spil [Sat, 30 Apr 2016 18:06:52 +0000 (20:06 +0200)]
Fix build with unmodified LibreSSL opensslv.h
Add test for LibreSSL to use "old" methods when OPENSSL_VERSION_NUMBER is 0x20000000L
Vsevolod Stakhov [Wed, 4 May 2016 13:21:05 +0000 (14:21 +0100)]
[Fix] Repair optional dependencies
Vsevolod Stakhov [Tue, 3 May 2016 17:42:18 +0000 (18:42 +0100)]
Revert "[CritFix] Pre-filters and post-filters were completely broken"
This reverts commit
36bccebd24cd0b44f77536e80816b1b3dd93e5e2 .
Vsevolod Stakhov [Tue, 3 May 2016 15:51:09 +0000 (16:51 +0100)]
[CritFix] Really skip filters in case of pre-result set
Vsevolod Stakhov [Tue, 3 May 2016 15:49:59 +0000 (16:49 +0100)]
[CritFix] Pre-filters and post-filters were completely broken
Vsevolod Stakhov [Tue, 3 May 2016 15:23:34 +0000 (16:23 +0100)]
[CritFix] Restore the intended pre-filters behaviour
Previously, filters and post-filters were checked even if pre-filter has
set some result. Now pre-result efficienly makes a trapdoor to writing
reply (as it was before 1.0).
Vsevolod Stakhov [Tue, 3 May 2016 12:02:35 +0000 (13:02 +0100)]
[Fix] Fix ipv6 mask application
Vsevolod Stakhov [Fri, 29 Apr 2016 15:30:22 +0000 (16:30 +0100)]
Release 1.2.6
* Fix parsing of URLs in texts
* Fix creating of URLs from LUA
* Fix some more URL detector issues
* Fix unit tests
* Fix JIT compilation for PCRE2 expressions
* Fix JIT usage for PCRE2
* Fix UTF8 mode in PCRE2
* Add workaround for pre-historic compilers (#605)
* Fix and rescore R_PARTS_DIFFER logic
* Properly set lua paths for tests
* Fix SA rawbody processing - exclude top part
* Store text parts content with newlines stripped
* Properly support SA body regexps
* Fix body rules in SA plugin
* Fix setting of score for parts differ
* More fixes to parts distance calculations
- Use hashed words instead of full words for speed
- Improve levenstein distance calculations and penalise replaces
- Always return number from 0 to 1
- Use g_malloc instead of alloca
* Fix percents output in R_PARTS_DIFFER
* Plug memory leak in dkim module
* Plug minor memory leak in regexps creation
Signed-off-by: Vsevolod Stakhov <vsevolod@highsecure.ru>
Vsevolod Stakhov [Fri, 29 Apr 2016 13:18:44 +0000 (14:18 +0100)]
[Minor] Plug minor memory leak in regexps creation
Vsevolod Stakhov [Fri, 29 Apr 2016 13:01:48 +0000 (14:01 +0100)]
[CritFix] Plug memory leak in dkim module
Vsevolod Stakhov [Fri, 29 Apr 2016 12:23:40 +0000 (13:23 +0100)]
[Minor] Fix percents output in R_PARTS_DIFFER
Vsevolod Stakhov [Fri, 29 Apr 2016 11:34:12 +0000 (12:34 +0100)]
[Fix] More fixes to parts distance calculations
- Use hashed words instead of full words for speed
- Improve levenstein distance calculations and penalise replaces
- Always return number from 0 to 1
- Use g_malloc instead of alloca
Vsevolod Stakhov [Thu, 28 Apr 2016 12:07:06 +0000 (13:07 +0100)]
[Fix] Fix setting of score for parts differ
Vsevolod Stakhov [Thu, 28 Apr 2016 15:59:30 +0000 (16:59 +0100)]
[Fix] Fix body rules in SA plugin
Vsevolod Stakhov [Thu, 28 Apr 2016 15:58:55 +0000 (16:58 +0100)]
[CritFix] Properly support SA body regexps
Vsevolod Stakhov [Thu, 28 Apr 2016 15:58:13 +0000 (16:58 +0100)]
[Feature] Store text parts content with newlines stripped
Vsevolod Stakhov [Thu, 28 Apr 2016 14:05:28 +0000 (15:05 +0100)]
[CritFix] Fix SA rawbody processing - exclude top part
Vsevolod Stakhov [Thu, 28 Apr 2016 08:24:36 +0000 (09:24 +0100)]
[Test] Properly set lua paths for tests
Vsevolod Stakhov [Thu, 28 Apr 2016 08:18:00 +0000 (09:18 +0100)]
[Test] Disable broken tests
Vsevolod Stakhov [Wed, 27 Apr 2016 15:07:37 +0000 (16:07 +0100)]
[Minor] Reduce debug level
Vsevolod Stakhov [Wed, 27 Apr 2016 15:05:15 +0000 (16:05 +0100)]
[Fix] Fix and rescore R_PARTS_DIFFER logic
Signed-off-by: Vsevolod Stakhov <vsevolod@highsecure.ru>
Vsevolod Stakhov [Tue, 26 Apr 2016 08:33:25 +0000 (09:33 +0100)]
[Minor] Add workaround for pre-historic compilers
Issue: #605
Vsevolod Stakhov [Sat, 23 Apr 2016 14:26:37 +0000 (15:26 +0100)]
[Fix] Fix UTF8 mode in PCRE2
Vsevolod Stakhov [Sat, 23 Apr 2016 14:26:20 +0000 (15:26 +0100)]
[Fix] Fix JIT usage for PCRE2
Vsevolod Stakhov [Sat, 23 Apr 2016 14:06:43 +0000 (15:06 +0100)]
[Fix] Fix JIT compilation for PCRE2 expressions
Vsevolod Stakhov [Sat, 23 Apr 2016 14:27:03 +0000 (15:27 +0100)]
[Test] Fix unit tests
Vsevolod Stakhov [Sat, 23 Apr 2016 14:01:02 +0000 (15:01 +0100)]
[CritFix] Fix some more URL detector issues
Vsevolod Stakhov [Sat, 23 Apr 2016 11:37:15 +0000 (12:37 +0100)]
[Fix] Fix creating of URLs from LUA
Vsevolod Stakhov [Sat, 23 Apr 2016 12:14:34 +0000 (13:14 +0100)]
[CritFix] Fix parsing of URLs in texts
Vsevolod Stakhov [Fri, 22 Apr 2016 20:11:44 +0000 (21:11 +0100)]
Release 1.2.5
* Plug an important memory leak in headers getting code
* Remove some bad domains from whitelists
Signed-off-by: Vsevolod Stakhov <vsevolod@highsecure.ru>
Vsevolod Stakhov [Fri, 22 Apr 2016 13:37:47 +0000 (14:37 +0100)]
[Minor] Update version to 1.2.5
Vsevolod Stakhov [Fri, 22 Apr 2016 12:34:42 +0000 (13:34 +0100)]
[CritFix] Plug memory leak in headers getting code
Vsevolod Stakhov [Thu, 21 Apr 2016 15:21:55 +0000 (16:21 +0100)]
[Fix] Remove some bad domains from whitelists
Vsevolod Stakhov [Wed, 20 Apr 2016 13:49:54 +0000 (14:49 +0100)]
Release 1.2.4
* Implement new multipattern matcher that uses hyperscan if possible
* Use mutlipattern for lua_trie code
* Add utility methods for multipattern
* Use multipattern in url matcher
* Add escape functions for hyperscan
* Allow to optimize lua -> C transition by flattening table args
* Optimize hot paths in SA plugin
* Optimize rspamd_re_cache_type_from_string
* Allow empty tries
* Fix extraction of URLs from Subject
* Allow to have different flags for different patterns in multipattern
* Add common directory for hyperscan cache to config
* Implement caching for hyperscan multipattern
* Attach domain part to `R_SUSPICIOUS_URL` (by @moisseev)
* Allow multipattern scans to be nested for the case of hyperscan
* Simplify SURBL redirector search code and avoid ac_trie
* Add two way substring search algorithm
* Avoid acism usage to find gtube pattern
* Fix processing of empty headers
* Allow to disable pthread mutexes on broken platforms
* Make web interface not send password in query strings (#585) by @fatalbanana
* Add maximum delay to ratelimit module
* Backport fix for empty files inclusion from libucl
* Fix settings id setup
* Add min_learns option to classifiers
* Use more clever to utf8 conversion strategy
* Fix disabling of virtual symbols in the settings
* Rework settings to work properly in metric-less configuration
* Set the default limit for classifier
* Fix ttl based expiration from LRU cache
* Rework DKIM module to use OpenSSL for digests
* Fix mailto urls parsing with hyperscan
* Do not set obscured flag for urls starting with spaces
* Fix crash on redis learn
* Fix ratelimit ctime setting
Signed-off-by: Vsevolod Stakhov <vsevolod@highsecure.ru>
Vsevolod Stakhov [Wed, 20 Apr 2016 12:50:22 +0000 (13:50 +0100)]
[Fix] Fix ratelimit ctime setting
Vsevolod Stakhov [Wed, 20 Apr 2016 11:06:04 +0000 (12:06 +0100)]
[Fix] Fix crash on redis learn
Vsevolod Stakhov [Wed, 20 Apr 2016 09:44:29 +0000 (10:44 +0100)]
[Fix] Do not set obscured flag for urls starting with spaces
Issue: #593
Vsevolod Stakhov [Wed, 20 Apr 2016 09:43:13 +0000 (10:43 +0100)]
Merge pull request #598 from moisseev/patch-1
Fix typos
Alexander Moisseev [Wed, 20 Apr 2016 06:31:09 +0000 (09:31 +0300)]
Fix typos
Vsevolod Stakhov [Tue, 19 Apr 2016 17:38:31 +0000 (18:38 +0100)]
[CritFix] Fix mailto urls parsing with hyperscan
Vsevolod Stakhov [Tue, 19 Apr 2016 16:28:36 +0000 (17:28 +0100)]
[Feature] Rework DKIM module
- Use openssl instead of g_checksum for speed
- Move private parts into .c file
Vsevolod Stakhov [Tue, 19 Apr 2016 16:28:09 +0000 (17:28 +0100)]
[CritFix] Fix ttl based expiration from LRU cache
Vsevolod Stakhov [Tue, 19 Apr 2016 14:56:41 +0000 (15:56 +0100)]
[Doc] Improve classifiers documentation
Vsevolod Stakhov [Tue, 19 Apr 2016 14:08:44 +0000 (15:08 +0100)]
[Feature] Set the default limit for classifier
We now disallow statistics to be used unless at least 200 learns has
been performed for the specified classifier
Vsevolod Stakhov [Tue, 19 Apr 2016 14:03:11 +0000 (15:03 +0100)]
[Fix] Rework settings to work properly in metric-less configuration
Vsevolod Stakhov [Tue, 19 Apr 2016 14:03:01 +0000 (15:03 +0100)]
[Fix] Fix disabling of virtual symbols
Vsevolod Stakhov [Tue, 19 Apr 2016 13:13:56 +0000 (14:13 +0100)]
[Feature] Use more clever to utf8 conversion strategy
Vsevolod Stakhov [Tue, 19 Apr 2016 13:13:41 +0000 (14:13 +0100)]
[Minor] Make fstrgrow non-static function
Vsevolod Stakhov [Tue, 19 Apr 2016 11:47:41 +0000 (12:47 +0100)]
[Minor] Be more informative about configuration errors
Vsevolod Stakhov [Tue, 19 Apr 2016 08:32:47 +0000 (09:32 +0100)]
[Feature] Add min learns to classifiers
Vsevolod Stakhov [Tue, 19 Apr 2016 08:08:08 +0000 (09:08 +0100)]
[Fix] Fix application of settings identified by ID
Vsevolod Stakhov [Mon, 18 Apr 2016 22:31:16 +0000 (23:31 +0100)]
[Fix] Fix settings id setup
Vsevolod Stakhov [Mon, 18 Apr 2016 17:30:08 +0000 (18:30 +0100)]
[Fix] Backport fix for empty files inclusion from libucl
Issue: #596
Reported by: @assistcontrol
Vsevolod Stakhov [Mon, 18 Apr 2016 16:15:43 +0000 (17:15 +0100)]
[Feature] Print rspamd version
Vsevolod Stakhov [Mon, 18 Apr 2016 14:17:44 +0000 (15:17 +0100)]
[Minor] Support DragonFly build
Issue: #595
Vsevolod Stakhov [Sun, 17 Apr 2016 13:54:49 +0000 (14:54 +0100)]
[Doc] Add documentation for the new ratelimit option
Vsevolod Stakhov [Sun, 17 Apr 2016 13:42:37 +0000 (14:42 +0100)]
[Feature] Add maximum delay to ratelimit module
Vsevolod Stakhov [Sun, 17 Apr 2016 08:32:33 +0000 (09:32 +0100)]
Merge pull request #594 from fatalbanana/master
[Fix] Make web interface not send password in query strings (#585)
Vsevolod Stakhov [Sun, 17 Apr 2016 08:32:21 +0000 (09:32 +0100)]
Merge pull request #592 from moisseev/r_suspicious_url
[Minor] Attach domain part to `R_SUSPICIOUS_URL`
Andrew Lewis [Fri, 15 Apr 2016 17:09:30 +0000 (19:09 +0200)]
[Fix] Make web interface not send password in query strings (#585)
Vsevolod Stakhov [Fri, 15 Apr 2016 17:12:50 +0000 (18:12 +0100)]
[Feature] Allow to disable pthread mutexes on broken platforms
Vsevolod Stakhov [Fri, 15 Apr 2016 15:48:56 +0000 (16:48 +0100)]
[Fix] Fix processing of empty headers
Vsevolod Stakhov [Fri, 15 Apr 2016 15:15:12 +0000 (16:15 +0100)]
[Fix] Fix parsing of some urls in hyperscan mode
Vsevolod Stakhov [Fri, 15 Apr 2016 13:28:31 +0000 (14:28 +0100)]
[Feature] Avoid acism usage to find gtube pattern
Vsevolod Stakhov [Fri, 15 Apr 2016 13:28:14 +0000 (14:28 +0100)]
[Fix] Fix order of arguments in 2-ways search
Vsevolod Stakhov [Fri, 15 Apr 2016 13:13:44 +0000 (14:13 +0100)]
[Feature] Add two way substring search algorithm
Vsevolod Stakhov [Fri, 15 Apr 2016 12:53:41 +0000 (13:53 +0100)]
[Feature] Simplify redirector search code and avoid ac_trie
Vsevolod Stakhov [Fri, 15 Apr 2016 11:49:24 +0000 (12:49 +0100)]
[Fix] Allow multipattern scans to be nested for the case of hyperscan
Alexander Moisseev [Fri, 15 Apr 2016 07:50:37 +0000 (10:50 +0300)]
[Minor] Attach domain part to `R_SUSPICIOUS_URL`
Vsevolod Stakhov [Thu, 14 Apr 2016 18:09:04 +0000 (19:09 +0100)]
[Feature] Implement caching for hyperscan multipattern
Vsevolod Stakhov [Thu, 14 Apr 2016 17:27:51 +0000 (18:27 +0100)]
[Feature] Add common directory for hyperscan cache to config
Vsevolod Stakhov [Thu, 14 Apr 2016 16:36:27 +0000 (17:36 +0100)]
[Fix] Some more fixes for urls parser
Vsevolod Stakhov [Thu, 14 Apr 2016 14:45:10 +0000 (15:45 +0100)]
[Fix] Further fixes to urls parsing
Vsevolod Stakhov [Thu, 14 Apr 2016 14:26:19 +0000 (15:26 +0100)]
[Feature] Use more clever url matcher for hyperscan
Vsevolod Stakhov [Thu, 14 Apr 2016 14:17:24 +0000 (15:17 +0100)]
[Feature] Allow to have different flags for different patterns
Vsevolod Stakhov [Thu, 14 Apr 2016 14:12:17 +0000 (15:12 +0100)]
[Fix] Try to handle hyperscan error
Vsevolod Stakhov [Thu, 14 Apr 2016 14:11:00 +0000 (15:11 +0100)]
[Fix] Fix hyperscan callback invocation
Vsevolod Stakhov [Thu, 14 Apr 2016 13:57:51 +0000 (14:57 +0100)]
[Fix] Fix lua url
Vsevolod Stakhov [Thu, 14 Apr 2016 13:57:28 +0000 (14:57 +0100)]
[Feature] Allow single and multiple urls extraction
Vsevolod Stakhov [Thu, 14 Apr 2016 13:01:57 +0000 (14:01 +0100)]
[Fix] Fix excraction of URLs from Subject
Vsevolod Stakhov [Thu, 14 Apr 2016 13:01:40 +0000 (14:01 +0100)]
[Feature] Add helper to insert URLs in task structure
Vsevolod Stakhov [Thu, 14 Apr 2016 12:28:30 +0000 (13:28 +0100)]
[Feature] Add generic function to extract multiple URLs
Vsevolod Stakhov [Thu, 14 Apr 2016 12:07:40 +0000 (13:07 +0100)]
[Fix] Use multipattern in url matcher
Vsevolod Stakhov [Wed, 13 Apr 2016 14:12:40 +0000 (15:12 +0100)]
[Minor] Fix callback type
Vsevolod Stakhov [Wed, 13 Apr 2016 13:50:38 +0000 (14:50 +0100)]
[Feature] Match the beginning of pattern as well
Vsevolod Stakhov [Wed, 13 Apr 2016 12:46:33 +0000 (13:46 +0100)]
[Feature] Add utility methods for multipattern
Vsevolod Stakhov [Wed, 13 Apr 2016 11:09:12 +0000 (12:09 +0100)]
[Feature] Use mutlipattern for lua_trie code
Vsevolod Stakhov [Wed, 13 Apr 2016 11:09:00 +0000 (12:09 +0100)]
[Feature] Allow empty tries
Vsevolod Stakhov [Tue, 12 Apr 2016 18:21:44 +0000 (19:21 +0100)]
[Feature] Optimize rspamd_re_cache_type_from_string
Vsevolod Stakhov [Tue, 12 Apr 2016 18:21:21 +0000 (19:21 +0100)]
[Fix] Fix calling of process_regexp after flattening
Vsevolod Stakhov [Tue, 12 Apr 2016 18:20:58 +0000 (19:20 +0100)]
[Fix] Fix plain version for table args extraction
Vsevolod Stakhov [Tue, 12 Apr 2016 17:34:20 +0000 (18:34 +0100)]
[Feature] Optimize hot paths in SA plugin
Vsevolod Stakhov [Tue, 12 Apr 2016 17:31:13 +0000 (18:31 +0100)]
[Feature] Allow to optimize lua -> C transition by flattening table args
Vsevolod Stakhov [Tue, 12 Apr 2016 16:08:52 +0000 (17:08 +0100)]
[Feature] Add escape functions for hyperscan