]>
source.dussan.org Git - rspamd.git/log
Vsevolod Stakhov [Mon, 7 Dec 2015 14:29:25 +0000 (14:29 +0000)]
Start hyperscan support
Vsevolod Stakhov [Mon, 7 Dec 2015 13:52:41 +0000 (13:52 +0000)]
Add LPeg support to rspamd
Vsevolod Stakhov [Mon, 7 Dec 2015 13:08:17 +0000 (13:08 +0000)]
Fix error on adjusting url lengths after decoding
Vsevolod Stakhov [Mon, 7 Dec 2015 11:31:28 +0000 (11:31 +0000)]
Add support of 'special' SA headers to 'exists' function
Vsevolod Stakhov [Mon, 7 Dec 2015 11:14:59 +0000 (11:14 +0000)]
Add support for Mail::SpamAssassin::Plugin::MIMEHeader
Vsevolod Stakhov [Mon, 7 Dec 2015 10:06:41 +0000 (10:06 +0000)]
More fixes for SA plugin to deal with the new cache
Vsevolod Stakhov [Mon, 7 Dec 2015 09:18:09 +0000 (09:18 +0000)]
Add routine to convert string to re_class type
Vsevolod Stakhov [Mon, 7 Dec 2015 09:12:29 +0000 (09:12 +0000)]
Add re class to match all headers
Vsevolod Stakhov [Mon, 7 Dec 2015 09:03:07 +0000 (09:03 +0000)]
As we store re_class within re avoid extra lookup
Vsevolod Stakhov [Sun, 6 Dec 2015 18:33:42 +0000 (18:33 +0000)]
Fix replacements in spamassassin plugin
Vsevolod Stakhov [Sun, 6 Dec 2015 13:55:59 +0000 (13:55 +0000)]
Fix re cache replacement method
Vsevolod Stakhov [Sun, 6 Dec 2015 13:55:43 +0000 (13:55 +0000)]
Add method to set re class for any rspamd regexp
Vsevolod Stakhov [Sat, 5 Dec 2015 13:42:33 +0000 (13:42 +0000)]
Add function rspamd_config:replace_regexp
Vsevolod Stakhov [Sat, 5 Dec 2015 13:30:08 +0000 (13:30 +0000)]
Fix headers iteration
Vsevolod Stakhov [Sat, 5 Dec 2015 13:21:50 +0000 (13:21 +0000)]
Fix more issues in the new re cache
Vsevolod Stakhov [Sat, 5 Dec 2015 00:44:00 +0000 (00:44 +0000)]
Add replacement method for expressions in the confi
Vsevolod Stakhov [Fri, 4 Dec 2015 17:08:45 +0000 (17:08 +0000)]
More rework for re_cache
Vsevolod Stakhov [Fri, 4 Dec 2015 16:58:25 +0000 (16:58 +0000)]
Start rework of spamassassin plugin
Vsevolod Stakhov [Fri, 4 Dec 2015 16:58:14 +0000 (16:58 +0000)]
Do not re-set GError
Vsevolod Stakhov [Fri, 4 Dec 2015 16:29:20 +0000 (16:29 +0000)]
Fix invalid tests
Vsevolod Stakhov [Fri, 4 Dec 2015 16:26:45 +0000 (16:26 +0000)]
Fix issues with re_cache lua API
Vsevolod Stakhov [Fri, 4 Dec 2015 16:26:32 +0000 (16:26 +0000)]
Fix issue with zero length atoms
Vsevolod Stakhov [Fri, 4 Dec 2015 16:26:15 +0000 (16:26 +0000)]
Zero memory before usage
Vsevolod Stakhov [Fri, 4 Dec 2015 16:25:58 +0000 (16:25 +0000)]
Fix initialization order in fuzzy storage
Vsevolod Stakhov [Fri, 4 Dec 2015 15:54:31 +0000 (15:54 +0000)]
Fix couple of bugs in lua table to C convertor
Vsevolod Stakhov [Fri, 4 Dec 2015 15:54:02 +0000 (15:54 +0000)]
Init re cache on config post load
Vsevolod Stakhov [Fri, 4 Dec 2015 14:22:43 +0000 (14:22 +0000)]
Add rspamd_config:register_regexp
Vsevolod Stakhov [Fri, 4 Dec 2015 01:04:54 +0000 (01:04 +0000)]
Add method to process new regexp cache
Vsevolod Stakhov [Fri, 4 Dec 2015 01:04:40 +0000 (01:04 +0000)]
Make lua_regexp structure public
Vsevolod Stakhov [Fri, 4 Dec 2015 01:04:21 +0000 (01:04 +0000)]
Slightly rework class names in table to c convertor
Vsevolod Stakhov [Thu, 3 Dec 2015 18:51:21 +0000 (18:51 +0000)]
Rework upstreams library
Now each address has its own errors count, so rspamd will prefer upstream addrs with no errors to addrs with errors. This might help to resolve issues on systems where ipv6 does not work.
Vsevolod Stakhov [Thu, 3 Dec 2015 17:39:53 +0000 (17:39 +0000)]
Add missing function
Vsevolod Stakhov [Thu, 3 Dec 2015 17:37:53 +0000 (17:37 +0000)]
Fix code for the new cache
Vsevolod Stakhov [Thu, 3 Dec 2015 17:10:34 +0000 (17:10 +0000)]
Start new era of regexp cache
Vsevolod Stakhov [Thu, 3 Dec 2015 16:56:45 +0000 (16:56 +0000)]
Implement real checks in re_cache
Vsevolod Stakhov [Thu, 3 Dec 2015 15:15:22 +0000 (15:15 +0000)]
Add more logic for the new re cache system
Vsevolod Stakhov [Thu, 3 Dec 2015 12:13:10 +0000 (12:13 +0000)]
Add ability to ignore certain symbols in metric when validating cache
Vsevolod Stakhov [Thu, 3 Dec 2015 09:24:59 +0000 (09:24 +0000)]
Add cache id support for regexp
Vsevolod Stakhov [Wed, 2 Dec 2015 17:48:39 +0000 (17:48 +0000)]
Try to fix SUSPICIOUS_RECIPS rule
Issue: #437
Vsevolod Stakhov [Wed, 2 Dec 2015 17:44:25 +0000 (17:44 +0000)]
Try to fix bloody SORTED_RECIPS rule
Issue: #437
Vsevolod Stakhov [Wed, 2 Dec 2015 17:16:14 +0000 (17:16 +0000)]
Fix parsing of url encoded href tags
Vsevolod Stakhov [Wed, 2 Dec 2015 13:40:37 +0000 (13:40 +0000)]
Match any newline character in regexps
Issue: #438
Reported by: @moisseev
Vsevolod Stakhov [Tue, 1 Dec 2015 22:23:19 +0000 (22:23 +0000)]
Another try to fix locked statements in sqlite
Vsevolod Stakhov [Tue, 1 Dec 2015 21:00:33 +0000 (21:00 +0000)]
Cleanup statement correctly
Vsevolod Stakhov [Tue, 1 Dec 2015 18:31:16 +0000 (18:31 +0000)]
Fix old sqlite support
Vsevolod Stakhov [Tue, 1 Dec 2015 18:18:12 +0000 (18:18 +0000)]
Another try to fight with WAL growth
Vsevolod Stakhov [Tue, 1 Dec 2015 18:17:55 +0000 (18:17 +0000)]
Add routines to get count of captures and backrefs
Vsevolod Stakhov [Tue, 1 Dec 2015 17:09:06 +0000 (17:09 +0000)]
Start new regexp cache optimizer
Vsevolod Stakhov [Tue, 1 Dec 2015 15:38:10 +0000 (15:38 +0000)]
Add support of g_int64 hash for old glib
Vsevolod Stakhov [Mon, 30 Nov 2015 16:14:47 +0000 (16:14 +0000)]
Rework ratelimit plugin
- Switch to `rates` instead of old and stupid strings to setup
- Check if a bucket is zero and disable the corresponding limits
- Turn off all buckets by default
- Check either `rcpt` or `user` buckets, not all together
- Document new `rates` and `symbol` options
- Inform user about what buckets are used in the configuration
Vsevolod Stakhov [Mon, 30 Nov 2015 14:50:57 +0000 (14:50 +0000)]
Remove extra code for IP urls in surbl module
Vsevolod Stakhov [Mon, 30 Nov 2015 13:55:03 +0000 (13:55 +0000)]
Remove fake surbl symbols from metric
Vsevolod Stakhov [Mon, 30 Nov 2015 13:33:22 +0000 (13:33 +0000)]
Use mktemp when available
Vsevolod Stakhov [Mon, 30 Nov 2015 12:56:07 +0000 (12:56 +0000)]
Fix configtest
Vsevolod Stakhov [Mon, 30 Nov 2015 12:56:00 +0000 (12:56 +0000)]
Use special flag for classifier symbols
Vsevolod Stakhov [Mon, 30 Nov 2015 11:47:16 +0000 (11:47 +0000)]
Fix loop iteration for IP uribl.
Vsevolod Stakhov [Mon, 30 Nov 2015 11:08:45 +0000 (11:08 +0000)]
More fixes for learning IO
Vsevolod Stakhov [Mon, 30 Nov 2015 09:58:14 +0000 (09:58 +0000)]
Change logic of fuzzy requests retransmitting
Vsevolod Stakhov [Sun, 29 Nov 2015 22:39:23 +0000 (22:39 +0000)]
Add routine to add events for a specific watcher structure
Vsevolod Stakhov [Sun, 29 Nov 2015 19:07:41 +0000 (19:07 +0000)]
Avoid treating of URLs as zero terminated strings
Vsevolod Stakhov [Sat, 28 Nov 2015 22:22:21 +0000 (22:22 +0000)]
Add missing components normalization
Vsevolod Stakhov [Sat, 28 Nov 2015 22:10:25 +0000 (22:10 +0000)]
More fixes to url numeric conversions
Vsevolod Stakhov [Sat, 28 Nov 2015 13:46:42 +0000 (13:46 +0000)]
Start to fix url decoding shifting
Vsevolod Stakhov [Sat, 28 Nov 2015 13:13:38 +0000 (13:13 +0000)]
Add guard for ratelimit checks
Vsevolod Stakhov [Fri, 27 Nov 2015 17:01:36 +0000 (17:01 +0000)]
Fix rules count
Vsevolod Stakhov [Fri, 27 Nov 2015 16:55:41 +0000 (16:55 +0000)]
Add config for spamhaus SBL to uribl
Vsevolod Stakhov [Fri, 27 Nov 2015 16:47:05 +0000 (16:47 +0000)]
Add alias for 'options = noip' as 'no_ip = true'
Vsevolod Stakhov [Fri, 27 Nov 2015 16:32:14 +0000 (16:32 +0000)]
Support IP DNS black lists for URIBL
Rspamd now can resolve URL's IP address and check it via the standard DNS IP blacklist (such as spamhaus SBL, for example)
Vsevolod Stakhov [Fri, 27 Nov 2015 15:34:52 +0000 (15:34 +0000)]
Remove escaping of log strings as it seems to be useless
Vsevolod Stakhov [Fri, 27 Nov 2015 15:28:13 +0000 (15:28 +0000)]
Fix multiple classifiers support.
Vsevolod Stakhov [Fri, 27 Nov 2015 15:02:46 +0000 (15:02 +0000)]
Fix forking and epoll/kqueue
Vsevolod Stakhov [Fri, 27 Nov 2015 14:30:15 +0000 (14:30 +0000)]
Improve informational message from regexp module
Vsevolod Stakhov [Fri, 27 Nov 2015 13:53:48 +0000 (13:53 +0000)]
Fix initialization order
Vsevolod Stakhov [Fri, 27 Nov 2015 13:43:32 +0000 (13:43 +0000)]
Add informational messages about modules initialization
Vsevolod Stakhov [Fri, 27 Nov 2015 13:14:14 +0000 (13:14 +0000)]
Fix order of loading
Vsevolod Stakhov [Thu, 26 Nov 2015 18:50:03 +0000 (18:50 +0000)]
Use atomic ops if possible
Vsevolod Stakhov [Thu, 26 Nov 2015 18:45:37 +0000 (18:45 +0000)]
Fix stupid error when removing `words` member
Vsevolod Stakhov [Thu, 26 Nov 2015 18:22:45 +0000 (18:22 +0000)]
Generate fuzzy hashes from task metadata (URLs and headers)
Vsevolod Stakhov [Thu, 26 Nov 2015 17:07:30 +0000 (17:07 +0000)]
Use the same hash seed for urls as we need some static order
Vsevolod Stakhov [Thu, 26 Nov 2015 17:04:55 +0000 (17:04 +0000)]
Remove legacy words, use merely normalized_words
Vsevolod Stakhov [Thu, 26 Nov 2015 15:30:23 +0000 (15:30 +0000)]
Add SUBJ_ALL_CAPS rule
Vsevolod Stakhov [Thu, 26 Nov 2015 15:30:04 +0000 (15:30 +0000)]
Add is_uppercase utility for utf8 strings
Vsevolod Stakhov [Thu, 26 Nov 2015 15:19:23 +0000 (15:19 +0000)]
Fix delayed fork
Vsevolod Stakhov [Thu, 26 Nov 2015 15:13:55 +0000 (15:13 +0000)]
Fix raw logic inversion in `get_header` method
Vsevolod Stakhov [Thu, 26 Nov 2015 14:20:08 +0000 (14:20 +0000)]
Add additional checks for mail addresses
Vsevolod Stakhov [Thu, 26 Nov 2015 13:56:35 +0000 (13:56 +0000)]
More fixes for url parsing
Hello my dear spammer, thank you for all your valueable test cases that you
are kindly providing for me!
Vsevolod Stakhov [Wed, 25 Nov 2015 17:45:24 +0000 (17:45 +0000)]
Fix race condition when opening sqlite db
Vsevolod Stakhov [Wed, 25 Nov 2015 17:40:42 +0000 (17:40 +0000)]
Move all updates to a single transaction.
Vsevolod Stakhov [Wed, 25 Nov 2015 17:28:59 +0000 (17:28 +0000)]
Implement new fuzzy updates architecture
So far, fuzzy storage can run in multiple processes. However, merely one process is responsible for changes whilst others just work as proxies when dealing with updates. That should fix sqlite concurrency issues.
Vsevolod Stakhov [Wed, 25 Nov 2015 16:00:58 +0000 (16:00 +0000)]
Use the correct key to fix memory issues
Vsevolod Stakhov [Wed, 25 Nov 2015 15:59:48 +0000 (15:59 +0000)]
Do not enable accept event with no handler
Vsevolod Stakhov [Wed, 25 Nov 2015 15:18:47 +0000 (15:18 +0000)]
Clean log buffer when forking
Vsevolod Stakhov [Wed, 25 Nov 2015 15:16:04 +0000 (15:16 +0000)]
Implement listening for srv pipe in the main process
Vsevolod Stakhov [Wed, 25 Nov 2015 14:43:40 +0000 (14:43 +0000)]
Add method to send data to server pipe.
Vsevolod Stakhov [Wed, 25 Nov 2015 14:14:09 +0000 (14:14 +0000)]
Start work on worker->main pipe interface
Vsevolod Stakhov [Wed, 25 Nov 2015 14:13:58 +0000 (14:13 +0000)]
Cleanup controller session structure.
Vsevolod Stakhov [Tue, 24 Nov 2015 16:38:32 +0000 (16:38 +0000)]
Slightly improve logging in fuzzy.
Vsevolod Stakhov [Tue, 24 Nov 2015 15:59:44 +0000 (15:59 +0000)]
Fix another stupid mistake for adding hashes
Vsevolod Stakhov [Tue, 24 Nov 2015 15:22:37 +0000 (15:22 +0000)]
Parse more headers if they are missed in HTTP
Vsevolod Stakhov [Tue, 24 Nov 2015 15:13:07 +0000 (15:13 +0000)]
When returning headers, reverse list to restore the original order