]> source.dussan.org Git - rspamd.git/log
rspamd.git
12 years agoIgnore empty or invalid keys.
Vsevolod Stakhov [Mon, 4 Jun 2012 17:44:34 +0000 (21:44 +0400)]
Ignore empty or invalid keys.

12 years ago* Implement 'time_jitter' setting allowing to check signatures in future in case...
Vsevolod Stakhov [Mon, 4 Jun 2012 17:36:58 +0000 (21:36 +0400)]
* Implement 'time_jitter' setting allowing to check signatures in future in case of incorrect system time (1 minute jittering by default).

12 years agoFollow RFC while checking multiply headers.
Vsevolod Stakhov [Mon, 4 Jun 2012 17:27:46 +0000 (21:27 +0400)]
Follow RFC while checking multiply headers.

12 years agoAssume empty headers as headers with "" as value.
Vsevolod Stakhov [Mon, 4 Jun 2012 15:22:17 +0000 (19:22 +0400)]
Assume empty headers as headers with "" as value.

12 years ago* Allow keys without values in kv maps
Vsevolod Stakhov [Thu, 31 May 2012 18:10:50 +0000 (22:10 +0400)]
* Allow keys without values in kv maps
Some fixes to dkim_check strict logic.

12 years ago* Strict domains for dkim now contain more data (kv pairs in format <dkim_domain...
Vsevolod Stakhov [Thu, 31 May 2012 17:56:44 +0000 (21:56 +0400)]
* Strict domains for dkim now contain more data (kv pairs in format <dkim_domain> <reject_multiplier:deny_multiplier>).

12 years agoFix WSP canonization.
Vsevolod Stakhov [Thu, 31 May 2012 17:41:55 +0000 (21:41 +0400)]
Fix WSP canonization.

12 years ago* Implement relaxed canonization.
Vsevolod Stakhov [Tue, 29 May 2012 21:24:30 +0000 (01:24 +0400)]
* Implement relaxed canonization.

12 years ago* Add support of strict_domains.
Vsevolod Stakhov [Tue, 29 May 2012 18:08:54 +0000 (22:08 +0400)]
* Add support of strict_domains.
Several fixes in dkim code.
Make initial support of body relaxed canonization.

12 years ago* Add dkim check plugin.
Vsevolod Stakhov [Tue, 29 May 2012 16:39:29 +0000 (20:39 +0400)]
* Add dkim check plugin.

12 years agoMake 'simple' dkim canonization working.
Vsevolod Stakhov [Tue, 29 May 2012 16:39:14 +0000 (20:39 +0400)]
Make 'simple' dkim canonization working.

12 years agoSupport of length attribute.
Vsevolod Stakhov [Mon, 28 May 2012 23:14:45 +0000 (03:14 +0400)]
Support of length attribute.

12 years ago* Write tests for DKIM signature and key parsers.
Vsevolod Stakhov [Mon, 28 May 2012 23:07:23 +0000 (03:07 +0400)]
* Write tests for DKIM signature and key parsers.
Fix DKIM parsers.

12 years agoImplement keysigning.
Vsevolod Stakhov [Mon, 28 May 2012 19:37:58 +0000 (23:37 +0400)]
Implement keysigning.

12 years ago* Add signing and simple canonization support (not finished yet, work in progress).
Vsevolod Stakhov [Mon, 28 May 2012 17:31:56 +0000 (21:31 +0400)]
* Add signing and simple canonization support (not finished yet, work in progress).

12 years agoCheck received for not more than 5 recipients.
Vsevolod Stakhov [Mon, 28 May 2012 13:33:54 +0000 (17:33 +0400)]
Check received for not more than 5 recipients.
Install lua configuration by default (as user's one should be in rspamd.local.lua).

12 years ago* Avoid DoS while sending a message with a lot of recipients in 'To' header.
Vsevolod Stakhov [Mon, 28 May 2012 13:26:38 +0000 (17:26 +0400)]
* Avoid DoS while sending a message with a lot of recipients in 'To' header.
Fix possible deadlock in lua_redis.
Version is now 0.4.8 as there are enough changes.

12 years agoImplement key extracting for dkim records.
Vsevolod Stakhov [Fri, 25 May 2012 16:14:18 +0000 (20:14 +0400)]
Implement key extracting for dkim records.

12 years ago* Start dkim support implementation.
Vsevolod Stakhov [Thu, 24 May 2012 17:35:03 +0000 (21:35 +0400)]
* Start dkim support implementation.

12 years ago* Add emulating of session in case of dnsbl reject.
Vsevolod Stakhov [Wed, 2 May 2012 12:52:23 +0000 (16:52 +0400)]
* Add emulating of session in case of dnsbl reject.

12 years agoMerge.
Vsevolod Stakhov [Fri, 27 Apr 2012 16:56:58 +0000 (20:56 +0400)]
Merge.

12 years ago* Add ability to specify dnsbls for smtp_proxy.
Vsevolod Stakhov [Fri, 27 Apr 2012 16:51:56 +0000 (20:51 +0400)]
* Add ability to specify dnsbls for smtp_proxy.
Fix handling of params with the same name in configuration.
Add ability for rspamc to bind on a local address.

12 years agoMake it possible to start several rspamd with different configurations from a single...
Vsevolod Stakhov [Mon, 23 Apr 2012 20:05:43 +0000 (00:05 +0400)]
Make it possible to start several rspamd with different configurations from a single commandline.

12 years ago* Add support of XCLIENT to the smtp proxy.
Vsevolod Stakhov [Mon, 23 Apr 2012 17:40:01 +0000 (21:40 +0400)]
* Add support of XCLIENT to the smtp proxy.

12 years agoAdd basic list config parser.
Vsevolod Stakhov [Mon, 23 Apr 2012 14:47:21 +0000 (18:47 +0400)]
Add basic list config parser.

12 years ago* Allow workers to specify multiply options of the same type.
Vsevolod Stakhov [Mon, 23 Apr 2012 14:43:08 +0000 (18:43 +0400)]
* Allow workers to specify multiply options of the same type.

12 years ago* Allow full access to controller's commands without a password if
Vsevolod Stakhov [Mon, 23 Apr 2012 13:57:02 +0000 (17:57 +0400)]
* Allow full access to controller's commands without a password if
 controller password is not specified in configuration.
Fix some minor stuff while I'm here.

12 years agoFix some problems with learning.
Vsevolod Stakhov [Mon, 23 Apr 2012 13:24:39 +0000 (17:24 +0400)]
Fix some problems with learning.

12 years agoFix multimap to handle ipv6 addresses.
Vsevolod Stakhov [Fri, 20 Apr 2012 16:27:55 +0000 (20:27 +0400)]
Fix multimap to handle ipv6 addresses.

12 years ago* Fix spf plugin that was broken in 0.4.7
Vsevolod Stakhov [Fri, 20 Apr 2012 16:02:28 +0000 (20:02 +0400)]
* Fix spf plugin that was broken in 0.4.7
* Add partial ipv6 support for some rspamd modules.

12 years agoFix controller freezing.
Vsevolod Stakhov [Fri, 20 Apr 2012 12:40:59 +0000 (16:40 +0400)]
Fix controller freezing.

12 years agoAllow rspamd dispatcher code to process half-closed connections.
Vsevolod Stakhov [Thu, 19 Apr 2012 22:55:22 +0000 (02:55 +0400)]
Allow rspamd dispatcher code to process half-closed connections.

12 years agoAdd portable api for locks and threads to handle Glib threads API change.
Vsevolod Stakhov [Fri, 13 Apr 2012 15:46:05 +0000 (19:46 +0400)]
Add portable api for locks and threads to handle Glib threads API change.

12 years ago* Add ratelimit plugin
Vsevolod Stakhov [Fri, 6 Apr 2012 16:46:55 +0000 (20:46 +0400)]
* Add ratelimit plugin
Some polishing of lua task api.

12 years ago* Implement pre-filters that realizes concepts to check mail by some absolute values...
Vsevolod Stakhov [Fri, 30 Mar 2012 16:54:18 +0000 (20:54 +0400)]
* Implement pre-filters that realizes concepts to check mail by some absolute values like:
 - greylisting
 - DNS BL/WL
 - ratelimits

12 years agoUse guint64 for all IO operations.
Vsevolod Stakhov [Thu, 29 Mar 2012 12:08:38 +0000 (16:08 +0400)]
Use guint64 for all IO operations.

12 years agoParse big limits on 32 bits machine (for file sizes).
Vsevolod Stakhov [Wed, 28 Mar 2012 10:53:58 +0000 (14:53 +0400)]
Parse big limits on 32 bits machine (for file sizes).

12 years agoDetect amd64.
Vsevolod Stakhov [Tue, 27 Mar 2012 14:58:04 +0000 (18:58 +0400)]
Detect amd64.

12 years agoUse 64 bit offset while compiled in 32 bit mode.
Vsevolod Stakhov [Tue, 27 Mar 2012 14:46:21 +0000 (18:46 +0400)]
Use 64 bit offset while compiled in 32 bit mode.

12 years ago* Improve statistics for scanned messages.
Vsevolod Stakhov [Mon, 26 Mar 2012 17:30:43 +0000 (21:30 +0400)]
* Improve statistics for scanned messages.

12 years ago* Add lua bindings for upstream API.
Vsevolod Stakhov [Mon, 26 Mar 2012 15:44:44 +0000 (19:44 +0400)]
* Add lua bindings for upstream API.

12 years agoAllow multiply aio requests in flight.
Vsevolod Stakhov [Fri, 16 Mar 2012 13:30:46 +0000 (17:30 +0400)]
Allow multiply aio requests in flight.

12 years agoFix stupid error in aio_write.
Vsevolod Stakhov [Thu, 15 Mar 2012 18:15:04 +0000 (22:15 +0400)]
Fix stupid error in aio_write.

12 years agoFix proxy logic.
Vsevolod Stakhov [Tue, 13 Mar 2012 13:30:06 +0000 (17:30 +0400)]
Fix proxy logic.

12 years agoCleanup callback's data for aio.
Vsevolod Stakhov [Tue, 13 Mar 2012 12:52:48 +0000 (16:52 +0400)]
Cleanup callback's data for aio.

12 years agoAio context must be long not int.
Vsevolod Stakhov [Sun, 11 Mar 2012 13:53:58 +0000 (17:53 +0400)]
Aio context must be long not int.
O_DIRECT on linux requires strict memory alignment.

12 years agoAdd offset support to aio operations.
Vsevolod Stakhov [Sun, 11 Mar 2012 12:01:20 +0000 (16:01 +0400)]
Add offset support to aio operations.

12 years ago* Add initial implementation of proxy object
Vsevolod Stakhov [Wed, 7 Mar 2012 16:47:55 +0000 (20:47 +0400)]
* Add initial implementation of proxy object
* Add simple smtp proxy worker

12 years agoFix aio syscall numbers for x86_64 platform.
Vsevolod Stakhov [Tue, 6 Mar 2012 14:32:46 +0000 (18:32 +0400)]
Fix aio syscall numbers for x86_64 platform.

12 years agoFixed threading for testing suite.
Vsevolod Stakhov [Mon, 5 Mar 2012 14:58:50 +0000 (18:58 +0400)]
Fixed threading for testing suite.

12 years agoFix asynchronous IO API.
Vsevolod Stakhov [Thu, 1 Mar 2012 17:57:09 +0000 (21:57 +0400)]
Fix asynchronous IO API.
Write test case for aio.

12 years agoSeparate librspamdserver API from plugins and workers functions.
Vsevolod Stakhov [Thu, 1 Mar 2012 16:14:32 +0000 (20:14 +0400)]
Separate librspamdserver API from plugins and workers functions.
Make tests compileable again.

12 years agoUse DB_HASH access method for bdb backend.
Vsevolod Stakhov [Thu, 1 Mar 2012 12:45:38 +0000 (16:45 +0400)]
Use DB_HASH access method for bdb backend.
Fix signed and unsigned comparasion while I'm here.

12 years agoForgot event_del.
Vsevolod Stakhov [Tue, 21 Feb 2012 16:16:17 +0000 (20:16 +0400)]
Forgot event_del.

12 years agoSome fixes to dispatcher code to allow change policy more flexible.
Vsevolod Stakhov [Tue, 21 Feb 2012 16:05:24 +0000 (20:05 +0400)]
Some fixes to dispatcher code to allow change policy more flexible.

12 years agoAnother workaround for old glib.
Vsevolod Stakhov [Tue, 21 Feb 2012 11:01:41 +0000 (15:01 +0400)]
Another workaround for old glib.

12 years agoWorkaround for old glib.
Vsevolod Stakhov [Fri, 17 Feb 2012 17:13:59 +0000 (21:13 +0400)]
Workaround for old glib.

12 years agoAdded tag 0.4.7 for changeset b0d4207e9a41
Vsevolod Stakhov [Fri, 17 Feb 2012 17:06:00 +0000 (21:06 +0400)]
Added tag 0.4.7 for changeset b0d4207e9a41

12 years agoUpdate debian changelog. 0.4.7
Vsevolod Stakhov [Fri, 17 Feb 2012 17:05:56 +0000 (21:05 +0400)]
Update debian changelog.

12 years agoAdd support of buffered IO reset to support persistent connections.
Vsevolod Stakhov [Thu, 16 Feb 2012 13:13:09 +0000 (17:13 +0400)]
Add support of buffered IO reset to support persistent connections.

12 years agoAdd temporary pages to pool allocator to allow reset of some pool data.
Vsevolod Stakhov [Wed, 15 Feb 2012 18:01:08 +0000 (22:01 +0400)]
Add temporary pages to pool allocator to allow reset of some pool data.

12 years agoFix build.
Vsevolod Stakhov [Wed, 15 Feb 2012 13:08:20 +0000 (17:08 +0400)]
Fix build.

12 years agoMore fixes to thread-safe processing.
Vsevolod Stakhov [Tue, 14 Feb 2012 14:32:19 +0000 (18:32 +0400)]
More fixes to thread-safe processing.

12 years ago* More things to be thread-safe:
Vsevolod Stakhov [Mon, 13 Feb 2012 17:51:10 +0000 (21:51 +0400)]
* More things to be thread-safe:
 - pool allocator is now thread-safe
 - lua subsystem now holds lock to avoid lua stack corruption
 - events subsystem now using conditional variables to wait for async_threads
 - insert_result is thread-safe now

12 years agoAdd quarks to events to determine source of event inside rspamd.
Vsevolod Stakhov [Mon, 13 Feb 2012 15:09:27 +0000 (19:09 +0400)]
Add quarks to events to determine source of event inside rspamd.
Another try to fix threading.

12 years agoFix build with glib <= 2.30.
Vsevolod Stakhov [Fri, 3 Feb 2012 14:02:01 +0000 (18:02 +0400)]
Fix build with glib <= 2.30.

12 years agoFixes to threading (still incomplete).
Vsevolod Stakhov [Tue, 31 Jan 2012 18:24:51 +0000 (22:24 +0400)]
Fixes to threading (still incomplete).

12 years agoRework events library slightly:
Vsevolod Stakhov [Tue, 31 Jan 2012 17:24:32 +0000 (21:24 +0400)]
Rework events library slightly:
 - forced events are no longer checked or created
 - add async threads to prevent session to be destroyed till all threads are finished

12 years agoFix critical bug with events checking during filters processing.
Vsevolod Stakhov [Tue, 31 Jan 2012 17:02:46 +0000 (21:02 +0400)]
Fix critical bug with events checking during filters processing.

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.