]> source.dussan.org Git - rspamd.git/log
rspamd.git
9 years agoFix processing of empty messages.
Vsevolod Stakhov [Thu, 2 Jul 2015 17:53:31 +0000 (18:53 +0100)]
Fix processing of empty messages.

9 years agoStart functional tests.
Vsevolod Stakhov [Thu, 2 Jul 2015 16:05:17 +0000 (17:05 +0100)]
Start functional tests.

9 years agoAdd GTUBE support.
Vsevolod Stakhov [Thu, 2 Jul 2015 13:23:13 +0000 (14:23 +0100)]
Add GTUBE support.

9 years agoMerge pull request #321 from fatalbanana/master
Vsevolod Stakhov [Thu, 2 Jul 2015 10:45:11 +0000 (11:45 +0100)]
Merge pull request #321 from fatalbanana/master

Further defang whitelists

9 years agoAdd workarounds for numeric hosts in URLs.
Vsevolod Stakhov [Thu, 2 Jul 2015 10:35:51 +0000 (11:35 +0100)]
Add workarounds for numeric hosts in URLs.

9 years agoImprove support of IP based URLs.
Vsevolod Stakhov [Thu, 2 Jul 2015 08:38:02 +0000 (09:38 +0100)]
Improve support of IP based URLs.

9 years agoFurther defang whitelists 321/head
Andrew Lewis [Thu, 2 Jul 2015 07:18:01 +0000 (09:18 +0200)]
Further defang whitelists

9 years agoMerge pull request #319 from fatalbanana/master
Vsevolod Stakhov [Wed, 1 Jul 2015 16:19:48 +0000 (17:19 +0100)]
Merge pull request #319 from fatalbanana/master

Add RCVD_IN_DNSWL_NONE as whitelisting exclusion

9 years agoAdd more unit tests for url parser.
Vsevolod Stakhov [Wed, 1 Jul 2015 16:18:43 +0000 (17:18 +0100)]
Add more unit tests for url parser.

9 years agoFix complicated case of percent encoding.
Vsevolod Stakhov [Wed, 1 Jul 2015 16:18:32 +0000 (17:18 +0100)]
Fix complicated case of percent encoding.

9 years agoFix path field in url:to_table method.
Vsevolod Stakhov [Wed, 1 Jul 2015 15:54:04 +0000 (16:54 +0100)]
Fix path field in url:to_table method.

9 years agoFix parsing query just after port.
Vsevolod Stakhov [Wed, 1 Jul 2015 15:37:45 +0000 (16:37 +0100)]
Fix parsing query just after port.

9 years agoFix parsing of multiple slashes in URL.
Vsevolod Stakhov [Wed, 1 Jul 2015 15:34:14 +0000 (16:34 +0100)]
Fix parsing of multiple slashes in URL.

9 years agoFix finding start of URL's.
Vsevolod Stakhov [Wed, 1 Jul 2015 15:28:52 +0000 (16:28 +0100)]
Fix finding start of URL's.

9 years agoAdd new url unit test.
Vsevolod Stakhov [Wed, 1 Jul 2015 15:00:01 +0000 (16:00 +0100)]
Add new url unit test.

9 years agoAdd missing url fields.
Vsevolod Stakhov [Wed, 1 Jul 2015 14:59:52 +0000 (15:59 +0100)]
Add missing url fields.

9 years agoAdd port definition to URL.
Vsevolod Stakhov [Wed, 1 Jul 2015 14:59:39 +0000 (15:59 +0100)]
Add port definition to URL.

9 years agoBe more permissive about url characters.
Vsevolod Stakhov [Wed, 1 Jul 2015 14:24:44 +0000 (15:24 +0100)]
Be more permissive about url characters.

9 years agoAdd RCVD_IN_DNSWL_NONE as whitelisting exclusion 319/head
Andrew Lewis [Wed, 1 Jul 2015 13:20:28 +0000 (15:20 +0200)]
Add RCVD_IN_DNSWL_NONE as whitelisting exclusion

9 years agoMove sqlite initialization to the common routine.
Vsevolod Stakhov [Tue, 30 Jun 2015 17:58:11 +0000 (18:58 +0100)]
Move sqlite initialization to the common routine.

9 years agoFix issues with capturing patterns
Vsevolod Stakhov [Tue, 30 Jun 2015 17:26:48 +0000 (18:26 +0100)]
Fix issues with capturing patterns

9 years agoSupport dist on FreeBSD and Darwin.
Vsevolod Stakhov [Tue, 30 Jun 2015 13:50:31 +0000 (14:50 +0100)]
Support dist on FreeBSD and Darwin.

9 years agoPrint result of sqlite_exec in fuzzy_backend.
Vsevolod Stakhov [Tue, 30 Jun 2015 13:04:42 +0000 (14:04 +0100)]
Print result of sqlite_exec in fuzzy_backend.

9 years agoMerge pull request #316 from fatalbanana/master
Vsevolod Stakhov [Tue, 30 Jun 2015 13:01:21 +0000 (14:01 +0100)]
Merge pull request #316 from fatalbanana/master

Fix use of RBL name as symbol; ignore RBL names that would not be yielded

9 years agoUpdate documentation
Vsevolod Stakhov [Tue, 30 Jun 2015 12:48:34 +0000 (13:48 +0100)]
Update documentation

9 years agoAdd captures unit test.
Vsevolod Stakhov [Tue, 30 Jun 2015 12:43:11 +0000 (13:43 +0100)]
Add captures unit test.

9 years agoSome fixes to pushing captures to lua.
Vsevolod Stakhov [Tue, 30 Jun 2015 12:42:50 +0000 (13:42 +0100)]
Some fixes to pushing captures to lua.

9 years agoFix use of RBL name as symbol; ignore RBL names that would not be yielded 316/head
Andrew Lewis [Tue, 30 Jun 2015 12:34:27 +0000 (14:34 +0200)]
Fix use of RBL name as symbol; ignore RBL names that would not be yielded

9 years agoFix regexp_search invocation.
Vsevolod Stakhov [Tue, 30 Jun 2015 12:33:35 +0000 (13:33 +0100)]
Fix regexp_search invocation.

9 years agoImprove captures in lua regexp.
Vsevolod Stakhov [Tue, 30 Jun 2015 12:29:37 +0000 (13:29 +0100)]
Improve captures in lua regexp.

9 years agoImprove regexp captures.
Vsevolod Stakhov [Tue, 30 Jun 2015 11:22:08 +0000 (12:22 +0100)]
Improve regexp captures.

It is now possible to store regexp captures if needed.

9 years agoMerge pull request #313 from fatalbanana/master
Vsevolod Stakhov [Tue, 30 Jun 2015 10:13:07 +0000 (11:13 +0100)]
Merge pull request #313 from fatalbanana/master

Favour rspamd lua libraries over system libraries

9 years agoFix misprint 313/head
Andrew Lewis [Mon, 29 Jun 2015 16:45:39 +0000 (18:45 +0200)]
Fix misprint

9 years agoSilence errors; yield unknown results from RBLs; fix scoring for DNSWL
Andrew Lewis [Mon, 29 Jun 2015 16:38:32 +0000 (18:38 +0200)]
Silence errors; yield unknown results from RBLs; fix scoring for DNSWL

9 years agoFavour rspamd lua libraries over system libraries
Andrew Lewis [Mon, 29 Jun 2015 16:14:27 +0000 (18:14 +0200)]
Favour rspamd lua libraries over system libraries

9 years agoUse WAL for fuzzy storage as well.
Vsevolod Stakhov [Mon, 29 Jun 2015 14:42:53 +0000 (15:42 +0100)]
Use WAL for fuzzy storage as well.

9 years agoMerge pull request #311 from fatalbanana/master
Vsevolod Stakhov [Mon, 29 Jun 2015 13:48:46 +0000 (14:48 +0100)]
Merge pull request #311 from fatalbanana/master

Remove duplicated symbol registration

9 years agoFix another duplicated symbol registration 311/head
Andrew Lewis [Mon, 29 Jun 2015 13:47:10 +0000 (15:47 +0200)]
Fix another duplicated symbol registration

9 years agoRemove duplicate.
Vsevolod Stakhov [Mon, 29 Jun 2015 13:45:52 +0000 (14:45 +0100)]
Remove duplicate.

9 years agoRemove duplicated symbol registration
Andrew Lewis [Mon, 29 Jun 2015 13:39:14 +0000 (15:39 +0200)]
Remove duplicated symbol registration

9 years agoSync with the interface.
Vsevolod Stakhov [Sun, 28 Jun 2015 22:20:18 +0000 (23:20 +0100)]
Sync with the interface.

9 years agoUse more recent lua conventions in emails module.
Vsevolod Stakhov [Sun, 28 Jun 2015 22:19:36 +0000 (23:19 +0100)]
Use more recent lua conventions in emails module.

9 years agoTry to fix build with old sqlite.
Vsevolod Stakhov [Sat, 27 Jun 2015 15:41:36 +0000 (16:41 +0100)]
Try to fix build with old sqlite.

9 years agoFix SQL queries.
Vsevolod Stakhov [Thu, 25 Jun 2015 17:58:27 +0000 (18:58 +0100)]
Fix SQL queries.

9 years agoAdd workaround for ancient sqlite.
Vsevolod Stakhov [Thu, 25 Jun 2015 17:36:12 +0000 (18:36 +0100)]
Add workaround for ancient sqlite.

9 years agoMerge pull request #310 from fatalbanana/master
Vsevolod Stakhov [Sat, 27 Jun 2015 15:06:14 +0000 (16:06 +0100)]
Merge pull request #310 from fatalbanana/master

Fix settings

9 years agoFix settings 310/head
Andrew Lewis [Sat, 27 Jun 2015 15:03:18 +0000 (17:03 +0200)]
Fix settings

9 years agoRemove unused variable.
Vsevolod Stakhov [Fri, 26 Jun 2015 18:01:41 +0000 (19:01 +0100)]
Remove unused variable.

9 years agoFix db creating.
Vsevolod Stakhov [Thu, 25 Jun 2015 16:32:56 +0000 (17:32 +0100)]
Fix db creating.

9 years agoRemove stupid debug.
Vsevolod Stakhov [Thu, 25 Jun 2015 16:13:51 +0000 (17:13 +0100)]
Remove stupid debug.

9 years agoRework runtime handling in sqlite3 backend.
Vsevolod Stakhov [Thu, 25 Jun 2015 16:12:32 +0000 (17:12 +0100)]
Rework runtime handling in sqlite3 backend.

9 years agoMerge pull request #306 from fatalbanana/master
Vsevolod Stakhov [Thu, 25 Jun 2015 14:57:37 +0000 (15:57 +0100)]
Merge pull request #306 from fatalbanana/master

Update public suffix list; add RWL_SPAMHAUS_WL as whitelist_exception

9 years agoMore fixes to tld match.
Vsevolod Stakhov [Thu, 25 Jun 2015 14:42:57 +0000 (15:42 +0100)]
More fixes to tld match.

9 years agoUse tld for redirector's matching.
Vsevolod Stakhov [Thu, 25 Jun 2015 14:42:16 +0000 (15:42 +0100)]
Use tld for redirector's matching.

9 years agoAvoid extra linking.
Vsevolod Stakhov [Thu, 25 Jun 2015 14:28:27 +0000 (15:28 +0100)]
Avoid extra linking.

9 years agoImport updated public suffix list 306/head
Andrew Lewis [Thu, 25 Jun 2015 14:53:16 +0000 (16:53 +0200)]
Import updated public suffix list

9 years agoFix settings plugin.
Vsevolod Stakhov [Thu, 25 Jun 2015 13:57:55 +0000 (14:57 +0100)]
Fix settings plugin.

9 years agoFix get_all_opts for a case of non-iterable options.
Vsevolod Stakhov [Thu, 25 Jun 2015 13:20:52 +0000 (14:20 +0100)]
Fix get_all_opts for a case of non-iterable options.

9 years agoFix floating point classification in printf.
Vsevolod Stakhov [Thu, 25 Jun 2015 10:55:46 +0000 (11:55 +0100)]
Fix floating point classification in printf.

9 years agoFix floating point classification in bayes.
Vsevolod Stakhov [Thu, 25 Jun 2015 10:55:34 +0000 (11:55 +0100)]
Fix floating point classification in bayes.

9 years agoPrefer double instead of long double for speed.
Vsevolod Stakhov [Thu, 25 Jun 2015 08:48:46 +0000 (09:48 +0100)]
Prefer double instead of long double for speed.

9 years agoHandle non-normal FP numbers in printf.
Vsevolod Stakhov [Thu, 25 Jun 2015 08:44:53 +0000 (09:44 +0100)]
Handle non-normal FP numbers in printf.

9 years agoPass task structure to classifier functions.
Vsevolod Stakhov [Wed, 24 Jun 2015 16:21:18 +0000 (17:21 +0100)]
Pass task structure to classifier functions.

9 years agoAllow variable lenght arguments in prepared queries.
Vsevolod Stakhov [Tue, 23 Jun 2015 17:23:12 +0000 (18:23 +0100)]
Allow variable lenght arguments in prepared queries.

9 years agoDon't use RWL_SPAMHAUS_WL (unknown result) for whitelisting
Andrew Lewis [Tue, 23 Jun 2015 19:04:35 +0000 (21:04 +0200)]
Don't use RWL_SPAMHAUS_WL (unknown result) for whitelisting

9 years agoMerge pull request #303 from fatalbanana/master
Vsevolod Stakhov [Tue, 23 Jun 2015 15:36:18 +0000 (16:36 +0100)]
Merge pull request #303 from fatalbanana/master

rbl.lua: Fix issues with application of whitelists

9 years agorbl.lua: Fix issues with application of whitelists 303/head
Andrew Lewis [Tue, 23 Jun 2015 15:32:19 +0000 (17:32 +0200)]
rbl.lua: Fix issues with application of whitelists

9 years agoTry to fix build on suse.
Vsevolod Stakhov [Tue, 23 Jun 2015 13:37:26 +0000 (14:37 +0100)]
Try to fix build on suse.

9 years agoAvoid gcc'ism.
Vsevolod Stakhov [Tue, 23 Jun 2015 13:22:32 +0000 (14:22 +0100)]
Avoid gcc'ism.

9 years agoAvoid non-portable lua integers.
Vsevolod Stakhov [Tue, 23 Jun 2015 13:20:38 +0000 (14:20 +0100)]
Avoid non-portable lua integers.

9 years agoFix issues with bounces From processing.
Vsevolod Stakhov [Tue, 23 Jun 2015 12:52:41 +0000 (13:52 +0100)]
Fix issues with bounces From processing.

9 years agoUpdate interface.
Vsevolod Stakhov [Tue, 23 Jun 2015 12:17:58 +0000 (13:17 +0100)]
Update interface.

9 years agoFix saving maps.
Vsevolod Stakhov [Tue, 23 Jun 2015 12:17:32 +0000 (13:17 +0100)]
Fix saving maps.

9 years agoFix number of issues with webui interaction.
Vsevolod Stakhov [Tue, 23 Jun 2015 11:46:18 +0000 (12:46 +0100)]
Fix number of issues with webui interaction.

9 years agoFix parsing of urls with '?' at the end of hostname.
Vsevolod Stakhov [Tue, 23 Jun 2015 11:08:21 +0000 (12:08 +0100)]
Fix parsing of urls with '?' at the end of hostname.

9 years agoReturn previous learn counts in sqlite3 backend.
Vsevolod Stakhov [Mon, 22 Jun 2015 20:45:38 +0000 (21:45 +0100)]
Return previous learn counts in sqlite3 backend.

9 years agoMerge pull request #300 from fatalbanana/master
Vsevolod Stakhov [Mon, 22 Jun 2015 20:34:18 +0000 (21:34 +0100)]
Merge pull request #300 from fatalbanana/master

Don't use RWL_MAILSPIKE_POSSIBLE or DNSWL_BLOCKED for whitelisting

9 years agoDon't use RWL_MAILSPIKE_POSSIBLE or DNSWL_BLOCKED for whitelisting 300/head
Andrew Lewis [Mon, 22 Jun 2015 19:54:48 +0000 (21:54 +0200)]
Don't use RWL_MAILSPIKE_POSSIBLE or DNSWL_BLOCKED for whitelisting

9 years agoAdd whitelist_exception setting to RBL module
Andrew Lewis [Mon, 22 Jun 2015 19:40:21 +0000 (21:40 +0200)]
Add whitelist_exception setting to RBL module

9 years agoAllow user@ and @domain matches in multimap.
Vsevolod Stakhov [Mon, 22 Jun 2015 15:45:01 +0000 (16:45 +0100)]
Allow user@ and @domain matches in multimap.

9 years agoFeed undefined behaviour.
Vsevolod Stakhov [Sun, 21 Jun 2015 21:13:18 +0000 (22:13 +0100)]
Feed undefined behaviour.

9 years agoCheck user_version upon start.
Vsevolod Stakhov [Sat, 20 Jun 2015 22:11:24 +0000 (23:11 +0100)]
Check user_version upon start.

9 years agoFallback to no journal if WAL is not available.
Vsevolod Stakhov [Sat, 20 Jun 2015 21:56:59 +0000 (22:56 +0100)]
Fallback to no journal if WAL is not available.

9 years agoUse WAL in sqlite3.
Vsevolod Stakhov [Sat, 20 Jun 2015 21:31:31 +0000 (22:31 +0100)]
Use WAL in sqlite3.

9 years agoFix extreme cases in bayes classifier.
Vsevolod Stakhov [Sat, 20 Jun 2015 21:17:46 +0000 (22:17 +0100)]
Fix extreme cases in bayes classifier.

9 years agoFix classification using sqlite3.
Vsevolod Stakhov [Sat, 20 Jun 2015 21:06:46 +0000 (22:06 +0100)]
Fix classification using sqlite3.

9 years agoFix broken types casts in backends.
Vsevolod Stakhov [Sat, 20 Jun 2015 20:58:11 +0000 (21:58 +0100)]
Fix broken types casts in backends.

9 years agoMerge branch 'sqlite-stat'
Vsevolod Stakhov [Fri, 19 Jun 2015 16:00:24 +0000 (17:00 +0100)]
Merge branch 'sqlite-stat'

9 years agoImplement operations with sqlite3 statistics.
Vsevolod Stakhov [Fri, 19 Jun 2015 15:54:42 +0000 (16:54 +0100)]
Implement operations with sqlite3 statistics.

9 years agoFix mmaped files deinitialization.
Vsevolod Stakhov [Fri, 19 Jun 2015 15:05:05 +0000 (16:05 +0100)]
Fix mmaped files deinitialization.

9 years agoImplement statistics closing.
Vsevolod Stakhov [Fri, 19 Jun 2015 14:25:10 +0000 (15:25 +0100)]
Implement statistics closing.

9 years agoFix strcmp return value checking.
Vsevolod Stakhov [Fri, 19 Jun 2015 12:48:08 +0000 (13:48 +0100)]
Fix strcmp return value checking.

9 years agoUnify open and create.
Vsevolod Stakhov [Thu, 18 Jun 2015 19:04:43 +0000 (20:04 +0100)]
Unify open and create.

9 years agoImplement sqlite3 database creation.
Vsevolod Stakhov [Thu, 18 Jun 2015 18:51:00 +0000 (19:51 +0100)]
Implement sqlite3 database creation.

9 years agoAllow to return values from prepared statements.
Vsevolod Stakhov [Thu, 18 Jun 2015 18:31:10 +0000 (19:31 +0100)]
Allow to return values from prepared statements.

9 years agoWrite skeleton for sqlite3 backend.
Vsevolod Stakhov [Thu, 18 Jun 2015 16:20:13 +0000 (17:20 +0100)]
Write skeleton for sqlite3 backend.

9 years agoSimplify declaring of backends.
Vsevolod Stakhov [Thu, 18 Jun 2015 14:15:15 +0000 (15:15 +0100)]
Simplify declaring of backends.

9 years agoSimplify backend definition.
Vsevolod Stakhov [Thu, 18 Jun 2015 13:47:32 +0000 (14:47 +0100)]
Simplify backend definition.

9 years agoFix selecting URLs for sending to redirector.
Vsevolod Stakhov [Wed, 17 Jun 2015 13:33:54 +0000 (14:33 +0100)]
Fix selecting URLs for sending to redirector.

9 years agoSort dependencies.
Vsevolod Stakhov [Tue, 16 Jun 2015 18:13:53 +0000 (19:13 +0100)]
Sort dependencies.