]> source.dussan.org Git - rspamd.git/log
rspamd.git
11 years agoAllow to print booleans with %b
Vsevolod Stakhov [Thu, 29 Aug 2013 14:00:17 +0000 (15:00 +0100)]
Allow to print booleans with %b

11 years agoAdd booleans parser to the rcl.
Vsevolod Stakhov [Mon, 26 Aug 2013 22:35:05 +0000 (23:35 +0100)]
Add booleans parser to the rcl.

11 years agoImprove tests.
Vsevolod Stakhov [Sun, 25 Aug 2013 12:14:46 +0000 (13:14 +0100)]
Improve tests.

11 years agoFix a problem with referencing.
Vsevolod Stakhov [Sun, 25 Aug 2013 12:14:40 +0000 (13:14 +0100)]
Fix a problem with referencing.

11 years agoAdd refcount to rcl objects.
Vsevolod Stakhov [Sun, 25 Aug 2013 10:03:07 +0000 (11:03 +0100)]
Add refcount to rcl objects.

11 years agoDo not use calculations in macroes.
Vsevolod Stakhov [Fri, 23 Aug 2013 23:54:09 +0000 (00:54 +0100)]
Do not use calculations in macroes.

11 years agoAdd logging section handler.
Vsevolod Stakhov [Fri, 23 Aug 2013 23:49:33 +0000 (00:49 +0100)]
Add logging section handler.

11 years agoKeys in hash table are const pointers.
Vsevolod Stakhov [Fri, 23 Aug 2013 22:49:48 +0000 (23:49 +0100)]
Keys in hash table are const pointers.

11 years agoAdd common principles of rspamd rcl configuration.
Vsevolod Stakhov [Fri, 23 Aug 2013 01:15:03 +0000 (02:15 +0100)]
Add common principles of rspamd rcl configuration.

11 years agoAdd flags to rcl parser creation.
Vsevolod Stakhov [Fri, 23 Aug 2013 01:14:45 +0000 (02:14 +0100)]
Add flags to rcl parser creation.

Allow RSPAMD_CL_FLAG_KEY_LOWERCASE flag to force all keys in rcl objects
to be lowercased which is useful for parsing.

11 years agoAdd the tolower variant of strlcpy function.
Vsevolod Stakhov [Fri, 23 Aug 2013 01:12:47 +0000 (02:12 +0100)]
Add the tolower variant of strlcpy function.

11 years agoAdd test for signature checking in rcl.
Vsevolod Stakhov [Thu, 22 Aug 2013 14:36:04 +0000 (15:36 +0100)]
Add test for signature checking in rcl.

11 years agoFix signatures checking.
Vsevolod Stakhov [Thu, 22 Aug 2013 14:22:15 +0000 (15:22 +0100)]
Fix signatures checking.

11 years agoFix signing procedure.
Vsevolod Stakhov [Thu, 22 Aug 2013 14:17:29 +0000 (15:17 +0100)]
Fix signing procedure.

11 years agoAdd ability to sign configs using rspamd.
Vsevolod Stakhov [Thu, 22 Aug 2013 13:57:03 +0000 (14:57 +0100)]
Add ability to sign configs using rspamd.

11 years agoAdd skeleton for rcl configuration.
Vsevolod Stakhov [Thu, 22 Aug 2013 00:18:28 +0000 (01:18 +0100)]
Add skeleton for rcl configuration.

11 years agoFix whitespace parsing for rcl arrays.
Vsevolod Stakhov [Wed, 21 Aug 2013 14:58:53 +0000 (15:58 +0100)]
Fix whitespace parsing for rcl arrays.

11 years agoFix some issues with comments in rcl.
Vsevolod Stakhov [Wed, 21 Aug 2013 14:31:48 +0000 (15:31 +0100)]
Fix some issues with comments in rcl.

11 years agoFix several problems in rcl parser.
Vsevolod Stakhov [Wed, 21 Aug 2013 14:12:41 +0000 (15:12 +0100)]
Fix several problems in rcl parser.

11 years agoImprove test suite by using standard glib test options.
Vsevolod Stakhov [Wed, 21 Aug 2013 14:12:24 +0000 (15:12 +0100)]
Improve test suite by using standard glib test options.

11 years agoImplement signatures checking.
Vsevolod Stakhov [Wed, 21 Aug 2013 13:32:35 +0000 (14:32 +0100)]
Implement signatures checking.

11 years agoRefactor fetching functions slightly.
Vsevolod Stakhov [Wed, 21 Aug 2013 10:57:15 +0000 (11:57 +0100)]
Refactor fetching functions slightly.

11 years agoImplement include macro for rcl.
Vsevolod Stakhov [Tue, 20 Aug 2013 16:25:10 +0000 (17:25 +0100)]
Implement include macro for rcl.

11 years agoAdd pubkey loading method for rcl parser.
Vsevolod Stakhov [Mon, 19 Aug 2013 16:08:29 +0000 (17:08 +0100)]
Add pubkey loading method for rcl parser.

11 years agoLink libcurl/fetch to rcl directly.
Vsevolod Stakhov [Mon, 19 Aug 2013 15:25:27 +0000 (16:25 +0100)]
Link libcurl/fetch to rcl directly.

11 years agoAdd detecting of libfetch/libcurl for rcl.
Vsevolod Stakhov [Sun, 18 Aug 2013 23:09:50 +0000 (00:09 +0100)]
Add detecting of libfetch/libcurl for rcl.

11 years agoFix some warnings found by coverity scan.
Vsevolod Stakhov [Fri, 16 Aug 2013 22:35:50 +0000 (23:35 +0100)]
Fix some warnings found by coverity scan.

11 years agoAdd macro value parsing code.
Vsevolod Stakhov [Fri, 16 Aug 2013 16:26:16 +0000 (17:26 +0100)]
Add macro value parsing code.

11 years agoSome cleanups.
Vsevolod Stakhov [Wed, 14 Aug 2013 16:41:47 +0000 (17:41 +0100)]
Some cleanups.

11 years agoRework the parser state machine, add macros state.
Vsevolod Stakhov [Wed, 14 Aug 2013 15:07:18 +0000 (16:07 +0100)]
Rework the parser state machine, add macros state.

11 years agoFixes to rcl parser found by tests.
Vsevolod Stakhov [Tue, 13 Aug 2013 00:44:10 +0000 (01:44 +0100)]
Fixes to rcl parser found by tests.

11 years agoImprove testing logic.
Vsevolod Stakhov [Tue, 13 Aug 2013 00:01:06 +0000 (01:01 +0100)]
Improve testing logic.

11 years agoAdd compacted json and config rcl emitters.
Vsevolod Stakhov [Tue, 13 Aug 2013 00:00:57 +0000 (01:00 +0100)]
Add compacted json and config rcl emitters.

11 years agoFix indentation in json output.
Vsevolod Stakhov [Mon, 12 Aug 2013 22:43:02 +0000 (23:43 +0100)]
Fix indentation in json output.

11 years agoFix rcl test suite and parser.
Vsevolod Stakhov [Mon, 12 Aug 2013 15:07:29 +0000 (16:07 +0100)]
Fix rcl test suite and parser.

11 years agoAdd json emitter of an rcl object.
Vsevolod Stakhov [Mon, 12 Aug 2013 15:07:10 +0000 (16:07 +0100)]
Add json emitter of an rcl object.

11 years agoFix some rcl parser errors found by test.
Vsevolod Stakhov [Fri, 9 Aug 2013 16:54:14 +0000 (17:54 +0100)]
Fix some rcl parser errors found by test.

11 years agoAdd a test suite for rcl.
Vsevolod Stakhov [Fri, 9 Aug 2013 15:53:32 +0000 (16:53 +0100)]
Add a test suite for rcl.

11 years agoMore parser utilities.
Vsevolod Stakhov [Fri, 9 Aug 2013 15:25:03 +0000 (16:25 +0100)]
More parser utilities.

11 years agoAdd numbers parsing.
Vsevolod Stakhov [Thu, 8 Aug 2013 17:31:27 +0000 (18:31 +0100)]
Add numbers parsing.

11 years agoInsert build status.
Vsevolod Stakhov [Thu, 8 Aug 2013 14:30:03 +0000 (15:30 +0100)]
Insert build status.

11 years agoHonor CMAKE_INSTALL_PREFIX.
Vsevolod Stakhov [Thu, 8 Aug 2013 14:18:01 +0000 (15:18 +0100)]
Honor CMAKE_INSTALL_PREFIX.

11 years agoAnother fix for id broken logic.
Vsevolod Stakhov [Thu, 8 Aug 2013 14:08:04 +0000 (15:08 +0100)]
Another fix for id broken logic.

11 years agoRemove git id support as it is bad actually.
Vsevolod Stakhov [Thu, 8 Aug 2013 13:50:10 +0000 (14:50 +0100)]
Remove git id support as it is bad actually.

11 years agoUpdate travis rules.
Vsevolod Stakhov [Thu, 8 Aug 2013 13:29:02 +0000 (14:29 +0100)]
Update travis rules.

11 years agoForgot to add CMakeLists.txt
Vsevolod Stakhov [Thu, 8 Aug 2013 13:11:57 +0000 (14:11 +0100)]
Forgot to add CMakeLists.txt

11 years agoServicing changes.
Vsevolod Stakhov [Thu, 8 Aug 2013 12:58:16 +0000 (13:58 +0100)]
Servicing changes.

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.