]> git.ipfire.org Git - thirdparty/rspamd.git/log
thirdparty/rspamd.git
10 years agoSome more fixes to sqlite backend.
Vsevolod Stakhov [Mon, 27 Jul 2015 16:11:12 +0000 (17:11 +0100)] 
Some more fixes to sqlite backend.

10 years agoFix tokenizers configuration in sqlite3.
Vsevolod Stakhov [Mon, 27 Jul 2015 15:58:08 +0000 (16:58 +0100)] 
Fix tokenizers configuration in sqlite3.

10 years agoAllow blob manipulation in sqlite3 statements.
Vsevolod Stakhov [Mon, 27 Jul 2015 15:57:50 +0000 (16:57 +0100)] 
Allow blob manipulation in sqlite3 statements.

10 years agoSome more fixes to tokenizator init.
Vsevolod Stakhov [Mon, 27 Jul 2015 15:11:02 +0000 (16:11 +0100)] 
Some more fixes to tokenizator init.

10 years agoTry to fix reindexing of statfiles.
Vsevolod Stakhov [Mon, 27 Jul 2015 15:04:34 +0000 (16:04 +0100)] 
Try to fix reindexing of statfiles.

10 years agoSupport type alias for tokenizer.
Vsevolod Stakhov [Mon, 27 Jul 2015 15:00:40 +0000 (16:00 +0100)] 
Support type alias for tokenizer.

10 years agoClassify errors are non-fatal errors.
Vsevolod Stakhov [Mon, 27 Jul 2015 14:34:59 +0000 (15:34 +0100)] 
Classify errors are non-fatal errors.

10 years agoFix issues with compatibility tokenization.
Vsevolod Stakhov [Mon, 27 Jul 2015 14:32:00 +0000 (15:32 +0100)] 
Fix issues with compatibility tokenization.

10 years agoUnbreak the rest.
Vsevolod Stakhov [Mon, 27 Jul 2015 13:59:41 +0000 (14:59 +0100)] 
Unbreak the rest.

10 years agoFix tokenizers and mmapped file.
Vsevolod Stakhov [Mon, 27 Jul 2015 13:48:46 +0000 (14:48 +0100)] 
Fix tokenizers and mmapped file.

10 years agoFix stat processing.
Vsevolod Stakhov [Mon, 27 Jul 2015 12:51:50 +0000 (13:51 +0100)] 
Fix stat processing.

10 years agoMore changes to tokenization.
Vsevolod Stakhov [Mon, 27 Jul 2015 12:28:15 +0000 (13:28 +0100)] 
More changes to tokenization.

10 years agoStart tokenizers rework.
Vsevolod Stakhov [Mon, 27 Jul 2015 11:24:02 +0000 (12:24 +0100)] 
Start tokenizers rework.

10 years agoUse new tokenization by default for created statfiles.
Vsevolod Stakhov [Mon, 27 Jul 2015 09:44:55 +0000 (10:44 +0100)] 
Use new tokenization by default for created statfiles.

10 years agoUse some headers information in statistics.
Vsevolod Stakhov [Sun, 26 Jul 2015 21:15:11 +0000 (22:15 +0100)] 
Use some headers information in statistics.

10 years agoAllow adding of prefix for tokenizers.
Vsevolod Stakhov [Sun, 26 Jul 2015 20:43:52 +0000 (21:43 +0100)] 
Allow adding of prefix for tokenizers.

10 years agoDisable broken dkim test.
Vsevolod Stakhov [Sat, 25 Jul 2015 20:00:00 +0000 (21:00 +0100)] 
Disable broken dkim test.

10 years agoAvoid large enums.
Vsevolod Stakhov [Sat, 25 Jul 2015 19:58:57 +0000 (20:58 +0100)] 
Avoid large enums.

10 years agoFix parsing of the last header in a message.
Vsevolod Stakhov [Sat, 25 Jul 2015 19:45:45 +0000 (20:45 +0100)] 
Fix parsing of the last header in a message.

Issue: #339
Reported by: @patrakov

10 years agoCheck variable before getting it.
Vsevolod Stakhov [Fri, 24 Jul 2015 15:59:39 +0000 (16:59 +0100)] 
Check variable before getting it.

10 years agoFix pass all flag.
Vsevolod Stakhov [Fri, 24 Jul 2015 15:50:17 +0000 (16:50 +0100)] 
Fix pass all flag.

10 years agoFix ip_score initialization.
Vsevolod Stakhov [Fri, 24 Jul 2015 13:27:56 +0000 (14:27 +0100)] 
Fix ip_score initialization.

10 years agoMake R_EMPTY_IMAGE tutorial function.
Vsevolod Stakhov [Thu, 23 Jul 2015 19:40:41 +0000 (20:40 +0100)] 
Make R_EMPTY_IMAGE tutorial function.

10 years agoAdd languages support to sqlite3 backend.
Vsevolod Stakhov [Thu, 23 Jul 2015 18:14:04 +0000 (19:14 +0100)] 
Add languages support to sqlite3 backend.

10 years agoAdd user support to sqlite3.
Vsevolod Stakhov [Thu, 23 Jul 2015 18:04:02 +0000 (19:04 +0100)] 
Add user support to sqlite3.

10 years agoTune R_EMPTY_IMAGE to avoid false positives.
Vsevolod Stakhov [Thu, 23 Jul 2015 16:26:30 +0000 (17:26 +0100)] 
Tune R_EMPTY_IMAGE to avoid false positives.

10 years agoAdd improved version of R_EMPTY_IMAGE.
Vsevolod Stakhov [Thu, 23 Jul 2015 16:20:37 +0000 (17:20 +0100)] 
Add improved version of R_EMPTY_IMAGE.

10 years agoIf there is no url within <a> then do not add exception.
Vsevolod Stakhov [Thu, 23 Jul 2015 16:09:26 +0000 (17:09 +0100)] 
If there is no url within <a> then do not add exception.

10 years agoFix height attribute parsing.
Vsevolod Stakhov [Thu, 23 Jul 2015 16:01:00 +0000 (17:01 +0100)] 
Fix height attribute parsing.

10 years agoStart work on new HTML rules.
Vsevolod Stakhov [Thu, 23 Jul 2015 15:11:49 +0000 (16:11 +0100)] 
Start work on new HTML rules.

10 years agoAdd textpart:get_raw_length method
Vsevolod Stakhov [Thu, 23 Jul 2015 15:11:25 +0000 (16:11 +0100)] 
Add textpart:get_raw_length method

10 years agoAdd text_part:get_html() method.
Vsevolod Stakhov [Thu, 23 Jul 2015 14:23:44 +0000 (15:23 +0100)] 
Add text_part:get_html() method.

10 years agoImplement lua_html methods.
Vsevolod Stakhov [Thu, 23 Jul 2015 14:18:54 +0000 (15:18 +0100)] 
Implement lua_html methods.

10 years agoStart LUA API for HTML parts.
Vsevolod Stakhov [Thu, 23 Jul 2015 13:12:14 +0000 (14:12 +0100)] 
Start LUA API for HTML parts.

10 years agoFix hang.
Vsevolod Stakhov [Thu, 23 Jul 2015 12:45:32 +0000 (13:45 +0100)] 
Fix hang.

10 years agoRefactor functions in images processing.
Vsevolod Stakhov [Thu, 23 Jul 2015 12:41:05 +0000 (13:41 +0100)] 
Refactor functions in images processing.

10 years agoFind linked images from HTML parts.
Vsevolod Stakhov [Thu, 23 Jul 2015 12:40:43 +0000 (13:40 +0100)] 
Find linked images from HTML parts.

10 years agoAdd HTML images concept.
Vsevolod Stakhov [Thu, 23 Jul 2015 12:02:24 +0000 (13:02 +0100)] 
Add HTML images concept.

10 years agoAdd HTML image type.
Vsevolod Stakhov [Thu, 23 Jul 2015 08:57:41 +0000 (09:57 +0100)] 
Add HTML image type.

10 years agoSet error if cannot learn anything.
Vsevolod Stakhov [Wed, 22 Jul 2015 16:12:26 +0000 (17:12 +0100)] 
Set error if cannot learn anything.

10 years agoAnother iteration on #331.
Vsevolod Stakhov [Wed, 22 Jul 2015 16:02:10 +0000 (17:02 +0100)] 
Another iteration on #331.

10 years agoImplement unique HTML tags.
Vsevolod Stakhov [Wed, 22 Jul 2015 15:36:35 +0000 (16:36 +0100)] 
Implement unique HTML tags.

10 years agoRework ip_score plugin.
Vsevolod Stakhov [Wed, 22 Jul 2015 14:27:50 +0000 (15:27 +0100)] 
Rework ip_score plugin.

- Add new normalization
- Store data as pairs score/total
- Use new mempool variables API

10 years agoFix ignored elements in HTML parsing.
Vsevolod Stakhov [Tue, 21 Jul 2015 14:48:21 +0000 (15:48 +0100)] 
Fix ignored elements in HTML parsing.

10 years agoFix lua plugins with the new DNS API.
Vsevolod Stakhov [Tue, 21 Jul 2015 13:58:21 +0000 (14:58 +0100)] 
Fix lua plugins with the new DNS API.

10 years agoFix some issues with lua_dns.
Vsevolod Stakhov [Tue, 21 Jul 2015 13:54:12 +0000 (14:54 +0100)] 
Fix some issues with lua_dns.

10 years agoNew version of lua DNS api.
Vsevolod Stakhov [Tue, 21 Jul 2015 13:01:14 +0000 (14:01 +0100)] 
New version of lua DNS api.

10 years agoUse new dns API.
Vsevolod Stakhov [Tue, 21 Jul 2015 12:46:57 +0000 (13:46 +0100)] 
Use new dns API.

10 years agoAdd constraints to dns requests ammount per task.
Vsevolod Stakhov [Tue, 21 Jul 2015 12:33:49 +0000 (13:33 +0100)] 
Add constraints to dns requests ammount per task.

10 years agoBuild with -O2 by default.
Vsevolod Stakhov [Tue, 21 Jul 2015 11:28:36 +0000 (12:28 +0100)] 
Build with -O2 by default.

10 years agoMerge pull request #336 from andrejzverev/fix
Vsevolod Stakhov [Tue, 21 Jul 2015 09:53:51 +0000 (10:53 +0100)] 
Merge pull request #336 from andrejzverev/fix

Fix typo

10 years agoAdd method rspamd_mempool:has_variable.
Vsevolod Stakhov [Tue, 21 Jul 2015 09:11:06 +0000 (10:11 +0100)] 
Add method rspamd_mempool:has_variable.

10 years agoMore changes to ipscore module.
Vsevolod Stakhov [Tue, 21 Jul 2015 09:07:01 +0000 (10:07 +0100)] 
More changes to ipscore module.

10 years agoFix typo 336/head
Andrej Zverev [Tue, 21 Jul 2015 05:10:38 +0000 (08:10 +0300)] 
Fix typo

10 years agoAdd lua_mempool documetnation.
Vsevolod Stakhov [Mon, 20 Jul 2015 22:49:16 +0000 (23:49 +0100)] 
Add lua_mempool documetnation.

10 years agoDestroy memory pool in test.
Vsevolod Stakhov [Mon, 20 Jul 2015 22:48:53 +0000 (23:48 +0100)] 
Destroy memory pool in test.

10 years agoStart reworking of ip_score.
Vsevolod Stakhov [Mon, 20 Jul 2015 22:27:12 +0000 (23:27 +0100)] 
Start reworking of ip_score.

10 years agoFix issues found by testing.
Vsevolod Stakhov [Mon, 20 Jul 2015 21:52:39 +0000 (22:52 +0100)] 
Fix issues found by testing.

10 years agoAdd unit tests for the new mempool variables.
Vsevolod Stakhov [Mon, 20 Jul 2015 21:52:20 +0000 (22:52 +0100)] 
Add unit tests for the new mempool variables.

10 years agoAdd more advanced memory pool variables.
Vsevolod Stakhov [Mon, 20 Jul 2015 16:23:42 +0000 (17:23 +0100)] 
Add more advanced memory pool variables.

10 years agoAllow to get complex variables from mempool.
Vsevolod Stakhov [Mon, 20 Jul 2015 15:28:39 +0000 (16:28 +0100)] 
Allow to get complex variables from mempool.

10 years agoInit symbols cache.
Vsevolod Stakhov [Mon, 20 Jul 2015 12:28:33 +0000 (13:28 +0100)] 
Init symbols cache.

10 years agoAdd config test stage to run_rspamd function.
Vsevolod Stakhov [Mon, 20 Jul 2015 12:22:43 +0000 (13:22 +0100)] 
Add config test stage to run_rspamd function.

10 years agoAdd reload test case.
Vsevolod Stakhov [Mon, 20 Jul 2015 11:58:33 +0000 (12:58 +0100)] 
Add reload test case.

10 years agoMerge pull request #334 from andrejzverev/fix
Vsevolod Stakhov [Sun, 19 Jul 2015 21:25:16 +0000 (22:25 +0100)] 
Merge pull request #334 from andrejzverev/fix

prevent a crash (while restarting rspamd as service).

10 years agoprevent a crash (while restarting rspamd as service). 334/head
Andrej Zverev [Sun, 19 Jul 2015 04:39:29 +0000 (07:39 +0300)] 
prevent a crash (while restarting rspamd as service).

10 years agoRemove legacy fuzzy code completely.
Vsevolod Stakhov [Fri, 17 Jul 2015 23:10:56 +0000 (00:10 +0100)] 
Remove legacy fuzzy code completely.

10 years agoSkip URLs check and set empty flag for HTML parts.
Vsevolod Stakhov [Fri, 17 Jul 2015 22:34:03 +0000 (23:34 +0100)] 
Skip URLs check and set empty flag for HTML parts.

10 years agoWork with empty href.
Vsevolod Stakhov [Fri, 17 Jul 2015 14:50:34 +0000 (15:50 +0100)] 
Work with empty href.

10 years agoMove string utilities to a separate module.
Vsevolod Stakhov [Fri, 17 Jul 2015 14:39:46 +0000 (15:39 +0100)] 
Move string utilities to a separate module.

10 years agoDo not ignore content after blank tags.
Vsevolod Stakhov [Fri, 17 Jul 2015 14:18:58 +0000 (15:18 +0100)] 
Do not ignore content after blank tags.

10 years agoImprove tag_exists function.
Vsevolod Stakhov [Fri, 17 Jul 2015 12:51:19 +0000 (13:51 +0100)] 
Improve tag_exists function.

10 years agoDo not compare parts with no words.
Vsevolod Stakhov [Fri, 17 Jul 2015 12:51:07 +0000 (13:51 +0100)] 
Do not compare parts with no words.

10 years agoSplit emails and urls.
Vsevolod Stakhov [Fri, 17 Jul 2015 12:13:02 +0000 (13:13 +0100)] 
Split emails and urls.

10 years agoMore fixes to emails detection.
Vsevolod Stakhov [Fri, 17 Jul 2015 12:08:54 +0000 (13:08 +0100)] 
More fixes to emails detection.

10 years agoRemove deprecated function.
Vsevolod Stakhov [Thu, 16 Jul 2015 18:12:33 +0000 (19:12 +0100)] 
Remove deprecated function.

10 years agoRework phishing checks.
Vsevolod Stakhov [Thu, 16 Jul 2015 18:11:42 +0000 (19:11 +0100)] 
Rework phishing checks.

10 years agoExclude HTML urls content from texts
Vsevolod Stakhov [Thu, 16 Jul 2015 16:19:03 +0000 (17:19 +0100)] 
Exclude HTML urls content from texts

10 years agoRemove deprecated function.
Vsevolod Stakhov [Thu, 16 Jul 2015 16:05:33 +0000 (17:05 +0100)] 
Remove deprecated function.

10 years agoFix parts distance compare condition.
Vsevolod Stakhov [Thu, 16 Jul 2015 15:48:49 +0000 (16:48 +0100)] 
Fix parts distance compare condition.

10 years agoFix stupid misprint in array indexing.
Vsevolod Stakhov [Thu, 16 Jul 2015 15:39:53 +0000 (16:39 +0100)] 
Fix stupid misprint in array indexing.

10 years agoAdd logic to preserve newlines in HTML.
Vsevolod Stakhov [Thu, 16 Jul 2015 14:22:51 +0000 (15:22 +0100)] 
Add logic to preserve newlines in HTML.

10 years agoFix addition to html tree.
Vsevolod Stakhov [Thu, 16 Jul 2015 13:51:30 +0000 (14:51 +0100)] 
Fix addition to html tree.

10 years agoAdd test case.
Vsevolod Stakhov [Thu, 16 Jul 2015 13:34:09 +0000 (14:34 +0100)] 
Add test case.

10 years agoFind HTML comment end properly.
Vsevolod Stakhov [Thu, 16 Jul 2015 13:32:55 +0000 (14:32 +0100)] 
Find HTML comment end properly.

10 years agoMisprint.
Vsevolod Stakhov [Thu, 16 Jul 2015 13:09:51 +0000 (14:09 +0100)] 
Misprint.

10 years agoRemove debug.
Vsevolod Stakhov [Thu, 16 Jul 2015 13:04:25 +0000 (14:04 +0100)] 
Remove debug.

10 years agoDo not use reconf for pure lua functions.
Vsevolod Stakhov [Thu, 16 Jul 2015 13:03:54 +0000 (14:03 +0100)] 
Do not use reconf for pure lua functions.

10 years agoMore fixes to html parsing.
Vsevolod Stakhov [Thu, 16 Jul 2015 12:59:24 +0000 (13:59 +0100)] 
More fixes to html parsing.

10 years agoFix content saving in html parser.
Vsevolod Stakhov [Thu, 16 Jul 2015 12:01:09 +0000 (13:01 +0100)] 
Fix content saving in html parser.

10 years agoAdd html extraction unit test.
Vsevolod Stakhov [Thu, 16 Jul 2015 12:00:51 +0000 (13:00 +0100)] 
Add html extraction unit test.

10 years agoAdd lua method to extract text from html.
Vsevolod Stakhov [Thu, 16 Jul 2015 11:09:19 +0000 (12:09 +0100)] 
Add lua method to extract text from html.

10 years agoMerge branch 'html-rework'
Vsevolod Stakhov [Thu, 16 Jul 2015 08:39:27 +0000 (09:39 +0100)] 
Merge branch 'html-rework'

10 years agoUse the new API.
Vsevolod Stakhov [Thu, 16 Jul 2015 08:38:19 +0000 (09:38 +0100)] 
Use the new API.

10 years agoUse new HTML API in message.c
Vsevolod Stakhov [Thu, 16 Jul 2015 08:36:06 +0000 (09:36 +0100)] 
Use new HTML API in message.c

10 years agoFurther rework of html parser.
Vsevolod Stakhov [Thu, 16 Jul 2015 08:32:28 +0000 (09:32 +0100)] 
Further rework of html parser.

10 years agoMerge pull request #333 from fatalbanana/master
Vsevolod Stakhov [Wed, 15 Jul 2015 21:40:37 +0000 (22:40 +0100)] 
Merge pull request #333 from fatalbanana/master

Doc fix: phishing strict_domains syntax (reported by @Fullmetal8ender)

10 years agoMore rework.
Vsevolod Stakhov [Wed, 15 Jul 2015 16:31:00 +0000 (17:31 +0100)] 
More rework.

10 years agoUse more fine-grained input to simplify tests.
Vsevolod Stakhov [Wed, 15 Jul 2015 16:03:12 +0000 (17:03 +0100)] 
Use more fine-grained input to simplify tests.

10 years agoStart FSM for parsing HTML parts.
Vsevolod Stakhov [Wed, 15 Jul 2015 14:26:00 +0000 (15:26 +0100)] 
Start FSM for parsing HTML parts.