]> git.ipfire.org Git - thirdparty/rspamd.git/log
thirdparty/rspamd.git
10 years agoFix signature slightly
Vsevolod Stakhov [Sun, 13 Dec 2015 16:58:43 +0000 (16:58 +0000)] 
Fix signature slightly

10 years agoMerge pull request #447 from AlexeySa/patch-7
Vsevolod Stakhov [Sun, 13 Dec 2015 16:49:08 +0000 (16:49 +0000)] 
Merge pull request #447 from AlexeySa/patch-7

Fix centos spec

10 years agoFix centos spec 447/head
Alexey AL [Sat, 12 Dec 2015 22:07:17 +0000 (01:07 +0300)] 
Fix centos spec

libmagic included in file-devel package

10 years agoRework fuzzy requests encryption
Vsevolod Stakhov [Sat, 12 Dec 2015 22:03:20 +0000 (22:03 +0000)] 
Rework fuzzy requests encryption

10 years agoInclude key id into fuzzy command
Vsevolod Stakhov [Sat, 12 Dec 2015 22:03:07 +0000 (22:03 +0000)] 
Include key id into fuzzy command

10 years agoTry to fix build
Vsevolod Stakhov [Fri, 11 Dec 2015 19:18:25 +0000 (19:18 +0000)] 
Try to fix build

10 years agoRemove unnecessary definition
Vsevolod Stakhov [Fri, 11 Dec 2015 19:08:36 +0000 (19:08 +0000)] 
Remove unnecessary definition

10 years agoEnable core files limits for rspamd
Vsevolod Stakhov [Fri, 11 Dec 2015 17:35:58 +0000 (17:35 +0000)] 
Enable core files limits for rspamd

10 years agoAdd options to limit cores for rspamd
Vsevolod Stakhov [Fri, 11 Dec 2015 16:48:52 +0000 (16:48 +0000)] 
Add options to limit cores for rspamd

10 years agoImprove and simplify endiannes detection
Vsevolod Stakhov [Fri, 11 Dec 2015 16:30:52 +0000 (16:30 +0000)] 
Improve and simplify endiannes detection

10 years agoFind nftw definition
Vsevolod Stakhov [Fri, 11 Dec 2015 16:30:37 +0000 (16:30 +0000)] 
Find nftw definition

10 years agoFix NULL strings, eh
Vsevolod Stakhov [Thu, 10 Dec 2015 18:39:53 +0000 (18:39 +0000)] 
Fix NULL strings, eh

10 years agoImprove logging of hyperscan cache
Vsevolod Stakhov [Thu, 10 Dec 2015 18:31:12 +0000 (18:31 +0000)] 
Improve logging of hyperscan cache

10 years agoAdd support of width modifier for strings in printf
Vsevolod Stakhov [Thu, 10 Dec 2015 18:31:00 +0000 (18:31 +0000)] 
Add support of width modifier for strings in printf

10 years agoAnother fix for maxhits regexps
Vsevolod Stakhov [Thu, 10 Dec 2015 18:04:14 +0000 (18:04 +0000)] 
Another fix for maxhits regexps

10 years agoUnbreak hyperscan-less build
Vsevolod Stakhov [Thu, 10 Dec 2015 17:29:02 +0000 (17:29 +0000)] 
Unbreak hyperscan-less build

10 years agoSort symbols in rspamc output
Vsevolod Stakhov [Thu, 10 Dec 2015 17:18:45 +0000 (17:18 +0000)] 
Sort symbols in rspamc output

10 years agoAllow to disable hyperscan and use pcre only
Vsevolod Stakhov [Thu, 10 Dec 2015 17:03:51 +0000 (17:03 +0000)] 
Allow to disable hyperscan and use pcre only

10 years agoFix maxhits for pcre
Vsevolod Stakhov [Thu, 10 Dec 2015 16:58:59 +0000 (16:58 +0000)] 
Fix maxhits for pcre

10 years agoAllow to exclude some regexps from hyperscan
Vsevolod Stakhov [Thu, 10 Dec 2015 16:28:39 +0000 (16:28 +0000)] 
Allow to exclude some regexps from hyperscan

10 years agoAdd pcre_only option to re_cache registration
Vsevolod Stakhov [Thu, 10 Dec 2015 16:11:21 +0000 (16:11 +0000)] 
Add pcre_only option to re_cache registration

10 years agoAdd special flag to disable hyperscan for particular expressions
Vsevolod Stakhov [Thu, 10 Dec 2015 15:38:34 +0000 (15:38 +0000)] 
Add special flag to disable hyperscan for particular expressions

10 years agoNormalize bayes scores
Vsevolod Stakhov [Thu, 10 Dec 2015 14:52:49 +0000 (14:52 +0000)] 
Normalize bayes scores

10 years agoAllow logging of re_cache statistics
Vsevolod Stakhov [Thu, 10 Dec 2015 14:43:08 +0000 (14:43 +0000)] 
Allow logging of re_cache statistics

10 years agoFix type string
Vsevolod Stakhov [Thu, 10 Dec 2015 14:26:39 +0000 (14:26 +0000)] 
Fix type string

10 years agoWrite errors about missing SA conf files
Vsevolod Stakhov [Thu, 10 Dec 2015 13:23:06 +0000 (13:23 +0000)] 
Write errors about missing SA conf files

10 years agoImprove statistics for re_cache
Vsevolod Stakhov [Thu, 10 Dec 2015 13:09:53 +0000 (13:09 +0000)] 
Improve statistics for re_cache

10 years agoSupport re_cache statistics
Vsevolod Stakhov [Thu, 10 Dec 2015 11:25:43 +0000 (11:25 +0000)] 
Support re_cache statistics

10 years agoFix pthread linkage
Vsevolod Stakhov [Thu, 10 Dec 2015 11:24:53 +0000 (11:24 +0000)] 
Fix pthread linkage

10 years agoAllow tuning for maximum compile time for hyperscan
Vsevolod Stakhov [Thu, 10 Dec 2015 09:14:58 +0000 (09:14 +0000)] 
Allow tuning for maximum compile time for hyperscan

10 years agoInclude maxhits in re hash
Vsevolod Stakhov [Wed, 9 Dec 2015 18:19:26 +0000 (18:19 +0000)] 
Include maxhits in re hash

10 years agoAdd rawmime class
Vsevolod Stakhov [Wed, 9 Dec 2015 18:02:30 +0000 (18:02 +0000)] 
Add rawmime class

10 years agoFix pcre post-filtering
Vsevolod Stakhov [Wed, 9 Dec 2015 17:46:26 +0000 (17:46 +0000)] 
Fix pcre post-filtering

10 years agoFix a stupid misprint
Vsevolod Stakhov [Wed, 9 Dec 2015 15:46:52 +0000 (15:46 +0000)] 
Fix a stupid misprint

10 years agoAdd silent mode for hyperscan validity checks
Vsevolod Stakhov [Wed, 9 Dec 2015 15:46:20 +0000 (15:46 +0000)] 
Add silent mode for hyperscan validity checks

10 years agoUse flags in class hashes
Vsevolod Stakhov [Wed, 9 Dec 2015 15:30:32 +0000 (15:30 +0000)] 
Use flags in class hashes

10 years agoFix setting limit for malformed regexps
Vsevolod Stakhov [Wed, 9 Dec 2015 15:08:08 +0000 (15:08 +0000)] 
Fix setting limit for malformed regexps

10 years agoFix SA plugin for multiple regexps
Vsevolod Stakhov [Wed, 9 Dec 2015 15:02:26 +0000 (15:02 +0000)] 
Fix SA plugin for multiple regexps

10 years agoUse hits from the cache in re cache
Vsevolod Stakhov [Wed, 9 Dec 2015 14:54:50 +0000 (14:54 +0000)] 
Use hits from the cache in re cache

10 years agoStore max hits inside rspamd_regexp_t
Vsevolod Stakhov [Wed, 9 Dec 2015 14:34:39 +0000 (14:34 +0000)] 
Store max hits inside rspamd_regexp_t

10 years agoHonor pcre flags in hyperscan expressions
Vsevolod Stakhov [Wed, 9 Dec 2015 14:26:58 +0000 (14:26 +0000)] 
Honor pcre flags in hyperscan expressions

10 years agoAdd methods to get re flags
Vsevolod Stakhov [Wed, 9 Dec 2015 14:17:22 +0000 (14:17 +0000)] 
Add methods to get re flags

10 years agoSome more fixes to hyperscan match
Vsevolod Stakhov [Wed, 9 Dec 2015 14:06:37 +0000 (14:06 +0000)] 
Some more fixes to hyperscan match

10 years agoFix failing of upstream when connection failure
Vsevolod Stakhov [Wed, 9 Dec 2015 13:36:35 +0000 (13:36 +0000)] 
Fix failing of upstream when connection failure

10 years agoMore rework of hyperscan matching
Vsevolod Stakhov [Tue, 8 Dec 2015 21:48:57 +0000 (21:48 +0000)] 
More rework of hyperscan matching

10 years agoImplement matching using hyperscan
Vsevolod Stakhov [Tue, 8 Dec 2015 19:12:24 +0000 (19:12 +0000)] 
Implement matching using hyperscan

10 years agoImplement hyperscan loading by receiving signal
Vsevolod Stakhov [Tue, 8 Dec 2015 18:35:05 +0000 (18:35 +0000)] 
Implement hyperscan loading by receiving signal

10 years agoSend notifications by hs_helper process
Vsevolod Stakhov [Tue, 8 Dec 2015 18:28:30 +0000 (18:28 +0000)] 
Send notifications by hs_helper process

10 years agoAdd event for loading of hyperscan files
Vsevolod Stakhov [Tue, 8 Dec 2015 18:17:32 +0000 (18:17 +0000)] 
Add event for loading of hyperscan files

10 years agoCleanup hs structures on cache destroy
Vsevolod Stakhov [Tue, 8 Dec 2015 17:39:04 +0000 (17:39 +0000)] 
Cleanup hs structures on cache destroy

10 years agoAdd function to load hyperscan databases from caches
Vsevolod Stakhov [Tue, 8 Dec 2015 17:22:54 +0000 (17:22 +0000)] 
Add function to load hyperscan databases from caches

10 years agoDo not assume invalid header regexps by default
Vsevolod Stakhov [Tue, 8 Dec 2015 16:28:24 +0000 (16:28 +0000)] 
Do not assume invalid header regexps by default

10 years agoAdd logic to watch hyperscan compilation
Vsevolod Stakhov [Tue, 8 Dec 2015 16:03:42 +0000 (16:03 +0000)] 
Add logic to watch hyperscan compilation

10 years agoFix replacing regexps in the cache
Vsevolod Stakhov [Tue, 8 Dec 2015 16:03:31 +0000 (16:03 +0000)] 
Fix replacing regexps in the cache

10 years agoSave platform info as well
Vsevolod Stakhov [Tue, 8 Dec 2015 01:46:04 +0000 (01:46 +0000)] 
Save platform info as well

10 years agoFix re-using of hyperscan files
Vsevolod Stakhov [Tue, 8 Dec 2015 01:23:18 +0000 (01:23 +0000)] 
Fix re-using of hyperscan files

10 years agoFix re-using of hyperscan hashes
Vsevolod Stakhov [Tue, 8 Dec 2015 00:55:26 +0000 (00:55 +0000)] 
Fix re-using of hyperscan hashes

10 years agoAdd routine to compare to rspamd_regexp_t
Vsevolod Stakhov [Tue, 8 Dec 2015 00:55:09 +0000 (00:55 +0000)] 
Add routine to compare to rspamd_regexp_t

10 years agoAdd function to check validity of hyperscan cache
Vsevolod Stakhov [Tue, 8 Dec 2015 00:32:03 +0000 (00:32 +0000)] 
Add function to check validity of hyperscan cache

10 years agoStore regexps into id indexed array
Vsevolod Stakhov [Tue, 8 Dec 2015 00:17:46 +0000 (00:17 +0000)] 
Store regexps into id indexed array

10 years agoImplement re cache specific logger helpers
Vsevolod Stakhov [Mon, 7 Dec 2015 19:08:32 +0000 (19:08 +0000)] 
Implement re cache specific logger helpers

10 years agoFix serializing of hyperscan regexps
Vsevolod Stakhov [Mon, 7 Dec 2015 18:26:21 +0000 (18:26 +0000)] 
Fix serializing of hyperscan regexps

10 years agoFix hs_helper startup
Vsevolod Stakhov [Mon, 7 Dec 2015 18:16:44 +0000 (18:16 +0000)] 
Fix hs_helper startup

10 years agoImplement starting of hs_helper process
Vsevolod Stakhov [Mon, 7 Dec 2015 18:11:02 +0000 (18:11 +0000)] 
Implement starting of hs_helper process

10 years agoAdd hyperscan compilation support
Vsevolod Stakhov [Mon, 7 Dec 2015 17:24:55 +0000 (17:24 +0000)] 
Add hyperscan compilation support

10 years agoAdd hyperscan helper worker
Vsevolod Stakhov [Mon, 7 Dec 2015 17:24:43 +0000 (17:24 +0000)] 
Add hyperscan helper worker

10 years agoAdd hyperscan initialization
Vsevolod Stakhov [Mon, 7 Dec 2015 15:24:41 +0000 (15:24 +0000)] 
Add hyperscan initialization

10 years agoFix cache initialization
Vsevolod Stakhov [Mon, 7 Dec 2015 15:06:41 +0000 (15:06 +0000)] 
Fix cache initialization

10 years agoStart hyperscan support
Vsevolod Stakhov [Mon, 7 Dec 2015 14:29:25 +0000 (14:29 +0000)] 
Start hyperscan support

10 years agoAdd LPeg support to rspamd
Vsevolod Stakhov [Mon, 7 Dec 2015 13:52:41 +0000 (13:52 +0000)] 
Add LPeg support to rspamd

10 years agoFix error on adjusting url lengths after decoding
Vsevolod Stakhov [Mon, 7 Dec 2015 13:08:17 +0000 (13:08 +0000)] 
Fix error on adjusting url lengths after decoding

10 years agoAdd support of 'special' SA headers to 'exists' function
Vsevolod Stakhov [Mon, 7 Dec 2015 11:31:28 +0000 (11:31 +0000)] 
Add support of 'special' SA headers to 'exists' function

10 years agoAdd support for Mail::SpamAssassin::Plugin::MIMEHeader
Vsevolod Stakhov [Mon, 7 Dec 2015 11:14:59 +0000 (11:14 +0000)] 
Add support for Mail::SpamAssassin::Plugin::MIMEHeader

10 years agoMore fixes for SA plugin to deal with the new cache
Vsevolod Stakhov [Mon, 7 Dec 2015 10:06:41 +0000 (10:06 +0000)] 
More fixes for SA plugin to deal with the new cache

10 years agoAdd routine to convert string to re_class type
Vsevolod Stakhov [Mon, 7 Dec 2015 09:18:09 +0000 (09:18 +0000)] 
Add routine to convert string to re_class type

10 years agoAdd re class to match all headers
Vsevolod Stakhov [Mon, 7 Dec 2015 09:12:29 +0000 (09:12 +0000)] 
Add re class to match all headers

10 years agoAs we store re_class within re avoid extra lookup
Vsevolod Stakhov [Mon, 7 Dec 2015 09:03:07 +0000 (09:03 +0000)] 
As we store re_class within re avoid extra lookup

10 years agoFix replacements in spamassassin plugin
Vsevolod Stakhov [Sun, 6 Dec 2015 18:33:42 +0000 (18:33 +0000)] 
Fix replacements in spamassassin plugin

10 years agoFix re cache replacement method
Vsevolod Stakhov [Sun, 6 Dec 2015 13:55:59 +0000 (13:55 +0000)] 
Fix re cache replacement method

10 years agoAdd method to set re class for any rspamd regexp
Vsevolod Stakhov [Sun, 6 Dec 2015 13:55:43 +0000 (13:55 +0000)] 
Add method to set re class for any rspamd regexp

10 years agoAdd function rspamd_config:replace_regexp
Vsevolod Stakhov [Sat, 5 Dec 2015 13:42:33 +0000 (13:42 +0000)] 
Add function rspamd_config:replace_regexp

10 years agoFix headers iteration
Vsevolod Stakhov [Sat, 5 Dec 2015 13:30:08 +0000 (13:30 +0000)] 
Fix headers iteration

10 years agoFix more issues in the new re cache
Vsevolod Stakhov [Sat, 5 Dec 2015 13:21:50 +0000 (13:21 +0000)] 
Fix more issues in the new re cache

10 years agoAdd replacement method for expressions in the confi
Vsevolod Stakhov [Sat, 5 Dec 2015 00:44:00 +0000 (00:44 +0000)] 
Add replacement method for expressions in the confi

10 years agoMore rework for re_cache
Vsevolod Stakhov [Fri, 4 Dec 2015 17:08:45 +0000 (17:08 +0000)] 
More rework for re_cache

10 years agoStart rework of spamassassin plugin
Vsevolod Stakhov [Fri, 4 Dec 2015 16:58:25 +0000 (16:58 +0000)] 
Start rework of spamassassin plugin

10 years agoDo not re-set GError
Vsevolod Stakhov [Fri, 4 Dec 2015 16:58:14 +0000 (16:58 +0000)] 
Do not re-set GError

10 years agoFix invalid tests
Vsevolod Stakhov [Fri, 4 Dec 2015 16:29:20 +0000 (16:29 +0000)] 
Fix invalid tests

10 years agoFix issues with re_cache lua API
Vsevolod Stakhov [Fri, 4 Dec 2015 16:26:45 +0000 (16:26 +0000)] 
Fix issues with re_cache lua API

10 years agoFix issue with zero length atoms
Vsevolod Stakhov [Fri, 4 Dec 2015 16:26:32 +0000 (16:26 +0000)] 
Fix issue with zero length atoms

10 years agoZero memory before usage
Vsevolod Stakhov [Fri, 4 Dec 2015 16:26:15 +0000 (16:26 +0000)] 
Zero memory before usage

10 years agoFix initialization order in fuzzy storage
Vsevolod Stakhov [Fri, 4 Dec 2015 16:25:58 +0000 (16:25 +0000)] 
Fix initialization order in fuzzy storage

10 years agoFix couple of bugs in lua table to C convertor
Vsevolod Stakhov [Fri, 4 Dec 2015 15:54:31 +0000 (15:54 +0000)] 
Fix couple of bugs in lua table to C convertor

10 years agoInit re cache on config post load
Vsevolod Stakhov [Fri, 4 Dec 2015 15:54:02 +0000 (15:54 +0000)] 
Init re cache on config post load

10 years agoAdd rspamd_config:register_regexp
Vsevolod Stakhov [Fri, 4 Dec 2015 14:22:43 +0000 (14:22 +0000)] 
Add rspamd_config:register_regexp

10 years agoAdd method to process new regexp cache
Vsevolod Stakhov [Fri, 4 Dec 2015 01:04:54 +0000 (01:04 +0000)] 
Add method to process new regexp cache

10 years agoMake lua_regexp structure public
Vsevolod Stakhov [Fri, 4 Dec 2015 01:04:40 +0000 (01:04 +0000)] 
Make lua_regexp structure public

10 years agoSlightly rework class names in table to c convertor
Vsevolod Stakhov [Fri, 4 Dec 2015 01:04:21 +0000 (01:04 +0000)] 
Slightly rework class names in table to c convertor

10 years agoRework upstreams library
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.

10 years agoAdd missing function
Vsevolod Stakhov [Thu, 3 Dec 2015 17:39:53 +0000 (17:39 +0000)] 
Add missing function