]> source.dussan.org Git - rspamd.git/log
rspamd.git
9 years agorbl.lua: Don't ask for user unless called for by config
Andrew Lewis [Thu, 12 Feb 2015 13:01:04 +0000 (15:01 +0200)]
rbl.lua: Don't ask for user unless called for by config

9 years agoAnother fix for RBL module (Reported by AL) 153/head
Andrew Lewis [Thu, 12 Feb 2015 11:32:24 +0000 (13:32 +0200)]
Another fix for RBL module (Reported by AL)

9 years agoFix rbl.lua
Alexey AL [Thu, 12 Feb 2015 00:35:39 +0000 (03:35 +0300)]
Fix rbl.lua

9 years agoFurther amendments for changes to RBL module 148/head
Andrew Lewis [Wed, 11 Feb 2015 21:15:25 +0000 (23:15 +0200)]
Further amendments for changes to RBL module

9 years agoFix typo
Andrew Lewis [Wed, 11 Feb 2015 18:42:36 +0000 (20:42 +0200)]
Fix typo

9 years agoAmendment for rbl.lua update 147/head
Andrew Lewis [Wed, 11 Feb 2015 14:14:43 +0000 (16:14 +0200)]
Amendment for rbl.lua update

9 years agoUpdate RBL module: fix indentation; collapse loops; avoid calling for un-needed infor...
Andrew Lewis [Wed, 11 Feb 2015 13:43:26 +0000 (15:43 +0200)]
Update RBL module: fix indentation; collapse loops; avoid calling for un-needed information; allow disabling RBLs for authenticated users

9 years agoMake Exim pass usernames to Rspamd
Andrew Lewis [Wed, 11 Feb 2015 13:37:38 +0000 (15:37 +0200)]
Make Exim pass usernames to Rspamd

9 years agoAdd DNSWL_BLOCKED symbol
Andrew Lewis [Wed, 11 Feb 2015 13:36:34 +0000 (15:36 +0200)]
Add DNSWL_BLOCKED symbol

9 years agoMake settings work as documented 142/head
Andrew Lewis [Sun, 8 Feb 2015 13:55:28 +0000 (15:55 +0200)]
Make settings work as documented

9 years agoAmendment: fix regex match for unqualified usernames 139/head
Andrew Lewis [Fri, 6 Feb 2015 14:48:18 +0000 (16:48 +0200)]
Amendment: fix regex match for unqualified usernames

9 years agoAmendment: nest stuff
Andrew Lewis [Fri, 6 Feb 2015 14:08:37 +0000 (16:08 +0200)]
Amendment: nest stuff

9 years agoAllow applying settings to authenticated users
Andrew Lewis [Fri, 6 Feb 2015 13:39:45 +0000 (15:39 +0200)]
Allow applying settings to authenticated users

9 years agoCosmetic changes 137/head
Andrew Lewis [Tue, 3 Feb 2015 12:53:18 +0000 (14:53 +0200)]
Cosmetic changes

9 years agoFix bad change in Exim patch
Andrew Lewis [Mon, 2 Feb 2015 20:39:58 +0000 (22:39 +0200)]
Fix bad change in Exim patch

9 years agoFix processing of unix sockets.
Vsevolod Stakhov [Mon, 2 Feb 2015 13:35:01 +0000 (13:35 +0000)]
Fix processing of unix sockets.

Reported by: AL

9 years agoUpdate Exim patch
Andrew Lewis [Sat, 31 Jan 2015 18:46:54 +0000 (20:46 +0200)]
Update Exim patch

9 years agoEnable one_shot for RECEIVED_SPAMHAUS_XBL - Fixes #102
Andrew Lewis [Sat, 31 Jan 2015 22:29:10 +0000 (00:29 +0200)]
Enable one_shot for RECEIVED_SPAMHAUS_XBL - Fixes #102

9 years agoFix: Centos init script: configtest()
Alexey [Sun, 1 Feb 2015 03:17:51 +0000 (06:17 +0300)]
Fix: Centos init script: configtest()

9 years agoCreate fuzzy db if it does not exist.
Vsevolod Stakhov [Mon, 26 Jan 2015 21:12:30 +0000 (21:12 +0000)]
Create fuzzy db if it does not exist.

9 years agoRelease 0.8.1 0.8.1
Vsevolod Stakhov [Fri, 23 Jan 2015 17:01:28 +0000 (17:01 +0000)]
Release 0.8.1

* Add sqlite and perl as dependencies for RPM/Debian packages (by @fatalbanana)
* Remove whitelist.lua from RPM file list (by @fatalbanana)
* Make Exim pass hostnames to rspamd (by @fatalbanana)
* Fix building on Fedora (by @fatalbanana)
* Add toggle for disabling installation of systemd units on Linux (by @fatalbanana)
* Fix double format rounding that caused output corruption (reported by @fatalbanana)
* Revert broken change for destructors ordering that led to memory corruption
* Do not reset symbols case of settings if parsed from lua (reported by @andrejzverev)
* Fix build on SunOS (by @wiedi)
* Fix multiple crashes on broken DKIM DNS records
* Fix critical issue with composites weights removing
* Fix memory corruption in composites processing code
* Ignore non-SPF TXT records when parsing SPF includes

Signed-off-by: Vsevolod Stakhov <vsevolod@highsecure.ru>
9 years agoUpdate to 0.8.1
Vsevolod Stakhov [Fri, 23 Jan 2015 16:54:30 +0000 (16:54 +0000)]
Update to 0.8.1

9 years agoIgnore broken TXT records when parsing include.
Vsevolod Stakhov [Thu, 22 Jan 2015 21:58:59 +0000 (21:58 +0000)]
Ignore broken TXT records when parsing include.

9 years agoFix another critical composites issue and memory corruption.
Vsevolod Stakhov [Thu, 22 Jan 2015 01:11:02 +0000 (01:11 +0000)]
Fix another critical composites issue and memory corruption.

9 years agoFix critical issue with composites weights.
Vsevolod Stakhov [Wed, 21 Jan 2015 22:05:38 +0000 (22:05 +0000)]
Fix critical issue with composites weights.

9 years agoAnother err dereference for dkim module.
Vsevolod Stakhov [Wed, 21 Jan 2015 11:04:29 +0000 (11:04 +0000)]
Another err dereference for dkim module.

9 years agoFix crash on broken DKIM DNS records.
Vsevolod Stakhov [Tue, 20 Jan 2015 13:39:02 +0000 (13:39 +0000)]
Fix crash on broken DKIM DNS records.

9 years agoFix build on SunOS
Sebastian Wiedenroth [Sun, 18 Jan 2015 01:30:28 +0000 (02:30 +0100)]
Fix build on SunOS
- the struct dirent d_type is not available on SunOS
- tm_gmtoff is not a POSIX field

9 years agoDo not reset case of settings if parsed from lua.
Vsevolod Stakhov [Sun, 18 Jan 2015 15:25:20 +0000 (15:25 +0000)]
Do not reset case of settings if parsed from lua.

9 years agoRevert "Preserve destructors order as LIFO."
Vsevolod Stakhov [Sat, 17 Jan 2015 16:57:46 +0000 (16:57 +0000)]
Revert "Preserve destructors order as LIFO."

That change was completely incorrect.

This reverts commit 1f2c83f096f28ce79e828edd1ab545a341f10451.

9 years agoFix double format output.
Vsevolod Stakhov [Fri, 16 Jan 2015 12:24:16 +0000 (12:24 +0000)]
Fix double format output.

9 years agoMerge pull request #128 from fatalbanana/master
Vsevolod Stakhov [Thu, 15 Jan 2015 19:50:55 +0000 (19:50 +0000)]
Merge pull request #128 from fatalbanana/master

Oops: fix regression

9 years agoFix regression 128/head
Andrew Lewis [Thu, 15 Jan 2015 19:41:06 +0000 (21:41 +0200)]
Fix regression

9 years agoMerge pull request #127 from fatalbanana/master
Vsevolod Stakhov [Thu, 15 Jan 2015 17:02:37 +0000 (17:02 +0000)]
Merge pull request #127 from fatalbanana/master

Update RPM packaging

9 years agoUpdate RPM packaging 127/head
Andrew Lewis [Thu, 15 Jan 2015 12:35:12 +0000 (14:35 +0200)]
Update RPM packaging

9 years agoAdd toggle for disabling installation of systemd units on Linux
Andrew Lewis [Thu, 15 Jan 2015 11:43:48 +0000 (13:43 +0200)]
Add toggle for disabling installation of systemd units on Linux

9 years agoMerge pull request #126 from fatalbanana/master
Vsevolod Stakhov [Fri, 9 Jan 2015 14:20:18 +0000 (14:20 +0000)]
Merge pull request #126 from fatalbanana/master

Fix building on Fedora

9 years agoFix building on Fedora 126/head
Andrew Lewis [Fri, 9 Jan 2015 14:05:31 +0000 (16:05 +0200)]
Fix building on Fedora

9 years agoSilent warnings.
Vsevolod Stakhov [Tue, 6 Jan 2015 14:50:12 +0000 (14:50 +0000)]
Silent warnings.

9 years agoMerge pull request #125 from fatalbanana/master
Vsevolod Stakhov [Sun, 4 Jan 2015 10:09:49 +0000 (10:09 +0000)]
Merge pull request #125 from fatalbanana/master

Make Exim pass hostnames to rspamd

9 years agoMake Exim pass hostnames to rspamd 125/head
Andrew Lewis [Sat, 3 Jan 2015 21:46:21 +0000 (23:46 +0200)]
Make Exim pass hostnames to rspamd

9 years agoMerge pull request #124 from fatalbanana/master
Vsevolod Stakhov [Fri, 2 Jan 2015 13:00:26 +0000 (13:00 +0000)]
Merge pull request #124 from fatalbanana/master

Remove whitelist.lua from RPM file list

9 years agoRemove whitelist.lua from RPM file list 124/head
Andrew Lewis [Fri, 2 Jan 2015 12:58:45 +0000 (14:58 +0200)]
Remove whitelist.lua from RPM file list

9 years agoMerge pull request #123 from fatalbanana/master
Vsevolod Stakhov [Fri, 2 Jan 2015 12:41:55 +0000 (12:41 +0000)]
Merge pull request #123 from fatalbanana/master

Add sqlite as dependency for RPM/Debian packages

9 years agoAdd Perl as build dependency for Debian/RPM packages 123/head
Andrew Lewis [Fri, 2 Jan 2015 12:30:09 +0000 (14:30 +0200)]
Add Perl as build dependency for Debian/RPM packages

9 years agoAdd sqlite as dependency for RPM/Debian packages
Andrew Lewis [Fri, 2 Jan 2015 12:19:41 +0000 (14:19 +0200)]
Add sqlite as dependency for RPM/Debian packages

9 years agoRelease 0.8.0 0.8.0
Vsevolod Stakhov [Fri, 2 Jan 2015 11:17:33 +0000 (11:17 +0000)]
Release 0.8.0

* New fuzzy check logic:
- use shingles algorithm for fuzzy matching
- use blake2 instead of md5 for larger output space
- combine fuzzy and strict matching
- allow to organize private storages by means of keys
- preserve compatibility with previous versions
* New fuzzy storage:
- use sqlite instead of own memory based hash tables
- rework commands interface
- add conversion from the old format
- add fuzzy match by shignles
- support old rspamd versions
* Add lemmatizing for words used in fuzzy hashes that allows to improve match
quality by using of the first forms of all words
* Rework language detection
* Fix several critical bugs, memory leaks and deadlocks:
- memory leak in HTML nodes parsing
- deadlock in logger code
- deadlock in signals processing
- crashes in fuzzy_storage
- crashes in tokenizers if the input was empty
* Import new libucl with several bugfixes and improvements
* Support listening on ipv6 addresses only
* Fix macro expansion in SPF module
* Several bugfixes in DKIM module
* Add load headers support for mime parts to the lua API
* Add documentation for:
- workers in general
- fuzzy_storage worker
- fuzzy_check plugin
- mimepart and textpart lua API modules

Signed-off-by: Vsevolod Stakhov <vsevolod@highsecure.ru>
9 years agoUpdate docs.
Vsevolod Stakhov [Fri, 2 Jan 2015 11:09:48 +0000 (11:09 +0000)]
Update docs.

9 years agoMerge pull request #122 from fatalbanana/master
Vsevolod Stakhov [Fri, 2 Jan 2015 09:38:04 +0000 (09:38 +0000)]
Merge pull request #122 from fatalbanana/master

Fix typo in fuzzy_check.md

9 years agoFix typo in fuzzy_check.md 122/head
Andrew Lewis [Fri, 2 Jan 2015 06:49:47 +0000 (08:49 +0200)]
Fix typo in fuzzy_check.md

9 years agoAdd documentation for fuzzy_check module.
Vsevolod Stakhov [Fri, 2 Jan 2015 00:38:31 +0000 (00:38 +0000)]
Add documentation for fuzzy_check module.

9 years agoPreserve destructors order as LIFO.
Vsevolod Stakhov [Thu, 1 Jan 2015 15:45:22 +0000 (15:45 +0000)]
Preserve destructors order as LIFO.

9 years agoFix memory leak in html nodes.
Vsevolod Stakhov [Thu, 1 Jan 2015 15:12:00 +0000 (15:12 +0000)]
Fix memory leak in html nodes.

9 years agoFix macro expansion length calculation.
Vsevolod Stakhov [Thu, 1 Jan 2015 12:21:49 +0000 (12:21 +0000)]
Fix macro expansion length calculation.

9 years agoSome fixes to macro expansion in spf.
Vsevolod Stakhov [Tue, 30 Dec 2014 18:52:58 +0000 (18:52 +0000)]
Some fixes to macro expansion in spf.

9 years agoZero memory for inet address.
Vsevolod Stakhov [Tue, 30 Dec 2014 18:24:37 +0000 (18:24 +0000)]
Zero memory for inet address.

9 years agoFix some leaks.
Vsevolod Stakhov [Tue, 30 Dec 2014 14:54:33 +0000 (14:54 +0000)]
Fix some leaks.

9 years agoDo not tokenize empty input.
Vsevolod Stakhov [Tue, 30 Dec 2014 13:44:57 +0000 (13:44 +0000)]
Do not tokenize empty input.

9 years agoDo not dereference null pointer.
Vsevolod Stakhov [Tue, 30 Dec 2014 13:14:31 +0000 (13:14 +0000)]
Do not dereference null pointer.

9 years agoAdd documentation for fuzzy worker.
Vsevolod Stakhov [Mon, 29 Dec 2014 16:57:56 +0000 (16:57 +0000)]
Add documentation for fuzzy worker.

9 years agoValue of fuzzy is signed actually.
Vsevolod Stakhov [Mon, 29 Dec 2014 16:57:39 +0000 (16:57 +0000)]
Value of fuzzy is signed actually.

9 years agoAdd lua API for getting raw headers from mime part.
Vsevolod Stakhov [Mon, 29 Dec 2014 12:08:22 +0000 (12:08 +0000)]
Add lua API for getting raw headers from mime part.

9 years agoSave raw headers for all normal parts.
Vsevolod Stakhov [Mon, 29 Dec 2014 12:03:33 +0000 (12:03 +0000)]
Save raw headers for all normal parts.

9 years agoUpdate libucl.
Vsevolod Stakhov [Sat, 27 Dec 2014 16:36:08 +0000 (16:36 +0000)]
Update libucl.

9 years agoMerge pull request #121 from notandy/case-insensitive-find-headers
Vsevolod Stakhov [Fri, 26 Dec 2014 20:46:19 +0000 (20:46 +0000)]
Merge pull request #121 from notandy/case-insensitive-find-headers

make rspamd_http_message_find_header case-insensitive

9 years agomake rspamd_http_message_find_header case-insensitive 121/head
Andrew Karpow [Fri, 26 Dec 2014 15:50:27 +0000 (16:50 +0100)]
make rspamd_http_message_find_header case-insensitive

9 years agoUse safe iters for bind_socket parameter.
Vsevolod Stakhov [Thu, 25 Dec 2014 23:55:57 +0000 (23:55 +0000)]
Use safe iters for bind_socket parameter.

9 years agoUpdate ucl for safe iterators.
Vsevolod Stakhov [Thu, 25 Dec 2014 23:53:20 +0000 (23:53 +0000)]
Update ucl for safe iterators.

9 years agoAllow to listen on ipv6 IP.
Vsevolod Stakhov [Thu, 25 Dec 2014 18:35:49 +0000 (18:35 +0000)]
Allow to listen on ipv6 IP.

9 years agoArrays are no longer lists in UCL.
Vsevolod Stakhov [Thu, 25 Dec 2014 18:24:54 +0000 (18:24 +0000)]
Arrays are no longer lists in UCL.

9 years agoAdd workers documentation.
Vsevolod Stakhov [Thu, 25 Dec 2014 17:46:15 +0000 (17:46 +0000)]
Add workers documentation.

9 years agoSave flag in fuzzy reply.
Vsevolod Stakhov [Wed, 24 Dec 2014 16:53:55 +0000 (16:53 +0000)]
Save flag in fuzzy reply.

9 years agoLearn legacy fuzzy as well for now.
Vsevolod Stakhov [Wed, 24 Dec 2014 16:02:34 +0000 (16:02 +0000)]
Learn legacy fuzzy as well for now.

9 years agoLemmatize words for fuzzy check.
Vsevolod Stakhov [Tue, 23 Dec 2014 15:57:14 +0000 (15:57 +0000)]
Lemmatize words for fuzzy check.

9 years agoRework language detection.
Vsevolod Stakhov [Tue, 23 Dec 2014 15:28:27 +0000 (15:28 +0000)]
Rework language detection.

9 years agoRework text tokenizaton.
Vsevolod Stakhov [Tue, 23 Dec 2014 14:32:22 +0000 (14:32 +0000)]
Rework text tokenizaton.

9 years agoRework words tokenization.
Vsevolod Stakhov [Tue, 23 Dec 2014 14:09:01 +0000 (14:09 +0000)]
Rework words tokenization.

9 years agoAdd sequential order for upstreams.
Vsevolod Stakhov [Tue, 23 Dec 2014 13:42:14 +0000 (13:42 +0000)]
Add sequential order for upstreams.

9 years agoFix for fuzzy matching.
Vsevolod Stakhov [Mon, 22 Dec 2014 22:23:51 +0000 (22:23 +0000)]
Fix for fuzzy matching.

9 years agoSome fixes to fuzzy matching
Vsevolod Stakhov [Mon, 22 Dec 2014 17:57:04 +0000 (17:57 +0000)]
Some fixes to fuzzy matching

9 years agoFix shingles key init.
Vsevolod Stakhov [Mon, 22 Dec 2014 17:47:26 +0000 (17:47 +0000)]
Fix shingles key init.

9 years agoFix stupid deadlock in the logger.
Vsevolod Stakhov [Mon, 22 Dec 2014 17:31:53 +0000 (17:31 +0000)]
Fix stupid deadlock in the logger.

9 years agoFix replies waiting.
Vsevolod Stakhov [Mon, 22 Dec 2014 17:22:24 +0000 (17:22 +0000)]
Fix replies waiting.

9 years agoDo not learn with legacy data.
Vsevolod Stakhov [Mon, 22 Dec 2014 17:09:38 +0000 (17:09 +0000)]
Do not learn with legacy data.

9 years agoInit keys properly.
Vsevolod Stakhov [Mon, 22 Dec 2014 17:08:17 +0000 (17:08 +0000)]
Init keys properly.

9 years agoSkip short words.
Vsevolod Stakhov [Mon, 22 Dec 2014 17:05:13 +0000 (17:05 +0000)]
Skip short words.

9 years agoFix tagging.
Vsevolod Stakhov [Mon, 22 Dec 2014 17:05:04 +0000 (17:05 +0000)]
Fix tagging.

9 years agoFix initialization issues for some variables.
Vsevolod Stakhov [Mon, 22 Dec 2014 16:55:37 +0000 (16:55 +0000)]
Fix initialization issues for some variables.

9 years agoI will never ever use malloc in signal handler.
Vsevolod Stakhov [Mon, 22 Dec 2014 16:18:14 +0000 (16:18 +0000)]
I will never ever use malloc in signal handler.

I will never ever use malloc in signal handler.
I will never ever use malloc in signal handler.
I will never ever use malloc in signal handler.
I will never ever use malloc in signal handler.
I will never ever use malloc in signal handler.
I will never ever use malloc in signal handler.
I will never ever use malloc in signal handler.
...

9 years agoAvoid debug noise.
Vsevolod Stakhov [Mon, 22 Dec 2014 15:59:16 +0000 (15:59 +0000)]
Avoid debug noise.

9 years agoAdd keys initialization.
Vsevolod Stakhov [Mon, 22 Dec 2014 15:40:52 +0000 (15:40 +0000)]
Add keys initialization.

9 years agoRewrite fuzzy check plugin.
Vsevolod Stakhov [Mon, 22 Dec 2014 15:19:59 +0000 (15:19 +0000)]
Rewrite fuzzy check plugin.

9 years agoAdd tag for all commands and replies.
Vsevolod Stakhov [Mon, 22 Dec 2014 13:27:28 +0000 (13:27 +0000)]
Add tag for all commands and replies.

9 years agoPack fuzzy commands.
Vsevolod Stakhov [Mon, 22 Dec 2014 13:25:12 +0000 (13:25 +0000)]
Pack fuzzy commands.

9 years agoAdd abstract command sending function.
Vsevolod Stakhov [Mon, 22 Dec 2014 12:49:15 +0000 (12:49 +0000)]
Add abstract command sending function.

9 years agoAdd new commands support.
Vsevolod Stakhov [Mon, 22 Dec 2014 12:29:55 +0000 (12:29 +0000)]
Add new commands support.

9 years agoUpdate expired elements.
Vsevolod Stakhov [Sun, 21 Dec 2014 21:14:39 +0000 (21:14 +0000)]
Update expired elements.

9 years agoImplement shingles insertions.
Vsevolod Stakhov [Sat, 20 Dec 2014 23:17:35 +0000 (23:17 +0000)]
Implement shingles insertions.

9 years agoAdd fuzzy match by shingles.
Vsevolod Stakhov [Sat, 20 Dec 2014 22:55:21 +0000 (22:55 +0000)]
Add fuzzy match by shingles.

9 years agoUpdate version for testing.
Vsevolod Stakhov [Sat, 20 Dec 2014 17:08:08 +0000 (17:08 +0000)]
Update version for testing.