]> source.dussan.org Git - rspamd.git/log
rspamd.git
12 years agoAdopt rspamd for the next glib release.
Vsevolod Stakhov [Tue, 31 Jan 2012 16:59:10 +0000 (20:59 +0400)]
Adopt rspamd for the next glib release.
Fix several issues in threads handling inside keystorage.
Fix sigsuspend usage in keystorage.

12 years ago* Add support to process regexp in multiply threads by using thread pool.
Vsevolod Stakhov [Mon, 30 Jan 2012 18:26:25 +0000 (22:26 +0400)]
* Add support to process regexp in multiply threads by using thread pool.

12 years agoFix hashing in events library.
Vsevolod Stakhov [Fri, 20 Jan 2012 15:56:03 +0000 (19:56 +0400)]
Fix hashing in events library.

12 years ago* Introduce new system of worker's and modules initialization:
Vsevolod Stakhov [Mon, 16 Jan 2012 16:59:37 +0000 (20:59 +0400)]
* Introduce new system of worker's and modules initialization:
  - Removed legacy limitation of worker's types;
  - Using GQuarks to identify workers and modules;
  - Remove modules.sh script;
  - Add a common system of workers and modules;
  - Write management and configuration for new architecture.

12 years ago* Add AIO framework for linux io(3) interface.
Vsevolod Stakhov [Mon, 16 Jan 2012 13:36:22 +0000 (17:36 +0400)]
* Add AIO framework for linux io(3) interface.

12 years agoRestore std=c99 compiler flag.
Vsevolod Stakhov [Tue, 20 Dec 2011 16:14:29 +0000 (19:14 +0300)]
Restore std=c99 compiler flag.

12 years agoAdded tag 0.4.6 for changeset d2825fcdbb52
Vsevolod Stakhov [Tue, 20 Dec 2011 16:12:15 +0000 (19:12 +0300)]
Added tag 0.4.6 for changeset d2825fcdbb52

12 years agoMore cleanups and fixes for compiler warnings. 0.4.6
Vsevolod Stakhov [Tue, 20 Dec 2011 16:11:49 +0000 (19:11 +0300)]
More cleanups and fixes for compiler warnings.

12 years agoMake compiler happy in several cases, remove warnings.
Vsevolod Stakhov [Tue, 20 Dec 2011 14:11:39 +0000 (17:11 +0300)]
Make compiler happy in several cases, remove warnings.

12 years agoAdd an entry to debian/changelog.
Vsevolod Stakhov [Tue, 20 Dec 2011 13:21:41 +0000 (16:21 +0300)]
Add an entry to debian/changelog.

12 years agoAdd expire and whitelist options to ip_score plugin.
Vsevolod Stakhov [Fri, 16 Dec 2011 15:37:50 +0000 (18:37 +0300)]
Add expire and whitelist options to ip_score plugin.
Some fixes to expiration of keys (still need to be reworked however).

12 years ago* Add new plugin ip_score to set and get score for specified ip address.
Vsevolod Stakhov [Fri, 16 Dec 2011 15:22:31 +0000 (18:22 +0300)]
* Add new plugin ip_score to set and get score for specified ip address.

12 years agoAllow for post filters to register async events.
Vsevolod Stakhov [Fri, 16 Dec 2011 14:38:52 +0000 (17:38 +0300)]
Allow for post filters to register async events.
Some fixes to lua redis library.

12 years ago* Now it is possible to specify local functions to every callback of rspamd lua API,
Vsevolod Stakhov [Wed, 14 Dec 2011 17:41:34 +0000 (20:41 +0300)]
* Now it is possible to specify local functions to every callback of rspamd lua API,
  that will allow such things as passing different variables via lua closures
  mechanic.

Use config pool for configuration allocation in lua API to avoid leaks on config reload.

12 years agoDue to major changes in events system increase version.
Vsevolod Stakhov [Wed, 14 Dec 2011 16:36:23 +0000 (19:36 +0300)]
Due to major changes in events system increase version.

12 years agoDetect and use fallocate/posix_fallocate.
Vsevolod Stakhov [Wed, 14 Dec 2011 16:34:50 +0000 (19:34 +0300)]
Detect and use fallocate/posix_fallocate.

12 years ago* Finally get rid of stupid savepoints system and migrate to async events logic compl...
Vsevolod Stakhov [Wed, 14 Dec 2011 16:05:56 +0000 (19:05 +0300)]
* Finally get rid of stupid savepoints system and migrate to async events logic completely
Fix lua redis library.

12 years agoAdd another workaround for CentOS.
Vsevolod Stakhov [Wed, 14 Dec 2011 12:01:18 +0000 (15:01 +0300)]
Add another workaround for CentOS.

12 years agoMove some debug logic.
Vsevolod Stakhov [Wed, 14 Dec 2011 09:40:51 +0000 (12:40 +0300)]
Move some debug logic.

12 years agoFix build with system-wide libhiredis.
Vsevolod Stakhov [Tue, 13 Dec 2011 13:42:03 +0000 (16:42 +0300)]
Fix build with system-wide libhiredis.

12 years agoFIx built under RHEL and CentOS as they has too old sqlite.
Vsevolod Stakhov [Tue, 13 Dec 2011 13:10:16 +0000 (16:10 +0300)]
FIx built under RHEL and CentOS as they has too old sqlite.

12 years ago* Add lua bindings to hiredis library
Vsevolod Stakhov [Mon, 12 Dec 2011 17:14:49 +0000 (20:14 +0300)]
* Add lua bindings to hiredis library
Polish some comments.

12 years agoAdd detecting of libhiredis for communicating with kvstorage.
Vsevolod Stakhov [Fri, 9 Dec 2011 16:13:00 +0000 (19:13 +0300)]
Add detecting of libhiredis for communicating with kvstorage.
Add internal hiredis if it is not found in system.

12 years agoReorganize util.c as it should contain only common utilities.
Vsevolod Stakhov [Wed, 7 Dec 2011 16:06:41 +0000 (19:06 +0300)]
Reorganize util.c as it should contain only common utilities.
Libkvstorage client is now deprecated as I plan to replace it with hiredis library.

12 years agoIf message has no 'To/CC' headers do not try to count elements in nil table.
Vsevolod Stakhov [Wed, 7 Dec 2011 13:21:00 +0000 (16:21 +0300)]
If message has no 'To/CC' headers do not try to count elements in nil table.

12 years agoFix stupid glib error with G_REGEX_RAW flag which is actually ~PCRE_UTF8.
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.

12 years agoRemove dependency on deprecated Digest::SHA256.
Vsevolod Stakhov [Tue, 6 Dec 2011 15:39:58 +0000 (18:39 +0300)]
Remove dependency on deprecated Digest::SHA256.

12 years ago* Add <no_overwrite> flag for keystorage preventing from overwriting keys (works...
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.

12 years agoIgnore something that looks like email but has no username.
Vsevolod Stakhov [Thu, 1 Dec 2011 14:03:00 +0000 (17:03 +0300)]
Ignore something that looks like email but has no username.

12 years agoAdd -i flag allowing to run workers as root.
Vsevolod Stakhov [Wed, 30 Nov 2011 16:32:25 +0000 (19:32 +0300)]
Add -i flag allowing to run workers as root.

12 years ago* Fix reopening of logs in case of privilleged run.
Vsevolod Stakhov [Wed, 30 Nov 2011 16:14:26 +0000 (19:14 +0300)]
* Fix reopening of logs in case of privilleged run.

12 years agoCheck for SIGUSR1 by libevent to avoid signals collisions.
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.

12 years agoExpire an element if forced expire is required.
Vsevolod Stakhov [Wed, 30 Nov 2011 12:11:54 +0000 (15:11 +0300)]
Expire an element if forced expire is required.

13 years agoFix log_urls setting.
Vsevolod Stakhov [Mon, 28 Nov 2011 14:52:16 +0000 (17:52 +0300)]
Fix log_urls setting.

13 years agoFix race condition.
Vsevolod Stakhov [Mon, 28 Nov 2011 13:23:21 +0000 (16:23 +0300)]
Fix race condition.

13 years agoTry to fix a deadlock.
Vsevolod Stakhov [Fri, 25 Nov 2011 16:31:59 +0000 (19:31 +0300)]
Try to fix a deadlock.

13 years agoFix variable name.
Vsevolod Stakhov [Fri, 25 Nov 2011 15:50:28 +0000 (18:50 +0300)]
Fix variable name.

13 years agoFix git id detection.
Vsevolod Stakhov [Fri, 25 Nov 2011 14:01:10 +0000 (17:01 +0300)]
Fix git id detection.

13 years agoFix build id detecting.
Vsevolod Stakhov [Fri, 25 Nov 2011 13:15:00 +0000 (16:15 +0300)]
Fix build id detecting.

13 years agoAnother fix to locking logic.
Vsevolod Stakhov [Thu, 24 Nov 2011 17:11:27 +0000 (20:11 +0300)]
Another fix to locking logic.

13 years ago* Add <fsync> option to turn on explicit fsync for file backend.
Vsevolod Stakhov [Thu, 24 Nov 2011 14:24:37 +0000 (17:24 +0300)]
* Add <fsync> option to turn on explicit fsync for file backend.

13 years agoRework kvstorage locking system.
Vsevolod Stakhov [Thu, 24 Nov 2011 13:59:58 +0000 (16:59 +0300)]
Rework kvstorage locking system.

13 years agoAdd reopenlog ability for debian scripts.
Vsevolod Stakhov [Wed, 23 Nov 2011 11:27:36 +0000 (14:27 +0300)]
Add reopenlog ability for debian scripts.

13 years agoFix DNS hashing issue.
Vsevolod Stakhov [Tue, 22 Nov 2011 16:44:56 +0000 (19:44 +0300)]
Fix DNS hashing issue.

13 years agoAdded tag 0.4.5 for changeset f57a74a7a068
Vsevolod Stakhov [Mon, 21 Nov 2011 14:58:25 +0000 (17:58 +0300)]
Added tag 0.4.5 for changeset f57a74a7a068

13 years agoSkip group addresses. 0.4.5
Vsevolod Stakhov [Mon, 21 Nov 2011 14:52:54 +0000 (17:52 +0300)]
Skip group addresses.

13 years agoSmall fixes to start script.
Vsevolod Stakhov [Mon, 21 Nov 2011 14:20:10 +0000 (17:20 +0300)]
Small fixes to start script.

13 years ago* Add debian package information.
Vsevolod Stakhov [Mon, 21 Nov 2011 13:37:46 +0000 (16:37 +0300)]
* Add debian package information.

13 years agoDo fsync once per queue of operations.
Vsevolod Stakhov [Mon, 21 Nov 2011 12:19:16 +0000 (15:19 +0300)]
Do fsync once per queue of operations.

13 years ago* Implement binary safe keys.
Vsevolod Stakhov [Thu, 17 Nov 2011 18:05:54 +0000 (21:05 +0300)]
* Implement binary safe keys.
* Use more fast hashing.

13 years agoAvoid using base64 as it can contain path symbols, use hex instead.
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.

13 years ago* Implement file backend.
Vsevolod Stakhov [Thu, 17 Nov 2011 15:34:02 +0000 (18:34 +0300)]
* Implement file backend.

13 years agoMerge with github.
Vsevolod Stakhov [Wed, 16 Nov 2011 17:13:26 +0000 (20:13 +0300)]
Merge with github.

13 years agoMore fixes to expire algorithm.
Vsevolod Stakhov [Wed, 16 Nov 2011 17:11:26 +0000 (20:11 +0300)]
More fixes to expire algorithm.

13 years agoMerge.
Vsevolod Stakhov [Tue, 15 Nov 2011 17:57:22 +0000 (20:57 +0300)]
Merge.

13 years ago* Add initial skeleton of file based backend
Vsevolod Stakhov [Tue, 15 Nov 2011 17:55:52 +0000 (20:55 +0300)]
* Add initial skeleton of file based backend

13 years agoFix static build.
Vsevolod Stakhov [Fri, 11 Nov 2011 17:41:27 +0000 (21:41 +0400)]
Fix static build.

13 years agoFix static build.
Vsevolod Stakhov [Fri, 11 Nov 2011 15:42:28 +0000 (18:42 +0300)]
Fix static build.

13 years ago* Add incr and decr commands to kvstorage.
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.

13 years ago* Support redis unified protocol.
Vsevolod Stakhov [Wed, 9 Nov 2011 16:30:57 +0000 (19:30 +0300)]
* Support redis unified protocol.

13 years agoImplement lazy backend writing using sync_ops = 0.
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.

13 years agoForgot to merge.
Vsevolod Stakhov [Tue, 8 Nov 2011 15:28:37 +0000 (18:28 +0300)]
Forgot to merge.

13 years agoFix radix cache.
Vsevolod Stakhov [Tue, 8 Nov 2011 15:27:17 +0000 (18:27 +0300)]
Fix radix cache.

13 years agoImlement 'select' and 'save' commands.
Vsevolod Stakhov [Mon, 7 Nov 2011 23:47:39 +0000 (02:47 +0300)]
Imlement 'select' and 'save' commands.

13 years agoFix main rspamd worker to work with buffer.c changes.
Vsevolod Stakhov [Mon, 7 Nov 2011 17:03:35 +0000 (20:03 +0300)]
Fix main rspamd worker to work with buffer.c changes.

13 years agoRelease read lock lately.
Vsevolod Stakhov [Mon, 7 Nov 2011 16:58:54 +0000 (19:58 +0300)]
Release read lock lately.

13 years agoAnother fix to expire logic.
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).

13 years agoFix stupid errors while trying to parse NULL address list.
Vsevolod Stakhov [Mon, 7 Nov 2011 16:24:04 +0000 (19:24 +0300)]
Fix stupid errors while trying to parse NULL address list.

13 years ago* Add judy storage for fast caching.
Vsevolod Stakhov [Mon, 7 Nov 2011 15:15:54 +0000 (18:15 +0300)]
* Add judy storage for fast caching.
Fix LRU expiration.

13 years agoFix expire and insert.
Vsevolod Stakhov [Mon, 7 Nov 2011 13:16:29 +0000 (16:16 +0300)]
Fix expire and insert.

13 years ago* Implement sync command for manual synchronization with backend.
Vsevolod Stakhov [Mon, 7 Nov 2011 00:20:42 +0000 (03:20 +0300)]
* Implement sync command for manual synchronization with backend.

13 years agoFix misprint.
Vsevolod Stakhov [Fri, 4 Nov 2011 16:56:13 +0000 (19:56 +0300)]
Fix misprint.

13 years ago* Support redis API emulation
Vsevolod Stakhov [Fri, 4 Nov 2011 15:48:07 +0000 (18:48 +0300)]
* Support redis API emulation

13 years agoDo not free elements that are still in cache.
Vsevolod Stakhov [Thu, 3 Nov 2011 14:09:04 +0000 (17:09 +0300)]
Do not free elements that are still in cache.

13 years agoDo not try to mmap empty cache.
Vsevolod Stakhov [Wed, 2 Nov 2011 17:49:17 +0000 (20:49 +0300)]
Do not try to mmap empty cache.

13 years agoFix static build.
Vsevolod Stakhov [Wed, 2 Nov 2011 16:53:18 +0000 (19:53 +0300)]
Fix static build.

13 years agoBlock signals in worker threads.
Vsevolod Stakhov [Wed, 2 Nov 2011 16:19:42 +0000 (19:19 +0300)]
Block signals in worker threads.

13 years agoCompatibility with old glib versions.
Vsevolod Stakhov [Wed, 2 Nov 2011 15:22:14 +0000 (18:22 +0300)]
Compatibility with old glib versions.

13 years ago* Implement sqlite3 backend for kvstorage.
Vsevolod Stakhov [Wed, 2 Nov 2011 14:49:09 +0000 (17:49 +0300)]
* Implement sqlite3 backend for kvstorage.

13 years agoStore keys inside elements.
Vsevolod Stakhov [Tue, 1 Nov 2011 18:39:54 +0000 (21:39 +0300)]
Store keys inside elements.

13 years agoFixes to BDB initialization.
Vsevolod Stakhov [Tue, 1 Nov 2011 17:48:30 +0000 (20:48 +0300)]
Fixes to BDB initialization.

13 years ago* Add initial support of bdb backend
Vsevolod Stakhov [Tue, 1 Nov 2011 16:48:08 +0000 (19:48 +0300)]
* Add initial support of bdb backend

13 years ago* Add array operations
Vsevolod Stakhov [Tue, 1 Nov 2011 14:29:31 +0000 (17:29 +0300)]
* Add array operations
Fix memory freeing for elements in kvstorage.

13 years ago* Significate performance improving by vectorizing IO output (about 4 times for kv...
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).

13 years ago* Fix threading in kvstorage.
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.

13 years agoAdd basic locking.
Vsevolod Stakhov [Mon, 31 Oct 2011 15:45:29 +0000 (18:45 +0300)]
Add basic locking.

13 years ago* Implement basic functionality of key value storage
Vsevolod Stakhov [Mon, 31 Oct 2011 15:37:41 +0000 (18:37 +0300)]
* Implement basic functionality of key value storage

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

13 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

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

13 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

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

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

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