]> source.dussan.org Git - rspamd.git/log
rspamd.git
10 years agoGlib linking is required as well.
Vsevolod Stakhov [Wed, 20 Nov 2013 15:45:00 +0000 (15:45 +0000)]
Glib linking is required as well.

10 years agoDo not destroy memory pools in lua automatically.
Vsevolod Stakhov [Wed, 20 Nov 2013 11:26:11 +0000 (11:26 +0000)]
Do not destroy memory pools in lua automatically.

10 years agoLink ssl libraries to libucl.
Vsevolod Stakhov [Wed, 20 Nov 2013 10:18:44 +0000 (10:18 +0000)]
Link ssl libraries to libucl.

10 years agoIgnore order of symbols when calculating checksum.
Vsevolod Stakhov [Wed, 20 Nov 2013 00:44:02 +0000 (00:44 +0000)]
Ignore order of symbols when calculating checksum.

10 years agoEmails and multimap configuration fixes.
Vsevolod Stakhov [Wed, 20 Nov 2013 00:29:31 +0000 (00:29 +0000)]
Emails and multimap configuration fixes.

10 years agoCheck type of rule in multimap module.
Vsevolod Stakhov [Wed, 20 Nov 2013 00:17:15 +0000 (00:17 +0000)]
Check type of rule in multimap module.

10 years agoDo not ignore case for keys in config.
Vsevolod Stakhov [Wed, 20 Nov 2013 00:14:24 +0000 (00:14 +0000)]
Do not ignore case for keys in config.

10 years agoFix emailbl plugin.
Vsevolod Stakhov [Wed, 20 Nov 2013 00:12:14 +0000 (00:12 +0000)]
Fix emailbl plugin.

10 years agoRemove unused function.
Vsevolod Stakhov [Tue, 19 Nov 2013 18:20:24 +0000 (18:20 +0000)]
Remove unused function.

10 years agoRemove duplicated resolving functions from task.
Vsevolod Stakhov [Tue, 19 Nov 2013 17:56:43 +0000 (17:56 +0000)]
Remove duplicated resolving functions from task.

10 years agoFix readme filename.
Vsevolod Stakhov [Tue, 19 Nov 2013 16:43:50 +0000 (16:43 +0000)]
Fix readme filename.

10 years agoFix rules.
Vsevolod Stakhov [Tue, 19 Nov 2013 16:39:00 +0000 (16:39 +0000)]
Fix rules.

10 years agoUpdate packages.
Vsevolod Stakhov [Tue, 19 Nov 2013 16:36:14 +0000 (16:36 +0000)]
Update packages.

10 years agoRework build and install paths.
Vsevolod Stakhov [Tue, 19 Nov 2013 16:17:13 +0000 (16:17 +0000)]
Rework build and install paths.

10 years agoAdd get_version for lua IP module.
Vsevolod Stakhov [Tue, 19 Nov 2013 13:46:28 +0000 (13:46 +0000)]
Add get_version for lua IP module.

10 years agoUse local function in multimap.
Vsevolod Stakhov [Tue, 19 Nov 2013 00:48:59 +0000 (00:48 +0000)]
Use local function in multimap.

10 years agoFix rbl plugin.
Vsevolod Stakhov [Tue, 19 Nov 2013 00:47:22 +0000 (00:47 +0000)]
Fix rbl plugin.

10 years agoFix multimap plugin.
Vsevolod Stakhov [Tue, 19 Nov 2013 00:19:24 +0000 (00:19 +0000)]
Fix multimap plugin.

10 years agoFix ipv6 addresses exporting.
Vsevolod Stakhov [Mon, 18 Nov 2013 16:36:57 +0000 (16:36 +0000)]
Fix ipv6 addresses exporting.

10 years agoDo not push ip from NULL string.
Vsevolod Stakhov [Mon, 18 Nov 2013 13:43:33 +0000 (13:43 +0000)]
Do not push ip from NULL string.

10 years agoStore IP addresses properly in lua.
Vsevolod Stakhov [Sun, 17 Nov 2013 23:58:30 +0000 (23:58 +0000)]
Store IP addresses properly in lua.

10 years agoAdd IP addresses manipulation API to lua.
Vsevolod Stakhov [Sun, 17 Nov 2013 22:26:08 +0000 (22:26 +0000)]
Add IP addresses manipulation API to lua.

10 years agoMerge pull request #2 from fatalbanana/master
Vsevolod Stakhov [Sun, 17 Nov 2013 21:33:34 +0000 (13:33 -0800)]
Merge pull request #2 from fatalbanana/master

IPv6 DNSBL support & config changes for multimap; New RBL module

10 years agoRemove received_rbl.lua 2/head
Andrew Lewis [Sun, 17 Nov 2013 20:36:55 +0000 (22:36 +0200)]
Remove received_rbl.lua

10 years agoObscure braindamage
Andrew Lewis [Sun, 17 Nov 2013 19:24:52 +0000 (21:24 +0200)]
Obscure braindamage

10 years agoMultimap: add IPv6 DNSBL support & change config layout
Andrew Lewis [Sun, 17 Nov 2013 17:40:01 +0000 (19:40 +0200)]
Multimap: add IPv6 DNSBL support & change config layout

10 years agoAdd new RBL module
Andrew Lewis [Sun, 17 Nov 2013 17:37:45 +0000 (19:37 +0200)]
Add new RBL module

10 years agoUse min_bytes setting in fuzzy_check for normal parts.
Vsevolod Stakhov [Sat, 16 Nov 2013 22:10:29 +0000 (22:10 +0000)]
Use min_bytes setting in fuzzy_check for normal parts.

10 years agoRemove unused xml code.
Vsevolod Stakhov [Sat, 16 Nov 2013 16:13:30 +0000 (16:13 +0000)]
Remove unused xml code.

10 years agoFix bayes algorithm.
Vsevolod Stakhov [Fri, 15 Nov 2013 18:39:00 +0000 (18:39 +0000)]
Fix bayes algorithm.

10 years agoFix dispatcher restoration.
Vsevolod Stakhov [Fri, 15 Nov 2013 18:38:50 +0000 (18:38 +0000)]
Fix dispatcher restoration.

10 years agoSet task dispatcher properly during learning.
Vsevolod Stakhov [Fri, 15 Nov 2013 17:42:07 +0000 (17:42 +0000)]
Set task dispatcher properly during learning.

10 years agoRemove statfile pool size as it was broken.
Vsevolod Stakhov [Fri, 15 Nov 2013 17:13:05 +0000 (17:13 +0000)]
Remove statfile pool size as it was broken.

10 years agoHandle workers params properly.
Vsevolod Stakhov [Fri, 15 Nov 2013 17:12:53 +0000 (17:12 +0000)]
Handle workers params properly.

10 years agoFix logging conversion from xml.
Vsevolod Stakhov [Fri, 15 Nov 2013 15:49:15 +0000 (15:49 +0000)]
Fix logging conversion from xml.

10 years agoDo not create too small statfiles.
Vsevolod Stakhov [Fri, 15 Nov 2013 15:07:24 +0000 (15:07 +0000)]
Do not create too small statfiles.

10 years agoFix options in statfiles.
Vsevolod Stakhov [Fri, 15 Nov 2013 14:55:40 +0000 (14:55 +0000)]
Fix options in statfiles.

10 years agoSync with libucl.
Vsevolod Stakhov [Fri, 15 Nov 2013 14:07:48 +0000 (14:07 +0000)]
Sync with libucl.

10 years agoFix issue with regexps parsing.
Vsevolod Stakhov [Thu, 14 Nov 2013 16:21:45 +0000 (16:21 +0000)]
Fix issue with regexps parsing.

10 years agoHandle views in ucl.
Vsevolod Stakhov [Thu, 14 Nov 2013 16:12:57 +0000 (16:12 +0000)]
Handle views in ucl.

10 years agoExpand path in file maps.
Vsevolod Stakhov [Wed, 13 Nov 2013 18:17:00 +0000 (18:17 +0000)]
Expand path in file maps.

10 years agoAdd support of path variables.
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

10 years agoSync with libucl.
Vsevolod Stakhov [Wed, 13 Nov 2013 17:43:50 +0000 (17:43 +0000)]
Sync with libucl.

10 years agoDecapitalize captions.
Vsevolod Stakhov [Tue, 12 Nov 2013 16:38:54 +0000 (16:38 +0000)]
Decapitalize captions.

10 years agoFix <param> elements in xml config.
Vsevolod Stakhov [Tue, 12 Nov 2013 15:08:14 +0000 (15:08 +0000)]
Fix <param> elements in xml config.

10 years agoFix xml parsing for param tags.
Vsevolod Stakhov [Mon, 11 Nov 2013 12:56:45 +0000 (12:56 +0000)]
Fix xml parsing for param tags.

10 years agoDo not escape target string extra time.
Vsevolod Stakhov [Sun, 10 Nov 2013 22:13:22 +0000 (22:13 +0000)]
Do not escape target string extra time.

10 years agoDo not crash on an invalid xml config.
Vsevolod Stakhov [Sun, 10 Nov 2013 16:20:55 +0000 (16:20 +0000)]
Do not crash on an invalid xml config.

10 years agoDo not listen on SOCK_DGRAM sockets.
Vsevolod Stakhov [Sun, 10 Nov 2013 16:07:32 +0000 (16:07 +0000)]
Do not listen on SOCK_DGRAM sockets.

10 years agoTerminate fuzzy worker with empty storage correctly.
Vsevolod Stakhov [Sun, 10 Nov 2013 16:06:48 +0000 (16:06 +0000)]
Terminate fuzzy worker with empty storage correctly.

10 years agoRemove dead code.
Vsevolod Stakhov [Sat, 9 Nov 2013 22:42:27 +0000 (22:42 +0000)]
Remove dead code.

10 years agoUnbreak lua_worker with ucl.
Vsevolod Stakhov [Sat, 9 Nov 2013 22:36:18 +0000 (22:36 +0000)]
Unbreak lua_worker with ucl.

10 years agoLink openssl to rspamc if enabled.
Vsevolod Stakhov [Sat, 9 Nov 2013 20:55:31 +0000 (20:55 +0000)]
Link openssl to rspamc if enabled.

10 years agoSome fixes to buffered IO.
Vsevolod Stakhov [Fri, 8 Nov 2013 17:39:57 +0000 (17:39 +0000)]
Some fixes to buffered IO.

10 years agoFix timeout error message.
Vsevolod Stakhov [Fri, 8 Nov 2013 17:23:11 +0000 (17:23 +0000)]
Fix timeout error message.

10 years agoZero dispatcher structure before using.
Vsevolod Stakhov [Fri, 8 Nov 2013 17:02:00 +0000 (17:02 +0000)]
Zero dispatcher structure before using.

10 years agoReplace gfind with gmatch.
Vsevolod Stakhov [Fri, 8 Nov 2013 16:42:04 +0000 (16:42 +0000)]
Replace gfind with gmatch.

Reported by: Andrew Lewis

10 years agoParse composites in ucl.
Vsevolod Stakhov [Thu, 7 Nov 2013 22:23:23 +0000 (22:23 +0000)]
Parse composites in ucl.

10 years agoComvert composites to UCL properly.
Vsevolod Stakhov [Thu, 7 Nov 2013 22:09:18 +0000 (22:09 +0000)]
Comvert composites to UCL properly.

10 years agoAllow 'modules' directive to be a plain string.
Vsevolod Stakhov [Thu, 7 Nov 2013 22:08:55 +0000 (22:08 +0000)]
Allow 'modules' directive to be a plain string.

10 years agoParse classifiers and statfiles in ucl.
Vsevolod Stakhov [Thu, 7 Nov 2013 18:30:40 +0000 (18:30 +0000)]
Parse classifiers and statfiles in ucl.

10 years agoFix work with lua 5.2 eventually.
Vsevolod Stakhov [Tue, 5 Nov 2013 22:38:03 +0000 (22:38 +0000)]
Fix work with lua 5.2 eventually.

10 years agoFix load of ucl config.
Vsevolod Stakhov [Tue, 5 Nov 2013 14:28:41 +0000 (14:28 +0000)]
Fix load of ucl config.

10 years agoFix RCL config parsing.
Vsevolod Stakhov [Sun, 3 Nov 2013 22:30:57 +0000 (22:30 +0000)]
Fix RCL config parsing.

10 years agoForgot to add.
Vsevolod Stakhov [Sat, 2 Nov 2013 22:28:19 +0000 (22:28 +0000)]
Forgot to add.

10 years agoSync with libucl.
Vsevolod Stakhov [Sat, 2 Nov 2013 22:12:39 +0000 (22:12 +0000)]
Sync with libucl.

10 years agoAvoid endless recursion in export ucl to lua.
Vsevolod Stakhov [Sun, 27 Oct 2013 22:02:20 +0000 (22:02 +0000)]
Avoid endless recursion in export ucl to lua.

10 years agoInsert modules to rcl object properly.
Vsevolod Stakhov [Sun, 27 Oct 2013 21:49:32 +0000 (21:49 +0000)]
Insert modules to rcl object properly.

10 years agoParse modules in ucl.
Vsevolod Stakhov [Sun, 27 Oct 2013 21:27:37 +0000 (21:27 +0000)]
Parse modules in ucl.

10 years agoUpdate from libucl.
Vsevolod Stakhov [Sat, 26 Oct 2013 21:40:03 +0000 (22:40 +0100)]
Update from libucl.

10 years agoFix timeouts in map watch.
Vsevolod Stakhov [Sat, 26 Oct 2013 21:32:18 +0000 (22:32 +0100)]
Fix timeouts in map watch.

10 years agoAllow xml->ucl config conversion.
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.

10 years agoProcess lua files from configuration.
Vsevolod Stakhov [Sat, 26 Oct 2013 15:14:40 +0000 (16:14 +0100)]
Process lua files from configuration.

10 years agoParse all objects from ucl.
Vsevolod Stakhov [Sat, 26 Oct 2013 14:37:36 +0000 (15:37 +0100)]
Parse all objects from ucl.

10 years agoRemove custom filters as they have never been used.
Vsevolod Stakhov [Sat, 26 Oct 2013 14:33:37 +0000 (15:33 +0100)]
Remove custom filters as they have never been used.

10 years agoFix metric setup from ucl.
Vsevolod Stakhov [Sat, 26 Oct 2013 14:25:10 +0000 (15:25 +0100)]
Fix metric setup from ucl.

10 years agoFurther fixes in xml->rcl conversion.
Vsevolod Stakhov [Sat, 26 Oct 2013 13:57:24 +0000 (14:57 +0100)]
Further fixes in xml->rcl conversion.

10 years agoRemove kvstorage from the configuration as well.
Vsevolod Stakhov [Sat, 26 Oct 2013 13:31:49 +0000 (14:31 +0100)]
Remove kvstorage from the configuration as well.

10 years agoImprove xml->rcl conversion.
Vsevolod Stakhov [Sat, 26 Oct 2013 13:20:53 +0000 (14:20 +0100)]
Improve xml->rcl conversion.

10 years agoRemove unused code from the build.
Vsevolod Stakhov [Sat, 26 Oct 2013 13:13:28 +0000 (14:13 +0100)]
Remove unused code from the build.

10 years agoProperly check for an end element in xml.
Vsevolod Stakhov [Sat, 26 Oct 2013 12:33:45 +0000 (13:33 +0100)]
Properly check for an end element in xml.

10 years agoSkip empty text values.
Vsevolod Stakhov [Sat, 26 Oct 2013 12:29:53 +0000 (13:29 +0100)]
Skip empty text values.

10 years agoZero xml parser userdata before using.
Vsevolod Stakhov [Sat, 26 Oct 2013 12:25:18 +0000 (13:25 +0100)]
Zero xml parser userdata before using.

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.