]> source.dussan.org Git - rspamd.git/log
rspamd.git
10 years agoAdd documentation for regexp.
Vsevolod Stakhov [Tue, 26 Aug 2014 14:41:36 +0000 (15:41 +0100)]
Add documentation for regexp.

10 years agoAdd notes about 'require'.
Vsevolod Stakhov [Tue, 26 Aug 2014 14:36:28 +0000 (15:36 +0100)]
Add notes about 'require'.

10 years agoSort markdown entries.
Vsevolod Stakhov [Tue, 26 Aug 2014 14:36:08 +0000 (15:36 +0100)]
Sort markdown entries.

10 years agoAdd convertor from lua C API to markdown.
Vsevolod Stakhov [Tue, 26 Aug 2014 13:43:36 +0000 (14:43 +0100)]
Add convertor from lua C API to markdown.

10 years agoSimplify cached regexp creation.
Vsevolod Stakhov [Tue, 26 Aug 2014 11:02:50 +0000 (12:02 +0100)]
Simplify cached regexp creation.

10 years agoAdd create_cached for rspamd_regexp.
Vsevolod Stakhov [Tue, 26 Aug 2014 10:57:21 +0000 (11:57 +0100)]
Add create_cached for rspamd_regexp.

10 years agoUpdate submodules.
Vsevolod Stakhov [Mon, 25 Aug 2014 15:26:05 +0000 (16:26 +0100)]
Update submodules.

10 years agoValidate charset attribute of Content-Type.
Vsevolod Stakhov [Mon, 25 Aug 2014 13:24:56 +0000 (14:24 +0100)]
Validate charset attribute of Content-Type.

10 years agoAdopt config.
Vsevolod Stakhov [Mon, 25 Aug 2014 13:00:29 +0000 (14:00 +0100)]
Adopt config.

10 years agoAdopt settings.
Vsevolod Stakhov [Mon, 25 Aug 2014 12:56:35 +0000 (13:56 +0100)]
Adopt settings.

10 years agoAdopt whitelist plugin.
Vsevolod Stakhov [Mon, 25 Aug 2014 12:56:24 +0000 (13:56 +0100)]
Adopt whitelist plugin.

10 years agoAdopt trie plugin.
Vsevolod Stakhov [Mon, 25 Aug 2014 12:56:05 +0000 (13:56 +0100)]
Adopt trie plugin.

10 years agoAdopt rbl plugin.
Vsevolod Stakhov [Mon, 25 Aug 2014 12:40:10 +0000 (13:40 +0100)]
Adopt rbl plugin.

10 years agoAdopt ratelimit filter.
Vsevolod Stakhov [Mon, 25 Aug 2014 12:39:55 +0000 (13:39 +0100)]
Adopt ratelimit filter.

10 years agoAdopt phishing plugin.
Vsevolod Stakhov [Mon, 25 Aug 2014 12:39:40 +0000 (13:39 +0100)]
Adopt phishing plugin.

10 years agoAdopt once_received plugin.
Vsevolod Stakhov [Mon, 25 Aug 2014 12:39:22 +0000 (13:39 +0100)]
Adopt once_received plugin.

10 years agoAdopt multimap plugin.
Vsevolod Stakhov [Mon, 25 Aug 2014 12:39:07 +0000 (13:39 +0100)]
Adopt multimap plugin.

10 years agoModernize maillist plugin.
Vsevolod Stakhov [Mon, 25 Aug 2014 12:38:52 +0000 (13:38 +0100)]
Modernize maillist plugin.

10 years agoAdopt ip_score plugin.
Vsevolod Stakhov [Mon, 25 Aug 2014 12:38:40 +0000 (13:38 +0100)]
Adopt ip_score plugin.

10 years agoAdopt emails plugin.
Vsevolod Stakhov [Mon, 25 Aug 2014 12:38:23 +0000 (13:38 +0100)]
Adopt emails plugin.

10 years agoAdd rspamd_ prefix to regexp module.
Vsevolod Stakhov [Mon, 25 Aug 2014 12:30:21 +0000 (13:30 +0100)]
Add rspamd_ prefix to regexp module.

10 years agoUse rspamd_ prefix.
Vsevolod Stakhov [Mon, 25 Aug 2014 12:27:01 +0000 (13:27 +0100)]
Use rspamd_ prefix.

10 years agoUse modules preload for lua.
Vsevolod Stakhov [Mon, 25 Aug 2014 12:17:21 +0000 (13:17 +0100)]
Use modules preload for lua.

10 years agoRework lists and hashes.
Vsevolod Stakhov [Sun, 24 Aug 2014 16:35:02 +0000 (17:35 +0100)]
Rework lists and hashes.

10 years agoRework counters.
Vsevolod Stakhov [Sun, 24 Aug 2014 16:03:53 +0000 (17:03 +0100)]
Rework counters.

10 years agoRework rspamd hash.
Vsevolod Stakhov [Sun, 24 Aug 2014 16:03:24 +0000 (17:03 +0100)]
Rework rspamd hash.

10 years agoAllow strcase uthash.
Vsevolod Stakhov [Sun, 24 Aug 2014 16:00:13 +0000 (17:00 +0100)]
Allow strcase uthash.

10 years agoInitialize PRG after fork.
Vsevolod Stakhov [Sun, 24 Aug 2014 15:54:28 +0000 (16:54 +0100)]
Initialize PRG after fork.

10 years agoReplace murmur with xxhash32.
Vsevolod Stakhov [Sun, 24 Aug 2014 15:49:57 +0000 (16:49 +0100)]
Replace murmur with xxhash32.

10 years agoUse xxhash by default.
Vsevolod Stakhov [Sun, 24 Aug 2014 15:44:32 +0000 (16:44 +0100)]
Use xxhash by default.

10 years agoDo not force murmur for uthash.
Vsevolod Stakhov [Sun, 24 Aug 2014 15:44:11 +0000 (16:44 +0100)]
Do not force murmur for uthash.

10 years agoAdd refcounter inmplementation.
Vsevolod Stakhov [Sun, 24 Aug 2014 14:07:19 +0000 (15:07 +0100)]
Add refcounter inmplementation.

10 years agoFix notes about settings.
Vsevolod Stakhov [Sat, 23 Aug 2014 20:51:46 +0000 (13:51 -0700)]
Fix notes about settings.

10 years agoAllow adding maps without description from lua.
Vsevolod Stakhov [Sat, 23 Aug 2014 17:35:20 +0000 (10:35 -0700)]
Allow adding maps without description from lua.

10 years agoImplement .include_map
Vsevolod Stakhov [Fri, 22 Aug 2014 22:50:24 +0000 (15:50 -0700)]
Implement .include_map

10 years agoUpdate libucl.
Vsevolod Stakhov [Fri, 22 Aug 2014 22:37:38 +0000 (15:37 -0700)]
Update libucl.

10 years agoFix issue with /getmap command.
Vsevolod Stakhov [Fri, 22 Aug 2014 22:36:56 +0000 (15:36 -0700)]
Fix issue with /getmap command.

Issue: #3
Reported by: @prudnitskiy

10 years agoFix tabulation and some spelling.
Vsevolod Stakhov [Fri, 22 Aug 2014 14:17:35 +0000 (15:17 +0100)]
Fix tabulation and some spelling.

10 years agoFixes to lua api intro.
Vsevolod Stakhov [Fri, 22 Aug 2014 13:36:11 +0000 (14:36 +0100)]
Fixes to lua api intro.

10 years agoRework lua_http.
Vsevolod Stakhov [Thu, 21 Aug 2014 16:14:00 +0000 (17:14 +0100)]
Rework lua_http.

10 years agoFix session-less resolver.
Vsevolod Stakhov [Thu, 21 Aug 2014 15:26:51 +0000 (16:26 +0100)]
Fix session-less resolver.

10 years agoAdd function rspamd_inet_address_set_port.
Vsevolod Stakhov [Thu, 21 Aug 2014 15:20:40 +0000 (16:20 +0100)]
Add function rspamd_inet_address_set_port.

10 years agoAdd function rspamd_inet_address_connect.
Vsevolod Stakhov [Thu, 21 Aug 2014 15:15:07 +0000 (16:15 +0100)]
Add function rspamd_inet_address_connect.

10 years agoAllow to use resolver without the pool.
Vsevolod Stakhov [Thu, 21 Aug 2014 14:54:35 +0000 (15:54 +0100)]
Allow to use resolver without the pool.

10 years agoAllow to skip session in dns resolver.
Vsevolod Stakhov [Thu, 21 Aug 2014 14:47:51 +0000 (15:47 +0100)]
Allow to skip session in dns resolver.

10 years agoAllow NULL-config resolver.
Vsevolod Stakhov [Thu, 21 Aug 2014 14:35:08 +0000 (15:35 +0100)]
Allow NULL-config resolver.

10 years agoAdd URL parsing utility.
Vsevolod Stakhov [Thu, 21 Aug 2014 14:28:54 +0000 (15:28 +0100)]
Add URL parsing utility.

10 years agoAllow usage of default event base.
Vsevolod Stakhov [Thu, 21 Aug 2014 13:07:27 +0000 (14:07 +0100)]
Allow usage of default event base.

10 years agoUpdate ucl submodule.
Vsevolod Stakhov [Wed, 20 Aug 2014 14:52:15 +0000 (15:52 +0100)]
Update ucl submodule.

10 years agoFix HTTP maps processing.
Vsevolod Stakhov [Wed, 20 Aug 2014 14:35:25 +0000 (15:35 +0100)]
Fix HTTP maps processing.

10 years agoFix reading maps.
Vsevolod Stakhov [Wed, 20 Aug 2014 14:35:16 +0000 (15:35 +0100)]
Fix reading maps.

10 years agoFix lua maps processing.
Vsevolod Stakhov [Wed, 20 Aug 2014 14:35:01 +0000 (15:35 +0100)]
Fix lua maps processing.

10 years agoDo not call http body handler on end of message.
Vsevolod Stakhov [Wed, 20 Aug 2014 14:26:05 +0000 (15:26 +0100)]
Do not call http body handler on end of message.

10 years agoReset http_parser on connection reset.
Vsevolod Stakhov [Wed, 20 Aug 2014 14:15:08 +0000 (15:15 +0100)]
Reset http_parser on connection reset.

10 years agoFix adding map for settings.
Vsevolod Stakhov [Wed, 20 Aug 2014 13:54:08 +0000 (14:54 +0100)]
Fix adding map for settings.

10 years agoRework maps to work with http client.
Vsevolod Stakhov [Wed, 20 Aug 2014 13:43:28 +0000 (14:43 +0100)]
Rework maps to work with http client.

10 years agoAdd HTTP_CLIENT_SIMPLE option.
Vsevolod Stakhov [Wed, 20 Aug 2014 13:11:58 +0000 (14:11 +0100)]
Add HTTP_CLIENT_SIMPLE option.

10 years agoRemove embedded jansson completely.
Vsevolod Stakhov [Tue, 19 Aug 2014 16:02:22 +0000 (17:02 +0100)]
Remove embedded jansson completely.

10 years agoUse ucl instead of jansson.
Vsevolod Stakhov [Tue, 19 Aug 2014 16:00:31 +0000 (17:00 +0100)]
Use ucl instead of jansson.

10 years agoRemove unused options from regexp module.
Vsevolod Stakhov [Tue, 19 Aug 2014 15:43:54 +0000 (16:43 +0100)]
Remove unused options from regexp module.

10 years agoSupport slashed re in lua_regexp.
Vsevolod Stakhov [Tue, 19 Aug 2014 14:52:06 +0000 (15:52 +0100)]
Support slashed re in lua_regexp.

It is now possible to add slashed regexp to lua_regexp library, for
example:

/^something.+$/i

10 years agoFix indentation.
Vsevolod Stakhov [Tue, 19 Aug 2014 14:33:24 +0000 (15:33 +0100)]
Fix indentation.

10 years agoConsider settings actions.
Vsevolod Stakhov [Tue, 19 Aug 2014 14:30:24 +0000 (15:30 +0100)]
Consider settings actions.

10 years agoFix settings priorities.
Vsevolod Stakhov [Tue, 19 Aug 2014 14:01:30 +0000 (15:01 +0100)]
Fix settings priorities.

10 years agoFix settings plugin.
Vsevolod Stakhov [Tue, 19 Aug 2014 13:27:27 +0000 (14:27 +0100)]
Fix settings plugin.

10 years agoProcess settings in rspamd.
Vsevolod Stakhov [Tue, 19 Aug 2014 13:10:23 +0000 (14:10 +0100)]
Process settings in rspamd.

10 years agoRemove unused variable.
Vsevolod Stakhov [Tue, 19 Aug 2014 12:22:20 +0000 (13:22 +0100)]
Remove unused variable.

10 years agoRefactor lua_ip one more time.
Vsevolod Stakhov [Mon, 18 Aug 2014 23:10:25 +0000 (16:10 -0700)]
Refactor lua_ip one more time.

Suggested by: clock via irc

10 years agoProperly find 'actions' property.
Vsevolod Stakhov [Mon, 18 Aug 2014 22:43:17 +0000 (15:43 -0700)]
Properly find 'actions' property.

10 years agoViva clang-3.4
Vsevolod Stakhov [Mon, 18 Aug 2014 22:22:09 +0000 (15:22 -0700)]
Viva clang-3.4

10 years agoRefactor lua_ip slightly
Vsevolod Stakhov [Mon, 18 Aug 2014 22:12:48 +0000 (15:12 -0700)]
Refactor lua_ip slightly

10 years agoAdd mask function and compare function to lua_ip
Vsevolod Stakhov [Mon, 18 Aug 2014 21:27:43 +0000 (14:27 -0700)]
Add mask function and compare function to lua_ip

10 years agoAdd settings check logic.
Vsevolod Stakhov [Mon, 18 Aug 2014 16:58:05 +0000 (17:58 +0100)]
Add settings check logic.

10 years agoAdd more settings processing.
Vsevolod Stakhov [Mon, 18 Aug 2014 16:07:32 +0000 (17:07 +0100)]
Add more settings processing.

10 years agoStart lua-settings implementation.
Vsevolod Stakhov [Mon, 18 Aug 2014 15:45:55 +0000 (16:45 +0100)]
Start lua-settings implementation.

10 years agoFix plugins.
Vsevolod Stakhov [Mon, 18 Aug 2014 14:56:33 +0000 (15:56 +0100)]
Fix plugins.

10 years agoFix regexp plugin for new smtp from/rcpt.
Vsevolod Stakhov [Mon, 18 Aug 2014 14:34:13 +0000 (15:34 +0100)]
Fix regexp plugin for new smtp from/rcpt.

10 years agoAnother fix for parse host/port.
Vsevolod Stakhov [Mon, 18 Aug 2014 14:33:09 +0000 (15:33 +0100)]
Another fix for parse host/port.

10 years agoFix critical bug in host/port parsing.
Vsevolod Stakhov [Mon, 18 Aug 2014 14:24:47 +0000 (15:24 +0100)]
Fix critical bug in host/port parsing.

10 years agoAdopt spf module for new from/rcpt.
Vsevolod Stakhov [Mon, 18 Aug 2014 14:00:07 +0000 (15:00 +0100)]
Adopt spf module for new from/rcpt.

10 years agoFix critical bug in recipients_distance function.
Vsevolod Stakhov [Mon, 18 Aug 2014 13:59:46 +0000 (14:59 +0100)]
Fix critical bug in recipients_distance function.

10 years agoUnify lua API for getting rcptis and from.
Vsevolod Stakhov [Mon, 18 Aug 2014 13:29:23 +0000 (14:29 +0100)]
Unify lua API for getting rcptis and from.

10 years agoUnify from/rcpt processing.
Vsevolod Stakhov [Mon, 18 Aug 2014 13:20:48 +0000 (14:20 +0100)]
Unify from/rcpt processing.

10 years agoMore rdns fixes.
Vsevolod Stakhov [Mon, 18 Aug 2014 10:01:02 +0000 (11:01 +0100)]
More rdns fixes.

10 years agoFix rdns build.
Vsevolod Stakhov [Mon, 18 Aug 2014 09:32:46 +0000 (10:32 +0100)]
Fix rdns build.

10 years agoUpdate default configs.
Vsevolod Stakhov [Sun, 17 Aug 2014 20:48:01 +0000 (13:48 -0700)]
Update default configs.

10 years agoReally allow to specify multiplier in return value.
Vsevolod Stakhov [Sun, 17 Aug 2014 17:53:07 +0000 (18:53 +0100)]
Really allow to specify multiplier in return value.

10 years agoImprove lua callbacks call.
Vsevolod Stakhov [Sun, 17 Aug 2014 17:44:56 +0000 (18:44 +0100)]
Improve lua callbacks call.

Now it is possible to return a value from lua callback and rspamd can
automatically insert the symbol corresponding.

For example:

rspamd_config.TEST = function(task)
...
 return true -- inserts symbol TEST with the default value
...
 return true, 0.5 -- inserts symbol TEST with 0.5 multiplier
...
 return true, "opt1", "opt2" -- insert symbol with the options specified
...
 return true, 0.5, "opt1", "opt2"
...
end

10 years agoForgot to initialize lua_State.
Vsevolod Stakhov [Sun, 17 Aug 2014 17:23:53 +0000 (18:23 +0100)]
Forgot to initialize lua_State.

10 years agoRework adding symbols from lua.
Vsevolod Stakhov [Sun, 17 Aug 2014 17:14:31 +0000 (18:14 +0100)]
Rework adding symbols from lua.

It is now possible to use something like:

rspamd_config.SYMBOL = function(task) ... end

or even

rspamd_config.SYMBOL =  {
     callback = function(task) ... end,
weight = '1.0', --optional
priority = '0', --optional
type = 'callback' --optional
}

10 years agoLua is now parsed after all parsing complete.
Vsevolod Stakhov [Sun, 17 Aug 2014 16:34:06 +0000 (17:34 +0100)]
Lua is now parsed after all parsing complete.

10 years agoRework lua function names to avoid ambiguity.
Vsevolod Stakhov [Sun, 17 Aug 2014 16:15:16 +0000 (17:15 +0100)]
Rework lua function names to avoid ambiguity.

10 years agoWrite custom headers in the output.
Vsevolod Stakhov [Sun, 17 Aug 2014 16:03:04 +0000 (17:03 +0100)]
Write custom headers in the output.

10 years agoAdd support of custom request and reply headers.
Vsevolod Stakhov [Sun, 17 Aug 2014 15:56:34 +0000 (16:56 +0100)]
Add support of custom request and reply headers.

10 years agoRework symbols adding.
Vsevolod Stakhov [Sun, 17 Aug 2014 15:17:45 +0000 (16:17 +0100)]
Rework symbols adding.

Now if no metric defines a symbol (explicitly or implicitly by means of
`unknown_weight` attribute), this symbol is skipped completely.

10 years agoAdd configuration option `unknown_weight` for metrics.
Vsevolod Stakhov [Sun, 17 Aug 2014 14:57:51 +0000 (15:57 +0100)]
Add configuration option `unknown_weight` for metrics.

If this option is specified, then all filters add symbols to this metric
with the specified weight even if they are not specified in symbols list
explicitly.

10 years agoSet useful fields for addresses.
Vsevolod Stakhov [Sat, 16 Aug 2014 18:41:15 +0000 (19:41 +0100)]
Set useful fields for addresses.

10 years agoRemove unused definition.
Vsevolod Stakhov [Sat, 16 Aug 2014 18:18:59 +0000 (19:18 +0100)]
Remove unused definition.

10 years agoAdd method to get any configuration key in lua.
Vsevolod Stakhov [Sat, 16 Aug 2014 17:52:22 +0000 (18:52 +0100)]
Add method to get any configuration key in lua.

10 years agoAdd lua method to get config for the task.
Vsevolod Stakhov [Sat, 16 Aug 2014 17:32:55 +0000 (18:32 +0100)]
Add lua method to get config for the task.