]> git.ipfire.org Git - thirdparty/rspamd.git/log
thirdparty/rspamd.git
12 years agoImprove logging in spf module.
Vsevolod Stakhov [Tue, 24 Sep 2013 16:38:46 +0000 (17:38 +0100)] 
Improve logging in spf module.

12 years agoRevert gerror conversion for spf module.
Vsevolod Stakhov [Tue, 24 Sep 2013 16:20:27 +0000 (17:20 +0100)] 
Revert gerror conversion for spf module.

12 years agoAvoid deadlock.
Vsevolod Stakhov [Tue, 24 Sep 2013 15:46:26 +0000 (16:46 +0100)] 
Avoid deadlock.

12 years agoFix libfetch related code.
Vsevolod Stakhov [Tue, 24 Sep 2013 14:53:51 +0000 (15:53 +0100)] 
Fix libfetch related code.

12 years agoCheck openssl version for using EVP.
Vsevolod Stakhov [Tue, 24 Sep 2013 14:49:07 +0000 (15:49 +0100)] 
Check openssl version for using EVP.

12 years agoFix accept event handling.
Vsevolod Stakhov [Tue, 24 Sep 2013 14:33:33 +0000 (15:33 +0100)] 
Fix accept event handling.

12 years agoPreserve statfiles versions on resize.
Vsevolod Stakhov [Tue, 24 Sep 2013 13:51:15 +0000 (14:51 +0100)] 
Preserve statfiles versions on resize.

12 years agoFix unknown workers handling.
Vsevolod Stakhov [Tue, 24 Sep 2013 13:26:07 +0000 (14:26 +0100)] 
Fix unknown workers handling.

12 years agoRevert PIC change, as it is required for compiling.
Vsevolod Stakhov [Tue, 24 Sep 2013 12:55:47 +0000 (13:55 +0100)] 
Revert PIC change, as it is required for compiling.

12 years agoImprove compiler flags handling.
Vsevolod Stakhov [Tue, 24 Sep 2013 12:40:57 +0000 (13:40 +0100)] 
Improve compiler flags handling.

12 years agoAdd utility function to get a key from rcl object.
Vsevolod Stakhov [Tue, 24 Sep 2013 12:32:37 +0000 (13:32 +0100)] 
Add utility function to get a key from rcl object.

12 years agoConvert spf module to GError reporting.
Vsevolod Stakhov [Tue, 24 Sep 2013 12:13:32 +0000 (13:13 +0100)] 
Convert spf module to GError reporting.

12 years agoParse masks with a single number correctly.
Vsevolod Stakhov [Tue, 24 Sep 2013 11:19:52 +0000 (12:19 +0100)] 
Parse masks with a single number correctly.

12 years agoUse entropy from OpenSSL if possible.
Vsevolod Stakhov [Tue, 17 Sep 2013 22:34:15 +0000 (23:34 +0100)] 
Use entropy from OpenSSL if possible.

12 years agoAllow multiply bind configurations.
Vsevolod Stakhov [Sun, 15 Sep 2013 23:48:38 +0000 (00:48 +0100)] 
Allow multiply bind configurations.

12 years agoAdd workers handler function for rcl.
Vsevolod Stakhov [Sat, 14 Sep 2013 22:36:38 +0000 (23:36 +0100)] 
Add workers handler function for rcl.

12 years agoRefactor metric actions handling.
Vsevolod Stakhov [Fri, 13 Sep 2013 00:09:09 +0000 (01:09 +0100)] 
Refactor metric actions handling.

Use array of actions instead of a linked list to speed up processing.
* Removed required_score, reject_score and action in metric config,
now REJECT is the only default action for a metric.

12 years agoAdd metrics handler for rcl.
Vsevolod Stakhov [Wed, 11 Sep 2013 16:20:03 +0000 (17:20 +0100)] 
Add metrics handler for rcl.

12 years agoAnother try to fix skipped messages.
Vsevolod Stakhov [Wed, 11 Sep 2013 12:15:59 +0000 (13:15 +0100)] 
Another try to fix skipped messages.

12 years agoMore fixes to skipped tasks processing.
Vsevolod Stakhov [Wed, 11 Sep 2013 12:08:26 +0000 (13:08 +0100)] 
More fixes to skipped tasks processing.

12 years agoCorrectly process skipped messages.
Vsevolod Stakhov [Wed, 11 Sep 2013 11:47:20 +0000 (12:47 +0100)] 
Correctly process skipped messages.

12 years agoAdd a separate options handler.
Vsevolod Stakhov [Tue, 10 Sep 2013 16:10:28 +0000 (17:10 +0100)] 
Add a separate options handler.

12 years agoAdd default options for options section.
Vsevolod Stakhov [Mon, 2 Sep 2013 14:20:31 +0000 (15:20 +0100)] 
Add default options for options section.

12 years agoAllow size_t values in parse_struct_integer.
Vsevolod Stakhov [Mon, 2 Sep 2013 13:26:09 +0000 (14:26 +0100)] 
Allow size_t values in parse_struct_integer.

12 years agoAdd fake handler for rcl object and options handler for config.
Vsevolod Stakhov [Sun, 1 Sep 2013 13:55:51 +0000 (14:55 +0100)] 
Add fake handler for rcl object and options handler for config.

12 years agoAdd logging default handlers.
Vsevolod Stakhov [Sun, 1 Sep 2013 13:50:37 +0000 (14:50 +0100)] 
Add logging default handlers.

12 years agoAdd parser for default values in rcl section.
Vsevolod Stakhov [Sun, 1 Sep 2013 13:40:37 +0000 (14:40 +0100)] 
Add parser for default values in rcl section.

12 years agoAdd parser for boolean fields in a structure.
Vsevolod Stakhov [Sat, 31 Aug 2013 13:53:33 +0000 (14:53 +0100)] 
Add parser for boolean fields in a structure.

12 years agoAdd destructor for a string list to config pool.
Vsevolod Stakhov [Sat, 31 Aug 2013 13:46:30 +0000 (14:46 +0100)] 
Add destructor for a string list to config pool.

12 years agoUse flags instead of size for integers.
Vsevolod Stakhov [Sat, 31 Aug 2013 13:31:36 +0000 (14:31 +0100)] 
Use flags instead of size for integers.

12 years agoAdd conception of default handler for structures parsing.
Vsevolod Stakhov [Sat, 31 Aug 2013 13:27:06 +0000 (14:27 +0100)] 
Add conception of default handler for structures parsing.

12 years agoAdd string list fields parser.
Vsevolod Stakhov [Fri, 30 Aug 2013 12:59:21 +0000 (13:59 +0100)] 
Add string list fields parser.

12 years agoAdd time fields parser.
Vsevolod Stakhov [Thu, 29 Aug 2013 15:06:40 +0000 (16:06 +0100)] 
Add time fields parser.

12 years agoAdd the parser of double fields.
Vsevolod Stakhov [Thu, 29 Aug 2013 14:39:35 +0000 (15:39 +0100)] 
Add the parser of double fields.

12 years agoAdd integer converting function.
Vsevolod Stakhov [Thu, 29 Aug 2013 14:15:26 +0000 (15:15 +0100)] 
Add integer converting function.

12 years agoAdd the parser of string fileds in structs.
Vsevolod Stakhov [Thu, 29 Aug 2013 14:00:50 +0000 (15:00 +0100)] 
Add the parser of string fileds in structs.

12 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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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