]>
source.dussan.org Git - rspamd.git/log
Vsevolod Stakhov [Tue, 26 Aug 2014 14:41:36 +0000 (15:41 +0100)]
Add documentation for regexp.
Vsevolod Stakhov [Tue, 26 Aug 2014 14:36:28 +0000 (15:36 +0100)]
Add notes about 'require'.
Vsevolod Stakhov [Tue, 26 Aug 2014 14:36:08 +0000 (15:36 +0100)]
Sort markdown entries.
Vsevolod Stakhov [Tue, 26 Aug 2014 13:43:36 +0000 (14:43 +0100)]
Add convertor from lua C API to markdown.
Vsevolod Stakhov [Tue, 26 Aug 2014 11:02:50 +0000 (12:02 +0100)]
Simplify cached regexp creation.
Vsevolod Stakhov [Tue, 26 Aug 2014 10:57:21 +0000 (11:57 +0100)]
Add create_cached for rspamd_regexp.
Vsevolod Stakhov [Mon, 25 Aug 2014 15:26:05 +0000 (16:26 +0100)]
Update submodules.
Vsevolod Stakhov [Mon, 25 Aug 2014 13:24:56 +0000 (14:24 +0100)]
Validate charset attribute of Content-Type.
Vsevolod Stakhov [Mon, 25 Aug 2014 13:00:29 +0000 (14:00 +0100)]
Adopt config.
Vsevolod Stakhov [Mon, 25 Aug 2014 12:56:35 +0000 (13:56 +0100)]
Adopt settings.
Vsevolod Stakhov [Mon, 25 Aug 2014 12:56:24 +0000 (13:56 +0100)]
Adopt whitelist plugin.
Vsevolod Stakhov [Mon, 25 Aug 2014 12:56:05 +0000 (13:56 +0100)]
Adopt trie plugin.
Vsevolod Stakhov [Mon, 25 Aug 2014 12:40:10 +0000 (13:40 +0100)]
Adopt rbl plugin.
Vsevolod Stakhov [Mon, 25 Aug 2014 12:39:55 +0000 (13:39 +0100)]
Adopt ratelimit filter.
Vsevolod Stakhov [Mon, 25 Aug 2014 12:39:40 +0000 (13:39 +0100)]
Adopt phishing plugin.
Vsevolod Stakhov [Mon, 25 Aug 2014 12:39:22 +0000 (13:39 +0100)]
Adopt once_received plugin.
Vsevolod Stakhov [Mon, 25 Aug 2014 12:39:07 +0000 (13:39 +0100)]
Adopt multimap plugin.
Vsevolod Stakhov [Mon, 25 Aug 2014 12:38:52 +0000 (13:38 +0100)]
Modernize maillist plugin.
Vsevolod Stakhov [Mon, 25 Aug 2014 12:38:40 +0000 (13:38 +0100)]
Adopt ip_score plugin.
Vsevolod Stakhov [Mon, 25 Aug 2014 12:38:23 +0000 (13:38 +0100)]
Adopt emails plugin.
Vsevolod Stakhov [Mon, 25 Aug 2014 12:30:21 +0000 (13:30 +0100)]
Add rspamd_ prefix to regexp module.
Vsevolod Stakhov [Mon, 25 Aug 2014 12:27:01 +0000 (13:27 +0100)]
Use rspamd_ prefix.
Vsevolod Stakhov [Mon, 25 Aug 2014 12:17:21 +0000 (13:17 +0100)]
Use modules preload for lua.
Vsevolod Stakhov [Sun, 24 Aug 2014 16:35:02 +0000 (17:35 +0100)]
Rework lists and hashes.
Vsevolod Stakhov [Sun, 24 Aug 2014 16:03:53 +0000 (17:03 +0100)]
Rework counters.
Vsevolod Stakhov [Sun, 24 Aug 2014 16:03:24 +0000 (17:03 +0100)]
Rework rspamd hash.
Vsevolod Stakhov [Sun, 24 Aug 2014 16:00:13 +0000 (17:00 +0100)]
Allow strcase uthash.
Vsevolod Stakhov [Sun, 24 Aug 2014 15:54:28 +0000 (16:54 +0100)]
Initialize PRG after fork.
Vsevolod Stakhov [Sun, 24 Aug 2014 15:49:57 +0000 (16:49 +0100)]
Replace murmur with xxhash32.
Vsevolod Stakhov [Sun, 24 Aug 2014 15:44:32 +0000 (16:44 +0100)]
Use xxhash by default.
Vsevolod Stakhov [Sun, 24 Aug 2014 15:44:11 +0000 (16:44 +0100)]
Do not force murmur for uthash.
Vsevolod Stakhov [Sun, 24 Aug 2014 14:07:19 +0000 (15:07 +0100)]
Add refcounter inmplementation.
Vsevolod Stakhov [Sat, 23 Aug 2014 20:51:46 +0000 (13:51 -0700)]
Fix notes about settings.
Vsevolod Stakhov [Sat, 23 Aug 2014 17:35:20 +0000 (10:35 -0700)]
Allow adding maps without description from lua.
Vsevolod Stakhov [Fri, 22 Aug 2014 22:50:24 +0000 (15:50 -0700)]
Implement .include_map
Vsevolod Stakhov [Fri, 22 Aug 2014 22:37:38 +0000 (15:37 -0700)]
Update libucl.
Vsevolod Stakhov [Fri, 22 Aug 2014 22:36:56 +0000 (15:36 -0700)]
Fix issue with /getmap command.
Issue: #3
Reported by: @prudnitskiy
Vsevolod Stakhov [Fri, 22 Aug 2014 14:17:35 +0000 (15:17 +0100)]
Fix tabulation and some spelling.
Vsevolod Stakhov [Fri, 22 Aug 2014 13:36:11 +0000 (14:36 +0100)]
Fixes to lua api intro.
Vsevolod Stakhov [Thu, 21 Aug 2014 16:14:00 +0000 (17:14 +0100)]
Rework lua_http.
Vsevolod Stakhov [Thu, 21 Aug 2014 15:26:51 +0000 (16:26 +0100)]
Fix session-less resolver.
Vsevolod Stakhov [Thu, 21 Aug 2014 15:20:40 +0000 (16:20 +0100)]
Add function rspamd_inet_address_set_port.
Vsevolod Stakhov [Thu, 21 Aug 2014 15:15:07 +0000 (16:15 +0100)]
Add function rspamd_inet_address_connect.
Vsevolod Stakhov [Thu, 21 Aug 2014 14:54:35 +0000 (15:54 +0100)]
Allow to use resolver without the pool.
Vsevolod Stakhov [Thu, 21 Aug 2014 14:47:51 +0000 (15:47 +0100)]
Allow to skip session in dns resolver.
Vsevolod Stakhov [Thu, 21 Aug 2014 14:35:08 +0000 (15:35 +0100)]
Allow NULL-config resolver.
Vsevolod Stakhov [Thu, 21 Aug 2014 14:28:54 +0000 (15:28 +0100)]
Add URL parsing utility.
Vsevolod Stakhov [Thu, 21 Aug 2014 13:07:27 +0000 (14:07 +0100)]
Allow usage of default event base.
Vsevolod Stakhov [Wed, 20 Aug 2014 14:52:15 +0000 (15:52 +0100)]
Update ucl submodule.
Vsevolod Stakhov [Wed, 20 Aug 2014 14:35:25 +0000 (15:35 +0100)]
Fix HTTP maps processing.
Vsevolod Stakhov [Wed, 20 Aug 2014 14:35:16 +0000 (15:35 +0100)]
Fix reading maps.
Vsevolod Stakhov [Wed, 20 Aug 2014 14:35:01 +0000 (15:35 +0100)]
Fix lua maps processing.
Vsevolod Stakhov [Wed, 20 Aug 2014 14:26:05 +0000 (15:26 +0100)]
Do not call http body handler on end of message.
Vsevolod Stakhov [Wed, 20 Aug 2014 14:15:08 +0000 (15:15 +0100)]
Reset http_parser on connection reset.
Vsevolod Stakhov [Wed, 20 Aug 2014 13:54:08 +0000 (14:54 +0100)]
Fix adding map for settings.
Vsevolod Stakhov [Wed, 20 Aug 2014 13:43:28 +0000 (14:43 +0100)]
Rework maps to work with http client.
Vsevolod Stakhov [Wed, 20 Aug 2014 13:11:58 +0000 (14:11 +0100)]
Add HTTP_CLIENT_SIMPLE option.
Vsevolod Stakhov [Tue, 19 Aug 2014 16:02:22 +0000 (17:02 +0100)]
Remove embedded jansson completely.
Vsevolod Stakhov [Tue, 19 Aug 2014 16:00:31 +0000 (17:00 +0100)]
Use ucl instead of jansson.
Vsevolod Stakhov [Tue, 19 Aug 2014 15:43:54 +0000 (16:43 +0100)]
Remove unused options from regexp module.
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
Vsevolod Stakhov [Tue, 19 Aug 2014 14:33:24 +0000 (15:33 +0100)]
Fix indentation.
Vsevolod Stakhov [Tue, 19 Aug 2014 14:30:24 +0000 (15:30 +0100)]
Consider settings actions.
Vsevolod Stakhov [Tue, 19 Aug 2014 14:01:30 +0000 (15:01 +0100)]
Fix settings priorities.
Vsevolod Stakhov [Tue, 19 Aug 2014 13:27:27 +0000 (14:27 +0100)]
Fix settings plugin.
Vsevolod Stakhov [Tue, 19 Aug 2014 13:10:23 +0000 (14:10 +0100)]
Process settings in rspamd.
Vsevolod Stakhov [Tue, 19 Aug 2014 12:22:20 +0000 (13:22 +0100)]
Remove unused variable.
Vsevolod Stakhov [Mon, 18 Aug 2014 23:10:25 +0000 (16:10 -0700)]
Refactor lua_ip one more time.
Suggested by: clock via irc
Vsevolod Stakhov [Mon, 18 Aug 2014 22:43:17 +0000 (15:43 -0700)]
Properly find 'actions' property.
Vsevolod Stakhov [Mon, 18 Aug 2014 22:22:09 +0000 (15:22 -0700)]
Viva clang-3.4
Vsevolod Stakhov [Mon, 18 Aug 2014 22:12:48 +0000 (15:12 -0700)]
Refactor lua_ip slightly
Vsevolod Stakhov [Mon, 18 Aug 2014 21:27:43 +0000 (14:27 -0700)]
Add mask function and compare function to lua_ip
Vsevolod Stakhov [Mon, 18 Aug 2014 16:58:05 +0000 (17:58 +0100)]
Add settings check logic.
Vsevolod Stakhov [Mon, 18 Aug 2014 16:07:32 +0000 (17:07 +0100)]
Add more settings processing.
Vsevolod Stakhov [Mon, 18 Aug 2014 15:45:55 +0000 (16:45 +0100)]
Start lua-settings implementation.
Vsevolod Stakhov [Mon, 18 Aug 2014 14:56:33 +0000 (15:56 +0100)]
Fix plugins.
Vsevolod Stakhov [Mon, 18 Aug 2014 14:34:13 +0000 (15:34 +0100)]
Fix regexp plugin for new smtp from/rcpt.
Vsevolod Stakhov [Mon, 18 Aug 2014 14:33:09 +0000 (15:33 +0100)]
Another fix for parse host/port.
Vsevolod Stakhov [Mon, 18 Aug 2014 14:24:47 +0000 (15:24 +0100)]
Fix critical bug in host/port parsing.
Vsevolod Stakhov [Mon, 18 Aug 2014 14:00:07 +0000 (15:00 +0100)]
Adopt spf module for new from/rcpt.
Vsevolod Stakhov [Mon, 18 Aug 2014 13:59:46 +0000 (14:59 +0100)]
Fix critical bug in recipients_distance function.
Vsevolod Stakhov [Mon, 18 Aug 2014 13:29:23 +0000 (14:29 +0100)]
Unify lua API for getting rcptis and from.
Vsevolod Stakhov [Mon, 18 Aug 2014 13:20:48 +0000 (14:20 +0100)]
Unify from/rcpt processing.
Vsevolod Stakhov [Mon, 18 Aug 2014 10:01:02 +0000 (11:01 +0100)]
More rdns fixes.
Vsevolod Stakhov [Mon, 18 Aug 2014 09:32:46 +0000 (10:32 +0100)]
Fix rdns build.
Vsevolod Stakhov [Sun, 17 Aug 2014 20:48:01 +0000 (13:48 -0700)]
Update default configs.
Vsevolod Stakhov [Sun, 17 Aug 2014 17:53:07 +0000 (18:53 +0100)]
Really allow to specify multiplier in return value.
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
Vsevolod Stakhov [Sun, 17 Aug 2014 17:23:53 +0000 (18:23 +0100)]
Forgot to initialize lua_State.
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
}
Vsevolod Stakhov [Sun, 17 Aug 2014 16:34:06 +0000 (17:34 +0100)]
Lua is now parsed after all parsing complete.
Vsevolod Stakhov [Sun, 17 Aug 2014 16:15:16 +0000 (17:15 +0100)]
Rework lua function names to avoid ambiguity.
Vsevolod Stakhov [Sun, 17 Aug 2014 16:03:04 +0000 (17:03 +0100)]
Write custom headers in the output.
Vsevolod Stakhov [Sun, 17 Aug 2014 15:56:34 +0000 (16:56 +0100)]
Add support of custom request and reply headers.
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.
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.
Vsevolod Stakhov [Sat, 16 Aug 2014 18:41:15 +0000 (19:41 +0100)]
Set useful fields for addresses.
Vsevolod Stakhov [Sat, 16 Aug 2014 18:18:59 +0000 (19:18 +0100)]
Remove unused definition.
Vsevolod Stakhov [Sat, 16 Aug 2014 17:52:22 +0000 (18:52 +0100)]
Add method to get any configuration key in lua.
Vsevolod Stakhov [Sat, 16 Aug 2014 17:32:55 +0000 (18:32 +0100)]
Add lua method to get config for the task.