]> git.ipfire.org Git - thirdparty/rspamd.git/log
thirdparty/rspamd.git
10 years agoFix build on SunOS 129/head
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

10 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.

10 years agoFix static build.
Vsevolod Stakhov [Fri, 16 Jan 2015 16:42:48 +0000 (16:42 +0000)] 
Fix static build.

10 years agoRemove binlog and statfile_sync: never ever used.
Vsevolod Stakhov [Fri, 16 Jan 2015 15:36:40 +0000 (15:36 +0000)] 
Remove binlog and statfile_sync: never ever used.

10 years agoNo more winnow.
Vsevolod Stakhov [Fri, 16 Jan 2015 15:32:30 +0000 (15:32 +0000)] 
No more winnow.

10 years agoReorganize statfiles and classifiers into libstat.
Vsevolod Stakhov [Fri, 16 Jan 2015 15:28:40 +0000 (15:28 +0000)] 
Reorganize statfiles and classifiers into libstat.

10 years agoUpdate version to 0.9 WIP.
Vsevolod Stakhov [Fri, 16 Jan 2015 14:06:31 +0000 (14:06 +0000)] 
Update version to 0.9 WIP.

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

10 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

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

10 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

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

10 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

10 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

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

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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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>
10 years agoUpdate docs.
Vsevolod Stakhov [Fri, 2 Jan 2015 11:09:48 +0000 (11:09 +0000)] 
Update docs.

10 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

10 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

10 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.

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

10 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.

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

10 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.

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

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

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

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

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

10 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.

10 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.

10 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.

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

10 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

10 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

10 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.

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

10 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.

10 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.

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

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

10 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.

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

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

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

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

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

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

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

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

10 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.

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

10 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.

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

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

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

10 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.

10 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.
...

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

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

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

10 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.

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

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

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

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

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

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

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

10 years agoRemove checks from debian build.
Vsevolod Stakhov [Sat, 20 Dec 2014 17:03:30 +0000 (17:03 +0000)] 
Remove checks from debian build.

10 years agoRestore expired/count statistics.
Vsevolod Stakhov [Sat, 20 Dec 2014 16:47:30 +0000 (16:47 +0000)] 
Restore expired/count statistics.

10 years agoRestore functions of fuzzy_check.
Vsevolod Stakhov [Sat, 20 Dec 2014 16:23:05 +0000 (16:23 +0000)] 
Restore functions of fuzzy_check.

10 years agoImplement basic add and deletion.
Vsevolod Stakhov [Sat, 20 Dec 2014 14:33:53 +0000 (14:33 +0000)] 
Implement basic add and deletion.

10 years agoImplement direct checking.
Vsevolod Stakhov [Sat, 20 Dec 2014 13:40:35 +0000 (13:40 +0000)] 
Implement direct checking.

10 years agoFix old database conversion.
Vsevolod Stakhov [Sat, 20 Dec 2014 13:00:54 +0000 (13:00 +0000)] 
Fix old database conversion.

10 years agoForgot to replace.
Vsevolod Stakhov [Fri, 19 Dec 2014 23:38:48 +0000 (23:38 +0000)] 
Forgot to replace.

10 years agoAdd compatibility with old sqlite.
Vsevolod Stakhov [Fri, 19 Dec 2014 23:33:31 +0000 (23:33 +0000)] 
Add compatibility with old sqlite.

10 years agoFix travis rules.
Vsevolod Stakhov [Fri, 19 Dec 2014 23:27:06 +0000 (23:27 +0000)] 
Fix travis rules.

10 years agoFix SQL queries.
Vsevolod Stakhov [Fri, 19 Dec 2014 23:19:59 +0000 (23:19 +0000)] 
Fix SQL queries.

10 years agoAdd simple insertion statement.
Vsevolod Stakhov [Fri, 19 Dec 2014 16:58:55 +0000 (16:58 +0000)] 
Add simple insertion statement.

10 years agoAdd create database sql statements.
Vsevolod Stakhov [Fri, 19 Dec 2014 16:58:25 +0000 (16:58 +0000)] 
Add create database sql statements.

10 years agoImplement transactions.
Vsevolod Stakhov [Fri, 19 Dec 2014 16:46:06 +0000 (16:46 +0000)] 
Implement transactions.

10 years agoAdd prepared statements logic.
Vsevolod Stakhov [Fri, 19 Dec 2014 16:35:09 +0000 (16:35 +0000)] 
Add prepared statements logic.

10 years agoAdd conversion function.
Vsevolod Stakhov [Fri, 19 Dec 2014 16:01:35 +0000 (16:01 +0000)] 
Add conversion function.

10 years agoAdd backend open.
Vsevolod Stakhov [Fri, 19 Dec 2014 15:45:11 +0000 (15:45 +0000)] 
Add backend open.

10 years agoStart total rework of fuzzy_storage.
Vsevolod Stakhov [Fri, 19 Dec 2014 14:35:31 +0000 (14:35 +0000)] 
Start total rework of fuzzy_storage.

10 years agoSeveral improvements to the shingles calculations.
Vsevolod Stakhov [Fri, 19 Dec 2014 12:15:34 +0000 (12:15 +0000)] 
Several improvements to the shingles calculations.

10 years agoCompile external tools with optimizations.
Vsevolod Stakhov [Fri, 19 Dec 2014 10:55:28 +0000 (10:55 +0000)] 
Compile external tools with optimizations.

10 years agoResize hashes array properly.
Vsevolod Stakhov [Fri, 19 Dec 2014 10:55:06 +0000 (10:55 +0000)] 
Resize hashes array properly.

10 years agoMeasure time for shingles generation.
Vsevolod Stakhov [Fri, 19 Dec 2014 10:53:22 +0000 (10:53 +0000)] 
Measure time for shingles generation.

10 years agoUse blake2 as KDF instead of sha256.
Vsevolod Stakhov [Thu, 18 Dec 2014 21:05:02 +0000 (21:05 +0000)] 
Use blake2 as KDF instead of sha256.

10 years agoAdd blake2 hash contrib code.
Vsevolod Stakhov [Thu, 18 Dec 2014 20:58:17 +0000 (20:58 +0000)] 
Add blake2 hash contrib code.