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

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

9 years agoAdd a workaround to avoid bad HTML messages breaking.
Vsevolod Stakhov [Tue, 21 Jul 2015 11:46:06 +0000 (12:46 +0100)]
Add a workaround to avoid bad HTML messages breaking.

9 years agoFix some extreme cases in bayes.
Vsevolod Stakhov [Tue, 7 Jul 2015 11:46:27 +0000 (12:46 +0100)]
Fix some extreme cases in bayes.

9 years agoDo not dereference null pointer on learning.
Vsevolod Stakhov [Mon, 6 Jul 2015 15:00:48 +0000 (16:00 +0100)]
Do not dereference null pointer on learning.

9 years agoRelease 0.9.9 0.9.9
Vsevolod Stakhov [Fri, 3 Jul 2015 14:03:14 +0000 (15:03 +0100)]
Release 0.9.9

* Don't use RWL_SPAMHAUS_WL (unknown result) for whitelisting (by @fatalbanana)
* Import updated public suffix list (by @fatalbanana)
* Remove debug message
* Fix settings (by @fatalbanana)
* Remove duplicated symbol registration
* Use WAL for fuzzy storage
* RBL fixes (by @fatalbanana):
- silence errors;
- yield unknown results from RBLs;
- fix scoring for DNSWL;
- fix use of RBL name as symbol;
- ignore RBL names that would not be yielded;
* Support captures in regular expressions
* Add captures support to lua_regexp
* Support dist on FreeBSD and Darwin
* Add RCVD_IN_DNSWL_NONE as whitelisting exclusion (by @fatalbanana)
* Multiple fixes to URL detection:
- support port definition;
- fix query and path recognition;
- fix parsing of multiple slashes in URL;
- fix parsing query just after port;
- fix path field in `url:to_table` method;
- improve support of IP based URLs.
* Set ignore_whitelists = true for RECEIVED_SPAMHAUS_XBL (by @fatalbanana)
* Add GTUBE support
* Ignore User header in SA mode

Signed-off-by: Vsevolod Stakhov <vsevolod@highsecure.ru>
9 years agoIgnore User header in SA mode.
Vsevolod Stakhov [Fri, 3 Jul 2015 13:44:00 +0000 (14:44 +0100)]
Ignore User header in SA mode.

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

9 years agoUpdate version to 0.9.9.
Vsevolod Stakhov [Fri, 3 Jul 2015 11:52:55 +0000 (12:52 +0100)]
Update version to 0.9.9.

9 years agoAllow bundling for sqlite3.
Vsevolod Stakhov [Fri, 3 Jul 2015 11:51:41 +0000 (12:51 +0100)]
Allow bundling for sqlite3.

9 years agoMerge pull request #325 from fatalbanana/rspamd-0.9
Vsevolod Stakhov [Thu, 2 Jul 2015 23:44:06 +0000 (00:44 +0100)]
Merge pull request #325 from fatalbanana/rspamd-0.9

0.9: Set ignore_whitelists = true for RECEIVED_SPAMHAUS_XBL

9 years agoSet ignore_whitelists = true for RECEIVED_SPAMHAUS_XBL 325/head
Andrew Lewis [Thu, 2 Jul 2015 14:34:18 +0000 (16:34 +0200)]
Set ignore_whitelists = true for RECEIVED_SPAMHAUS_XBL

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

0.9: 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 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 agoFurther defang whitelists 322/head
Andrew Lewis [Thu, 2 Jul 2015 07:18:01 +0000 (09:18 +0200)]
Further defang whitelists

9 years agoMerge pull request #320 from fatalbanana/rspamd-0.9
Vsevolod Stakhov [Wed, 1 Jul 2015 16:19:53 +0000 (17:19 +0100)]
Merge pull request #320 from fatalbanana/rspamd-0.9

0.9: Add RCVD_IN_DNSWL_NONE as whitelisting exclusion

9 years agoAdd RCVD_IN_DNSWL_NONE as whitelisting exclusion 320/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 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 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 #317 from fatalbanana/rspamd-0.9
Vsevolod Stakhov [Tue, 30 Jun 2015 13:01:30 +0000 (14:01 +0100)]
Merge pull request #317 from fatalbanana/rspamd-0.9

0.9: 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 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 agoFix use of RBL name as symbol; ignore RBL names that would not be yielded 317/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 agoMerge pull request #314 from fatalbanana/rspamd-0.9
Vsevolod Stakhov [Tue, 30 Jun 2015 10:13:13 +0000 (11:13 +0100)]
Merge pull request #314 from fatalbanana/rspamd-0.9

Rspamd 0.9: Favour rspamd lua libraries over system libraries

9 years agoFix misprint 314/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 #312 from fatalbanana/rspamd-0.9
Vsevolod Stakhov [Mon, 29 Jun 2015 13:48:36 +0000 (14:48 +0100)]
Merge pull request #312 from fatalbanana/rspamd-0.9

Rspamd 0.9: Remove duplicated symbol registration

9 years agoFix another duplicated symbol registration 312/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

Conflicts:
src/plugins/lua/rbl.lua

9 years agoMerge pull request #309 from fatalbanana/rspamd-0.9
Vsevolod Stakhov [Sat, 27 Jun 2015 15:06:19 +0000 (16:06 +0100)]
Merge pull request #309 from fatalbanana/rspamd-0.9

Rspamd 0.9: Fix settings

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

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

9 years agoMerge pull request #307 from fatalbanana/rspamd-0.9
Vsevolod Stakhov [Thu, 25 Jun 2015 14:58:34 +0000 (15:58 +0100)]
Merge pull request #307 from fatalbanana/rspamd-0.9

Rspamd 0.9: Update public suffix list; add RWL_SPAMHAUS_WL as whitelist_exception

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

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 agoRelease 0.9.8 0.9.8
Vsevolod Stakhov [Thu, 25 Jun 2015 14:49:57 +0000 (15:49 +0100)]
Release 0.9.8

* Fix critical bug in bayes classifier (#305)
* Fix critical bug in RBL module (by @fatalbanana)
* Fix and rework settings plugin.
* Fix get_all_opts for a case of non-iterable options.
* Use tld for redirector's matching.

Signed-off-by: Vsevolod Stakhov <vsevolod@highsecure.ru>
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 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 agoFeed undefined behaviour.
Vsevolod Stakhov [Sun, 21 Jun 2015 21:13:18 +0000 (22:13 +0100)]
Feed undefined behaviour.

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 agoMerge pull request #302 from fatalbanana/rspamd-0.9
Vsevolod Stakhov [Tue, 23 Jun 2015 15:36:11 +0000 (16:36 +0100)]
Merge pull request #302 from fatalbanana/rspamd-0.9

rbl.lua: Fix issues with application of whitelists

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

9 years agoRelease 0.9.7 0.9.7
Vsevolod Stakhov [Tue, 23 Jun 2015 14:37:54 +0000 (15:37 +0100)]
Release 0.9.7

* Add whitelist_exception setting to RBL module (by @fatalbanana)
* Don't use RWL_MAILSPIKE_POSSIBLE or DNSWL_BLOCKED for whitelisting (by
@fatalbanana)
* Fix extreme cases in bayes classifier.
* Fix parsing of urls with '?' at the end of hostname.
* Update interface.
* Fix number of issues with webui interaction.
* Fix saving maps.
* Allow user@ and @domain matches in multimap.
* Fix issues with bounces From processing.
* Fix abs/fabs misuse.
* Fix builds on suse and arch linux distributions.

Signed-off-by: Vsevolod Stakhov <vsevolod@highsecure.ru>
9 years agoRevert one bad convertation abs->fabs.
Vsevolod Stakhov [Tue, 23 Jun 2015 13:56:10 +0000 (14:56 +0100)]
Revert one bad convertation abs->fabs.

9 years agoFix abs/fabs misuse.
Vsevolod Stakhov [Tue, 23 Jun 2015 13:55:40 +0000 (14:55 +0100)]
Fix abs/fabs misuse.

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 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 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 agoUpdate interface.
Vsevolod Stakhov [Tue, 23 Jun 2015 12:17:58 +0000 (13:17 +0100)]
Update interface.

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 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 agoMerge pull request #301 from fatalbanana/rspamd-0.9
Vsevolod Stakhov [Mon, 22 Jun 2015 20:34:25 +0000 (21:34 +0100)]
Merge pull request #301 from fatalbanana/rspamd-0.9

Rspamd 0.9: Don't use RWL_MAILSPIKE_POSSIBLE or DNSWL_BLOCKED for whitelisting

9 years agoDon't use RWL_MAILSPIKE_POSSIBLE or DNSWL_BLOCKED for whitelisting 301/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 agoRelease 0.9.6 0.9.6
Vsevolod Stakhov [Thu, 18 Jun 2015 12:17:36 +0000 (13:17 +0100)]
Release 0.9.6

* Fix memory leak if mime cannot be parsed.
* Fix dkim cache expiration.
* Fix issues with redirector HTTP response.
* Fix abnormal connection closing with certains messages with a high
  score (issue #296)
* Fix redirector installation.
* Use specific POE loop for some systems.
* Fix number of issues in URL redirector.
* Fix selecting URLs for sending to redirector.

Signed-off-by: Vsevolod Stakhov <vsevolod@highsecure.ru>
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.

9 years agoStore partial results in memcached.
Vsevolod Stakhov [Tue, 16 Jun 2015 18:09:36 +0000 (19:09 +0100)]
Store partial results in memcached.

9 years agoFix loops in POE.
Vsevolod Stakhov [Tue, 16 Jun 2015 18:09:27 +0000 (19:09 +0100)]
Fix loops in POE.

9 years agoReformat redirector code (no functional changes).
Vsevolod Stakhov [Tue, 16 Jun 2015 17:24:20 +0000 (18:24 +0100)]
Reformat redirector code (no functional changes).

9 years agoFix numerous issues with redirector startup.
Vsevolod Stakhov [Tue, 16 Jun 2015 17:20:30 +0000 (18:20 +0100)]
Fix numerous issues with redirector startup.

9 years agoUse specific POE loop for some systems.
Vsevolod Stakhov [Tue, 16 Jun 2015 16:39:26 +0000 (17:39 +0100)]
Use specific POE loop for some systems.

9 years agoFix shebang.
Vsevolod Stakhov [Tue, 16 Jun 2015 15:31:39 +0000 (16:31 +0100)]
Fix shebang.

9 years agoFix redirector installation.
Vsevolod Stakhov [Tue, 16 Jun 2015 15:31:15 +0000 (16:31 +0100)]
Fix redirector installation.

9 years agoUpdate version number to 0.9.6.
Vsevolod Stakhov [Tue, 16 Jun 2015 15:17:28 +0000 (16:17 +0100)]
Update version number to 0.9.6.

9 years agoUpdate->add
Vsevolod Stakhov [Tue, 16 Jun 2015 14:32:44 +0000 (15:32 +0100)]
Update->add

9 years agoFix digest invocation.
Vsevolod Stakhov [Tue, 16 Jun 2015 14:16:53 +0000 (15:16 +0100)]
Fix digest invocation.

9 years agoFix variable name.
Vsevolod Stakhov [Tue, 16 Jun 2015 13:33:33 +0000 (14:33 +0100)]
Fix variable name.

9 years agoFix issues with redirector HTTP response.
Vsevolod Stakhov [Tue, 16 Jun 2015 13:22:38 +0000 (14:22 +0100)]
Fix issues with redirector HTTP response.

9 years agoAdd workaround for #296.
Vsevolod Stakhov [Tue, 16 Jun 2015 12:33:19 +0000 (13:33 +0100)]
Add workaround for #296.

9 years agoFix dkim cache expiration.
Vsevolod Stakhov [Fri, 12 Jun 2015 17:57:00 +0000 (13:57 -0400)]
Fix dkim cache expiration.

9 years agoFix memory leak if mime cannot be parsed.
Vsevolod Stakhov [Tue, 2 Jun 2015 15:42:48 +0000 (16:42 +0100)]
Fix memory leak if mime cannot be parsed.

9 years agoRelease 0.9.5 0.9.5
Vsevolod Stakhov [Fri, 29 May 2015 12:08:35 +0000 (13:08 +0100)]
Release 0.9.5

* Avoid double free when extending HTTP message.
* Fix double free if multiple classifiers are defined.
* Fix misprint in spamassassin plugin.
* Fix cpuid invocation on i386.
* Fix ownership issues for zero-copy decode.
* Allow __len metamethod on rspamd{text}.
* Add base64 decoding lua utility.
* Fix build on FreeBSD
* Skip spaces at the beginning of mime messages.
* DBL_ABUSE_REDIR should not have significant weight.
* Allow to split by lua_regexp rspamd{text} objects.
* Allow to specify custom stop pattern for lua_tcp.

Signed-off-by: Vsevolod Stakhov <vsevolod@highsecure.ru>
9 years agoAvoid double free when extending HTTP message.
Vsevolod Stakhov [Fri, 29 May 2015 10:47:22 +0000 (11:47 +0100)]
Avoid double free when extending HTTP message.