]> git.ipfire.org Git - thirdparty/rspamd.git/log
thirdparty/rspamd.git
10 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

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

10 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

10 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.

10 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.

10 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.

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

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

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

10 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.

10 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".

10 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

10 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.

10 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.

10 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.

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

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

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

10 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

10 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.

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

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

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

10 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.

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

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

10 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

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

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

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

10 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.

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

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

10 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.

10 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.

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

10 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.

10 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.

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

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

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

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

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

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

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

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

10 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.

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

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

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

10 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).

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

10 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.

10 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

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

10 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.

10 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.

10 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.

10 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

10 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

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

10 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

10 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

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

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

10 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.

10 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

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

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

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

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

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

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

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

10 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

10 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

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

10 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.

10 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.

10 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.

10 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

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

10 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()

10 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

10 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.

10 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

10 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

10 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'

10 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

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

10 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}

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

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

10 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.

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

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

10 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

10 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

10 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

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