]>
source.dussan.org Git - rspamd.git/log
Vsevolod Stakhov [Mon, 11 Apr 2016 16:07:37 +0000 (17:07 +0100)]
[Feature] Use sabody rules in SA plugin
Vsevolod Stakhov [Mon, 11 Apr 2016 16:07:12 +0000 (17:07 +0100)]
[Fix] Fix sabody rules in regexp cache
Vsevolod Stakhov [Mon, 11 Apr 2016 16:05:42 +0000 (17:05 +0100)]
[CritFix] Fix regexps results combination
When converting to vectored mode we need to remember results between
consequent calls of regexp match engine. Prior to this patch this
behaviour was broken and caused regexp rules to be matched incorrectly.
Vsevolod Stakhov [Mon, 11 Apr 2016 15:04:19 +0000 (16:04 +0100)]
[Feature] Implement SA compatible body regexps
Vsevolod Stakhov [Mon, 11 Apr 2016 14:57:41 +0000 (15:57 +0100)]
[Feature] Save multipart boundaries
Vsevolod Stakhov [Mon, 11 Apr 2016 14:49:27 +0000 (15:49 +0100)]
[Feature] Save raw headers for mime parts
Vsevolod Stakhov [Mon, 11 Apr 2016 14:05:18 +0000 (15:05 +0100)]
[Fix] Properly handle MIME headers in SA plugin
Vsevolod Stakhov [Mon, 11 Apr 2016 13:54:11 +0000 (14:54 +0100)]
[Fix] Fix eval:check_for_missing_to_header rule
Vsevolod Stakhov [Mon, 11 Apr 2016 13:08:19 +0000 (14:08 +0100)]
[Test] More improvements to heap tests
Vsevolod Stakhov [Mon, 11 Apr 2016 13:01:25 +0000 (14:01 +0100)]
[Fix] Priority of sink/swim should be reversed
Vsevolod Stakhov [Mon, 11 Apr 2016 12:51:08 +0000 (13:51 +0100)]
[Fix] Add more guards for heap
Vsevolod Stakhov [Mon, 11 Apr 2016 11:26:54 +0000 (12:26 +0100)]
[Feature] Use less frequent use strategy for caches
Vsevolod Stakhov [Mon, 11 Apr 2016 10:26:44 +0000 (11:26 +0100)]
[Minor] Enable jemalloc for debian builds
Vsevolod Stakhov [Mon, 11 Apr 2016 10:23:47 +0000 (11:23 +0100)]
[Feature] Allow building rspamd with jemalloc
Vsevolod Stakhov [Mon, 11 Apr 2016 09:50:30 +0000 (10:50 +0100)]
[Minor] Use g_slice_alloc
Vsevolod Stakhov [Mon, 11 Apr 2016 09:08:52 +0000 (10:08 +0100)]
[Test] Evaluate heap performance
Vsevolod Stakhov [Mon, 11 Apr 2016 09:08:32 +0000 (10:08 +0100)]
[Minor] Slightly simplify swap for optimization
Vsevolod Stakhov [Sun, 10 Apr 2016 12:43:47 +0000 (13:43 +0100)]
[Minor] Improve tests for heap
Vsevolod Stakhov [Sun, 10 Apr 2016 12:43:26 +0000 (13:43 +0100)]
[Minor] Add rspamd_min_heap_index helper method
Vsevolod Stakhov [Sat, 9 Apr 2016 23:36:32 +0000 (00:36 +0100)]
Merge pull request #589 from fatalbanana/master
Update Exim patches
Andrew Lewis [Sat, 9 Apr 2016 12:39:13 +0000 (14:39 +0200)]
Update Exim patches
Vsevolod Stakhov [Sat, 9 Apr 2016 12:28:21 +0000 (13:28 +0100)]
[Doc] Improve regexp module documentation
Vsevolod Stakhov [Sat, 9 Apr 2016 12:18:53 +0000 (13:18 +0100)]
[Feature] Support mime regexps in the expressions
Vsevolod Stakhov [Sat, 9 Apr 2016 12:18:20 +0000 (13:18 +0100)]
[Feature] Add support of mime headers expressions
Vsevolod Stakhov [Sat, 9 Apr 2016 12:13:38 +0000 (13:13 +0100)]
[Feature] Allow to get mime headers from a task
Vsevolod Stakhov [Fri, 8 Apr 2016 21:04:36 +0000 (22:04 +0100)]
[Feature] Use heap in LRU caches
Signed-off-by: Vsevolod Stakhov <vsevolod@highsecure.ru>
Vsevolod Stakhov [Fri, 8 Apr 2016 21:04:14 +0000 (22:04 +0100)]
[Feature] Allow removal from the heap
Vsevolod Stakhov [Fri, 8 Apr 2016 20:30:14 +0000 (21:30 +0100)]
[Feature] Add unit tests for heap
Vsevolod Stakhov [Fri, 8 Apr 2016 20:29:50 +0000 (21:29 +0100)]
[Fix] Fix couple of issues with heap code
Vsevolod Stakhov [Fri, 8 Apr 2016 13:32:07 +0000 (14:32 +0100)]
[Minor] Use more simple swap algorithm
Vsevolod Stakhov [Fri, 8 Apr 2016 13:18:26 +0000 (14:18 +0100)]
[Feature] Add preliminary implementation of binary heap
Signed-off-by: Vsevolod Stakhov <vsevolod@highsecure.ru>
Vsevolod Stakhov [Fri, 8 Apr 2016 10:24:12 +0000 (11:24 +0100)]
[Feature] Add config:set_symbol_callback function
Vsevolod Stakhov [Thu, 7 Apr 2016 22:11:19 +0000 (23:11 +0100)]
[Feature] Allow to get callbacks for lua symbols
Vsevolod Stakhov [Thu, 7 Apr 2016 15:20:42 +0000 (16:20 +0100)]
[Feature] Allow to get and set callback data for rspamd symbols
Vsevolod Stakhov [Thu, 7 Apr 2016 12:43:09 +0000 (13:43 +0100)]
[Feature] Add magic for callback data in rspamd rules
Vsevolod Stakhov [Thu, 7 Apr 2016 11:20:52 +0000 (12:20 +0100)]
[Feature] Add lua methods to get redirected urls
Vsevolod Stakhov [Thu, 7 Apr 2016 11:14:01 +0000 (12:14 +0100)]
[Feature] Insert redirected URL to the urls list
Vsevolod Stakhov [Wed, 6 Apr 2016 17:45:33 +0000 (18:45 +0100)]
[Fetaure] Use less precise clock if possible
Vsevolod Stakhov [Wed, 6 Apr 2016 15:02:32 +0000 (16:02 +0100)]
[Fix] Allow to use assembly version of blake2b on x86 cpu
Vsevolod Stakhov [Wed, 6 Apr 2016 13:26:54 +0000 (14:26 +0100)]
[Minor] Slightly improve logging for fann reload
Vsevolod Stakhov [Wed, 6 Apr 2016 13:22:01 +0000 (14:22 +0100)]
[Fix] Rework fann learning
Vsevolod Stakhov [Wed, 6 Apr 2016 13:21:39 +0000 (14:21 +0100)]
[Fix] Fix fann train
Vsevolod Stakhov [Wed, 6 Apr 2016 12:14:19 +0000 (13:14 +0100)]
[Minor] Reformat dcc plugin code
Vsevolod Stakhov [Wed, 6 Apr 2016 12:13:50 +0000 (13:13 +0100)]
[Fix] Fix couple of issues with dcc plugin
Vsevolod Stakhov [Wed, 6 Apr 2016 12:04:27 +0000 (13:04 +0100)]
Merge pull request #586 from smfreegard/dcc_module
New DCC module
Vsevolod Stakhov [Wed, 6 Apr 2016 12:01:57 +0000 (13:01 +0100)]
[Fix] Change default value of forced removal in composite rules
Vsevolod Stakhov [Wed, 6 Apr 2016 10:01:58 +0000 (11:01 +0100)]
[Feature] Rework metrics configuration to allow includes
Steve Freegard [Tue, 5 Apr 2016 18:28:10 +0000 (19:28 +0100)]
New dcc module
Vsevolod Stakhov [Tue, 5 Apr 2016 17:51:15 +0000 (18:51 +0100)]
[Feature] Add generic maillist detector
Issue: #584
Reported by: @piwats
Vsevolod Stakhov [Tue, 5 Apr 2016 17:50:54 +0000 (18:50 +0100)]
[Fix] Fix rfc2369 maillists detection
Vsevolod Stakhov [Tue, 5 Apr 2016 16:26:43 +0000 (17:26 +0100)]
[Feature] Implement preliminary code for fann autolearn
Vsevolod Stakhov [Tue, 5 Apr 2016 16:26:28 +0000 (17:26 +0100)]
[Feature] Add method to get number of symbols in the cache
Vsevolod Stakhov [Tue, 5 Apr 2016 15:24:44 +0000 (16:24 +0100)]
[Feature] Extend log structure
Vsevolod Stakhov [Tue, 5 Apr 2016 13:00:22 +0000 (14:00 +0100)]
[Feature] Execute lua scripts by log helper
Vsevolod Stakhov [Tue, 5 Apr 2016 12:41:33 +0000 (13:41 +0100)]
[Feature] Add on load hooks for rspamd_config
Vsevolod Stakhov [Tue, 5 Apr 2016 12:03:25 +0000 (13:03 +0100)]
[Feature] Add worker scripts functionality
Vsevolod Stakhov [Tue, 5 Apr 2016 10:26:26 +0000 (11:26 +0100)]
[Feature] Add task:get_symbols_numeric method
Vsevolod Stakhov [Tue, 5 Apr 2016 09:06:13 +0000 (10:06 +0100)]
[Feature] Add util.stat function
Vsevolod Stakhov [Tue, 5 Apr 2016 08:16:14 +0000 (09:16 +0100)]
[Feature] Add util.get_ticks function
Vsevolod Stakhov [Mon, 4 Apr 2016 17:23:15 +0000 (18:23 +0100)]
Merge pull request #583 from smfreegard/uribl_sbl_fix
Add URIBL_SBL_CSS
Vsevolod Stakhov [Mon, 4 Apr 2016 17:21:33 +0000 (18:21 +0100)]
[Fix] Some fixes for log pipe handling
Vsevolod Stakhov [Mon, 4 Apr 2016 17:21:11 +0000 (18:21 +0100)]
[Feature] Add new auxiliary methods for symbols cache
Vsevolod Stakhov [Mon, 4 Apr 2016 17:20:48 +0000 (18:20 +0100)]
[Minor] Add startup mutex
Vsevolod Stakhov [Mon, 4 Apr 2016 16:46:39 +0000 (17:46 +0100)]
[Minor] Some fixes
Steve Freegard [Mon, 4 Apr 2016 16:46:09 +0000 (17:46 +0100)]
Add URIBL_SBL_CSS
Vsevolod Stakhov [Mon, 4 Apr 2016 16:38:46 +0000 (17:38 +0100)]
[Feature] Add preliminary version of log_helper worker
Vsevolod Stakhov [Mon, 4 Apr 2016 15:40:26 +0000 (16:40 +0100)]
[Feature] Start client implementation for logging pipes in rspamd
Vsevolod Stakhov [Mon, 4 Apr 2016 15:07:14 +0000 (16:07 +0100)]
[Feature] Add magic for all workers' contexts
Vsevolod Stakhov [Mon, 4 Apr 2016 15:06:09 +0000 (16:06 +0100)]
[Minor] Move shared parts of worker definition to a separated header
Vsevolod Stakhov [Mon, 4 Apr 2016 13:44:06 +0000 (14:44 +0100)]
[Feature] Unify mandatory workers spawning
Vsevolod Stakhov [Mon, 4 Apr 2016 13:32:18 +0000 (14:32 +0100)]
[Feature] Rework system of workers' flags
Vsevolod Stakhov [Mon, 4 Apr 2016 13:24:07 +0000 (14:24 +0100)]
[Feature] Implement log pipe feature for rspamd logs analysis
Vsevolod Stakhov [Mon, 4 Apr 2016 13:09:15 +0000 (14:09 +0100)]
[Feature] Allow to attach fd when broadcasting to workers
Vsevolod Stakhov [Mon, 4 Apr 2016 12:52:06 +0000 (13:52 +0100)]
[Feature] Allow to send descriptors from workers to main
Vsevolod Stakhov [Mon, 4 Apr 2016 12:42:36 +0000 (13:42 +0100)]
[Feature] Allow to attach file descriptors to control commands
Vsevolod Stakhov [Mon, 4 Apr 2016 11:40:23 +0000 (12:40 +0100)]
[Fix] Try to set redis to NULL to avoid double free
Vsevolod Stakhov [Sun, 3 Apr 2016 16:36:09 +0000 (17:36 +0100)]
[Fix] Change copy strategy in strlcpy
Vsevolod Stakhov [Sun, 3 Apr 2016 14:29:09 +0000 (15:29 +0100)]
[Fix] Save required score in history
Issue: #581
Vsevolod Stakhov [Sat, 2 Apr 2016 21:22:07 +0000 (22:22 +0100)]
[Fix] Fix strlcpy startup
Vsevolod Stakhov [Sat, 2 Apr 2016 21:06:28 +0000 (22:06 +0100)]
[Feature] Allow to print compact json in client
Vsevolod Stakhov [Sat, 2 Apr 2016 13:15:08 +0000 (14:15 +0100)]
[Feature] Add support of half-closed connection in lua_tcp
Vsevolod Stakhov [Sat, 2 Apr 2016 12:35:59 +0000 (13:35 +0100)]
Merge pull request #579 from fatalbanana/master
Whitelist fixes
Andrew Lewis [Fri, 1 Apr 2016 18:50:49 +0000 (20:50 +0200)]
[Fix] Fix DMARC whitelist misconfiguration
Andrew Lewis [Fri, 1 Apr 2016 18:48:09 +0000 (20:48 +0200)]
[Minor] Fix iterator
Vsevolod Stakhov [Fri, 1 Apr 2016 16:44:52 +0000 (17:44 +0100)]
[Feature] Optimize strlcpy for aligned input
Vsevolod Stakhov [Fri, 1 Apr 2016 16:21:26 +0000 (17:21 +0100)]
[Feature] Rework whitelist module
- Now we check different elements for different checks
- MIME from for DMARC
- DKIM signature domain for DKIM
- SMTP from or HELO for SPF
Vsevolod Stakhov [Fri, 1 Apr 2016 14:22:15 +0000 (15:22 +0100)]
[Minor] Update version to 1.2.3
Vsevolod Stakhov [Fri, 1 Apr 2016 14:19:37 +0000 (15:19 +0100)]
Release 1.2.2
* Use HTTP Content-Type on non mime input if possible
* Save log level when compressing log messages
* Further rework of composite rules (add '^' prefix)
* Add tracking for rspamd expressions
* Store actions limits in metric result
* Fix parsing of include/redirect with many records in SPF
* Add method to disable symbols execution in the cache
* Allow to disable checks from settings
* Allow to select settings by id in HTTP query
* Find URLs with '\r' and '\n' inside href attribute
* Implement vectored mode for hyperscan (experimental)
* Improve client connection errors diagnostics
* Allow to edit new files with signtool
* Improve hashes performance on 32 bit platforms
* Fix sorting of limits
* Remove slow and unused rules `INVALID_EXIM_RECEIVED*`
* Add expression:process_traced lua method
* Allow tables in task:insert_result
* Save trace for SA metas
* Do not parse broken TLD parts in URLs
* Investigate many border cases in URLs parser
Signed-off-by: Vsevolod Stakhov <vsevolod@highsecure.ru>
Vsevolod Stakhov [Fri, 1 Apr 2016 12:45:46 +0000 (13:45 +0100)]
[Minor] Fix log level for repeated message
Vsevolod Stakhov [Fri, 1 Apr 2016 11:50:49 +0000 (12:50 +0100)]
[Fix] Fix regexp rule
Vsevolod Stakhov [Thu, 31 Mar 2016 16:12:43 +0000 (17:12 +0100)]
[Fix] Investigate many border cases in URLs parser
Vsevolod Stakhov [Thu, 31 Mar 2016 13:54:35 +0000 (14:54 +0100)]
[Fix] Do not parse broken TLD parts
Vsevolod Stakhov [Thu, 31 Mar 2016 13:39:00 +0000 (14:39 +0100)]
[Feature] Save trace for SA metas
Vsevolod Stakhov [Thu, 31 Mar 2016 13:38:45 +0000 (14:38 +0100)]
[Feature] Allow tables in task:insert_result
Vsevolod Stakhov [Thu, 31 Mar 2016 13:31:41 +0000 (14:31 +0100)]
[Feature] Add expression:process_traced method
Vsevolod Stakhov [Thu, 31 Mar 2016 13:08:08 +0000 (14:08 +0100)]
[Feature] Add task:get_symbols method
Vsevolod Stakhov [Thu, 31 Mar 2016 12:28:34 +0000 (13:28 +0100)]
[Fix] Remove slow and unused rules `INVALID_EXIM_RECEIVED*`
Vsevolod Stakhov [Thu, 31 Mar 2016 11:17:32 +0000 (12:17 +0100)]
[Tests] Add more tests for expressions
Vsevolod Stakhov [Thu, 31 Mar 2016 11:17:19 +0000 (12:17 +0100)]
[Fix] Fix sorting of limits
Vsevolod Stakhov [Thu, 31 Mar 2016 11:17:02 +0000 (12:17 +0100)]
[Fix] Fix saving of regexp atoms strings