]> source.dussan.org Git - rspamd.git/log
rspamd.git
9 years agoImplement runtime creation for redis.
Vsevolod Stakhov [Mon, 2 Mar 2015 16:32:22 +0000 (16:32 +0000)]
Implement runtime creation for redis.

9 years agoFix issues found by unit testing.
Vsevolod Stakhov [Mon, 2 Mar 2015 14:14:01 +0000 (14:14 +0000)]
Fix issues found by unit testing.

9 years agoFix url extraction tests.
Vsevolod Stakhov [Mon, 2 Mar 2015 14:13:46 +0000 (14:13 +0000)]
Fix url extraction tests.

9 years agoAdd utility function for testing purposes.
Vsevolod Stakhov [Mon, 2 Mar 2015 14:13:29 +0000 (14:13 +0000)]
Add utility function for testing purposes.

9 years agoAdd unit test for url extraction.
Vsevolod Stakhov [Mon, 2 Mar 2015 13:24:05 +0000 (13:24 +0000)]
Add unit test for url extraction.

9 years agoFix broken asserts.
Vsevolod Stakhov [Mon, 2 Mar 2015 13:22:35 +0000 (13:22 +0000)]
Fix broken asserts.

9 years agoFix bug with port setup.
Vsevolod Stakhov [Mon, 2 Mar 2015 10:15:49 +0000 (10:15 +0000)]
Fix bug with port setup.

9 years agoPort fix from libucl.
Vsevolod Stakhov [Sun, 1 Mar 2015 21:34:26 +0000 (21:34 +0000)]
Port fix from libucl.

9 years agoAdd test cases.
Vsevolod Stakhov [Sat, 28 Feb 2015 23:02:27 +0000 (23:02 +0000)]
Add test cases.

9 years agoAdd routines to set recipients and sender for a task.
Vsevolod Stakhov [Sat, 28 Feb 2015 22:43:48 +0000 (22:43 +0000)]
Add routines to set recipients and sender for a task.

9 years agoAdd explicit dependency for rspamd-test on rspamd-server
Vsevolod Stakhov [Sat, 28 Feb 2015 22:23:56 +0000 (22:23 +0000)]
Add explicit dependency for rspamd-test on rspamd-server

9 years agoWrite unit test for redis substitution and fix a bug found.
Vsevolod Stakhov [Sat, 28 Feb 2015 22:23:28 +0000 (22:23 +0000)]
Write unit test for redis substitution and fix a bug found.

9 years agoInclude the whole rspamd-server for ffi.
Vsevolod Stakhov [Sat, 28 Feb 2015 22:15:23 +0000 (22:15 +0000)]
Include the whole rspamd-server for ffi.

9 years agoAdd utf lc test case and fix the bug.
Vsevolod Stakhov [Sat, 28 Feb 2015 10:31:47 +0000 (10:31 +0000)]
Add utf lc test case and fix the bug.

9 years agoAdopt RSA test for telescope.
Vsevolod Stakhov [Sat, 28 Feb 2015 00:24:13 +0000 (00:24 +0000)]
Adopt RSA test for telescope.

9 years agoRework lua tests one more time.
Vsevolod Stakhov [Sat, 28 Feb 2015 00:11:56 +0000 (00:11 +0000)]
Rework lua tests one more time.

9 years agoMerge branch 'redis-stat'
Vsevolod Stakhov [Fri, 27 Feb 2015 17:15:36 +0000 (17:15 +0000)]
Merge branch 'redis-stat'

9 years agoRemove expired.
Vsevolod Stakhov [Fri, 27 Feb 2015 17:13:52 +0000 (17:13 +0000)]
Remove expired.

9 years agoRework lua tests structure, require external busted.
Vsevolod Stakhov [Fri, 27 Feb 2015 17:12:41 +0000 (17:12 +0000)]
Rework lua tests structure, require external busted.

9 years agoFix lua tests copying.
Vsevolod Stakhov [Fri, 27 Feb 2015 16:12:43 +0000 (16:12 +0000)]
Fix lua tests copying.

9 years agoReorganize lua tests.
Vsevolod Stakhov [Fri, 27 Feb 2015 15:55:46 +0000 (15:55 +0000)]
Reorganize lua tests.

9 years agoAdd lua test framework.
Vsevolod Stakhov [Fri, 27 Feb 2015 15:33:58 +0000 (15:33 +0000)]
Add lua test framework.

9 years agosnprintf->rspamd_snprintf.
Vsevolod Stakhov [Fri, 27 Feb 2015 15:33:28 +0000 (15:33 +0000)]
snprintf->rspamd_snprintf.

9 years agoFix some syntax issues.
Vsevolod Stakhov [Fri, 27 Feb 2015 15:08:56 +0000 (15:08 +0000)]
Fix some syntax issues.

9 years agoAdd busted lua testing framework.
Vsevolod Stakhov [Fri, 27 Feb 2015 14:46:28 +0000 (14:46 +0000)]
Add busted lua testing framework.

9 years agoAdd prefix expansion function.
Vsevolod Stakhov [Fri, 27 Feb 2015 14:41:07 +0000 (14:41 +0000)]
Add prefix expansion function.

9 years agoRuntime for backends now accepts task object.
Vsevolod Stakhov [Fri, 27 Feb 2015 13:36:58 +0000 (13:36 +0000)]
Runtime for backends now accepts task object.

9 years agoAdd redis backend initialization.
Vsevolod Stakhov [Fri, 27 Feb 2015 13:34:34 +0000 (13:34 +0000)]
Add redis backend initialization.

9 years agoFix state machine rewind.
Vsevolod Stakhov [Fri, 27 Feb 2015 09:30:38 +0000 (09:30 +0000)]
Fix state machine rewind.

9 years agoFix initialization order.
Vsevolod Stakhov [Thu, 26 Feb 2015 22:55:57 +0000 (22:55 +0000)]
Fix initialization order.

9 years agoAdd support of '!~' operator.
Vsevolod Stakhov [Thu, 26 Feb 2015 22:32:56 +0000 (22:32 +0000)]
Add support of '!~' operator.

9 years agoMerge pull request #188 from fatalbanana/master
Vsevolod Stakhov [Thu, 26 Feb 2015 22:09:42 +0000 (22:09 +0000)]
Merge pull request #188 from fatalbanana/master

Check IPv6 addresses at dnswl.org and Spamhaus whitelist

9 years agoCheck IPv6 addresses at dnswl.org and Spamhaus whitelist 188/head
Andrew Lewis [Thu, 26 Feb 2015 21:31:56 +0000 (23:31 +0200)]
Check IPv6 addresses at dnswl.org and Spamhaus whitelist

9 years agoFix FORGED_MUA_THUNDERBIRD_MSGID.
Vsevolod Stakhov [Thu, 26 Feb 2015 18:01:27 +0000 (18:01 +0000)]
Fix FORGED_MUA_THUNDERBIRD_MSGID.

Issue: #186
Reported by: @moiseev

9 years agoAdopt SA 'exists' function.
Vsevolod Stakhov [Thu, 26 Feb 2015 17:53:19 +0000 (17:53 +0000)]
Adopt SA 'exists' function.

9 years agoFix closure parameters.
Vsevolod Stakhov [Thu, 26 Feb 2015 17:22:22 +0000 (17:22 +0000)]
Fix closure parameters.

9 years agoFixes to the url parser.
Vsevolod Stakhov [Thu, 26 Feb 2015 17:18:04 +0000 (17:18 +0000)]
Fixes to the url parser.

9 years agoFix emails parser.
Vsevolod Stakhov [Thu, 26 Feb 2015 16:48:40 +0000 (16:48 +0000)]
Fix emails parser.

9 years agoForgot to remove obsoleted options.
Vsevolod Stakhov [Thu, 26 Feb 2015 16:34:43 +0000 (16:34 +0000)]
Forgot to remove obsoleted options.

9 years agoRework ip_score module completely.
Vsevolod Stakhov [Thu, 26 Feb 2015 16:05:51 +0000 (16:05 +0000)]
Rework ip_score module completely.

9 years agoSupport redis notices.
Vsevolod Stakhov [Thu, 26 Feb 2015 16:03:10 +0000 (16:03 +0000)]
Support redis notices.

9 years agoDo not set negative values for ratelimits.
Vsevolod Stakhov [Thu, 26 Feb 2015 14:52:23 +0000 (14:52 +0000)]
Do not set negative values for ratelimits.

9 years agoFix ratelimit plugin.
Vsevolod Stakhov [Thu, 26 Feb 2015 14:26:57 +0000 (14:26 +0000)]
Fix ratelimit plugin.

9 years agoImport the proper version of lua-functional.
Vsevolod Stakhov [Thu, 26 Feb 2015 14:06:01 +0000 (14:06 +0000)]
Import the proper version of lua-functional.

9 years agoFor SPF we might also want to check notify messages.
Vsevolod Stakhov [Thu, 26 Feb 2015 11:58:37 +0000 (11:58 +0000)]
For SPF we might also want to check notify messages.

9 years agoFix documentation makefile.
Vsevolod Stakhov [Thu, 26 Feb 2015 10:46:09 +0000 (10:46 +0000)]
Fix documentation makefile.

9 years agoRemove old redis invocation.
Vsevolod Stakhov [Wed, 25 Feb 2015 17:50:51 +0000 (17:50 +0000)]
Remove old redis invocation.

9 years agoRework and optimize ratelimit plugin.
Vsevolod Stakhov [Wed, 25 Feb 2015 17:45:38 +0000 (17:45 +0000)]
Rework and optimize ratelimit plugin.

9 years agoRework lua_redis module.
Vsevolod Stakhov [Wed, 25 Feb 2015 17:45:16 +0000 (17:45 +0000)]
Rework lua_redis module.

9 years agoUse position from the arguments.
Vsevolod Stakhov [Wed, 25 Feb 2015 15:04:55 +0000 (15:04 +0000)]
Use position from the arguments.

9 years agoMake lua_check_task public.
Vsevolod Stakhov [Wed, 25 Feb 2015 15:03:58 +0000 (15:03 +0000)]
Make lua_check_task public.

9 years agoMake lua_check_ip function public.
Vsevolod Stakhov [Wed, 25 Feb 2015 14:59:00 +0000 (14:59 +0000)]
Make lua_check_ip function public.

9 years agoReformat ratelimit plugin.
Vsevolod Stakhov [Wed, 25 Feb 2015 14:36:46 +0000 (14:36 +0000)]
Reformat ratelimit plugin.

9 years agoAvoid redis context leak.
Vsevolod Stakhov [Wed, 25 Feb 2015 14:36:35 +0000 (14:36 +0000)]
Avoid redis context leak.

9 years agoMerge pull request #184 from fatalbanana/master
Vsevolod Stakhov [Wed, 25 Feb 2015 14:07:10 +0000 (14:07 +0000)]
Merge pull request #184 from fatalbanana/master

Fix default lua package path

9 years agoFix url parsing.
Vsevolod Stakhov [Wed, 25 Feb 2015 12:51:46 +0000 (12:51 +0000)]
Fix url parsing.

9 years agoFix default lua package path 184/head
Andrew Lewis [Wed, 25 Feb 2015 12:47:11 +0000 (14:47 +0200)]
Fix default lua package path

9 years agoMerge pull request #183 from fatalbanana/master
Vsevolod Stakhov [Wed, 25 Feb 2015 12:45:48 +0000 (12:45 +0000)]
Merge pull request #183 from fatalbanana/master

Install fun.lua to correct location etc

9 years agorbl.lua: Housekeeping 183/head
Andrew Lewis [Thu, 19 Feb 2015 13:38:28 +0000 (15:38 +0200)]
rbl.lua: Housekeeping

9 years agoInstall fun.lua to correct location
Andrew Lewis [Wed, 25 Feb 2015 12:13:45 +0000 (14:13 +0200)]
Install fun.lua to correct location

9 years agoRemove forgotten variables in lua stack.
Vsevolod Stakhov [Wed, 25 Feb 2015 11:52:02 +0000 (11:52 +0000)]
Remove forgotten variables in lua stack.

9 years agoAvoid double free of keys cache.
Vsevolod Stakhov [Wed, 25 Feb 2015 11:26:32 +0000 (11:26 +0000)]
Avoid double free of keys cache.

9 years agoSet robust flag for mutexes to avoid dead locks.
Vsevolod Stakhov [Tue, 24 Feb 2015 17:08:26 +0000 (17:08 +0000)]
Set robust flag for mutexes to avoid dead locks.

9 years agoCompletely rewrite multimap plugin.
Vsevolod Stakhov [Mon, 23 Feb 2015 17:42:29 +0000 (17:42 +0000)]
Completely rewrite multimap plugin.

9 years agoReally add normalized words.
Vsevolod Stakhov [Mon, 23 Feb 2015 17:42:16 +0000 (17:42 +0000)]
Really add normalized words.

9 years agoFix filename setting.
Vsevolod Stakhov [Mon, 23 Feb 2015 17:13:19 +0000 (17:13 +0000)]
Fix filename setting.

9 years agoTry to open statfile if it is not found.
Vsevolod Stakhov [Mon, 23 Feb 2015 16:00:07 +0000 (16:00 +0000)]
Try to open statfile if it is not found.

9 years agoOSB is a more proper name than "osb-text".
Vsevolod Stakhov [Mon, 23 Feb 2015 15:56:47 +0000 (15:56 +0000)]
OSB is a more proper name than "osb-text".

9 years agoRework tokenization:
Vsevolod Stakhov [Mon, 23 Feb 2015 14:29:31 +0000 (14:29 +0000)]
Rework tokenization:

- Use normalized words if needed
- Allow using of seeded XXHash instead of hand-made legacy shit
- Allow secure hashing using siphash

9 years agoFuzzy check uses already normalized words.
Vsevolod Stakhov [Mon, 23 Feb 2015 14:29:04 +0000 (14:29 +0000)]
Fuzzy check uses already normalized words.

9 years agoAdd routines to normalize text parts.
Vsevolod Stakhov [Mon, 23 Feb 2015 14:28:47 +0000 (14:28 +0000)]
Add routines to normalize text parts.

9 years agoAdd lowercase utility for utf8 strings.
Vsevolod Stakhov [Mon, 23 Feb 2015 13:45:44 +0000 (13:45 +0000)]
Add lowercase utility for utf8 strings.

9 years agoConfigurable min_word_len.
Vsevolod Stakhov [Mon, 23 Feb 2015 12:46:08 +0000 (12:46 +0000)]
Configurable min_word_len.

9 years agoUse xxh64 for upstreams hashing.
Vsevolod Stakhov [Mon, 23 Feb 2015 11:11:52 +0000 (11:11 +0000)]
Use xxh64 for upstreams hashing.

9 years agoAllow configurable tokenizers.
Vsevolod Stakhov [Sun, 22 Feb 2015 21:32:22 +0000 (21:32 +0000)]
Allow configurable tokenizers.

9 years agoRemove unused chacha implementation from libottery
Vsevolod Stakhov [Sat, 21 Feb 2015 22:28:54 +0000 (22:28 +0000)]
Remove unused chacha implementation from libottery

9 years agoMove cdb to contrib as well.
Vsevolod Stakhov [Sat, 21 Feb 2015 18:35:54 +0000 (18:35 +0000)]
Move cdb to contrib as well.

9 years agoAdd legacy XXH32_init.
Vsevolod Stakhov [Sat, 21 Feb 2015 18:30:09 +0000 (18:30 +0000)]
Add legacy XXH32_init.

9 years agoAvoid copies of xxhash.
Vsevolod Stakhov [Sat, 21 Feb 2015 18:12:29 +0000 (18:12 +0000)]
Avoid copies of xxhash.

9 years agoRemove submodules.
Vsevolod Stakhov [Sat, 21 Feb 2015 18:11:34 +0000 (18:11 +0000)]
Remove submodules.

9 years agoMove ucl and rdns to contrib.
Vsevolod Stakhov [Sat, 21 Feb 2015 18:11:12 +0000 (18:11 +0000)]
Move ucl and rdns to contrib.

9 years agoUpdate xxhash.
Vsevolod Stakhov [Sat, 21 Feb 2015 17:51:40 +0000 (17:51 +0000)]
Update xxhash.

9 years agoUpdate documentation.
Vsevolod Stakhov [Fri, 20 Feb 2015 16:54:01 +0000 (16:54 +0000)]
Update documentation.

9 years agoAllow customizations for unix sockets.
Vsevolod Stakhov [Fri, 20 Feb 2015 16:48:51 +0000 (16:48 +0000)]
Allow customizations for unix sockets.

Issue: #182
Reported by: @AlexeySa

9 years agoUpdate copyrights.
Vsevolod Stakhov [Fri, 20 Feb 2015 13:52:07 +0000 (13:52 +0000)]
Update copyrights.

9 years agoMore fixes to urls parser.
Vsevolod Stakhov [Fri, 20 Feb 2015 12:57:20 +0000 (12:57 +0000)]
More fixes to urls parser.

9 years agoInitialize variable earlier.
Vsevolod Stakhov [Fri, 20 Feb 2015 12:05:00 +0000 (12:05 +0000)]
Initialize variable earlier.

9 years agoExplicitly unset variable when looking for lua.
Vsevolod Stakhov [Fri, 20 Feb 2015 12:03:39 +0000 (12:03 +0000)]
Explicitly unset variable when looking for lua.

9 years agoRework url detection and decoding.
Vsevolod Stakhov [Fri, 20 Feb 2015 12:01:44 +0000 (12:01 +0000)]
Rework url detection and decoding.

9 years agoAdd uri unescape from nginx.
Vsevolod Stakhov [Thu, 19 Feb 2015 22:40:59 +0000 (22:40 +0000)]
Add uri unescape from nginx.

9 years agoAllow url parser seting the end of url.
Vsevolod Stakhov [Thu, 19 Feb 2015 22:30:31 +0000 (22:30 +0000)]
Allow url parser seting the end of url.

9 years agoImprove some cases of IDN urls.
Vsevolod Stakhov [Thu, 19 Feb 2015 16:34:03 +0000 (16:34 +0000)]
Improve some cases of IDN urls.

9 years agoWrite parser for urls.
Vsevolod Stakhov [Thu, 19 Feb 2015 16:18:06 +0000 (16:18 +0000)]
Write parser for urls.

9 years agoFix radix comparision for partial masks.
Vsevolod Stakhov [Thu, 19 Feb 2015 12:35:14 +0000 (12:35 +0000)]
Fix radix comparision for partial masks.

9 years agoLua is required for header files.
Vsevolod Stakhov [Wed, 18 Feb 2015 17:44:31 +0000 (17:44 +0000)]
Lua is required for header files.

9 years agoFix luajit detection.
Vsevolod Stakhov [Wed, 18 Feb 2015 17:31:40 +0000 (17:31 +0000)]
Fix luajit detection.

9 years agoMore fixes to travis...
Vsevolod Stakhov [Wed, 18 Feb 2015 16:30:59 +0000 (16:30 +0000)]
More fixes to travis...

9 years agoFix travis rules.
Vsevolod Stakhov [Wed, 18 Feb 2015 16:01:41 +0000 (16:01 +0000)]
Fix travis rules.

9 years agoFix travis rules.
Vsevolod Stakhov [Wed, 18 Feb 2015 15:58:52 +0000 (15:58 +0000)]
Fix travis rules.

9 years agoEnable luajit by default.
Vsevolod Stakhov [Wed, 18 Feb 2015 15:56:25 +0000 (15:56 +0000)]
Enable luajit by default.