]>
source.dussan.org Git - rspamd.git/log
Vsevolod Stakhov [Fri, 15 Nov 2013 18:38:50 +0000 (18:38 +0000)]
Fix dispatcher restoration.
Vsevolod Stakhov [Fri, 15 Nov 2013 17:42:07 +0000 (17:42 +0000)]
Set task dispatcher properly during learning.
Vsevolod Stakhov [Fri, 15 Nov 2013 17:13:05 +0000 (17:13 +0000)]
Remove statfile pool size as it was broken.
Vsevolod Stakhov [Fri, 15 Nov 2013 17:12:53 +0000 (17:12 +0000)]
Handle workers params properly.
Vsevolod Stakhov [Fri, 15 Nov 2013 15:49:15 +0000 (15:49 +0000)]
Fix logging conversion from xml.
Vsevolod Stakhov [Fri, 15 Nov 2013 15:07:24 +0000 (15:07 +0000)]
Do not create too small statfiles.
Vsevolod Stakhov [Fri, 15 Nov 2013 14:55:40 +0000 (14:55 +0000)]
Fix options in statfiles.
Vsevolod Stakhov [Fri, 15 Nov 2013 14:07:48 +0000 (14:07 +0000)]
Sync with libucl.
Vsevolod Stakhov [Thu, 14 Nov 2013 16:21:45 +0000 (16:21 +0000)]
Fix issue with regexps parsing.
Vsevolod Stakhov [Thu, 14 Nov 2013 16:12:57 +0000 (16:12 +0000)]
Handle views in ucl.
Vsevolod Stakhov [Wed, 13 Nov 2013 18:17:00 +0000 (18:17 +0000)]
Expand path in file maps.
Vsevolod Stakhov [Wed, 13 Nov 2013 17:59:29 +0000 (17:59 +0000)]
Add support of path variables.
Support expanding of path variables in rspamd:
- $CONFDIR: configuration directory
- $LOCALSTATESDIR: local states directory
- $INSTALLPREFIX: installation prefix
- $VERSION: rspamd version
Vsevolod Stakhov [Wed, 13 Nov 2013 17:43:50 +0000 (17:43 +0000)]
Sync with libucl.
Vsevolod Stakhov [Tue, 12 Nov 2013 16:38:54 +0000 (16:38 +0000)]
Decapitalize captions.
Vsevolod Stakhov [Tue, 12 Nov 2013 15:08:14 +0000 (15:08 +0000)]
Fix <param> elements in xml config.
Vsevolod Stakhov [Mon, 11 Nov 2013 12:56:45 +0000 (12:56 +0000)]
Fix xml parsing for param tags.
Vsevolod Stakhov [Sun, 10 Nov 2013 22:13:22 +0000 (22:13 +0000)]
Do not escape target string extra time.
Vsevolod Stakhov [Sun, 10 Nov 2013 16:20:55 +0000 (16:20 +0000)]
Do not crash on an invalid xml config.
Vsevolod Stakhov [Sun, 10 Nov 2013 16:07:32 +0000 (16:07 +0000)]
Do not listen on SOCK_DGRAM sockets.
Vsevolod Stakhov [Sun, 10 Nov 2013 16:06:48 +0000 (16:06 +0000)]
Terminate fuzzy worker with empty storage correctly.
Vsevolod Stakhov [Sat, 9 Nov 2013 22:42:27 +0000 (22:42 +0000)]
Remove dead code.
Vsevolod Stakhov [Sat, 9 Nov 2013 22:36:18 +0000 (22:36 +0000)]
Unbreak lua_worker with ucl.
Vsevolod Stakhov [Sat, 9 Nov 2013 20:55:31 +0000 (20:55 +0000)]
Link openssl to rspamc if enabled.
Vsevolod Stakhov [Fri, 8 Nov 2013 17:39:57 +0000 (17:39 +0000)]
Some fixes to buffered IO.
Vsevolod Stakhov [Fri, 8 Nov 2013 17:23:11 +0000 (17:23 +0000)]
Fix timeout error message.
Vsevolod Stakhov [Fri, 8 Nov 2013 17:02:00 +0000 (17:02 +0000)]
Zero dispatcher structure before using.
Vsevolod Stakhov [Fri, 8 Nov 2013 16:42:04 +0000 (16:42 +0000)]
Replace gfind with gmatch.
Reported by: Andrew Lewis
Vsevolod Stakhov [Thu, 7 Nov 2013 22:23:23 +0000 (22:23 +0000)]
Parse composites in ucl.
Vsevolod Stakhov [Thu, 7 Nov 2013 22:09:18 +0000 (22:09 +0000)]
Comvert composites to UCL properly.
Vsevolod Stakhov [Thu, 7 Nov 2013 22:08:55 +0000 (22:08 +0000)]
Allow 'modules' directive to be a plain string.
Vsevolod Stakhov [Thu, 7 Nov 2013 18:30:40 +0000 (18:30 +0000)]
Parse classifiers and statfiles in ucl.
Vsevolod Stakhov [Tue, 5 Nov 2013 22:38:03 +0000 (22:38 +0000)]
Fix work with lua 5.2 eventually.
Vsevolod Stakhov [Tue, 5 Nov 2013 14:28:41 +0000 (14:28 +0000)]
Fix load of ucl config.
Vsevolod Stakhov [Sun, 3 Nov 2013 22:30:57 +0000 (22:30 +0000)]
Fix RCL config parsing.
Vsevolod Stakhov [Sat, 2 Nov 2013 22:28:19 +0000 (22:28 +0000)]
Forgot to add.
Vsevolod Stakhov [Sat, 2 Nov 2013 22:12:39 +0000 (22:12 +0000)]
Sync with libucl.
Vsevolod Stakhov [Sun, 27 Oct 2013 22:02:20 +0000 (22:02 +0000)]
Avoid endless recursion in export ucl to lua.
Vsevolod Stakhov [Sun, 27 Oct 2013 21:49:32 +0000 (21:49 +0000)]
Insert modules to rcl object properly.
Vsevolod Stakhov [Sun, 27 Oct 2013 21:27:37 +0000 (21:27 +0000)]
Parse modules in ucl.
Vsevolod Stakhov [Sat, 26 Oct 2013 21:40:03 +0000 (22:40 +0100)]
Update from libucl.
Vsevolod Stakhov [Sat, 26 Oct 2013 21:32:18 +0000 (22:32 +0100)]
Fix timeouts in map watch.
Vsevolod Stakhov [Sat, 26 Oct 2013 21:08:05 +0000 (22:08 +0100)]
Allow xml->ucl config conversion.
Now it is possible to read UCL configs directly and convert legacy XML
to UCL by --convert-config option.
Default config is now rspamd.conf, not rspamd.xml.
Vsevolod Stakhov [Sat, 26 Oct 2013 15:14:40 +0000 (16:14 +0100)]
Process lua files from configuration.
Vsevolod Stakhov [Sat, 26 Oct 2013 14:37:36 +0000 (15:37 +0100)]
Parse all objects from ucl.
Vsevolod Stakhov [Sat, 26 Oct 2013 14:33:37 +0000 (15:33 +0100)]
Remove custom filters as they have never been used.
Vsevolod Stakhov [Sat, 26 Oct 2013 14:25:10 +0000 (15:25 +0100)]
Fix metric setup from ucl.
Vsevolod Stakhov [Sat, 26 Oct 2013 13:57:24 +0000 (14:57 +0100)]
Further fixes in xml->rcl conversion.
Vsevolod Stakhov [Sat, 26 Oct 2013 13:31:49 +0000 (14:31 +0100)]
Remove kvstorage from the configuration as well.
Vsevolod Stakhov [Sat, 26 Oct 2013 13:20:53 +0000 (14:20 +0100)]
Improve xml->rcl conversion.
Vsevolod Stakhov [Sat, 26 Oct 2013 13:13:28 +0000 (14:13 +0100)]
Remove unused code from the build.
Vsevolod Stakhov [Sat, 26 Oct 2013 12:33:45 +0000 (13:33 +0100)]
Properly check for an end element in xml.
Vsevolod Stakhov [Sat, 26 Oct 2013 12:29:53 +0000 (13:29 +0100)]
Skip empty text values.
Vsevolod Stakhov [Sat, 26 Oct 2013 12:25:18 +0000 (13:25 +0100)]
Zero xml parser userdata before using.
Vsevolod Stakhov [Wed, 23 Oct 2013 16:30:48 +0000 (17:30 +0100)]
Start to eliminate xml configuration.
Vsevolod Stakhov [Wed, 23 Oct 2013 15:51:01 +0000 (16:51 +0100)]
Sync with libucl.
Vsevolod Stakhov [Tue, 22 Oct 2013 16:12:49 +0000 (17:12 +0100)]
Forgot to add.
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.
Vsevolod Stakhov [Thu, 17 Oct 2013 13:56:02 +0000 (14:56 +0100)]
Fix rcl issues (ported from libucl).
Vsevolod Stakhov [Wed, 16 Oct 2013 23:15:32 +0000 (00:15 +0100)]
Fix float numbers parsing.
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.
Vsevolod Stakhov [Mon, 14 Oct 2013 22:44:22 +0000 (23:44 +0100)]
Make keys syntax more permissive.
Vsevolod Stakhov [Mon, 14 Oct 2013 16:03:10 +0000 (17:03 +0100)]
Fix json unescape.
Vsevolod Stakhov [Mon, 14 Oct 2013 11:26:41 +0000 (12:26 +0100)]
Fix leaks and errors in rcl_parser.
Vsevolod Stakhov [Sun, 13 Oct 2013 15:28:06 +0000 (16:28 +0100)]
Do not unescape json strings without escapes.
Vsevolod Stakhov [Sat, 12 Oct 2013 10:09:12 +0000 (11:09 +0100)]
Fix parsing of empty keys/values.
Vsevolod Stakhov [Sat, 12 Oct 2013 09:00:14 +0000 (10:00 +0100)]
Disallow '//' as a single line comment.
Vsevolod Stakhov [Fri, 11 Oct 2013 14:16:07 +0000 (15:16 +0100)]
Fix rcl parser.
Vsevolod Stakhov [Fri, 11 Oct 2013 13:31:01 +0000 (14:31 +0100)]
Improve characters tests for rcl parser.
Vsevolod Stakhov [Thu, 10 Oct 2013 16:51:55 +0000 (17:51 +0100)]
Improve output buffering architecture.
Vsevolod Stakhov [Thu, 10 Oct 2013 12:22:38 +0000 (13:22 +0100)]
Fix some warnings.
Vsevolod Stakhov [Thu, 10 Oct 2013 12:18:32 +0000 (13:18 +0100)]
Fix lua expressions in regexp plugin.
Vsevolod Stakhov [Thu, 10 Oct 2013 12:18:19 +0000 (13:18 +0100)]
Fix call of expression functions.
Vsevolod Stakhov [Fri, 4 Oct 2013 14:17:27 +0000 (15:17 +0100)]
Fix other stuff to work with rcl modules.
Vsevolod Stakhov [Fri, 4 Oct 2013 14:17:14 +0000 (15:17 +0100)]
Fix regexp plugin.
Vsevolod Stakhov [Fri, 4 Oct 2013 13:50:43 +0000 (14:50 +0100)]
Fix surbl module.
Vsevolod Stakhov [Thu, 3 Oct 2013 14:49:17 +0000 (15:49 +0100)]
Fix fuzzy check plugin.
Vsevolod Stakhov [Thu, 3 Oct 2013 14:49:04 +0000 (15:49 +0100)]
Fix SPF plugin.
Vsevolod Stakhov [Thu, 3 Oct 2013 14:48:49 +0000 (15:48 +0100)]
Fix dkim_check plugin.
Vsevolod Stakhov [Thu, 3 Oct 2013 09:43:38 +0000 (10:43 +0100)]
Fix chartable plugin.
Vsevolod Stakhov [Wed, 2 Oct 2013 22:58:48 +0000 (23:58 +0100)]
Remove a bunch of legacy code.
Vsevolod Stakhov [Wed, 2 Oct 2013 22:55:31 +0000 (23:55 +0100)]
Fix misprint.
Vsevolod Stakhov [Wed, 2 Oct 2013 22:54:49 +0000 (23:54 +0100)]
Migrate lua configuration to RCL.
Vsevolod Stakhov [Wed, 2 Oct 2013 18:36:46 +0000 (19:36 +0100)]
Load RCL object from lua.
Vsevolod Stakhov [Wed, 2 Oct 2013 17:58:48 +0000 (18:58 +0100)]
Allow userdata objects in rcl.
Vsevolod Stakhov [Wed, 2 Oct 2013 14:37:56 +0000 (15:37 +0100)]
Add preliminary implementation of lua to rcl converter.
Vsevolod Stakhov [Wed, 2 Oct 2013 12:44:01 +0000 (13:44 +0100)]
Add an emitter from rcl object to lua.
Vsevolod Stakhov [Wed, 2 Oct 2013 11:40:14 +0000 (12:40 +0100)]
Save rcl object inside config file.
Vsevolod Stakhov [Tue, 1 Oct 2013 14:52:47 +0000 (15:52 +0100)]
Prepend worker conf to the list of workers.
Vsevolod Stakhov [Mon, 30 Sep 2013 16:30:03 +0000 (17:30 +0100)]
Adopt fuzzy storage and controller.
Vsevolod Stakhov [Mon, 30 Sep 2013 16:23:06 +0000 (17:23 +0100)]
Convert webui worker.
Vsevolod Stakhov [Mon, 30 Sep 2013 16:17:10 +0000 (17:17 +0100)]
Convert webui.
Vsevolod Stakhov [Mon, 30 Sep 2013 16:14:01 +0000 (17:14 +0100)]
Convert smtp workers.
Vsevolod Stakhov [Mon, 30 Sep 2013 16:06:24 +0000 (17:06 +0100)]
Allow parsing uint32 as time values.
Vsevolod Stakhov [Mon, 30 Sep 2013 15:56:37 +0000 (16:56 +0100)]
Adopt normal worker for new params parsing.
Vsevolod Stakhov [Mon, 30 Sep 2013 15:52:29 +0000 (16:52 +0100)]
Call worker parsers from the main rcl parser.
Vsevolod Stakhov [Mon, 30 Sep 2013 15:43:52 +0000 (16:43 +0100)]
Add rcl parsers for workers options.
Vsevolod Stakhov [Mon, 30 Sep 2013 15:42:12 +0000 (16:42 +0100)]
Fix warning about murmur hash macro.
Vsevolod Stakhov [Mon, 30 Sep 2013 15:12:22 +0000 (16:12 +0100)]
Parse bind_line in rcl.
Vsevolod Stakhov [Mon, 30 Sep 2013 15:09:34 +0000 (16:09 +0100)]
Fix state management for arrays.
Vsevolod Stakhov [Tue, 24 Sep 2013 21:19:09 +0000 (22:19 +0100)]
Improve lua detection.