]> source.dussan.org Git - rspamd.git/log
rspamd.git
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.

9 years agoFix cmake message.
Vsevolod Stakhov [Wed, 18 Feb 2015 15:56:15 +0000 (15:56 +0000)]
Fix cmake message.

9 years agoFix includes.
Vsevolod Stakhov [Wed, 18 Feb 2015 15:40:49 +0000 (15:40 +0000)]
Fix includes.

9 years agoRemove bundled hiredis.
Vsevolod Stakhov [Wed, 18 Feb 2015 15:35:14 +0000 (15:35 +0000)]
Remove bundled hiredis.

9 years agoInvalidate learned files to update their content.
Vsevolod Stakhov [Wed, 18 Feb 2015 15:14:08 +0000 (15:14 +0000)]
Invalidate learned files to update their content.

9 years agoImplement statistics relearning.
Vsevolod Stakhov [Wed, 18 Feb 2015 15:06:41 +0000 (15:06 +0000)]
Implement statistics relearning.

9 years agoAllow sqlite3 cache customization.
Vsevolod Stakhov [Wed, 18 Feb 2015 12:56:43 +0000 (12:56 +0000)]
Allow sqlite3 cache customization.

9 years agoSave classifier options.
Vsevolod Stakhov [Wed, 18 Feb 2015 12:56:31 +0000 (12:56 +0000)]
Save classifier options.

9 years agoImprove emails parsing (mentioned at #181).
Vsevolod Stakhov [Wed, 18 Feb 2015 10:28:24 +0000 (10:28 +0000)]
Improve emails parsing (mentioned at #181).

9 years agoFix emails parsing.
Vsevolod Stakhov [Tue, 17 Feb 2015 15:05:49 +0000 (15:05 +0000)]
Fix emails parsing.

9 years agoStop regexp flags parsing on the first bad flag.
Vsevolod Stakhov [Tue, 17 Feb 2015 13:44:51 +0000 (13:44 +0000)]
Stop regexp flags parsing on the first bad flag.

9 years agoMerge pull request #177 from fatalbanana/master
Vsevolod Stakhov [Tue, 17 Feb 2015 13:41:25 +0000 (13:41 +0000)]
Merge pull request #177 from fatalbanana/master

More fixes & improvements for RBL module

9 years agoTreat '__' symbols as ghost symbols.
Vsevolod Stakhov [Tue, 17 Feb 2015 13:40:29 +0000 (13:40 +0000)]
Treat '__' symbols as ghost symbols.

9 years agoAdd the concept of ghost symbols.
Vsevolod Stakhov [Tue, 17 Feb 2015 13:20:32 +0000 (13:20 +0000)]
Add the concept of ghost symbols.

9 years agoSet lua path for lua configuration.
Vsevolod Stakhov [Tue, 17 Feb 2015 12:55:51 +0000 (12:55 +0000)]
Set lua path for lua configuration.

9 years agoEmail usernames can contain atom symbols.
Vsevolod Stakhov [Tue, 17 Feb 2015 12:35:13 +0000 (12:35 +0000)]
Email usernames can contain atom symbols.

9 years agoSince exclude_private_ips requires config to change behaviour now we can make it... 177/head
Andrew Lewis [Tue, 17 Feb 2015 11:12:05 +0000 (13:12 +0200)]
Since exclude_private_ips requires config to change behaviour now we can make it default true

9 years agoForgot to update documentation for emails dnsbl
Andrew Lewis [Tue, 17 Feb 2015 11:03:41 +0000 (13:03 +0200)]
Forgot to update documentation for emails dnsbl

9 years agoSupport emails dnsbl
Andrew Lewis [Tue, 17 Feb 2015 10:47:17 +0000 (12:47 +0200)]
Support emails dnsbl

9 years agoMake local/private IP exclusions work for all RBL types
Andrew Lewis [Tue, 17 Feb 2015 08:22:19 +0000 (10:22 +0200)]
Make local/private IP exclusions work for all RBL types

9 years agoUnbreak operation of rbl.lua in certain instances
Andrew Lewis [Tue, 17 Feb 2015 07:46:40 +0000 (09:46 +0200)]
Unbreak operation of rbl.lua in certain instances

9 years agoFix regexp creating from // pattern.
Vsevolod Stakhov [Tue, 17 Feb 2015 00:15:23 +0000 (00:15 +0000)]
Fix regexp creating from // pattern.

9 years agoAdd other rules types.
Vsevolod Stakhov [Mon, 16 Feb 2015 23:57:39 +0000 (23:57 +0000)]
Add other rules types.

9 years agoAllow to use SA header rules.
Vsevolod Stakhov [Mon, 16 Feb 2015 23:50:34 +0000 (23:50 +0000)]
Allow to use SA header rules.

9 years agoMerge pull request #176 from AlexeySa/master
Vsevolod Stakhov [Mon, 16 Feb 2015 21:53:07 +0000 (21:53 +0000)]
Merge pull request #176 from AlexeySa/master

Hfilter: Bounce message check

9 years agoUpdate hfilter.lua 176/head
Alexey AL [Mon, 16 Feb 2015 20:49:10 +0000 (23:49 +0300)]
Update hfilter.lua

9 years agoUpdate hfilter.lua
Alexey AL [Mon, 16 Feb 2015 20:43:25 +0000 (23:43 +0300)]
Update hfilter.lua

9 years agoUpdate hfilter.lua
Alexey AL [Mon, 16 Feb 2015 20:39:21 +0000 (23:39 +0300)]
Update hfilter.lua

9 years agoUpdate hfilter.lua
Alexey AL [Mon, 16 Feb 2015 20:37:47 +0000 (23:37 +0300)]
Update hfilter.lua

9 years agoUpdate modules.conf
Alexey AL [Mon, 16 Feb 2015 20:37:08 +0000 (23:37 +0300)]
Update modules.conf

9 years agoHfilter: bounce metrics
Alexey AL [Mon, 16 Feb 2015 20:20:44 +0000 (23:20 +0300)]
Hfilter: bounce metrics

9 years agoHfilter: Bounce message check
Alexey AL [Mon, 16 Feb 2015 20:16:39 +0000 (23:16 +0300)]
Hfilter: Bounce message check

9 years agoMerge pull request #174 from fatalbanana/master
Vsevolod Stakhov [Mon, 16 Feb 2015 18:44:28 +0000 (18:44 +0000)]
Merge pull request #174 from fatalbanana/master

Fixes & improvements for RBL module

9 years agoFix incorrect processing of exclusions 174/head
Andrew Lewis [Mon, 16 Feb 2015 15:39:39 +0000 (17:39 +0200)]
Fix incorrect processing of exclusions

9 years agoStart spamassasin rules reader plugin.
Vsevolod Stakhov [Mon, 16 Feb 2015 17:40:49 +0000 (17:40 +0000)]
Start spamassasin rules reader plugin.

9 years agoDo not set lua path when cfg is not loaded.
Vsevolod Stakhov [Mon, 16 Feb 2015 16:50:05 +0000 (16:50 +0000)]
Do not set lua path when cfg is not loaded.

9 years agoImport lua-functional for plugins stuff.
Vsevolod Stakhov [Mon, 16 Feb 2015 16:35:18 +0000 (16:35 +0000)]
Import lua-functional for plugins stuff.

9 years agoSet lua path according to rspamd settings.
Vsevolod Stakhov [Mon, 16 Feb 2015 16:34:54 +0000 (16:34 +0000)]
Set lua path according to rspamd settings.

9 years agoUse radix for private IP exclusions in rbl.lua
Andrew Lewis [Mon, 16 Feb 2015 15:23:44 +0000 (17:23 +0200)]
Use radix for private IP exclusions in rbl.lua

Conflicts:
src/plugins/lua/rbl.lua

9 years agoRemove useless library.
Vsevolod Stakhov [Mon, 16 Feb 2015 15:01:29 +0000 (15:01 +0000)]
Remove useless library.

9 years agoAdd rspamd_config:radix_from_config()
Andrew Lewis [Mon, 16 Feb 2015 12:15:39 +0000 (14:15 +0200)]
Add rspamd_config:radix_from_config()

9 years agoMake local exclusions configurable per-RBL
Andrew Lewis [Mon, 16 Feb 2015 08:59:25 +0000 (10:59 +0200)]
Make local exclusions configurable per-RBL

9 years agoAllow definitions of composite rules from lua.
Vsevolod Stakhov [Sun, 15 Feb 2015 21:57:44 +0000 (21:57 +0000)]
Allow definitions of composite rules from lua.

9 years agoMerge pull request #172 from fatalbanana/master
Vsevolod Stakhov [Sun, 15 Feb 2015 20:53:21 +0000 (20:53 +0000)]
Merge pull request #172 from fatalbanana/master

rbl.lua: Support site-local IP address / subnet exclusions

9 years agoDon't use to_number() when checking radix maps 172/head
Andrew Lewis [Sun, 15 Feb 2015 20:25:57 +0000 (22:25 +0200)]
Don't use to_number() when checking radix maps

9 years agoMerge remote-tracking branch 'upstream/master'
Andrew Lewis [Sun, 15 Feb 2015 20:21:22 +0000 (22:21 +0200)]
Merge remote-tracking branch 'upstream/master'

9 years agoSupport site-local IP address / subnet exclusions
Andrew Lewis [Sun, 15 Feb 2015 20:15:55 +0000 (22:15 +0200)]
Support site-local IP address / subnet exclusions

9 years agoFix typecast.
Vsevolod Stakhov [Sun, 15 Feb 2015 20:01:36 +0000 (20:01 +0000)]
Fix typecast.

9 years agoAllow to check radix maps from lua by rspamd{ip}
Vsevolod Stakhov [Sun, 15 Feb 2015 19:18:16 +0000 (19:18 +0000)]
Allow to check radix maps from lua by rspamd{ip}

9 years agoAllow && and || in composites.
Vsevolod Stakhov [Sun, 15 Feb 2015 17:46:19 +0000 (17:46 +0000)]
Allow && and || in composites.

9 years agoAlso allow setting description.
Vsevolod Stakhov [Sun, 15 Feb 2015 17:42:20 +0000 (17:42 +0000)]
Also allow setting description.

9 years agoAllow to register metric symbols from lua.
Vsevolod Stakhov [Sun, 15 Feb 2015 17:39:14 +0000 (17:39 +0000)]
Allow to register metric symbols from lua.

9 years agoRemove tweetnacl for now.
Vsevolod Stakhov [Sun, 15 Feb 2015 16:14:20 +0000 (16:14 +0000)]
Remove tweetnacl for now.

9 years agoAdd error codes for statistics.
Vsevolod Stakhov [Sat, 14 Feb 2015 22:22:55 +0000 (22:22 +0000)]
Add error codes for statistics.

9 years agoMerge pull request #170 from fatalbanana/master
Vsevolod Stakhov [Sat, 14 Feb 2015 15:11:03 +0000 (15:11 +0000)]
Merge pull request #170 from fatalbanana/master

rbl.lua: Fix mistake

9 years agoMerge pull request #169 from AlexeySa/master
Vsevolod Stakhov [Sat, 14 Feb 2015 15:10:40 +0000 (15:10 +0000)]
Merge pull request #169 from AlexeySa/master

Update hfilter

9 years agoMerge pull request #167 from AlexeySa/patch-3
Vsevolod Stakhov [Sat, 14 Feb 2015 15:10:18 +0000 (15:10 +0000)]
Merge pull request #167 from AlexeySa/patch-3

Preventing complications for ipv6 in rbl module

9 years agorbl.lua: Fix mistake 170/head
Andrew Lewis [Sat, 14 Feb 2015 13:54:49 +0000 (15:54 +0200)]
rbl.lua: Fix mistake

9 years agoUpdate hfilter.lua 169/head
Alexey AL [Sat, 14 Feb 2015 13:27:51 +0000 (16:27 +0300)]
Update hfilter.lua

9 years agoUpdate hfilter.lua
Alexey AL [Sat, 14 Feb 2015 13:06:26 +0000 (16:06 +0300)]
Update hfilter.lua

9 years agoUpdate metrics for Hfilter
Alexey AL [Sat, 14 Feb 2015 13:02:43 +0000 (16:02 +0300)]
Update metrics for Hfilter

9 years agoHfilter: more fixes for helo checks, new metric
Alexey AL [Sat, 14 Feb 2015 13:00:37 +0000 (16:00 +0300)]
Hfilter: more fixes for helo checks, new metric

9 years agoЗreventing complications for ipv6 in rbl module 167/head
Alexey AL [Sat, 14 Feb 2015 10:50:20 +0000 (13:50 +0300)]
Зreventing complications for ipv6 in rbl module

9 years agoMerge pull request #166 from fatalbanana/master
Vsevolod Stakhov [Sat, 14 Feb 2015 10:23:54 +0000 (10:23 +0000)]
Merge pull request #166 from fatalbanana/master

rbl.lua: Ignore private IP space

9 years agoMake ignoring private IP space configurable; avoid changing plugin default behaviour 166/head
Andrew Lewis [Sat, 14 Feb 2015 08:37:53 +0000 (10:37 +0200)]
Make ignoring private IP space configurable; avoid changing plugin default behaviour

9 years agoBackward compatibility.
Vsevolod Stakhov [Sat, 14 Feb 2015 00:57:41 +0000 (00:57 +0000)]
Backward compatibility.

9 years agoAnother try to fix build.
Vsevolod Stakhov [Sat, 14 Feb 2015 00:49:34 +0000 (00:49 +0000)]
Another try to fix build.