]> source.dussan.org Git - rspamd.git/log
rspamd.git
12 years ago* Initial implementation of threaded kvstorage worker.
Vsevolod Stakhov [Thu, 27 Oct 2011 15:19:32 +0000 (18:19 +0300)]
* Initial implementation of threaded kvstorage worker.

12 years ago* Use event_base thread safe API to allow parallelism based on threads
Vsevolod Stakhov [Wed, 26 Oct 2011 17:13:19 +0000 (21:13 +0400)]
* Use event_base thread safe API to allow parallelism based on threads

12 years agoDo not try to validate empty headers.
Vsevolod Stakhov [Tue, 25 Oct 2011 17:20:49 +0000 (21:20 +0400)]
Do not try to validate empty headers.
Write symbols to log in case of HTTP/Json output.

12 years ago* Implement initial version of asynced kvstorage API
Vsevolod Stakhov [Mon, 24 Oct 2011 17:47:39 +0000 (20:47 +0300)]
* Implement initial version of asynced kvstorage API

12 years agoFix siginfo detection code.
Vsevolod Stakhov [Mon, 24 Oct 2011 15:30:43 +0000 (18:30 +0300)]
Fix siginfo detection code.

12 years ago* Implement kvstorage synced API
Vsevolod Stakhov [Mon, 24 Oct 2011 14:14:25 +0000 (17:14 +0300)]
* Implement kvstorage synced API

12 years agoFix bug in compare_content_param function.
Vsevolod Stakhov [Mon, 24 Oct 2011 13:52:19 +0000 (16:52 +0300)]
Fix bug in compare_content_param function.

13 years ago* Add skeleton of libkvstorage API.
Vsevolod Stakhov [Tue, 18 Oct 2011 16:36:22 +0000 (19:36 +0300)]
* Add skeleton of libkvstorage API.

13 years agoAdd universal utility function for creating stream sockets.
Vsevolod Stakhov [Tue, 18 Oct 2011 14:56:51 +0000 (17:56 +0300)]
Add universal utility function for creating stream sockets.

13 years agoMove librspamdclient to separate directory.
Vsevolod Stakhov [Tue, 18 Oct 2011 13:48:59 +0000 (16:48 +0300)]
Move librspamdclient to separate directory.

--HG--
rename : lib/librspamdclient.c => lib/client/librspamdclient.c
rename : lib/librspamdclient.h => lib/client/librspamdclient.h

13 years agoAdd initialization for kvstorages after configuration.
Vsevolod Stakhov [Tue, 18 Oct 2011 13:20:09 +0000 (16:20 +0300)]
Add initialization for kvstorages after configuration.

13 years ago* Add configuration utils for kvstorage
Vsevolod Stakhov [Mon, 17 Oct 2011 18:04:29 +0000 (21:04 +0300)]
* Add configuration utils for kvstorage

13 years agoAdd ability to register subparsers inside main XML config parser.
Vsevolod Stakhov [Mon, 17 Oct 2011 12:08:43 +0000 (15:08 +0300)]
Add ability to register subparsers inside main XML config parser.

13 years agoFix deinstall/install targets for building of FreeBSD port.
Vsevolod Stakhov [Mon, 17 Oct 2011 11:24:28 +0000 (14:24 +0300)]
Fix deinstall/install targets for building of FreeBSD port.

13 years agoFix build under Solaris10. Reported in https://bitbucket.org/vstakhov/rspamd/issue...
Vsevolod Stakhov [Mon, 17 Oct 2011 11:19:38 +0000 (14:19 +0300)]
Fix build under Solaris10. Reported in https://bitbucket.org/vstakhov/rspamd/issue/21/rspamd-solaris10-x86-openindiana

13 years agoCheck utf8 characters before gregex checks as they assume input to be a utf8 valid...
Vsevolod Stakhov [Mon, 17 Oct 2011 11:17:00 +0000 (14:17 +0300)]
Check utf8 characters before gregex checks as they assume input to be a utf8 valid string.

13 years agoRemove debug.
Vsevolod Stakhov [Fri, 14 Oct 2011 18:23:59 +0000 (21:23 +0300)]
Remove debug.

13 years agoFix stupid bug with lua stack corruption.
Vsevolod Stakhov [Fri, 14 Oct 2011 18:22:29 +0000 (21:22 +0300)]
Fix stupid bug with lua stack corruption.

13 years agoRemove some warnings.
Vsevolod Stakhov [Fri, 14 Oct 2011 16:06:02 +0000 (19:06 +0300)]
Remove some warnings.

13 years ago* Add ordinary hash and radix tree as kv cache implementations
Vsevolod Stakhov [Fri, 14 Oct 2011 12:39:53 +0000 (15:39 +0300)]
* Add ordinary hash and radix tree as kv cache implementations

13 years agoAdd make_socketpair utility function.
Vsevolod Stakhov [Thu, 13 Oct 2011 11:32:37 +0000 (15:32 +0400)]
Add make_socketpair utility function.

13 years ago* Initial implementation of key-value storage
Vsevolod Stakhov [Tue, 11 Oct 2011 15:39:38 +0000 (19:39 +0400)]
* Initial implementation of key-value storage
Detect and link against bdb
Change version to 0.4.5

13 years agoAdded tag 0.4.4 for changeset 398802e77f9f
Vsevolod Stakhov [Mon, 10 Oct 2011 14:03:57 +0000 (18:03 +0400)]
Added tag 0.4.4 for changeset 398802e77f9f

13 years ago* LRU cache now is capable to get custom insert and delete functions that would allow... 0.4.4
Vsevolod Stakhov [Mon, 10 Oct 2011 12:42:07 +0000 (16:42 +0400)]
* LRU cache now is capable to get custom insert and delete functions that would allow to use custom storage engines for it

13 years agoTry to check spf domain before adding it to LRU hash.
Vsevolod Stakhov [Thu, 6 Oct 2011 13:00:49 +0000 (17:00 +0400)]
Try to check spf domain before adding it to LRU hash.
Make libutil functions ported from BSD compatible with libbsd in linux.

13 years agoCheck if internet address list is parsed correctly.
Vsevolod Stakhov [Tue, 4 Oct 2011 11:57:23 +0000 (15:57 +0400)]
Check if internet address list is parsed correctly.

13 years agoVersion 0.4.4.
Vsevolod Stakhov [Thu, 29 Sep 2011 12:57:21 +0000 (16:57 +0400)]
Version 0.4.4.

13 years ago* Support for IDN urls
Vsevolod Stakhov [Tue, 23 Aug 2011 17:36:36 +0000 (21:36 +0400)]
* Support for IDN urls
* DNS resolver now can handle international domains correctly

13 years ago* Fix DNS PTR resolving
Vsevolod Stakhov [Mon, 22 Aug 2011 16:31:58 +0000 (20:31 +0400)]
* Fix DNS PTR resolving
* Add ability to resolve ip in once_received plugin to avoid temporary DNS fails of SMTP resolving

13 years agoFix process headers with ')' last symbol.
Vsevolod Stakhov [Thu, 18 Aug 2011 14:49:49 +0000 (18:49 +0400)]
Fix process headers with ')' last symbol.

13 years agoDamn.
Vsevolod Stakhov [Thu, 18 Aug 2011 13:53:21 +0000 (17:53 +0400)]
Damn.

13 years agoJson fix.
Vsevolod Stakhov [Thu, 18 Aug 2011 13:51:23 +0000 (17:51 +0400)]
Json fix.

13 years agoFix to json output.
Vsevolod Stakhov [Thu, 18 Aug 2011 13:44:12 +0000 (17:44 +0400)]
Fix to json output.

13 years agoAdd more.
Vsevolod Stakhov [Thu, 18 Aug 2011 13:40:01 +0000 (17:40 +0400)]
Add more.

13 years agoFix http headers.
Vsevolod Stakhov [Thu, 18 Aug 2011 13:39:06 +0000 (17:39 +0400)]
Fix http headers.

13 years ago* Introduce new system of contexts initialization. It would be used for other things...
Vsevolod Stakhov [Thu, 18 Aug 2011 13:32:55 +0000 (17:32 +0400)]
* Introduce new system of contexts initialization. It would be used for other things in rspamd as well in future.
Ignore unknown headers in case of http.

13 years agoMake lexgrog happy with rspamd man pages.
Vsevolod Stakhov [Wed, 17 Aug 2011 15:35:39 +0000 (19:35 +0400)]
Make lexgrog happy with rspamd man pages.

13 years agoInsert symbols counting their weights with respect to grow_factor.
Vsevolod Stakhov [Wed, 17 Aug 2011 11:58:30 +0000 (15:58 +0400)]
Insert symbols counting their weights with respect to grow_factor.

13 years agoStupid bug with learning and task destroying.
Vsevolod Stakhov [Tue, 16 Aug 2011 10:36:40 +0000 (14:36 +0400)]
Stupid bug with learning and task destroying.

13 years agoFix output for spamc proto.
Vsevolod Stakhov [Mon, 15 Aug 2011 13:59:52 +0000 (17:59 +0400)]
Fix output for spamc proto.

13 years agoAdded tag 0.4.3 for changeset 44d02babaaea
Vsevolod Stakhov [Fri, 12 Aug 2011 12:53:19 +0000 (16:53 +0400)]
Added tag 0.4.3 for changeset 44d02babaaea

13 years agoFix critical bug with lua stack cleaning that caused heavy memory leaks. 0.4.3
Vsevolod Stakhov [Fri, 12 Aug 2011 12:53:14 +0000 (16:53 +0400)]
Fix critical bug with lua stack cleaning that caused heavy memory leaks.
Update to 0.4.3.

13 years ago* Make hash traversing more safely
Vsevolod Stakhov [Thu, 11 Aug 2011 10:57:35 +0000 (14:57 +0400)]
* Make hash traversing more safely

13 years agoMake buffers non-static.
Vsevolod Stakhov [Wed, 10 Aug 2011 14:01:34 +0000 (18:01 +0400)]
Make buffers non-static.

13 years ago* Make librspamdclient thread-safe
Vsevolod Stakhov [Wed, 10 Aug 2011 14:00:16 +0000 (18:00 +0400)]
* Make librspamdclient thread-safe

13 years agoAdd LOCALSTATES_PREFIX variable for setting where should be runtime files for rspamd.
Vsevolod Stakhov [Mon, 8 Aug 2011 13:20:34 +0000 (17:20 +0400)]
Add LOCALSTATES_PREFIX variable for setting where should be runtime files for rspamd.

Suggested by: Vasiliy G. Tolstov

13 years agoAdded tag 0.4.2 for changeset fc8a4134bfcc
Vsevolod Stakhov [Fri, 5 Aug 2011 11:19:41 +0000 (15:19 +0400)]
Added tag 0.4.2 for changeset fc8a4134bfcc

13 years agoMore checks in lua plugins. 0.4.2
Vsevolod Stakhov [Fri, 5 Aug 2011 11:11:03 +0000 (15:11 +0400)]
More checks in lua plugins.

13 years agoMake hash traversing more safe by using reference count.
Vsevolod Stakhov [Fri, 5 Aug 2011 10:52:21 +0000 (14:52 +0400)]
Make hash traversing more safe by using reference count.
Update to 0.4.2

13 years agoAnother one.
Vsevolod Stakhov [Thu, 4 Aug 2011 16:46:03 +0000 (20:46 +0400)]
Another one.

13 years agoAnother bad read detected.
Vsevolod Stakhov [Thu, 4 Aug 2011 16:43:06 +0000 (20:43 +0400)]
Another bad read detected.

13 years agoFix access to already freed memory.
Vsevolod Stakhov [Thu, 4 Aug 2011 16:41:05 +0000 (20:41 +0400)]
Fix access to already freed memory.
Remove assert.

13 years agoFix signness in arithmetic operations.
Vsevolod Stakhov [Thu, 4 Aug 2011 16:31:24 +0000 (20:31 +0400)]
Fix signness in arithmetic operations.

13 years agoSome improvement in building for unknown systems.
Vsevolod Stakhov [Wed, 3 Aug 2011 14:30:25 +0000 (18:30 +0400)]
Some improvement in building for unknown systems.

13 years agoMake DNS requests with unique id.
Vsevolod Stakhov [Mon, 1 Aug 2011 15:53:27 +0000 (19:53 +0400)]
Make DNS requests with unique id.

13 years agoFix dispatcher restoration (fix for controller's logic)
Vsevolod Stakhov [Mon, 1 Aug 2011 13:48:04 +0000 (17:48 +0400)]
Fix dispatcher restoration (fix for controller's logic)

13 years agoFix controller stages and debug info.
Vsevolod Stakhov [Mon, 1 Aug 2011 11:32:45 +0000 (15:32 +0400)]
Fix controller stages and debug info.
Handle timeouts in librspamdclient correctly.

13 years agoAnother installation paths fix.
Vsevolod Stakhov [Fri, 29 Jul 2011 21:34:24 +0000 (01:34 +0400)]
Another installation paths fix.

13 years agoInstall files and directories respecting DESTDIR environment variable.
Vsevolod Stakhov [Fri, 29 Jul 2011 21:14:03 +0000 (01:14 +0400)]
Install files and directories respecting DESTDIR environment variable.
Install sample config fgom binary dir.

13 years agoAnother fix for out-source build.
Vsevolod Stakhov [Fri, 29 Jul 2011 20:14:57 +0000 (00:14 +0400)]
Another fix for out-source build.
Unbreak FreeBSD build.

13 years agoRemove legacy rpm spec.
Vsevolod Stakhov [Fri, 29 Jul 2011 16:44:05 +0000 (20:44 +0400)]
Remove legacy rpm spec.

13 years ago* Fix build under CentOS 5 with old glib 2.12
Vsevolod Stakhov [Fri, 29 Jul 2011 16:35:00 +0000 (20:35 +0400)]
* Fix build under CentOS 5 with old glib 2.12
* Fix build of rspamd with CMAKE_BINARY_DIR differs from CMAKE_SOURCE_DIR
Rework include style.

13 years agoFix for *BSD.
Vsevolod Stakhov [Tue, 26 Jul 2011 14:08:18 +0000 (18:08 +0400)]
Fix for *BSD.

13 years agoAdded tag 0.4.1 for changeset 17edc13bc56a
Vsevolod Stakhov [Tue, 26 Jul 2011 14:03:54 +0000 (18:03 +0400)]
Added tag 0.4.1 for changeset 17edc13bc56a

13 years agoUpdate a sample config file. 0.4.1
Vsevolod Stakhov [Tue, 26 Jul 2011 13:59:16 +0000 (17:59 +0400)]
Update a sample config file.
Set version to 0.4.1.

13 years ago* Add option max_size for regexp module to skip expensive regexp on long messages
Vsevolod Stakhov [Tue, 26 Jul 2011 13:37:19 +0000 (17:37 +0400)]
* Add option max_size for regexp module to skip expensive regexp on long messages

13 years ago* Add max_tokens options to avoid classifying and learning with too much tokens from...
Vsevolod Stakhov [Tue, 26 Jul 2011 12:57:36 +0000 (16:57 +0400)]
* Add max_tokens options to avoid classifying and learning with too much tokens from one message.
Fix stupid memory leakage on client's timeout.

13 years agoAnother 'proper' place.
Vsevolod Stakhov [Tue, 26 Jul 2011 11:45:21 +0000 (15:45 +0400)]
Another 'proper' place.

13 years agoMove hash table creation to the proper place.
Vsevolod Stakhov [Tue, 26 Jul 2011 11:41:25 +0000 (15:41 +0400)]
Move hash table creation to the proper place.

13 years agoFix very bad bug in a memory pool allocator.
Vsevolod Stakhov [Tue, 26 Jul 2011 11:32:44 +0000 (15:32 +0400)]
Fix very bad bug in a memory pool allocator.
Speed up inserting symbols by hashing them.

13 years ago* Implement max tasks per worker setting
Vsevolod Stakhov [Tue, 26 Jul 2011 10:16:29 +0000 (14:16 +0400)]
* Implement max tasks per worker setting

13 years agoFix up another event related problem.
Vsevolod Stakhov [Mon, 25 Jul 2011 21:37:38 +0000 (01:37 +0400)]
Fix up another event related problem.

13 years agoZero memory of pool allocator statistic.
Vsevolod Stakhov [Mon, 25 Jul 2011 13:43:30 +0000 (17:43 +0400)]
Zero memory of pool allocator statistic.

13 years agoFix coredumps when learning message with one empty part.
Vsevolod Stakhov [Mon, 25 Jul 2011 11:45:10 +0000 (15:45 +0400)]
Fix coredumps when learning message with one empty part.

13 years agoAdded tag 0.4.0 for changeset f04885bd268e
Vsevolod Stakhov [Fri, 22 Jul 2011 12:00:51 +0000 (16:00 +0400)]
Added tag 0.4.0 for changeset f04885bd268e

13 years agoFix for libevent. 0.4.0
Vsevolod Stakhov [Fri, 22 Jul 2011 11:58:47 +0000 (15:58 +0400)]
Fix for libevent.

13 years agoWrite error about too few tokens during learning.
Vsevolod Stakhov [Fri, 22 Jul 2011 11:51:31 +0000 (15:51 +0400)]
Write error about too few tokens during learning.

13 years agoIncrease buffer for output.
Vsevolod Stakhov [Fri, 22 Jul 2011 11:50:09 +0000 (15:50 +0400)]
Increase buffer for output.

13 years agoAdded tag 0.4.0 for changeset c52f190b0592
Vsevolod Stakhov [Fri, 22 Jul 2011 11:30:08 +0000 (15:30 +0400)]
Added tag 0.4.0 for changeset c52f190b0592

13 years agoAdd workaround for clang under linux.
Vsevolod Stakhov [Thu, 21 Jul 2011 13:35:29 +0000 (17:35 +0400)]
Add workaround for clang under linux.
Fix problems found by static analyzing.

13 years agoAnother fix to avoid race with settings - add reference counter.
Vsevolod Stakhov [Thu, 21 Jul 2011 12:09:27 +0000 (16:09 +0400)]
Another fix to avoid race with settings - add reference counter.

13 years ago* Add start script for red hat compatible systems
Vsevolod Stakhov [Wed, 20 Jul 2011 15:35:07 +0000 (19:35 +0400)]
* Add start script for red hat compatible systems
Add descriptions for some rspamd API functions (no functional changes).

--HG--
rename : linux/rspamd => linux/rspamd_debian.in

13 years agoRework http chunked encoding parsing.
Vsevolod Stakhov [Wed, 20 Jul 2011 12:07:06 +0000 (16:07 +0400)]
Rework http chunked encoding parsing.

13 years agoDo not try to use information about dispatcher after callback fails (found by valgrind).
Vsevolod Stakhov [Tue, 19 Jul 2011 16:09:18 +0000 (20:09 +0400)]
Do not try to use information about dispatcher after callback fails (found by valgrind).

13 years ago* Add classifiers pre-selection script
Vsevolod Stakhov [Tue, 19 Jul 2011 13:51:28 +0000 (17:51 +0400)]
* Add classifiers pre-selection script

13 years agoFix coredumps on some specific messages with specific urls.
Vsevolod Stakhov [Tue, 19 Jul 2011 13:01:17 +0000 (17:01 +0400)]
Fix coredumps on some specific messages with specific urls.
Fix coredumps while closing log file.
Fix parsing of chunked HTTP replies.

13 years agoRef hash table at settings loading.
Vsevolod Stakhov [Mon, 18 Jul 2011 14:37:12 +0000 (18:37 +0400)]
Ref hash table at settings loading.

13 years agoFix statfiles class determination euristic.
Vsevolod Stakhov [Mon, 18 Jul 2011 13:55:27 +0000 (17:55 +0400)]
Fix statfiles class determination euristic.
Fix call of classifier pre-callback.

13 years agoFix textpart:get_language lua function.
Vsevolod Stakhov [Mon, 18 Jul 2011 13:23:27 +0000 (17:23 +0400)]
Fix textpart:get_language lua function.

13 years agoCreate statfiles using learn_spam function for bayes classifier.
Vsevolod Stakhov [Mon, 18 Jul 2011 13:15:33 +0000 (17:15 +0400)]
Create statfiles using learn_spam function for bayes classifier.
Fix call of pre callbacks for a classifier.

13 years agoUse event_set correctly after event_del.
Vsevolod Stakhov [Mon, 18 Jul 2011 12:54:48 +0000 (16:54 +0400)]
Use event_set correctly after event_del.

13 years agoFix bug with data corruption during settings application.
Vsevolod Stakhov [Mon, 18 Jul 2011 11:32:39 +0000 (15:32 +0400)]
Fix bug with data corruption during settings application.

13 years agoBegin to write normal and updated default configuration.
Vsevolod Stakhov [Fri, 15 Jul 2011 14:56:47 +0000 (18:56 +0400)]
Begin to write normal and updated default configuration.

--HG--
rename : rspamd.xml.sample => conf/rspamd-basic.xml.in

13 years agoAnother fix for comparing parts without content - two empty parts are equal.
Vsevolod Stakhov [Thu, 14 Jul 2011 15:58:05 +0000 (19:58 +0400)]
Another fix for comparing parts without content - two empty parts are equal.

13 years agoFix coredump on messages with one url only.
Vsevolod Stakhov [Thu, 14 Jul 2011 15:47:56 +0000 (19:47 +0400)]
Fix coredump on messages with one url only.

13 years agoFix core dumps when no symbols are found in a message.
Vsevolod Stakhov [Thu, 14 Jul 2011 14:01:09 +0000 (18:01 +0400)]
Fix core dumps when no symbols are found in a message.

13 years ago* Add learn_spam/learn_ham interface to librspamdclient and to rspamc
Vsevolod Stakhov [Thu, 14 Jul 2011 13:48:51 +0000 (17:48 +0400)]
* Add learn_spam/learn_ham interface to librspamdclient and to rspamc
* Improve logic of io dispatcher restoration
Remove correction factor from bayes as it leads to classify errors.

13 years agoAdjust interval.
Vsevolod Stakhov [Thu, 14 Jul 2011 11:10:23 +0000 (15:10 +0400)]
Adjust interval.

13 years ago* Remove completion logic from controller: it is hardly used but breaks new commands...
Vsevolod Stakhov [Thu, 14 Jul 2011 07:31:09 +0000 (11:31 +0400)]
* Remove completion logic from controller: it is hardly used but breaks new commands logic

13 years agoFix multiply compare_parts_distance calls.
Vsevolod Stakhov [Thu, 14 Jul 2011 07:17:34 +0000 (11:17 +0400)]
Fix multiply compare_parts_distance calls.