]> source.dussan.org Git - rspamd.git/log
rspamd.git
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.

9 years agoReally use pcre jit...
Vsevolod Stakhov [Tue, 14 Apr 2015 12:43:28 +0000 (13:43 +0100)]
Really use pcre jit...

9 years agoFix xxhash invocation.
Vsevolod Stakhov [Tue, 14 Apr 2015 12:43:10 +0000 (13:43 +0100)]
Fix xxhash invocation.

9 years agoUse hash table instead of tree for urls.
Vsevolod Stakhov [Tue, 14 Apr 2015 12:11:28 +0000 (13:11 +0100)]
Use hash table instead of tree for urls.

9 years agoRemove mutexes from regexps since thread pools are removed.
Vsevolod Stakhov [Mon, 13 Apr 2015 16:33:41 +0000 (17:33 +0100)]
Remove mutexes from regexps since thread pools are removed.

9 years agoCalculate bayes weight from 0.0 to 1.0 not from 0.5 to 1.0.
Vsevolod Stakhov [Mon, 13 Apr 2015 16:18:25 +0000 (17:18 +0100)]
Calculate bayes weight from 0.0 to 1.0 not from 0.5 to 1.0.

9 years agoFix post-processing invocation for statistics.
Vsevolod Stakhov [Mon, 13 Apr 2015 16:17:52 +0000 (17:17 +0100)]
Fix post-processing invocation for statistics.

9 years agoFix tokenizer default configuration.
Vsevolod Stakhov [Mon, 13 Apr 2015 16:17:18 +0000 (17:17 +0100)]
Fix tokenizer default configuration.

9 years agoSave OSB window index inside token.
Vsevolod Stakhov [Mon, 13 Apr 2015 14:38:57 +0000 (15:38 +0100)]
Save OSB window index inside token.

9 years agoAllow patterns (glob) in `mime_types` for fuzzy_check.
Vsevolod Stakhov [Fri, 10 Apr 2015 13:16:06 +0000 (14:16 +0100)]
Allow patterns (glob) in `mime_types` for fuzzy_check.

9 years agoAdd documentation for lua logger.
Vsevolod Stakhov [Thu, 9 Apr 2015 17:41:19 +0000 (18:41 +0100)]
Add documentation for lua logger.

9 years agoFix documentation targets.
Vsevolod Stakhov [Thu, 9 Apr 2015 17:13:27 +0000 (18:13 +0100)]
Fix documentation targets.

9 years agoMove mimepart functions to a separate module.
Vsevolod Stakhov [Thu, 9 Apr 2015 17:12:21 +0000 (18:12 +0100)]
Move mimepart functions to a separate module.

9 years agoAdd @example tag.
Vsevolod Stakhov [Thu, 9 Apr 2015 16:24:37 +0000 (17:24 +0100)]
Add @example tag.

9 years agoForgot @module.
Vsevolod Stakhov [Thu, 9 Apr 2015 16:22:43 +0000 (17:22 +0100)]
Forgot @module.

9 years agoMore fixes to luadoc makefile.
Vsevolod Stakhov [Thu, 9 Apr 2015 16:18:17 +0000 (17:18 +0100)]
More fixes to luadoc makefile.