]>
source.dussan.org Git - rspamd.git/log
Vsevolod Stakhov [Wed, 7 Dec 2011 12:07:03 +0000 (15:07 +0300)]
Fix stupid glib error with G_REGEX_RAW flag which is actually ~PCRE_UTF8.
Vsevolod Stakhov [Tue, 6 Dec 2011 15:39:58 +0000 (18:39 +0300)]
Remove dependency on deprecated Digest::SHA256.
Vsevolod Stakhov [Thu, 1 Dec 2011 15:32:42 +0000 (18:32 +0300)]
* Add <no_overwrite> flag for keystorage preventing from overwriting keys (works for cryptographic keys).
* Add <ref> flag for file backend that enables reference count for items in this backend.
Vsevolod Stakhov [Thu, 1 Dec 2011 14:03:00 +0000 (17:03 +0300)]
Ignore something that looks like email but has no username.
Vsevolod Stakhov [Wed, 30 Nov 2011 16:32:25 +0000 (19:32 +0300)]
Add -i flag allowing to run workers as root.
Vsevolod Stakhov [Wed, 30 Nov 2011 16:14:26 +0000 (19:14 +0300)]
* Fix reopening of logs in case of privilleged run.
Vsevolod Stakhov [Wed, 30 Nov 2011 14:48:08 +0000 (17:48 +0300)]
Check for SIGUSR1 by libevent to avoid signals collisions.
Remove greylist_storage as it was never used and is actually replaced with basic kvstorage.
Vsevolod Stakhov [Wed, 30 Nov 2011 12:11:54 +0000 (15:11 +0300)]
Expire an element if forced expire is required.
Vsevolod Stakhov [Mon, 28 Nov 2011 14:52:16 +0000 (17:52 +0300)]
Fix log_urls setting.
Vsevolod Stakhov [Mon, 28 Nov 2011 13:23:21 +0000 (16:23 +0300)]
Fix race condition.
Vsevolod Stakhov [Fri, 25 Nov 2011 16:31:59 +0000 (19:31 +0300)]
Try to fix a deadlock.
Vsevolod Stakhov [Fri, 25 Nov 2011 15:50:28 +0000 (18:50 +0300)]
Fix variable name.
Vsevolod Stakhov [Fri, 25 Nov 2011 14:01:10 +0000 (17:01 +0300)]
Fix git id detection.
Vsevolod Stakhov [Fri, 25 Nov 2011 13:15:00 +0000 (16:15 +0300)]
Fix build id detecting.
Vsevolod Stakhov [Thu, 24 Nov 2011 17:11:27 +0000 (20:11 +0300)]
Another fix to locking logic.
Vsevolod Stakhov [Thu, 24 Nov 2011 14:24:37 +0000 (17:24 +0300)]
* Add <fsync> option to turn on explicit fsync for file backend.
Vsevolod Stakhov [Thu, 24 Nov 2011 13:59:58 +0000 (16:59 +0300)]
Rework kvstorage locking system.
Vsevolod Stakhov [Wed, 23 Nov 2011 11:27:36 +0000 (14:27 +0300)]
Add reopenlog ability for debian scripts.
Vsevolod Stakhov [Tue, 22 Nov 2011 16:44:56 +0000 (19:44 +0300)]
Fix DNS hashing issue.
Vsevolod Stakhov [Mon, 21 Nov 2011 14:58:25 +0000 (17:58 +0300)]
Added tag 0.4.5 for changeset
f57a74a7a068
Vsevolod Stakhov [Mon, 21 Nov 2011 14:52:54 +0000 (17:52 +0300)]
Skip group addresses.
Vsevolod Stakhov [Mon, 21 Nov 2011 14:20:10 +0000 (17:20 +0300)]
Small fixes to start script.
Vsevolod Stakhov [Mon, 21 Nov 2011 13:37:46 +0000 (16:37 +0300)]
* Add debian package information.
Vsevolod Stakhov [Mon, 21 Nov 2011 12:19:16 +0000 (15:19 +0300)]
Do fsync once per queue of operations.
Vsevolod Stakhov [Thu, 17 Nov 2011 18:05:54 +0000 (21:05 +0300)]
* Implement binary safe keys.
* Use more fast hashing.
Vsevolod Stakhov [Thu, 17 Nov 2011 16:10:25 +0000 (19:10 +0300)]
Avoid using base64 as it can contain path symbols, use hex instead.
Vsevolod Stakhov [Thu, 17 Nov 2011 15:34:02 +0000 (18:34 +0300)]
* Implement file backend.
Vsevolod Stakhov [Wed, 16 Nov 2011 17:13:26 +0000 (20:13 +0300)]
Merge with github.
Vsevolod Stakhov [Wed, 16 Nov 2011 17:11:26 +0000 (20:11 +0300)]
More fixes to expire algorithm.
Vsevolod Stakhov [Tue, 15 Nov 2011 17:57:22 +0000 (20:57 +0300)]
Merge.
Vsevolod Stakhov [Tue, 15 Nov 2011 17:55:52 +0000 (20:55 +0300)]
* Add initial skeleton of file based backend
Vsevolod Stakhov [Fri, 11 Nov 2011 17:41:27 +0000 (21:41 +0400)]
Fix static build.
Vsevolod Stakhov [Fri, 11 Nov 2011 15:42:28 +0000 (18:42 +0300)]
Fix static build.
Vsevolod Stakhov [Thu, 10 Nov 2011 18:03:04 +0000 (21:03 +0300)]
* Add incr and decr commands to kvstorage.
* Add integers detection inside kvstorage.
Vsevolod Stakhov [Wed, 9 Nov 2011 16:30:57 +0000 (19:30 +0300)]
* Support redis unified protocol.
Vsevolod Stakhov [Tue, 8 Nov 2011 15:47:37 +0000 (18:47 +0300)]
Implement lazy backend writing using sync_ops = 0.
Allways wait for kvstorage worker to prevent data corruption.
Vsevolod Stakhov [Tue, 8 Nov 2011 15:28:37 +0000 (18:28 +0300)]
Forgot to merge.
Vsevolod Stakhov [Tue, 8 Nov 2011 15:27:17 +0000 (18:27 +0300)]
Fix radix cache.
Vsevolod Stakhov [Mon, 7 Nov 2011 23:47:39 +0000 (02:47 +0300)]
Imlement 'select' and 'save' commands.
Vsevolod Stakhov [Mon, 7 Nov 2011 17:03:35 +0000 (20:03 +0300)]
Fix main rspamd worker to work with buffer.c changes.
Vsevolod Stakhov [Mon, 7 Nov 2011 16:58:54 +0000 (19:58 +0300)]
Release read lock lately.
Vsevolod Stakhov [Mon, 7 Nov 2011 16:39:09 +0000 (19:39 +0300)]
Another fix to expire logic.
Try to hold read lock more time (still need reworking).
Vsevolod Stakhov [Mon, 7 Nov 2011 16:24:04 +0000 (19:24 +0300)]
Fix stupid errors while trying to parse NULL address list.
Vsevolod Stakhov [Mon, 7 Nov 2011 15:15:54 +0000 (18:15 +0300)]
* Add judy storage for fast caching.
Fix LRU expiration.
Vsevolod Stakhov [Mon, 7 Nov 2011 13:16:29 +0000 (16:16 +0300)]
Fix expire and insert.
Vsevolod Stakhov [Mon, 7 Nov 2011 00:20:42 +0000 (03:20 +0300)]
* Implement sync command for manual synchronization with backend.
Vsevolod Stakhov [Fri, 4 Nov 2011 16:56:13 +0000 (19:56 +0300)]
Fix misprint.
Vsevolod Stakhov [Fri, 4 Nov 2011 15:48:07 +0000 (18:48 +0300)]
* Support redis API emulation
Vsevolod Stakhov [Thu, 3 Nov 2011 14:09:04 +0000 (17:09 +0300)]
Do not free elements that are still in cache.
Vsevolod Stakhov [Wed, 2 Nov 2011 17:49:17 +0000 (20:49 +0300)]
Do not try to mmap empty cache.
Vsevolod Stakhov [Wed, 2 Nov 2011 16:53:18 +0000 (19:53 +0300)]
Fix static build.
Vsevolod Stakhov [Wed, 2 Nov 2011 16:19:42 +0000 (19:19 +0300)]
Block signals in worker threads.
Vsevolod Stakhov [Wed, 2 Nov 2011 15:22:14 +0000 (18:22 +0300)]
Compatibility with old glib versions.
Vsevolod Stakhov [Wed, 2 Nov 2011 14:49:09 +0000 (17:49 +0300)]
* Implement sqlite3 backend for kvstorage.
Vsevolod Stakhov [Tue, 1 Nov 2011 18:39:54 +0000 (21:39 +0300)]
Store keys inside elements.
Vsevolod Stakhov [Tue, 1 Nov 2011 17:48:30 +0000 (20:48 +0300)]
Fixes to BDB initialization.
Vsevolod Stakhov [Tue, 1 Nov 2011 16:48:08 +0000 (19:48 +0300)]
* Add initial support of bdb backend
Vsevolod Stakhov [Tue, 1 Nov 2011 14:29:31 +0000 (17:29 +0300)]
* Add array operations
Fix memory freeing for elements in kvstorage.
Vsevolod Stakhov [Mon, 31 Oct 2011 17:55:54 +0000 (20:55 +0300)]
* Significate performance improving by vectorizing IO output (about 4 times for kv storage).
Vsevolod Stakhov [Mon, 31 Oct 2011 17:02:55 +0000 (20:02 +0300)]
* Fix threading in kvstorage.
Rspamd now can detect and work with libevent-2.
Vsevolod Stakhov [Mon, 31 Oct 2011 15:45:29 +0000 (18:45 +0300)]
Add basic locking.
Vsevolod Stakhov [Mon, 31 Oct 2011 15:37:41 +0000 (18:37 +0300)]
* Implement basic functionality of key value storage
Vsevolod Stakhov [Thu, 27 Oct 2011 15:19:32 +0000 (18:19 +0300)]
* Initial implementation of threaded kvstorage worker.
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
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.
Vsevolod Stakhov [Mon, 24 Oct 2011 17:47:39 +0000 (20:47 +0300)]
* Implement initial version of asynced kvstorage API
Vsevolod Stakhov [Mon, 24 Oct 2011 15:30:43 +0000 (18:30 +0300)]
Fix siginfo detection code.
Vsevolod Stakhov [Mon, 24 Oct 2011 14:14:25 +0000 (17:14 +0300)]
* Implement kvstorage synced API
Vsevolod Stakhov [Mon, 24 Oct 2011 13:52:19 +0000 (16:52 +0300)]
Fix bug in compare_content_param function.
Vsevolod Stakhov [Tue, 18 Oct 2011 16:36:22 +0000 (19:36 +0300)]
* Add skeleton of libkvstorage API.
Vsevolod Stakhov [Tue, 18 Oct 2011 14:56:51 +0000 (17:56 +0300)]
Add universal utility function for creating stream sockets.
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
Vsevolod Stakhov [Tue, 18 Oct 2011 13:20:09 +0000 (16:20 +0300)]
Add initialization for kvstorages after configuration.
Vsevolod Stakhov [Mon, 17 Oct 2011 18:04:29 +0000 (21:04 +0300)]
* Add configuration utils for kvstorage
Vsevolod Stakhov [Mon, 17 Oct 2011 12:08:43 +0000 (15:08 +0300)]
Add ability to register subparsers inside main XML config parser.
Vsevolod Stakhov [Mon, 17 Oct 2011 11:24:28 +0000 (14:24 +0300)]
Fix deinstall/install targets for building of FreeBSD port.
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
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.
Vsevolod Stakhov [Fri, 14 Oct 2011 18:23:59 +0000 (21:23 +0300)]
Remove debug.
Vsevolod Stakhov [Fri, 14 Oct 2011 18:22:29 +0000 (21:22 +0300)]
Fix stupid bug with lua stack corruption.
Vsevolod Stakhov [Fri, 14 Oct 2011 16:06:02 +0000 (19:06 +0300)]
Remove some warnings.
Vsevolod Stakhov [Fri, 14 Oct 2011 12:39:53 +0000 (15:39 +0300)]
* Add ordinary hash and radix tree as kv cache implementations
Vsevolod Stakhov [Thu, 13 Oct 2011 11:32:37 +0000 (15:32 +0400)]
Add make_socketpair utility function.
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
Vsevolod Stakhov [Mon, 10 Oct 2011 14:03:57 +0000 (18:03 +0400)]
Added tag 0.4.4 for changeset
398802e77f9f
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
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.
Vsevolod Stakhov [Tue, 4 Oct 2011 11:57:23 +0000 (15:57 +0400)]
Check if internet address list is parsed correctly.
Vsevolod Stakhov [Thu, 29 Sep 2011 12:57:21 +0000 (16:57 +0400)]
Version 0.4.4.
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
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
Vsevolod Stakhov [Thu, 18 Aug 2011 14:49:49 +0000 (18:49 +0400)]
Fix process headers with ')' last symbol.
Vsevolod Stakhov [Thu, 18 Aug 2011 13:53:21 +0000 (17:53 +0400)]
Damn.
Vsevolod Stakhov [Thu, 18 Aug 2011 13:51:23 +0000 (17:51 +0400)]
Json fix.
Vsevolod Stakhov [Thu, 18 Aug 2011 13:44:12 +0000 (17:44 +0400)]
Fix to json output.
Vsevolod Stakhov [Thu, 18 Aug 2011 13:40:01 +0000 (17:40 +0400)]
Add more.
Vsevolod Stakhov [Thu, 18 Aug 2011 13:39:06 +0000 (17:39 +0400)]
Fix http headers.
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.
Vsevolod Stakhov [Wed, 17 Aug 2011 15:35:39 +0000 (19:35 +0400)]
Make lexgrog happy with rspamd man pages.
Vsevolod Stakhov [Wed, 17 Aug 2011 11:58:30 +0000 (15:58 +0400)]
Insert symbols counting their weights with respect to grow_factor.