]> source.dussan.org Git - rspamd.git/log
rspamd.git
11 years agoFixes #45 issue by the proper parsing of a unix socket address.
Vsevolod Stakhov [Thu, 8 Aug 2013 12:02:57 +0000 (13:02 +0100)]
Fixes #45 issue by the proper parsing of a unix socket address.

11 years agoAllow keys and values be separated by newlines.
Vsevolod Stakhov [Wed, 7 Aug 2013 16:21:53 +0000 (17:21 +0100)]
Allow keys and values be separated by newlines.

11 years agoFix comments after a key.
Vsevolod Stakhov [Wed, 7 Aug 2013 16:21:16 +0000 (17:21 +0100)]
Fix comments after a key.

11 years agoImprove keys parsing.
Vsevolod Stakhov [Wed, 7 Aug 2013 16:19:54 +0000 (17:19 +0100)]
Improve keys parsing.

11 years agoImplement strings parser.
Vsevolod Stakhov [Tue, 6 Aug 2013 16:31:21 +0000 (17:31 +0100)]
Implement strings parser.

11 years agoStart rcl parser implementation.
Vsevolod Stakhov [Mon, 5 Aug 2013 16:50:05 +0000 (17:50 +0100)]
Start rcl parser implementation.

11 years agoAdd time type for a variable.
Vsevolod Stakhov [Mon, 5 Aug 2013 14:49:51 +0000 (15:49 +0100)]
Add time type for a variable.

11 years agoAdd skeleton files for RCL library.
Vsevolod Stakhov [Sun, 4 Aug 2013 16:02:33 +0000 (17:02 +0100)]
Add skeleton files for RCL library.

11 years agoUse glib slab allocator for hash tables.
Vsevolod Stakhov [Sun, 4 Aug 2013 12:45:34 +0000 (13:45 +0100)]
Use glib slab allocator for hash tables.

11 years agoUse murumur for uthash if possible.
Vsevolod Stakhov [Sat, 3 Aug 2013 23:35:03 +0000 (00:35 +0100)]
Use murumur for uthash if possible.

11 years agoThe preliminary API of rspamd configuration language.
Vsevolod Stakhov [Sat, 3 Aug 2013 23:28:28 +0000 (00:28 +0100)]
The preliminary API of rspamd configuration language.

Include UTHash for faster and more convenient hash functions than
g_hash_table is. Implement the basic API for RCL parser.

11 years agoRemove unused code.
Vsevolod Stakhov [Sat, 3 Aug 2013 20:00:35 +0000 (21:00 +0100)]
Remove unused code.

11 years agoAnother misprint.
Vsevolod Stakhov [Fri, 26 Jul 2013 10:57:26 +0000 (11:57 +0100)]
Another misprint.

11 years agoMisprints.
Vsevolod Stakhov [Fri, 26 Jul 2013 10:56:39 +0000 (11:56 +0100)]
Misprints.

11 years agoMarkdown fixes.
Vsevolod Stakhov [Fri, 26 Jul 2013 10:54:01 +0000 (11:54 +0100)]
Markdown fixes.

11 years agoRework README.
Vsevolod Stakhov [Fri, 26 Jul 2013 10:48:30 +0000 (11:48 +0100)]
Rework README.

--HG--
rename : README => README.md

11 years agoFix build for an old libevent.
Vsevolod Stakhov [Wed, 24 Jul 2013 11:22:14 +0000 (12:22 +0100)]
Fix build for an old libevent.

11 years agoFix a problem with listening on sockets.
Vsevolod Stakhov [Tue, 23 Jul 2013 14:17:31 +0000 (15:17 +0100)]
Fix a problem with listening on sockets.

Add stat_reset command to rspamc while I'm here.

11 years agoAdd stat_reset command.
Vsevolod Stakhov [Tue, 23 Jul 2013 13:53:15 +0000 (14:53 +0100)]
Add stat_reset command.

This command is designed to get statistics from rspamd and reset
it to a zero state.

11 years agoAllow listening on multiply addresses.
Vsevolod Stakhov [Sat, 20 Jul 2013 17:42:29 +0000 (18:42 +0100)]
Allow listening on multiply addresses.

Now rspamd can listen on multiply ipv4/ipv6 addresses.
Removed legacy workers (lmtp, kvstorage) as they are never used
in production.
Try to unify workers initialization.

11 years agoRemove ipv4 legacy from librspamdclient.
Vsevolod Stakhov [Sat, 20 Jul 2013 13:05:41 +0000 (14:05 +0100)]
Remove ipv4 legacy from librspamdclient.

11 years agoFix warning for printf like function in exim patch.
Vsevolod Stakhov [Fri, 12 Jul 2013 16:37:02 +0000 (17:37 +0100)]
Fix warning for printf like function in exim patch.

11 years agoRemove unused code.
Vsevolod Stakhov [Mon, 8 Jul 2013 19:49:43 +0000 (20:49 +0100)]
Remove unused code.

11 years agoImplement per-suffix bits support in surbl plugin.
Vsevolod Stakhov [Tue, 2 Jul 2013 16:20:38 +0000 (17:20 +0100)]
Implement per-suffix bits support in surbl plugin.

11 years agoReverse a list of module options to preserve order.
Vsevolod Stakhov [Tue, 2 Jul 2013 16:20:10 +0000 (17:20 +0100)]
Reverse a list of module options to preserve order.

11 years agoReduce tokenization noize to improve bayes.
Vsevolod Stakhov [Mon, 1 Jul 2013 16:47:00 +0000 (17:47 +0100)]
Reduce tokenization noize to improve bayes.

11 years agoSave http date for lua.
Vsevolod Stakhov [Wed, 26 Jun 2013 17:03:40 +0000 (18:03 +0100)]
Save http date for lua.

11 years agoParse HTTP date in map requests.
Vsevolod Stakhov [Wed, 26 Jun 2013 16:59:50 +0000 (17:59 +0100)]
Parse HTTP date in map requests.

11 years agoDo not query empty hashes.
Vsevolod Stakhov [Wed, 26 Jun 2013 16:37:34 +0000 (17:37 +0100)]
Do not query empty hashes.

11 years agoHandle metaoptions more properly.
Vsevolod Stakhov [Wed, 26 Jun 2013 16:05:10 +0000 (17:05 +0100)]
Handle metaoptions more properly.

11 years agoDo not search plaintext email objects in html parts.
Vsevolod Stakhov [Tue, 25 Jun 2013 13:44:50 +0000 (14:44 +0100)]
Do not search plaintext email objects in html parts.

11 years agoRemove ambiguity from url parser.
Vsevolod Stakhov [Mon, 24 Jun 2013 16:54:38 +0000 (17:54 +0100)]
Remove ambiguity from url parser.

11 years agoMore fixes to received parser.
Vsevolod Stakhov [Mon, 24 Jun 2013 16:01:47 +0000 (17:01 +0100)]
More fixes to received parser.

11 years agoHandle another case in received parser.
Vsevolod Stakhov [Mon, 24 Jun 2013 15:36:27 +0000 (16:36 +0100)]
Handle another case in received parser.

11 years agoReceived parser fix.
Vsevolod Stakhov [Mon, 24 Jun 2013 15:32:30 +0000 (16:32 +0100)]
Received parser fix.

11 years agoImprove received headers parser to accept exim style received.
Vsevolod Stakhov [Mon, 24 Jun 2013 15:20:07 +0000 (16:20 +0100)]
Improve received headers parser to accept exim style received.

11 years agoFix urls detection for strings with multiply dots.
Vsevolod Stakhov [Mon, 24 Jun 2013 11:32:54 +0000 (12:32 +0100)]
Fix urls detection for strings with multiply dots.

11 years agoForgotten in the previous commit.
Vsevolod Stakhov [Thu, 20 Jun 2013 14:32:54 +0000 (15:32 +0100)]
Forgotten in the previous commit.

11 years agoAdd a hack to fix libcrypto dependency for Solaris.
Vsevolod Stakhov [Thu, 20 Jun 2013 14:15:57 +0000 (15:15 +0100)]
Add a hack to fix libcrypto dependency for Solaris.

11 years agoMore fixes for Solaris.
Vsevolod Stakhov [Thu, 20 Jun 2013 11:47:11 +0000 (12:47 +0100)]
More fixes for Solaris.

11 years agoFix portability on Solaris.
Vsevolod Stakhov [Thu, 20 Jun 2013 11:21:38 +0000 (12:21 +0100)]
Fix portability on Solaris.

11 years agoClassify task in webui scan method.
Vsevolod Stakhov [Tue, 18 Jun 2013 16:46:03 +0000 (17:46 +0100)]
Classify task in webui scan method.

11 years agoAnother fix for tld urls.
Vsevolod Stakhov [Mon, 17 Jun 2013 15:17:24 +0000 (16:17 +0100)]
Another fix for tld urls.

11 years agoFix url detection at the beginning of a message.
Vsevolod Stakhov [Mon, 17 Jun 2013 15:10:07 +0000 (16:10 +0100)]
Fix url detection at the beginning of a message.

11 years agoImprove urls parsing.
Vsevolod Stakhov [Mon, 17 Jun 2013 15:00:29 +0000 (16:00 +0100)]
Improve urls parsing.

For tld matches use more strict constraint to avoid non-url
objects detection by a suffix trie. For example,

aaa.rum@mail.com could be previously treated as m@mail.com
email. This patch tries to resolve this issue.

11 years agoRework suffix trie implementation.
Vsevolod Stakhov [Fri, 14 Jun 2013 16:43:00 +0000 (17:43 +0100)]
Rework suffix trie implementation.

11 years agoSupport metaoptions in lua configuration.
Vsevolod Stakhov [Fri, 14 Jun 2013 14:49:37 +0000 (15:49 +0100)]
Support metaoptions in lua configuration.

11 years agoAdd a simple test of rsa utils in lua.
Vsevolod Stakhov [Thu, 13 Jun 2013 14:47:32 +0000 (15:47 +0100)]
Add a simple test of rsa utils in lua.

Support RSA signing in lua_rsa module.
Add save function for rsa_signature.
Fix test logic for lua modules.

11 years agoAdd ability to perform lua tests by rspamd.
Vsevolod Stakhov [Thu, 13 Jun 2013 12:59:38 +0000 (13:59 +0100)]
Add ability to perform lua tests by rspamd.

This feature is useful for testing lua modules and writing
unit tests for lua modules.

11 years agoFix RSA signature handling.
Vsevolod Stakhov [Thu, 13 Jun 2013 12:44:09 +0000 (13:44 +0100)]
Fix RSA signature handling.

11 years agoAdd preliminary API for rsa verify to lua.
Vsevolod Stakhov [Wed, 12 Jun 2013 16:50:35 +0000 (17:50 +0100)]
Add preliminary API for rsa verify to lua.

11 years agoExport rspamd paths to lua.
Vsevolod Stakhov [Wed, 12 Jun 2013 14:59:12 +0000 (15:59 +0100)]
Export rspamd paths to lua.

11 years agoThe first step to 0.6.
Vsevolod Stakhov [Wed, 12 Jun 2013 14:41:56 +0000 (15:41 +0100)]
The first step to 0.6.

11 years agoReset mods counter on cache file sync.
Vsevolod Stakhov [Tue, 11 Jun 2013 15:55:22 +0000 (16:55 +0100)]
Reset mods counter on cache file sync.

11 years agoAdd expiration logic.
Vsevolod Stakhov [Tue, 11 Jun 2013 14:14:06 +0000 (15:14 +0100)]
Add expiration logic.

11 years agoUpdate fuzzy storage in a separate thread.
Vsevolod Stakhov [Mon, 10 Jun 2013 23:16:27 +0000 (00:16 +0100)]
Update fuzzy storage in a separate thread.

11 years agoAdded tag 0.5.6 for changeset 34ec644af33c
Vsevolod Stakhov [Mon, 10 Jun 2013 12:57:58 +0000 (13:57 +0100)]
Added tag 0.5.6 for changeset 34ec644af33c

11 years agoUpdate version in specs. 0.5.6
Vsevolod Stakhov [Mon, 10 Jun 2013 12:28:03 +0000 (13:28 +0100)]
Update version in specs.

11 years agoDetect exp2l as well. Update to 0.5.6.
Vsevolod Stakhov [Mon, 10 Jun 2013 12:20:45 +0000 (13:20 +0100)]
Detect exp2l as well. Update to 0.5.6.

11 years agoTest for expl function presence.
Vsevolod Stakhov [Sun, 9 Jun 2013 14:47:34 +0000 (15:47 +0100)]
Test for expl function presence.

11 years agoAdopt to lua 5.2.
Vsevolod Stakhov [Sat, 8 Jun 2013 15:07:25 +0000 (16:07 +0100)]
Adopt to lua 5.2.

11 years agoFix output for counters command.
Vsevolod Stakhov [Fri, 7 Jun 2013 16:30:09 +0000 (17:30 +0100)]
Fix output for counters command.

11 years agoSupport counters in rspamc client.
Vsevolod Stakhov [Fri, 7 Jun 2013 16:12:30 +0000 (17:12 +0100)]
Support counters in rspamc client.

11 years agoAllow explicit turning off of options.
Vsevolod Stakhov [Fri, 7 Jun 2013 14:37:24 +0000 (15:37 +0100)]
Allow explicit turning off of options.

Now there is a way to specify cmake to skip linking with undesired
libraries.

Fix rpm spec to include libevent and optional Judy.

11 years agoDo not add extra useless line for restfull output.
Vsevolod Stakhov [Fri, 7 Jun 2013 13:55:01 +0000 (14:55 +0100)]
Do not add extra useless line for restfull output.

11 years agoImprove counters output in the controller.
Vsevolod Stakhov [Fri, 7 Jun 2013 13:52:25 +0000 (14:52 +0100)]
Improve counters output in the controller.

11 years agoAnother buffers fix.
Vsevolod Stakhov [Thu, 6 Jun 2013 16:36:26 +0000 (17:36 +0100)]
Another buffers fix.

11 years agoUpdate buffers logic for streaming read.
Vsevolod Stakhov [Thu, 6 Jun 2013 16:31:31 +0000 (17:31 +0100)]
Update buffers logic for streaming read.

11 years agoAnother fix to streaming handle.
Vsevolod Stakhov [Thu, 6 Jun 2013 16:21:26 +0000 (17:21 +0100)]
Another fix to streaming handle.

11 years agoFix misprint in operator.
Vsevolod Stakhov [Thu, 6 Jun 2013 16:14:48 +0000 (17:14 +0100)]
Fix misprint in operator.

11 years agoStream read fix.
Vsevolod Stakhov [Thu, 6 Jun 2013 16:12:35 +0000 (17:12 +0100)]
Stream read fix.

11 years agoRemove broken line.
Vsevolod Stakhov [Thu, 6 Jun 2013 16:05:30 +0000 (17:05 +0100)]
Remove broken line.

11 years agoAvoid arrays addresses manipulation.
Vsevolod Stakhov [Thu, 6 Jun 2013 15:57:52 +0000 (16:57 +0100)]
Avoid arrays addresses manipulation.

11 years agoAllow parsing streams without Content-Length.
Vsevolod Stakhov [Thu, 6 Jun 2013 15:48:19 +0000 (16:48 +0100)]
Allow parsing streams without Content-Length.

11 years agoRemove endless counter incrementing.
Vsevolod Stakhov [Thu, 6 Jun 2013 13:35:31 +0000 (14:35 +0100)]
Remove endless counter incrementing.

In some cases it is not enough to perform compare and exchange
and we still can get race condition in atomic incrementing.
Therefore, it is better to loose a history event than to
log error message each time.

11 years agoDo not create TCP socket for fuzzy storage.
Vsevolod Stakhov [Thu, 6 Jun 2013 13:09:17 +0000 (14:09 +0100)]
Do not create TCP socket for fuzzy storage.

11 years agoAdded tag 0.5.5 for changeset 44fecab72df6
Vsevolod Stakhov [Wed, 5 Jun 2013 13:21:29 +0000 (14:21 +0100)]
Added tag 0.5.5 for changeset 44fecab72df6

11 years agoAdded tag 0.5.5 for changeset 88d62b224381 0.5.5
Vsevolod Stakhov [Wed, 5 Jun 2013 13:21:25 +0000 (14:21 +0100)]
Added tag 0.5.5 for changeset 88d62b224381

11 years agoUpdate ChangeLog.
Vsevolod Stakhov [Wed, 5 Jun 2013 13:21:06 +0000 (14:21 +0100)]
Update ChangeLog.

11 years agoAdded tag 0.5.5 for changeset 4c41246d28b0
Vsevolod Stakhov [Wed, 5 Jun 2013 13:13:21 +0000 (14:13 +0100)]
Added tag 0.5.5 for changeset 4c41246d28b0

11 years agoFix fuzzy storage initialization and finalization.
Vsevolod Stakhov [Wed, 5 Jun 2013 11:50:11 +0000 (12:50 +0100)]
Fix fuzzy storage initialization and finalization.

11 years agoFix logging in rspamd-util routines.
Vsevolod Stakhov [Tue, 4 Jun 2013 14:40:02 +0000 (15:40 +0100)]
Fix logging in rspamd-util routines.

11 years agoAdd allow_update example usage.
Vsevolod Stakhov [Tue, 4 Jun 2013 14:08:31 +0000 (15:08 +0100)]
Add allow_update example usage.

11 years agoAllow restriction of update commands for fuzzy storage.
Vsevolod Stakhov [Tue, 4 Jun 2013 13:51:42 +0000 (14:51 +0100)]
Allow restriction of update commands for fuzzy storage.

Now it is possible to specify ip or networks from which fuzzy
updates or removes are possible.

Rework sockets logic while I'm here.

Create universal utility for parsing ipv4/mask strings.

11 years agoDo not add empty fuzzy hashes.
Vsevolod Stakhov [Mon, 3 Jun 2013 16:40:01 +0000 (17:40 +0100)]
Do not add empty fuzzy hashes.

11 years agoFix listening on sockets.
Vsevolod Stakhov [Mon, 3 Jun 2013 16:24:34 +0000 (17:24 +0100)]
Fix listening on sockets.

11 years agoFix UDP sockets creation.
Vsevolod Stakhov [Mon, 3 Jun 2013 16:17:07 +0000 (17:17 +0100)]
Fix UDP sockets creation.

11 years agoCorrectly use ai_family for socket(2) call.
Vsevolod Stakhov [Mon, 3 Jun 2013 16:08:04 +0000 (17:08 +0100)]
Correctly use ai_family for socket(2) call.

11 years agoFix misprint in section name.
Vsevolod Stakhov [Mon, 3 Jun 2013 15:58:23 +0000 (16:58 +0100)]
Fix misprint in section name.

11 years agoFix wildcard addresses in config.
Vsevolod Stakhov [Mon, 3 Jun 2013 15:52:47 +0000 (16:52 +0100)]
Fix wildcard addresses in config.

11 years agoFix some warnings that actually are dangerous.
Vsevolod Stakhov [Mon, 3 Jun 2013 15:24:15 +0000 (16:24 +0100)]
Fix some warnings that actually are dangerous.

11 years agoPrint filename when client scan or learn message from a file.
Vsevolod Stakhov [Mon, 3 Jun 2013 15:04:27 +0000 (16:04 +0100)]
Print filename when client scan or learn message from a file.

11 years agoUse specific fuzzy database.
Vsevolod Stakhov [Mon, 3 Jun 2013 14:55:45 +0000 (15:55 +0100)]
Use specific fuzzy database.

11 years agoExplicit dependency on libJudy has been added in centos spec.
Vsevolod Stakhov [Mon, 3 Jun 2013 14:48:14 +0000 (15:48 +0100)]
Explicit dependency on libJudy has been added in centos spec.

11 years agoCheck for getaddrinfo presence on a build system.
Vsevolod Stakhov [Sun, 2 Jun 2013 22:57:19 +0000 (23:57 +0100)]
Check for getaddrinfo presence on a build system.

11 years agoRework socket creation logic to support both ipv4 and ipv6 sockets.
Vsevolod Stakhov [Sat, 1 Jun 2013 14:52:11 +0000 (15:52 +0100)]
Rework socket creation logic to support both ipv4 and ipv6 sockets.

11 years agoUse getaddrinfo when opening sockets.
Vsevolod Stakhov [Fri, 31 May 2013 16:45:18 +0000 (17:45 +0100)]
Use getaddrinfo when opening sockets.

11 years agoAdd support for meta options for modules.
Vsevolod Stakhov [Thu, 30 May 2013 13:38:24 +0000 (14:38 +0100)]
Add support for meta options for modules.

This is preliminary patch that enables meta options for modules
which would simplify complex options passing.

11 years agoSome fixes to debian dependencies list.
Vsevolod Stakhov [Wed, 29 May 2013 14:50:36 +0000 (15:50 +0100)]
Some fixes to debian dependencies list.

11 years agoFix segfault in a client when controller disappears.
Vsevolod Stakhov [Tue, 28 May 2013 16:35:58 +0000 (17:35 +0100)]
Fix segfault in a client when controller disappears.