]> source.dussan.org Git - rspamd.git/log
rspamd.git
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 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 agoFix settings 309/head
Andrew Lewis [Sat, 27 Jun 2015 15:03:18 +0000 (17:03 +0200)]
Fix settings

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.

9 years agoFix double free if multiple classifiers are defined.
Vsevolod Stakhov [Wed, 27 May 2015 10:08:41 +0000 (11:08 +0100)]
Fix double free if multiple classifiers are defined.

9 years agoIf replacement cannot be applied, just remove regexp.
Vsevolod Stakhov [Tue, 26 May 2015 16:37:45 +0000 (17:37 +0100)]
If replacement cannot be applied, just remove regexp.

9 years agoFix misprint in spamassassin plugin.
Vsevolod Stakhov [Tue, 26 May 2015 16:03:09 +0000 (17:03 +0100)]
Fix misprint in spamassassin plugin.

9 years agoFix i386 cpuid invocation.
Vsevolod Stakhov [Tue, 26 May 2015 11:33:04 +0000 (12:33 +0100)]
Fix i386 cpuid invocation.

9 years agoAdd unit tests for b64 decoding and native encoding.
Vsevolod Stakhov [Mon, 25 May 2015 16:52:38 +0000 (17:52 +0100)]
Add unit tests for b64 decoding and native encoding.

9 years agoFix ownership issues for zero-copy decode.
Vsevolod Stakhov [Mon, 25 May 2015 16:52:14 +0000 (17:52 +0100)]
Fix ownership issues for zero-copy decode.

9 years agoAllow __len metamethod on rspamd{text}.
Vsevolod Stakhov [Mon, 25 May 2015 16:51:57 +0000 (17:51 +0100)]
Allow __len metamethod on rspamd{text}.

9 years agoAdd base64 decoding lua utility.
Vsevolod Stakhov [Mon, 25 May 2015 15:44:24 +0000 (16:44 +0100)]
Add base64 decoding lua utility.

9 years agoFix build on FreeBSD < 10.
Vsevolod Stakhov [Sun, 24 May 2015 17:00:41 +0000 (18:00 +0100)]
Fix build on FreeBSD < 10.

9 years agoSkip spaces at the beginning of mime message.
Vsevolod Stakhov [Sun, 24 May 2015 15:53:13 +0000 (16:53 +0100)]
Skip spaces at the beginning of mime message.

9 years agoDBL_ABUSE_REDIR should not have significant weight.
Vsevolod Stakhov [Sat, 23 May 2015 21:18:59 +0000 (22:18 +0100)]
DBL_ABUSE_REDIR should not have significant weight.

9 years agoAllow to split by lua_regexp rspamd{text} objects.
Vsevolod Stakhov [Sat, 23 May 2015 20:59:00 +0000 (21:59 +0100)]
Allow to split by lua_regexp rspamd{text} objects.

9 years agoAllow to specify custom stop pattern for lua_tcp.
Vsevolod Stakhov [Thu, 21 May 2015 17:26:20 +0000 (18:26 +0100)]
Allow to specify custom stop pattern for lua_tcp.

9 years agoRelease 0.9.4 0.9.4
Vsevolod Stakhov [Thu, 21 May 2015 13:28:22 +0000 (14:28 +0100)]
Release 0.9.4

* Fix critical bugs in tokenization algorithm
* Write unit tests for tokenization
* Add documentation for lua_tcp
* Switch off legacy tokenization by default.
* Fix critical bugs in words normalization
* Add lua bindings to tokenizer.
* Implement storing of HTTP headers inside task
* Add lua API to accerss HTTP headers data
* Implemented base64 encoding suitable for MIME
* Use caseless hash and equal functions for HTTP request headers.
* Improve debian architectures support (by @dottedmag)

Signed-off-by: Vsevolod Stakhov <vsevolod@highsecure.ru>
9 years agoFix possible illegal memory access.
Vsevolod Stakhov [Thu, 21 May 2015 13:10:52 +0000 (14:10 +0100)]
Fix possible illegal memory access.

9 years agoMerge pull request #287 from dottedmag/master
Vsevolod Stakhov [Thu, 21 May 2015 13:20:31 +0000 (14:20 +0100)]
Merge pull request #287 from dottedmag/master

Debian changes for 0.9.4

9 years agoSwitch off legacy tokenization by default.
Vsevolod Stakhov [Thu, 21 May 2015 12:31:39 +0000 (13:31 +0100)]
Switch off legacy tokenization by default.

9 years agoDo not stem exceptions.
Vsevolod Stakhov [Thu, 21 May 2015 12:31:28 +0000 (13:31 +0100)]
Do not stem exceptions.

9 years agoUse not common name for tokenization exceptions.
Vsevolod Stakhov [Thu, 21 May 2015 11:52:54 +0000 (12:52 +0100)]
Use not common name for tokenization exceptions.

9 years agoFix memory issues with tokens normalization.
Vsevolod Stakhov [Thu, 21 May 2015 11:47:40 +0000 (12:47 +0100)]
Fix memory issues with tokens normalization.

9 years agoAdd more unit tests for tokenization.
Vsevolod Stakhov [Thu, 21 May 2015 09:23:52 +0000 (10:23 +0100)]
Add more unit tests for tokenization.

9 years agoMore fixes to tokenization.
Vsevolod Stakhov [Thu, 21 May 2015 09:23:41 +0000 (10:23 +0100)]
More fixes to tokenization.

9 years agoReverse list of exceptions.
Vsevolod Stakhov [Thu, 21 May 2015 09:23:26 +0000 (10:23 +0100)]
Reverse list of exceptions.

9 years agoAdd tests for tokenizer bug.
Vsevolod Stakhov [Wed, 20 May 2015 21:53:09 +0000 (22:53 +0100)]
Add tests for tokenizer bug.

9 years agoFix critical bug in tokenization logic.
Vsevolod Stakhov [Wed, 20 May 2015 21:52:46 +0000 (22:52 +0100)]
Fix critical bug in tokenization logic.

9 years agoAdd a simple unit test for tokenizer.
Vsevolod Stakhov [Wed, 20 May 2015 21:37:33 +0000 (22:37 +0100)]
Add a simple unit test for tokenizer.

9 years agoAdd lua bindings to tokenizer.
Vsevolod Stakhov [Wed, 20 May 2015 21:17:45 +0000 (22:17 +0100)]
Add lua bindings to tokenizer.

9 years agoUpdate changelog 287/head
Mikhail Gusarov [Wed, 20 May 2015 18:37:14 +0000 (18:37 +0000)]
Update changelog

9 years agoRestrict luajit B-D to architectures it is available
Mikhail Gusarov [Wed, 20 May 2015 18:35:44 +0000 (18:35 +0000)]
Restrict luajit B-D to architectures it is available

9 years agoUse caseless hash and equal functions for request headers.
Vsevolod Stakhov [Wed, 20 May 2015 16:34:15 +0000 (17:34 +0100)]
Use caseless hash and equal functions for request headers.

9 years agoAdd API to get/set request headers from lua.
Vsevolod Stakhov [Wed, 20 May 2015 16:28:36 +0000 (17:28 +0100)]
Add API to get/set request headers from lua.

9 years agoSave all HTTP headers as request headers.
Vsevolod Stakhov [Wed, 20 May 2015 15:30:56 +0000 (16:30 +0100)]
Save all HTTP headers as request headers.

9 years agoAdd unit test for base64 encoding.
Vsevolod Stakhov [Wed, 20 May 2015 13:59:24 +0000 (14:59 +0100)]
Add unit test for base64 encoding.

9 years agoFix issues in base64 encoding.
Vsevolod Stakhov [Wed, 20 May 2015 13:59:10 +0000 (14:59 +0100)]
Fix issues in base64 encoding.

9 years agoAdd lua bindings for base64.
Vsevolod Stakhov [Wed, 20 May 2015 11:40:19 +0000 (12:40 +0100)]
Add lua bindings for base64.

9 years agoAllow owning lua_text.
Vsevolod Stakhov [Wed, 20 May 2015 11:03:46 +0000 (12:03 +0100)]
Allow owning lua_text.

9 years agoAdd base64 encoding routine.
Vsevolod Stakhov [Wed, 20 May 2015 10:49:51 +0000 (11:49 +0100)]
Add base64 encoding routine.

9 years agoAdd documentation for lua_tcp.
Vsevolod Stakhov [Tue, 19 May 2015 17:38:09 +0000 (18:38 +0100)]
Add documentation for lua_tcp.

9 years agoRelease 0.9.3 0.9.3
Vsevolod Stakhov [Tue, 19 May 2015 16:20:19 +0000 (17:20 +0100)]
Release 0.9.3

* Revert incorrect regexp change that broke the default rules
* Fix lua_tcp module

Signed-off-by: Vsevolod Stakhov <vsevolod@highsecure.ru>
9 years agoFix issues with lua_tcp.
Vsevolod Stakhov [Tue, 19 May 2015 16:16:31 +0000 (17:16 +0100)]
Fix issues with lua_tcp.

9 years agoRevert automatic capture in regexps as it breaks things.
Vsevolod Stakhov [Tue, 19 May 2015 15:56:27 +0000 (16:56 +0100)]
Revert automatic capture in regexps as it breaks things.

9 years agoRelease 0.9.2 0.9.2
Vsevolod Stakhov [Tue, 19 May 2015 15:34:21 +0000 (16:34 +0100)]
Release 0.9.2

* Fix error on spawning unique workers.
* Add preliminary version of generic LUA TCP requests API.
* Use lua 5.1 if luajit is not available (Arm64, PowerPC, s390x etc)
* Fix fuzzy mime strings with only type.
* Improve thunderbird sanity checks.
* Fix critical bug on matching regular expressions.
* Make hiredis optional dependency.
* Fix multiple bugs in daemon reloading

Signed-off-by: Vsevolod Stakhov <vsevolod@highsecure.ru>
9 years agoFix reload.
Vsevolod Stakhov [Tue, 19 May 2015 15:29:03 +0000 (16:29 +0100)]
Fix reload.

9 years agoFix reloading in logger.
Vsevolod Stakhov [Tue, 19 May 2015 15:28:56 +0000 (16:28 +0100)]
Fix reloading in logger.

9 years agoOne more try to fix memset.
Vsevolod Stakhov [Tue, 19 May 2015 15:28:42 +0000 (16:28 +0100)]
One more try to fix memset.

9 years agoFix reloading of C plugins.
Vsevolod Stakhov [Tue, 19 May 2015 14:37:31 +0000 (15:37 +0100)]
Fix reloading of C plugins.

9 years agoFix reloading of modules.
Vsevolod Stakhov [Tue, 19 May 2015 14:37:20 +0000 (15:37 +0100)]
Fix reloading of modules.

9 years agoDo not try dereference NULL pointer.
Vsevolod Stakhov [Tue, 19 May 2015 14:37:02 +0000 (15:37 +0100)]
Do not try dereference NULL pointer.