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

9 years agoAdd new modules to lua documentation.
Vsevolod Stakhov [Thu, 9 Apr 2015 16:13:52 +0000 (17:13 +0100)]
Add new modules to lua documentation.

9 years agoDocument lua upstream.
Vsevolod Stakhov [Thu, 9 Apr 2015 16:13:42 +0000 (17:13 +0100)]
Document lua upstream.

9 years agoDocument DNS module.
Vsevolod Stakhov [Thu, 9 Apr 2015 15:54:11 +0000 (16:54 +0100)]
Document DNS module.

9 years agoDocument lua_redis.
Vsevolod Stakhov [Thu, 9 Apr 2015 15:33:47 +0000 (16:33 +0100)]
Document lua_redis.

9 years agoRework lua_redis to table form.
Vsevolod Stakhov [Thu, 9 Apr 2015 15:16:09 +0000 (16:16 +0100)]
Rework lua_redis to table form.

9 years agoWrite documentation for lua_trie module.
Vsevolod Stakhov [Thu, 9 Apr 2015 14:33:36 +0000 (15:33 +0100)]
Write documentation for lua_trie module.

9 years agoDocument http module.
Vsevolod Stakhov [Thu, 9 Apr 2015 12:49:45 +0000 (13:49 +0100)]
Document http module.

9 years agoImprove lua_http.
Vsevolod Stakhov [Thu, 9 Apr 2015 12:24:11 +0000 (13:24 +0100)]
Improve lua_http.

9 years agoRework lua_regexp lifetime.
Vsevolod Stakhov [Thu, 9 Apr 2015 10:50:59 +0000 (11:50 +0100)]
Rework lua_regexp lifetime.

9 years agoDisable some siphash optimizations since they are too machine dependant.
Vsevolod Stakhov [Thu, 9 Apr 2015 10:21:33 +0000 (11:21 +0100)]
Disable some siphash optimizations since they are too machine dependant.

9 years agoMerge pull request #260 from fatalbanana/master
Vsevolod Stakhov [Wed, 8 Apr 2015 16:10:10 +0000 (17:10 +0100)]
Merge pull request #260 from fatalbanana/master

Don't score RECEIVED_SPAMHAUS_XBL if we have RBL_SPAMHAUS_XBL

9 years agoDon't score RECEIVED_SPAMHAUS_XBL if we have RBL_SPAMHAUS_XBL 260/head
Andrew Lewis [Wed, 8 Apr 2015 15:44:58 +0000 (17:44 +0200)]
Don't score RECEIVED_SPAMHAUS_XBL if we have RBL_SPAMHAUS_XBL

9 years agoMerge pull request #259 from fatalbanana/master
Vsevolod Stakhov [Wed, 8 Apr 2015 13:06:04 +0000 (14:06 +0100)]
Merge pull request #259 from fatalbanana/master

DMARC: Allow bogus backslashes; ignore non-policy; fail on multiple policy

9 years agoFix resolv.conf parsing with comments.
Vsevolod Stakhov [Wed, 8 Apr 2015 13:03:08 +0000 (14:03 +0100)]
Fix resolv.conf parsing with comments.

9 years agoAdd ssse3 version.
Vsevolod Stakhov [Wed, 8 Apr 2015 12:53:22 +0000 (13:53 +0100)]
Add ssse3 version.

9 years agoFix binary flags.
Vsevolod Stakhov [Wed, 8 Apr 2015 12:45:09 +0000 (13:45 +0100)]
Fix binary flags.

9 years agoUse new siphash implementation.
Vsevolod Stakhov [Wed, 8 Apr 2015 12:32:53 +0000 (13:32 +0100)]
Use new siphash implementation.

9 years agoRemove old siphash implementation.
Vsevolod Stakhov [Wed, 8 Apr 2015 12:07:51 +0000 (13:07 +0100)]
Remove old siphash implementation.

9 years agoAdd AVX implementation generated by clang.
Vsevolod Stakhov [Wed, 8 Apr 2015 12:05:55 +0000 (13:05 +0100)]
Add AVX implementation generated by clang.

9 years agoAdd sse41 version of siphash.
Vsevolod Stakhov [Wed, 8 Apr 2015 11:22:29 +0000 (12:22 +0100)]
Add sse41 version of siphash.

9 years agoRework siphash internal API.
Vsevolod Stakhov [Wed, 8 Apr 2015 11:21:59 +0000 (12:21 +0100)]
Rework siphash internal API.

9 years agoCheck for SSE3, SSSE3 and SSE4.1 instructions.
Vsevolod Stakhov [Wed, 8 Apr 2015 11:01:40 +0000 (12:01 +0100)]
Check for SSE3, SSSE3 and SSE4.1 instructions.

9 years agoAdd siphash testing.
Vsevolod Stakhov [Wed, 8 Apr 2015 10:46:44 +0000 (11:46 +0100)]
Add siphash testing.

9 years agoAdd reference implementation of siphash.
Vsevolod Stakhov [Wed, 8 Apr 2015 10:26:40 +0000 (11:26 +0100)]
Add reference implementation of siphash.

9 years agoDMARC: Allow bogus backslashes in policy records; ignore non policy records; fail... 259/head
Andrew Lewis [Wed, 8 Apr 2015 10:05:32 +0000 (12:05 +0200)]
DMARC: Allow bogus backslashes in policy records; ignore non policy records; fail on multiple policy records

9 years agoReturn zero-copy objects for large blobs.
Vsevolod Stakhov [Wed, 8 Apr 2015 10:02:39 +0000 (11:02 +0100)]
Return zero-copy objects for large blobs.

9 years agoReorganize assembler macro sightly.
Vsevolod Stakhov [Wed, 8 Apr 2015 10:02:26 +0000 (11:02 +0100)]
Reorganize assembler macro sightly.

9 years agoUse rspamd{text} in lua_http.
Vsevolod Stakhov [Tue, 7 Apr 2015 21:45:09 +0000 (22:45 +0100)]
Use rspamd{text} in lua_http.

9 years agoUse rspamd{text} for storing task content.
Vsevolod Stakhov [Tue, 7 Apr 2015 21:39:37 +0000 (22:39 +0100)]
Use rspamd{text} for storing task content.

9 years agoAdd rspamd{text} type to avoid unnecessary copying of large chunks of
Vsevolod Stakhov [Tue, 7 Apr 2015 21:22:47 +0000 (22:22 +0100)]
Add rspamd{text} type to avoid unnecessary copying of large chunks of
data.

9 years agoFix trie plugin.
Vsevolod Stakhov [Tue, 7 Apr 2015 17:30:42 +0000 (18:30 +0100)]
Fix trie plugin.

9 years agoRemove debug knob.
Vsevolod Stakhov [Tue, 7 Apr 2015 17:26:00 +0000 (18:26 +0100)]
Remove debug knob.