]> git.ipfire.org Git - thirdparty/rspamd.git/log
thirdparty/rspamd.git
10 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

10 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.

10 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.

10 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.

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

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

10 years agoIndicies in lua starts from 1.
Vsevolod Stakhov [Tue, 7 Apr 2015 17:20:45 +0000 (18:20 +0100)] 
Indicies in lua starts from 1.

10 years agoFix pushing array to lua from UCL.
Vsevolod Stakhov [Tue, 7 Apr 2015 17:19:20 +0000 (18:19 +0100)] 
Fix pushing array to lua from UCL.

10 years agoRewrite trie plugin.
Vsevolod Stakhov [Tue, 7 Apr 2015 16:22:40 +0000 (17:22 +0100)] 
Rewrite trie plugin.

10 years agoRework lua trie API, allow raw message search.
Vsevolod Stakhov [Tue, 7 Apr 2015 14:30:28 +0000 (15:30 +0100)] 
Rework lua trie API, allow raw message search.

10 years agoAdd unit tests for lua_trie.
Vsevolod Stakhov [Tue, 7 Apr 2015 14:04:10 +0000 (15:04 +0100)] 
Add unit tests for lua_trie.

10 years agoFix logic of lua_trie search.
Vsevolod Stakhov [Tue, 7 Apr 2015 14:03:44 +0000 (15:03 +0100)] 
Fix logic of lua_trie search.

10 years agoFix urls unit test.
Vsevolod Stakhov [Tue, 7 Apr 2015 13:06:09 +0000 (14:06 +0100)] 
Fix urls unit test.

10 years agoAllow stateless trie search.
Vsevolod Stakhov [Tue, 7 Apr 2015 12:59:09 +0000 (13:59 +0100)] 
Allow stateless trie search.

10 years agoFix linking if tests.
Vsevolod Stakhov [Tue, 7 Apr 2015 12:48:59 +0000 (13:48 +0100)] 
Fix linking if tests.

10 years agoRework lua trie for new actrie.
Vsevolod Stakhov [Tue, 7 Apr 2015 12:30:35 +0000 (13:30 +0100)] 
Rework lua trie for new actrie.

10 years agoAllow caseless trie search.
Vsevolod Stakhov [Tue, 7 Apr 2015 10:54:11 +0000 (11:54 +0100)] 
Allow caseless trie search.

10 years agoRemove legacy static TLD nodes.
Vsevolod Stakhov [Tue, 7 Apr 2015 10:44:49 +0000 (11:44 +0100)] 
Remove legacy static TLD nodes.

10 years agoMerge pull request #258 from fatalbanana/master
Vsevolod Stakhov [Tue, 7 Apr 2015 10:13:35 +0000 (11:13 +0100)] 
Merge pull request #258 from fatalbanana/master

Fix publicsuffix install path

10 years agoFix publicsuffix install path 258/head
Andrew Lewis [Mon, 6 Apr 2015 21:24:08 +0000 (23:24 +0200)] 
Fix publicsuffix install path

10 years agoMerge branch 'ac_trie'
Vsevolod Stakhov [Mon, 6 Apr 2015 17:29:52 +0000 (18:29 +0100)] 
Merge branch 'ac_trie'

10 years agoSome more fixes to actrie match.
Vsevolod Stakhov [Mon, 6 Apr 2015 17:28:34 +0000 (18:28 +0100)] 
Some more fixes to actrie match.

10 years agoOne more rename.
Vsevolod Stakhov [Mon, 6 Apr 2015 17:18:05 +0000 (18:18 +0100)] 
One more rename.

10 years agoCorasic -> Corasick.
Vsevolod Stakhov [Mon, 6 Apr 2015 17:04:58 +0000 (18:04 +0100)] 
Corasic -> Corasick.

10 years agoUse new ac_trie for url extraction.
Vsevolod Stakhov [Mon, 6 Apr 2015 17:03:49 +0000 (18:03 +0100)] 
Use new ac_trie for url extraction.

10 years agoSlightly adopt actrie for rspamd.
Vsevolod Stakhov [Mon, 6 Apr 2015 16:14:21 +0000 (17:14 +0100)] 
Slightly adopt actrie for rspamd.

10 years agoImport aho-corasic by Mischa Sandberg.
Vsevolod Stakhov [Mon, 6 Apr 2015 15:47:22 +0000 (16:47 +0100)] 
Import aho-corasic by Mischa Sandberg.

10 years agoFix siphash static initializer.
Vsevolod Stakhov [Mon, 6 Apr 2015 15:09:18 +0000 (16:09 +0100)] 
Fix siphash static initializer.

10 years agoUse rspamd specific include.
Vsevolod Stakhov [Mon, 6 Apr 2015 15:06:23 +0000 (16:06 +0100)] 
Use rspamd specific include.

10 years agoReadd siphash.
Vsevolod Stakhov [Mon, 6 Apr 2015 15:05:34 +0000 (16:05 +0100)] 
Readd siphash.

10 years agoRemove siphash as submodule.
Vsevolod Stakhov [Mon, 6 Apr 2015 15:04:43 +0000 (16:04 +0100)] 
Remove siphash as submodule.

10 years agoUse publicsuffix list for url search (too slow now).
Vsevolod Stakhov [Mon, 6 Apr 2015 15:02:51 +0000 (16:02 +0100)] 
Use publicsuffix list for url search (too slow now).

10 years agoFix lua redis timeout handling.
Vsevolod Stakhov [Mon, 6 Apr 2015 14:06:48 +0000 (15:06 +0100)] 
Fix lua redis timeout handling.

10 years agoSave profile for the main process.
Vsevolod Stakhov [Mon, 6 Apr 2015 14:06:03 +0000 (15:06 +0100)] 
Save profile for the main process.

10 years agoFix bug when building fail states.
Vsevolod Stakhov [Mon, 6 Apr 2015 13:42:48 +0000 (14:42 +0100)] 
Fix bug when building fail states.

10 years agoFix bug with lua redis timeouts.
Vsevolod Stakhov [Mon, 6 Apr 2015 13:42:33 +0000 (14:42 +0100)] 
Fix bug with lua redis timeouts.

10 years agoAdd public suffixes to rspamd.
Vsevolod Stakhov [Mon, 6 Apr 2015 13:42:09 +0000 (14:42 +0100)] 
Add public suffixes to rspamd.

10 years agoUse TLD file directly within API.
Vsevolod Stakhov [Mon, 6 Apr 2015 12:48:35 +0000 (13:48 +0100)] 
Use TLD file directly within API.

10 years agoFix URL unit test.
Vsevolod Stakhov [Sun, 5 Apr 2015 18:05:32 +0000 (19:05 +0100)] 
Fix URL unit test.

10 years agoRework URL parser to load tld file.
Vsevolod Stakhov [Sun, 5 Apr 2015 18:03:48 +0000 (19:03 +0100)] 
Rework URL parser to load tld file.

10 years agoMerge pull request #255 from fatalbanana/master
Vsevolod Stakhov [Sun, 5 Apr 2015 13:07:59 +0000 (14:07 +0100)] 
Merge pull request #255 from fatalbanana/master

DMARC: Check DKIM alignment

10 years agoDMARC: Check DKIM alignment 255/head
Andrew Lewis [Sat, 4 Apr 2015 23:37:32 +0000 (01:37 +0200)] 
DMARC: Check DKIM alignment

10 years agoAdd unit tests for logger.
Vsevolod Stakhov [Sun, 5 Apr 2015 00:58:19 +0000 (01:58 +0100)] 
Add unit tests for logger.

10 years agoFix issues in logger functions.
Vsevolod Stakhov [Sun, 5 Apr 2015 00:57:58 +0000 (01:57 +0100)] 
Fix issues in logger functions.

10 years agoAdd new logger API.
Vsevolod Stakhov [Sun, 5 Apr 2015 00:09:41 +0000 (01:09 +0100)] 
Add new logger API.

10 years agoRBL: Fix docs
Andrew Lewis [Sat, 4 Apr 2015 23:27:17 +0000 (01:27 +0200)] 
RBL: Fix docs

10 years agoMove logger code to a separate module.
Vsevolod Stakhov [Sat, 4 Apr 2015 22:47:56 +0000 (23:47 +0100)] 
Move logger code to a separate module.

10 years agoMerge pull request #253 from fatalbanana/master
Vsevolod Stakhov [Sat, 4 Apr 2015 17:29:20 +0000 (18:29 +0100)] 
Merge pull request #253 from fatalbanana/master

DMARC: Either of SPF/DKIM should be OK

10 years agoDMARC: allow either of SPF/DKIM to yield pass; check From header alignment; add _SOFT... 253/head
Andrew Lewis [Sat, 4 Apr 2015 10:42:12 +0000 (12:42 +0200)] 
DMARC: allow either of SPF/DKIM to yield pass; check From header alignment; add _SOFTFAIL and _QUARANTINE symbols; support 'pct'

10 years agoFix redis invocation.
Vsevolod Stakhov [Sat, 4 Apr 2015 00:44:43 +0000 (01:44 +0100)] 
Fix redis invocation.

10 years agoAdd more verbosity to redirector logging.
Vsevolod Stakhov [Fri, 3 Apr 2015 22:51:39 +0000 (23:51 +0100)] 
Add more verbosity to redirector logging.

Issue: #252

10 years agoAdd preliminary version of DMARC plugin.
Vsevolod Stakhov [Fri, 3 Apr 2015 16:02:45 +0000 (17:02 +0100)] 
Add preliminary version of DMARC plugin.

10 years agoRemoved by a mistake.
Vsevolod Stakhov [Thu, 2 Apr 2015 14:28:52 +0000 (15:28 +0100)] 
Removed by a mistake.

10 years agoFix warnings.
Vsevolod Stakhov [Thu, 2 Apr 2015 14:02:55 +0000 (15:02 +0100)] 
Fix warnings.

10 years agoMemory leak.
Vsevolod Stakhov [Thu, 2 Apr 2015 13:56:55 +0000 (14:56 +0100)] 
Memory leak.

10 years agoFix tokenization of the last token in a message.
Vsevolod Stakhov [Thu, 2 Apr 2015 13:10:09 +0000 (14:10 +0100)] 
Fix tokenization of the last token in a message.

10 years agoFix broken unicode sequences.
Vsevolod Stakhov [Thu, 2 Apr 2015 13:09:59 +0000 (14:09 +0100)] 
Fix broken unicode sequences.

10 years agoMore fixes to normalization.
Vsevolod Stakhov [Thu, 2 Apr 2015 13:09:35 +0000 (14:09 +0100)] 
More fixes to normalization.

10 years agoAdd fast version of ascii lowercase.
Vsevolod Stakhov [Thu, 2 Apr 2015 12:50:11 +0000 (13:50 +0100)] 
Add fast version of ascii lowercase.

10 years agoMerge pull request #248 from fatalbanana/master
Vsevolod Stakhov [Thu, 2 Apr 2015 11:37:48 +0000 (12:37 +0100)] 
Merge pull request #248 from fatalbanana/master

Allow getting message queue ID from Lua

10 years agoDo not use normalized words if they are absent.
Vsevolod Stakhov [Thu, 2 Apr 2015 11:37:10 +0000 (12:37 +0100)] 
Do not use normalized words if they are absent.

10 years agoFix normalization and tokenization.
Vsevolod Stakhov [Thu, 2 Apr 2015 11:35:19 +0000 (12:35 +0100)] 
Fix normalization and tokenization.

10 years agoAllow getting message queue ID from Lua 248/head
Andrew Lewis [Thu, 2 Apr 2015 11:00:33 +0000 (13:00 +0200)] 
Allow getting message queue ID from Lua

10 years agoMore fixes to utf8 lc.
Vsevolod Stakhov [Thu, 2 Apr 2015 10:37:19 +0000 (11:37 +0100)] 
More fixes to utf8 lc.

10 years agoMerge pull request #245 from fatalbanana/master
Vsevolod Stakhov [Wed, 1 Apr 2015 16:49:31 +0000 (17:49 +0100)] 
Merge pull request #245 from fatalbanana/master

Ah shucks: Change order of calls to avoid sending error messages to logs

10 years agoFix words normalization.
Vsevolod Stakhov [Wed, 1 Apr 2015 16:48:23 +0000 (17:48 +0100)] 
Fix words normalization.

10 years agoRBL: Change order of calls to avoid sending error messages to logs 245/head
Andrew Lewis [Wed, 1 Apr 2015 16:34:39 +0000 (18:34 +0200)] 
RBL: Change order of calls to avoid sending error messages to logs

10 years agoMerge pull request #243 from fatalbanana/master
Vsevolod Stakhov [Wed, 1 Apr 2015 16:25:38 +0000 (17:25 +0100)] 
Merge pull request #243 from fatalbanana/master

RBL: change behaviour of whitelists

10 years agoFix memory leak in keys management.
Vsevolod Stakhov [Wed, 1 Apr 2015 16:17:58 +0000 (17:17 +0100)] 
Fix memory leak in keys management.

10 years agoRBL: Add missing is_whitelist = true setting 243/head
Andrew Lewis [Wed, 1 Apr 2015 16:01:27 +0000 (18:01 +0200)] 
RBL: Add missing is_whitelist = true setting

10 years agoAdd special case for valgrind to avoid early children termination.
Vsevolod Stakhov [Wed, 1 Apr 2015 15:56:05 +0000 (16:56 +0100)] 
Add special case for valgrind to avoid early children termination.

10 years agoMemory leak.
Vsevolod Stakhov [Wed, 1 Apr 2015 15:39:39 +0000 (16:39 +0100)] 
Memory leak.

10 years agoRBL: change behaviour of whitelists
Andrew Lewis [Wed, 1 Apr 2015 15:31:39 +0000 (17:31 +0200)] 
RBL: change behaviour of whitelists

10 years agoZero ip->addr structure field to avoid corruption.
Vsevolod Stakhov [Wed, 1 Apr 2015 15:23:46 +0000 (16:23 +0100)] 
Zero ip->addr structure field to avoid corruption.

10 years agoFix LRU hash destroy.
Vsevolod Stakhov [Wed, 1 Apr 2015 15:09:08 +0000 (16:09 +0100)] 
Fix LRU hash destroy.

10 years agoFix dynamic arrays usage in SPF module.
Vsevolod Stakhov [Wed, 1 Apr 2015 15:06:14 +0000 (16:06 +0100)] 
Fix dynamic arrays usage in SPF module.

10 years agoExplicitly set address if cannot parse received header.
Vsevolod Stakhov [Wed, 1 Apr 2015 14:38:38 +0000 (15:38 +0100)] 
Explicitly set address if cannot parse received header.

10 years agoDo not reverse received headers.
Vsevolod Stakhov [Wed, 1 Apr 2015 14:35:23 +0000 (15:35 +0100)] 
Do not reverse received headers.

10 years agoParse more forms of IP addresses.
Vsevolod Stakhov [Wed, 1 Apr 2015 14:33:46 +0000 (15:33 +0100)] 
Parse more forms of IP addresses.

[::1]:port
[::1]
127.0.0.1:port

10 years agoUpdate remain on tokenization.
Vsevolod Stakhov [Wed, 1 Apr 2015 14:19:27 +0000 (15:19 +0100)] 
Update remain on tokenization.

10 years agoAdd new UTF8 tokenizer.
Vsevolod Stakhov [Wed, 1 Apr 2015 13:54:57 +0000 (14:54 +0100)] 
Add new UTF8 tokenizer.

10 years agoUse faster non-validating g_utf8_get_char.
Vsevolod Stakhov [Wed, 1 Apr 2015 13:53:03 +0000 (14:53 +0100)] 
Use faster non-validating g_utf8_get_char.

10 years agoAdd 'compat' option for classifier.
Vsevolod Stakhov [Wed, 1 Apr 2015 13:04:21 +0000 (14:04 +0100)] 
Add 'compat' option for classifier.

10 years agoCheck mmapped files compatibility.
Vsevolod Stakhov [Wed, 1 Apr 2015 12:50:40 +0000 (13:50 +0100)] 
Check mmapped files compatibility.

10 years agoAdd compatibility layer for tokenization.
Vsevolod Stakhov [Wed, 1 Apr 2015 12:21:26 +0000 (13:21 +0100)] 
Add compatibility layer for tokenization.

10 years agoRework osb configuration.
Vsevolod Stakhov [Wed, 1 Apr 2015 12:05:52 +0000 (13:05 +0100)] 
Rework osb configuration.

10 years agoSave classifier configuration inside statfile config.
Vsevolod Stakhov [Wed, 1 Apr 2015 11:12:53 +0000 (12:12 +0100)] 
Save classifier configuration inside statfile config.

10 years agoFix double allocation of fuzzy backend structure.
Vsevolod Stakhov [Wed, 1 Apr 2015 09:52:15 +0000 (10:52 +0100)] 
Fix double allocation of fuzzy backend structure.

10 years agoInitialize values for atom priorities.
Vsevolod Stakhov [Wed, 1 Apr 2015 09:49:53 +0000 (10:49 +0100)] 
Initialize values for atom priorities.

10 years agoSupport [if-unset: blah]
Vsevolod Stakhov [Tue, 31 Mar 2015 13:13:10 +0000 (14:13 +0100)] 
Support [if-unset: blah]

10 years agoSupport 'name' extension for SA rules.
Vsevolod Stakhov [Tue, 31 Mar 2015 13:03:09 +0000 (14:03 +0100)] 
Support 'name' extension for SA rules.

10 years agoAdd some more SA and perl compat for regexps.
Vsevolod Stakhov [Tue, 31 Mar 2015 12:46:57 +0000 (13:46 +0100)] 
Add some more SA and perl compat for regexps.

10 years agoAdd some guards to protect pcre_jit fast path.
Vsevolod Stakhov [Tue, 31 Mar 2015 12:35:07 +0000 (13:35 +0100)] 
Add some guards to protect pcre_jit fast path.

10 years agoDo not convert utf to utf.
Vsevolod Stakhov [Tue, 31 Mar 2015 12:27:17 +0000 (13:27 +0100)] 
Do not convert utf to utf.

10 years agoAdd function to test whether textpart is utf.
Vsevolod Stakhov [Tue, 31 Mar 2015 12:27:00 +0000 (13:27 +0100)] 
Add function to test whether textpart is utf.

10 years agoAllow raw matching of regexps from lua.
Vsevolod Stakhov [Tue, 31 Mar 2015 12:04:34 +0000 (13:04 +0100)] 
Allow raw matching of regexps from lua.

10 years agoSkip comments at the end of SA rules.
Vsevolod Stakhov [Tue, 31 Mar 2015 11:25:17 +0000 (12:25 +0100)] 
Skip comments at the end of SA rules.

10 years agoAdd guards for invalid rules.
Vsevolod Stakhov [Tue, 31 Mar 2015 11:16:54 +0000 (12:16 +0100)] 
Add guards for invalid rules.

10 years agoFollow SA conventions about header rules.
Vsevolod Stakhov [Tue, 31 Mar 2015 11:03:07 +0000 (12:03 +0100)] 
Follow SA conventions about header rules.

10 years agoRework header regexps in SA.
Vsevolod Stakhov [Tue, 31 Mar 2015 10:52:42 +0000 (11:52 +0100)] 
Rework header regexps in SA.