]> source.dussan.org Git - rspamd.git/log
rspamd.git
9 years agoAdd pbkdf2 password support to controller 271/head
Anton Belka [Thu, 23 Apr 2015 23:12:11 +0000 (02:12 +0300)]
Add pbkdf2 password support to controller

9 years agoFix unref for implicit arrays.
Vsevolod Stakhov [Thu, 23 Apr 2015 17:28:34 +0000 (18:28 +0100)]
Fix unref for implicit arrays.

9 years agoAdd some more URL test cases.
Vsevolod Stakhov [Thu, 23 Apr 2015 12:09:20 +0000 (13:09 +0100)]
Add some more URL test cases.

9 years agoRework phishing detection to reduce false positives rate.
Vsevolod Stakhov [Thu, 23 Apr 2015 12:08:00 +0000 (13:08 +0100)]
Rework phishing detection to reduce false positives rate.

Now we use TLD to match phished URL's. Sometimes, we could miss real
positives by not checking strictly for subdomains, however, this change
should reduce false positives rate of this rule significantly.

9 years agoFix ipv6 addresses and other issues in url parser.
Vsevolod Stakhov [Thu, 23 Apr 2015 10:33:54 +0000 (11:33 +0100)]
Fix ipv6 addresses and other issues in url parser.

9 years agoReduce test cycles to speedup tests.
Vsevolod Stakhov [Thu, 23 Apr 2015 10:33:17 +0000 (11:33 +0100)]
Reduce test cycles to speedup tests.

9 years agoFix TLD sanity checking.
Vsevolod Stakhov [Wed, 22 Apr 2015 16:43:12 +0000 (17:43 +0100)]
Fix TLD sanity checking.

9 years agoParse ipv6 URL's.
Vsevolod Stakhov [Wed, 22 Apr 2015 16:43:02 +0000 (17:43 +0100)]
Parse ipv6 URL's.

9 years agoIgnore URL's with unknown TLD for now.
Vsevolod Stakhov [Wed, 22 Apr 2015 16:27:41 +0000 (17:27 +0100)]
Ignore URL's with unknown TLD for now.

9 years agoSet default sync timeout.
Vsevolod Stakhov [Wed, 22 Apr 2015 15:57:23 +0000 (16:57 +0100)]
Set default sync timeout.

9 years agoCategorize default rules.
Vsevolod Stakhov [Wed, 22 Apr 2015 15:51:10 +0000 (16:51 +0100)]
Categorize default rules.

9 years agoPush inet addr instead of the string for lua worker.
Vsevolod Stakhov [Wed, 22 Apr 2015 15:38:43 +0000 (16:38 +0100)]
Push inet addr instead of the string for lua worker.

9 years agoAllow to specify sync timeout for fuzzy storage.
Vsevolod Stakhov [Wed, 22 Apr 2015 15:24:34 +0000 (16:24 +0100)]
Allow to specify sync timeout for fuzzy storage.

9 years agoAdd PBKDF2-HMAC-Blake2 function.
Vsevolod Stakhov [Tue, 21 Apr 2015 22:17:26 +0000 (23:17 +0100)]
Add PBKDF2-HMAC-Blake2 function.

9 years agoShow fuzzy checked statistics in the client.
Vsevolod Stakhov [Tue, 21 Apr 2015 17:39:59 +0000 (18:39 +0100)]
Show fuzzy checked statistics in the client.

9 years agoRemove unused function.
Vsevolod Stakhov [Tue, 21 Apr 2015 17:32:00 +0000 (18:32 +0100)]
Remove unused function.

9 years agoProvide data for fuzzy checks statistics.
Vsevolod Stakhov [Tue, 21 Apr 2015 17:31:43 +0000 (18:31 +0100)]
Provide data for fuzzy checks statistics.

9 years agoImplement the concept of fuzzy protocol epoches.
Vsevolod Stakhov [Tue, 21 Apr 2015 17:19:40 +0000 (18:19 +0100)]
Implement the concept of fuzzy protocol epoches.

9 years agoFuzzy actual version is now 3 not 2.
Vsevolod Stakhov [Tue, 21 Apr 2015 17:06:25 +0000 (18:06 +0100)]
Fuzzy actual version is now 3 not 2.

9 years agoUse normal HTTP library for surbl.
Vsevolod Stakhov [Tue, 21 Apr 2015 16:24:48 +0000 (17:24 +0100)]
Use normal HTTP library for surbl.

9 years agoDo not store redirects to the same url.
Vsevolod Stakhov [Tue, 21 Apr 2015 15:48:32 +0000 (16:48 +0100)]
Do not store redirects to the same url.

9 years agoSmall tweaks to logging of learned messages.
Vsevolod Stakhov [Tue, 21 Apr 2015 15:28:52 +0000 (16:28 +0100)]
Small tweaks to logging of learned messages.

9 years agoUse 64 bit hash for logger.
Vsevolod Stakhov [Tue, 21 Apr 2015 15:09:41 +0000 (16:09 +0100)]
Use 64 bit hash for logger.

9 years agoFix map initialization.
Vsevolod Stakhov [Tue, 21 Apr 2015 14:32:16 +0000 (15:32 +0100)]
Fix map initialization.

9 years agoUse non-predictable hash seed to avoid collision attacks.
Vsevolod Stakhov [Tue, 21 Apr 2015 14:20:41 +0000 (15:20 +0100)]
Use non-predictable hash seed to avoid collision attacks.

9 years agoUse proper key when searching hash.
Vsevolod Stakhov [Tue, 21 Apr 2015 14:13:37 +0000 (15:13 +0100)]
Use proper key when searching hash.

9 years agoUse normal allocator for maps data.
Vsevolod Stakhov [Tue, 21 Apr 2015 13:52:48 +0000 (14:52 +0100)]
Use normal allocator for maps data.

9 years agoRemove old trie code.
Vsevolod Stakhov [Tue, 21 Apr 2015 13:05:16 +0000 (14:05 +0100)]
Remove old trie code.

9 years agoRework surbl plugin for new trie.
Vsevolod Stakhov [Tue, 21 Apr 2015 12:50:10 +0000 (13:50 +0100)]
Rework surbl plugin for new trie.

9 years agoProperly treat body rules.
Vsevolod Stakhov [Mon, 20 Apr 2015 16:53:32 +0000 (17:53 +0100)]
Properly treat body rules.

9 years agoSupport tags replacement used in SA.
Vsevolod Stakhov [Mon, 20 Apr 2015 16:50:24 +0000 (17:50 +0100)]
Support tags replacement used in SA.

9 years agoFix DMARC plugin.
Vsevolod Stakhov [Mon, 20 Apr 2015 14:56:12 +0000 (15:56 +0100)]
Fix DMARC plugin.

9 years agoSupport 'publish' flag for SA rules.
Vsevolod Stakhov [Mon, 20 Apr 2015 14:42:51 +0000 (15:42 +0100)]
Support 'publish' flag for SA rules.

9 years agoFix AST processing for sole comparision rules.
Vsevolod Stakhov [Mon, 20 Apr 2015 14:14:47 +0000 (15:14 +0100)]
Fix AST processing for sole comparision rules.

9 years agoFix return type for SA functions.
Vsevolod Stakhov [Mon, 20 Apr 2015 13:56:30 +0000 (14:56 +0100)]
Fix return type for SA functions.

9 years agoAdd lua_regexp:matchn function.
Vsevolod Stakhov [Mon, 20 Apr 2015 12:35:12 +0000 (13:35 +0100)]
Add lua_regexp:matchn function.

9 years agoWe also support some of Mail::SpamAssassin::Plugin::HeaderEval
Vsevolod Stakhov [Mon, 20 Apr 2015 12:16:24 +0000 (13:16 +0100)]
We also support some of Mail::SpamAssassin::Plugin::HeaderEval

9 years agoRework spamassassin functions:
Vsevolod Stakhov [Mon, 20 Apr 2015 12:03:48 +0000 (13:03 +0100)]
Rework spamassassin functions:

1) now we support some plugins, so do not refuse to parse them
2) added freemail plugin
3) rework SA functions evaluation
4) add support for eval functions
5) add freemail eval

9 years agoFix initialization order.
Vsevolod Stakhov [Mon, 20 Apr 2015 10:58:36 +0000 (11:58 +0100)]
Fix initialization order.

9 years agoFix processing tasks from lua.
Vsevolod Stakhov [Mon, 20 Apr 2015 10:22:49 +0000 (11:22 +0100)]
Fix processing tasks from lua.

9 years agoCheck task pending if no events are registered.
Vsevolod Stakhov [Mon, 20 Apr 2015 10:13:39 +0000 (11:13 +0100)]
Check task pending if no events are registered.

9 years agoMerge pull request #266 from fatalbanana/master
Vsevolod Stakhov [Sun, 19 Apr 2015 09:21:09 +0000 (10:21 +0100)]
Merge pull request #266 from fatalbanana/master

DMARC: check for subdomain policy

9 years agoBackport array removal fix.
Vsevolod Stakhov [Sat, 18 Apr 2015 15:10:47 +0000 (16:10 +0100)]
Backport array removal fix.

9 years agoAdd a simple unit test of task processing.
Vsevolod Stakhov [Sat, 18 Apr 2015 14:07:54 +0000 (15:07 +0100)]
Add a simple unit test of task processing.

9 years agoFix lua task processing.
Vsevolod Stakhov [Sat, 18 Apr 2015 14:07:40 +0000 (15:07 +0100)]
Fix lua task processing.

9 years agoFix config post-load.
Vsevolod Stakhov [Sat, 18 Apr 2015 14:07:23 +0000 (15:07 +0100)]
Fix config post-load.

9 years agoFix ucl from lua arrays.
Vsevolod Stakhov [Sat, 18 Apr 2015 12:51:53 +0000 (13:51 +0100)]
Fix ucl from lua arrays.

9 years agoDMARC: check for subdomain policy 266/head
Andrew Lewis [Fri, 17 Apr 2015 23:02:16 +0000 (01:02 +0200)]
DMARC: check for subdomain policy

9 years agoFix tests build.
Vsevolod Stakhov [Fri, 17 Apr 2015 21:06:14 +0000 (22:06 +0100)]
Fix tests build.

9 years agoAdd preliminary lua task process routine.
Vsevolod Stakhov [Fri, 17 Apr 2015 16:06:39 +0000 (17:06 +0100)]
Add preliminary lua task process routine.

9 years agoPass task object to fin_callback.
Vsevolod Stakhov [Fri, 17 Apr 2015 16:06:18 +0000 (17:06 +0100)]
Pass task object to fin_callback.

9 years agoSplit task -> ucl result transition.
Vsevolod Stakhov [Fri, 17 Apr 2015 15:48:28 +0000 (16:48 +0100)]
Split task -> ucl result transition.

9 years agoFix modules initialization.
Vsevolod Stakhov [Fri, 17 Apr 2015 15:38:19 +0000 (16:38 +0100)]
Fix modules initialization.

9 years agoStart common lua routines module.
Vsevolod Stakhov [Fri, 17 Apr 2015 15:01:47 +0000 (16:01 +0100)]
Start common lua routines module.

9 years agoMove more initialization to the common routines.
Vsevolod Stakhov [Fri, 17 Apr 2015 14:28:48 +0000 (15:28 +0100)]
Move more initialization to the common routines.

9 years agoMove more initialization from main.c.
Vsevolod Stakhov [Fri, 17 Apr 2015 13:42:45 +0000 (14:42 +0100)]
Move more initialization from main.c.

9 years agoFix libraries initialization requires.
Vsevolod Stakhov [Fri, 17 Apr 2015 13:42:28 +0000 (14:42 +0100)]
Fix libraries initialization requires.

9 years agoMove libraries initialization to a specific routine.
Vsevolod Stakhov [Fri, 17 Apr 2015 13:19:32 +0000 (14:19 +0100)]
Move libraries initialization to a specific routine.

9 years agoRework filters initialization.
Vsevolod Stakhov [Fri, 17 Apr 2015 12:49:11 +0000 (13:49 +0100)]
Rework filters initialization.

9 years agoParse comma separated lists in rspamd_rcl_parse_struct_string_list.
Vsevolod Stakhov [Fri, 17 Apr 2015 10:47:42 +0000 (11:47 +0100)]
Parse comma separated lists in rspamd_rcl_parse_struct_string_list.

9 years agoWrite options documentation.
Vsevolod Stakhov [Thu, 16 Apr 2015 17:22:57 +0000 (18:22 +0100)]
Write options documentation.

9 years agoImprove documentation.
Vsevolod Stakhov [Thu, 16 Apr 2015 16:19:28 +0000 (17:19 +0100)]
Improve documentation.

9 years agoDMARC: Abort processing on policy failure (where this is not happening already)
Andrew Lewis [Thu, 16 Apr 2015 15:59:49 +0000 (17:59 +0200)]
DMARC: Abort processing on policy failure (where this is not happening already)

9 years agoMerge pull request #265 from fatalbanana/master
Vsevolod Stakhov [Thu, 16 Apr 2015 15:30:24 +0000 (16:30 +0100)]
Merge pull request #265 from fatalbanana/master

DMARC: handle relaxed policy; return policy domain with symbol

9 years agoDMARC: handle relaxed policy; return policy domain with symbol 265/head
Andrew Lewis [Thu, 16 Apr 2015 15:15:53 +0000 (17:15 +0200)]
DMARC: handle relaxed policy; return policy domain with symbol

9 years agoMerge pull request #264 from fatalbanana/master
Vsevolod Stakhov [Thu, 16 Apr 2015 13:15:54 +0000 (14:15 +0100)]
Merge pull request #264 from fatalbanana/master

DMARC, docs...

9 years agoDMARC: more RFC-strictness; partial support for subdomain policies; return domain... 264/head
Andrew Lewis [Thu, 16 Apr 2015 12:58:09 +0000 (14:58 +0200)]
DMARC: more RFC-strictness; partial support for subdomain policies; return domain with symbol

9 years agoFix matching braces.
Vsevolod Stakhov [Thu, 16 Apr 2015 12:48:25 +0000 (13:48 +0100)]
Fix matching braces.

Spotted by: Viktor Khomyuk

9 years agoRBL doc: remove misleading (dated) information
Andrew Lewis [Thu, 16 Apr 2015 12:17:27 +0000 (14:17 +0200)]
RBL doc: remove misleading (dated) information

9 years agoFix mimepart documentation.
Vsevolod Stakhov [Thu, 16 Apr 2015 10:13:39 +0000 (11:13 +0100)]
Fix mimepart documentation.

9 years agoFix makefile.
Vsevolod Stakhov [Wed, 15 Apr 2015 16:55:16 +0000 (17:55 +0100)]
Fix makefile.

9 years agoWrite documentation for lua_url.
Vsevolod Stakhov [Wed, 15 Apr 2015 16:49:01 +0000 (17:49 +0100)]
Write documentation for lua_url.

9 years agoUse tld when checking for DMARC policy.
Vsevolod Stakhov [Wed, 15 Apr 2015 16:34:35 +0000 (17:34 +0100)]
Use tld when checking for DMARC policy.

9 years agoUse detected TLD in surbl module.
Vsevolod Stakhov [Wed, 15 Apr 2015 16:22:18 +0000 (17:22 +0100)]
Use detected TLD in surbl module.

9 years agoFix unit tests.
Vsevolod Stakhov [Wed, 15 Apr 2015 16:14:55 +0000 (17:14 +0100)]
Fix unit tests.

9 years agoFix TLD detection.
Vsevolod Stakhov [Wed, 15 Apr 2015 16:14:31 +0000 (17:14 +0100)]
Fix TLD detection.

9 years agoDo not explicitly write \0 when converting to lowercase
Vsevolod Stakhov [Wed, 15 Apr 2015 16:07:24 +0000 (17:07 +0100)]
Do not explicitly write \0 when converting to lowercase

9 years agoFix url length setup.
Vsevolod Stakhov [Wed, 15 Apr 2015 16:07:13 +0000 (17:07 +0100)]
Fix url length setup.

9 years agoAdd lua routines to access more url fields.
Vsevolod Stakhov [Wed, 15 Apr 2015 15:36:44 +0000 (16:36 +0100)]
Add lua routines to access more url fields.

9 years agoAdd TLD detection for urls.
Vsevolod Stakhov [Wed, 15 Apr 2015 15:27:33 +0000 (16:27 +0100)]
Add TLD detection for urls.

9 years agoMove url functions to a separate module.
Vsevolod Stakhov [Wed, 15 Apr 2015 14:10:26 +0000 (15:10 +0100)]
Move url functions to a separate module.

9 years agoRemove some of unused url fields.
Vsevolod Stakhov [Wed, 15 Apr 2015 14:09:59 +0000 (15:09 +0100)]
Remove some of unused url fields.

9 years agoMore bugs in groups configuration.
Vsevolod Stakhov [Tue, 14 Apr 2015 21:48:04 +0000 (22:48 +0100)]
More bugs in groups configuration.

9 years agoFix issues with grouped symbols.
Vsevolod Stakhov [Tue, 14 Apr 2015 21:09:53 +0000 (22:09 +0100)]
Fix issues with grouped symbols.

9 years agoDo not try to check type of NULL.
Vsevolod Stakhov [Tue, 14 Apr 2015 20:57:40 +0000 (21:57 +0100)]
Do not try to check type of NULL.

9 years agoDocument group limits.
Vsevolod Stakhov [Tue, 14 Apr 2015 17:32:25 +0000 (18:32 +0100)]
Document group limits.

9 years agoPass group name to lua in task:get_symbol method.
Vsevolod Stakhov [Tue, 14 Apr 2015 17:26:46 +0000 (18:26 +0100)]
Pass group name to lua in task:get_symbol method.

9 years agoStore symbol definition inside metric result.
Vsevolod Stakhov [Tue, 14 Apr 2015 17:26:31 +0000 (18:26 +0100)]
Store symbol definition inside metric result.

9 years agoImlement maximum group score for symbols.
Vsevolod Stakhov [Tue, 14 Apr 2015 17:17:14 +0000 (18:17 +0100)]
Imlement maximum group score for symbols.

9 years agoSet max_score of a group to 0 by default.
Vsevolod Stakhov [Tue, 14 Apr 2015 16:26:31 +0000 (17:26 +0100)]
Set max_score of a group to 0 by default.

9 years agoAllow new symbol groups definition.
Vsevolod Stakhov [Tue, 14 Apr 2015 16:24:36 +0000 (17:24 +0100)]
Allow new symbol groups definition.

9 years agoRefactor symbols parsing.
Vsevolod Stakhov [Tue, 14 Apr 2015 16:14:50 +0000 (17:14 +0100)]
Refactor symbols parsing.

9 years agoMake symbol groups hash table.
Vsevolod Stakhov [Tue, 14 Apr 2015 16:02:15 +0000 (17:02 +0100)]
Make symbol groups hash table.

9 years agoFix union usage.
Vsevolod Stakhov [Tue, 14 Apr 2015 15:40:59 +0000 (16:40 +0100)]
Fix union usage.

9 years agoImprove rspamd internal hash functions.
Vsevolod Stakhov [Tue, 14 Apr 2015 15:16:52 +0000 (16:16 +0100)]
Improve rspamd internal hash functions.

9 years agoRemove legacy.
Vsevolod Stakhov [Tue, 14 Apr 2015 14:58:10 +0000 (15:58 +0100)]
Remove legacy.

9 years agoFix regexps lifetime.
Vsevolod Stakhov [Tue, 14 Apr 2015 14:07:00 +0000 (15:07 +0100)]
Fix regexps lifetime.

9 years agoRemove connection entries from HTTP router.
Vsevolod Stakhov [Tue, 14 Apr 2015 13:28:14 +0000 (14:28 +0100)]
Remove connection entries from HTTP router.

9 years agoFix copy&paste error.
Vsevolod Stakhov [Tue, 14 Apr 2015 13:28:04 +0000 (14:28 +0100)]
Fix copy&paste error.

9 years agoProperly initialize matcher flags.
Vsevolod Stakhov [Tue, 14 Apr 2015 12:52:41 +0000 (13:52 +0100)]
Properly initialize matcher flags.