]> source.dussan.org Git - rspamd.git/log
rspamd.git
10 years agoStart to eliminate xml configuration.
Vsevolod Stakhov [Wed, 23 Oct 2013 16:30:48 +0000 (17:30 +0100)]
Start to eliminate xml configuration.

10 years agoSync with libucl.
Vsevolod Stakhov [Wed, 23 Oct 2013 15:51:01 +0000 (16:51 +0100)]
Sync with libucl.

10 years agoForgot to add.
Vsevolod Stakhov [Tue, 22 Oct 2013 16:12:49 +0000 (17:12 +0100)]
Forgot to add.

10 years agoReplace RCL to UCL from libucl to avoid duplicity in the code.
Vsevolod Stakhov [Tue, 22 Oct 2013 16:04:20 +0000 (17:04 +0100)]
Replace RCL to UCL from libucl to avoid duplicity in the code.

11 years agoFix rcl issues (ported from libucl).
Vsevolod Stakhov [Thu, 17 Oct 2013 13:56:02 +0000 (14:56 +0100)]
Fix rcl issues (ported from libucl).

11 years agoFix float numbers parsing.
Vsevolod Stakhov [Wed, 16 Oct 2013 23:15:32 +0000 (00:15 +0100)]
Fix float numbers parsing.

11 years agoAdd comparasion for rcl vs jansson.
Vsevolod Stakhov [Tue, 15 Oct 2013 12:55:09 +0000 (13:55 +0100)]
Add comparasion for rcl vs jansson.
Fix some issues in jansson memory management.

11 years agoMake keys syntax more permissive.
Vsevolod Stakhov [Mon, 14 Oct 2013 22:44:22 +0000 (23:44 +0100)]
Make keys syntax more permissive.

11 years agoFix json unescape.
Vsevolod Stakhov [Mon, 14 Oct 2013 16:03:10 +0000 (17:03 +0100)]
Fix json unescape.

11 years agoFix leaks and errors in rcl_parser.
Vsevolod Stakhov [Mon, 14 Oct 2013 11:26:41 +0000 (12:26 +0100)]
Fix leaks and errors in rcl_parser.

11 years agoDo not unescape json strings without escapes.
Vsevolod Stakhov [Sun, 13 Oct 2013 15:28:06 +0000 (16:28 +0100)]
Do not unescape json strings without escapes.

11 years agoFix parsing of empty keys/values.
Vsevolod Stakhov [Sat, 12 Oct 2013 10:09:12 +0000 (11:09 +0100)]
Fix parsing of empty keys/values.

11 years agoDisallow '//' as a single line comment.
Vsevolod Stakhov [Sat, 12 Oct 2013 09:00:14 +0000 (10:00 +0100)]
Disallow '//' as a single line comment.

11 years agoFix rcl parser.
Vsevolod Stakhov [Fri, 11 Oct 2013 14:16:07 +0000 (15:16 +0100)]
Fix rcl parser.

11 years agoImprove characters tests for rcl parser.
Vsevolod Stakhov [Fri, 11 Oct 2013 13:31:01 +0000 (14:31 +0100)]
Improve characters tests for rcl parser.

11 years agoImprove output buffering architecture.
Vsevolod Stakhov [Thu, 10 Oct 2013 16:51:55 +0000 (17:51 +0100)]
Improve output buffering architecture.

11 years agoFix some warnings.
Vsevolod Stakhov [Thu, 10 Oct 2013 12:22:38 +0000 (13:22 +0100)]
Fix some warnings.

11 years agoFix lua expressions in regexp plugin.
Vsevolod Stakhov [Thu, 10 Oct 2013 12:18:32 +0000 (13:18 +0100)]
Fix lua expressions in regexp plugin.

11 years agoFix call of expression functions.
Vsevolod Stakhov [Thu, 10 Oct 2013 12:18:19 +0000 (13:18 +0100)]
Fix call of expression functions.

11 years agoFix other stuff to work with rcl modules.
Vsevolod Stakhov [Fri, 4 Oct 2013 14:17:27 +0000 (15:17 +0100)]
Fix other stuff to work with rcl modules.

11 years agoFix regexp plugin.
Vsevolod Stakhov [Fri, 4 Oct 2013 14:17:14 +0000 (15:17 +0100)]
Fix regexp plugin.

11 years agoFix surbl module.
Vsevolod Stakhov [Fri, 4 Oct 2013 13:50:43 +0000 (14:50 +0100)]
Fix surbl module.

11 years agoFix fuzzy check plugin.
Vsevolod Stakhov [Thu, 3 Oct 2013 14:49:17 +0000 (15:49 +0100)]
Fix fuzzy check plugin.

11 years agoFix SPF plugin.
Vsevolod Stakhov [Thu, 3 Oct 2013 14:49:04 +0000 (15:49 +0100)]
Fix SPF plugin.

11 years agoFix dkim_check plugin.
Vsevolod Stakhov [Thu, 3 Oct 2013 14:48:49 +0000 (15:48 +0100)]
Fix dkim_check plugin.

11 years agoFix chartable plugin.
Vsevolod Stakhov [Thu, 3 Oct 2013 09:43:38 +0000 (10:43 +0100)]
Fix chartable plugin.

11 years agoRemove a bunch of legacy code.
Vsevolod Stakhov [Wed, 2 Oct 2013 22:58:48 +0000 (23:58 +0100)]
Remove a bunch of legacy code.

11 years agoFix misprint.
Vsevolod Stakhov [Wed, 2 Oct 2013 22:55:31 +0000 (23:55 +0100)]
Fix misprint.

11 years agoMigrate lua configuration to RCL.
Vsevolod Stakhov [Wed, 2 Oct 2013 22:54:49 +0000 (23:54 +0100)]
Migrate lua configuration to RCL.

11 years agoLoad RCL object from lua.
Vsevolod Stakhov [Wed, 2 Oct 2013 18:36:46 +0000 (19:36 +0100)]
Load RCL object from lua.

11 years agoAllow userdata objects in rcl.
Vsevolod Stakhov [Wed, 2 Oct 2013 17:58:48 +0000 (18:58 +0100)]
Allow userdata objects in rcl.

11 years agoAdd preliminary implementation of lua to rcl converter.
Vsevolod Stakhov [Wed, 2 Oct 2013 14:37:56 +0000 (15:37 +0100)]
Add preliminary implementation of lua to rcl converter.

11 years agoAdd an emitter from rcl object to lua.
Vsevolod Stakhov [Wed, 2 Oct 2013 12:44:01 +0000 (13:44 +0100)]
Add an emitter from rcl object to lua.

11 years agoSave rcl object inside config file.
Vsevolod Stakhov [Wed, 2 Oct 2013 11:40:14 +0000 (12:40 +0100)]
Save rcl object inside config file.

11 years agoPrepend worker conf to the list of workers.
Vsevolod Stakhov [Tue, 1 Oct 2013 14:52:47 +0000 (15:52 +0100)]
Prepend worker conf to the list of workers.

11 years agoAdopt fuzzy storage and controller.
Vsevolod Stakhov [Mon, 30 Sep 2013 16:30:03 +0000 (17:30 +0100)]
Adopt fuzzy storage and controller.

11 years agoConvert webui worker.
Vsevolod Stakhov [Mon, 30 Sep 2013 16:23:06 +0000 (17:23 +0100)]
Convert webui worker.

11 years agoConvert webui.
Vsevolod Stakhov [Mon, 30 Sep 2013 16:17:10 +0000 (17:17 +0100)]
Convert webui.

11 years agoConvert smtp workers.
Vsevolod Stakhov [Mon, 30 Sep 2013 16:14:01 +0000 (17:14 +0100)]
Convert smtp workers.

11 years agoAllow parsing uint32 as time values.
Vsevolod Stakhov [Mon, 30 Sep 2013 16:06:24 +0000 (17:06 +0100)]
Allow parsing uint32 as time values.

11 years agoAdopt normal worker for new params parsing.
Vsevolod Stakhov [Mon, 30 Sep 2013 15:56:37 +0000 (16:56 +0100)]
Adopt normal worker for new params parsing.

11 years agoCall worker parsers from the main rcl parser.
Vsevolod Stakhov [Mon, 30 Sep 2013 15:52:29 +0000 (16:52 +0100)]
Call worker parsers from the main rcl parser.

11 years agoAdd rcl parsers for workers options.
Vsevolod Stakhov [Mon, 30 Sep 2013 15:43:52 +0000 (16:43 +0100)]
Add rcl parsers for workers options.

11 years agoFix warning about murmur hash macro.
Vsevolod Stakhov [Mon, 30 Sep 2013 15:42:12 +0000 (16:42 +0100)]
Fix warning about murmur hash macro.

11 years agoParse bind_line in rcl.
Vsevolod Stakhov [Mon, 30 Sep 2013 15:12:22 +0000 (16:12 +0100)]
Parse bind_line in rcl.

11 years agoFix state management for arrays.
Vsevolod Stakhov [Mon, 30 Sep 2013 15:09:34 +0000 (16:09 +0100)]
Fix state management for arrays.

11 years agoImprove lua detection.
Vsevolod Stakhov [Tue, 24 Sep 2013 21:19:09 +0000 (22:19 +0100)]
Improve lua detection.

11 years agoRemove noise about TXT records that are not SPF records.
Vsevolod Stakhov [Tue, 24 Sep 2013 17:18:55 +0000 (18:18 +0100)]
Remove noise about TXT records that are not SPF records.

11 years agoImprove logging in spf module.
Vsevolod Stakhov [Tue, 24 Sep 2013 16:38:46 +0000 (17:38 +0100)]
Improve logging in spf module.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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.