]>
source.dussan.org Git - rspamd.git/log
Vsevolod Stakhov [Thu, 26 Feb 2015 14:06:01 +0000 (14:06 +0000)]
Import the proper version of lua-functional.
Vsevolod Stakhov [Wed, 25 Feb 2015 14:06:58 +0000 (14:06 +0000)]
Merge pull request #185 from fatalbanana/rspamd-0.8
Rspamd 0.8: new multimap, fun.lua etc.
Vsevolod Stakhov [Wed, 25 Feb 2015 12:51:46 +0000 (12:51 +0000)]
Fix url parsing.
Andrew Lewis [Wed, 25 Feb 2015 12:47:11 +0000 (14:47 +0200)]
Fix default lua package path
Andrew Lewis [Wed, 25 Feb 2015 12:13:45 +0000 (14:13 +0200)]
Install fun.lua to correct location
Andrew Lewis [Thu, 19 Feb 2015 13:38:28 +0000 (15:38 +0200)]
rbl.lua: Housekeeping
Vsevolod Stakhov [Mon, 23 Feb 2015 17:42:29 +0000 (17:42 +0000)]
Completely rewrite multimap plugin.
Vsevolod Stakhov [Wed, 25 Feb 2015 11:52:02 +0000 (11:52 +0000)]
Remove forgotten variables in lua stack.
Conflicts:
src/lua/lua_common.c
Vsevolod Stakhov [Mon, 16 Feb 2015 16:50:05 +0000 (16:50 +0000)]
Do not set lua path when cfg is not loaded.
Vsevolod Stakhov [Mon, 16 Feb 2015 16:35:18 +0000 (16:35 +0000)]
Import lua-functional for plugins stuff.
Vsevolod Stakhov [Mon, 16 Feb 2015 16:34:54 +0000 (16:34 +0000)]
Set lua path according to rspamd settings.
Vsevolod Stakhov [Fri, 20 Feb 2015 13:52:07 +0000 (13:52 +0000)]
Update copyrights.
Vsevolod Stakhov [Fri, 20 Feb 2015 16:48:51 +0000 (16:48 +0000)]
Allow customizations for unix sockets.
Issue: #182
Reported by: @AlexeySa
Vsevolod Stakhov [Fri, 20 Feb 2015 12:57:20 +0000 (12:57 +0000)]
More fixes to urls parser.
Vsevolod Stakhov [Fri, 20 Feb 2015 12:05:00 +0000 (12:05 +0000)]
Initialize variable earlier.
Vsevolod Stakhov [Fri, 20 Feb 2015 12:01:44 +0000 (12:01 +0000)]
Rework url detection and decoding.
Vsevolod Stakhov [Thu, 19 Feb 2015 22:40:59 +0000 (22:40 +0000)]
Add uri unescape from nginx.
Vsevolod Stakhov [Thu, 19 Feb 2015 22:30:31 +0000 (22:30 +0000)]
Allow url parser seting the end of url.
Vsevolod Stakhov [Wed, 18 Feb 2015 10:28:24 +0000 (10:28 +0000)]
Improve emails parsing (mentioned at #181).
Conflicts:
src/libserver/url.c
Vsevolod Stakhov [Thu, 19 Feb 2015 16:34:03 +0000 (16:34 +0000)]
Improve some cases of IDN urls.
Vsevolod Stakhov [Thu, 19 Feb 2015 16:18:06 +0000 (16:18 +0000)]
Write parser for urls.
Conflicts:
src/libserver/url.c
Vsevolod Stakhov [Thu, 19 Feb 2015 12:35:14 +0000 (12:35 +0000)]
Fix radix comparision for partial masks.
Vsevolod Stakhov [Tue, 17 Feb 2015 15:05:49 +0000 (15:05 +0000)]
Fix emails parsing.
Vsevolod Stakhov [Tue, 17 Feb 2015 12:35:13 +0000 (12:35 +0000)]
Email usernames can contain atom symbols.
Vsevolod Stakhov [Tue, 3 Feb 2015 17:55:14 +0000 (17:55 +0000)]
Fix urls interaction.
Vsevolod Stakhov [Tue, 3 Feb 2015 17:39:03 +0000 (17:39 +0000)]
Remove old crap functions from url parser code.
Vsevolod Stakhov [Tue, 17 Feb 2015 13:41:30 +0000 (13:41 +0000)]
Merge pull request #178 from fatalbanana/rspamd-0.8
Rspamd 0.8: More fixes & improvements for RBL module
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
Andrew Lewis [Tue, 17 Feb 2015 11:03:41 +0000 (13:03 +0200)]
Forgot to update documentation for emails dnsbl
Andrew Lewis [Tue, 17 Feb 2015 10:47:17 +0000 (12:47 +0200)]
Support emails dnsbl
Andrew Lewis [Tue, 17 Feb 2015 08:22:19 +0000 (10:22 +0200)]
Make local/private IP exclusions work for all RBL types
Andrew Lewis [Tue, 17 Feb 2015 07:46:40 +0000 (09:46 +0200)]
Unbreak operation of rbl.lua in certain instances
Vsevolod Stakhov [Mon, 16 Feb 2015 18:44:36 +0000 (18:44 +0000)]
Merge pull request #175 from fatalbanana/rspamd-0.8
Rspamd 0.8: Fixes & improvements for RBL module
Andrew Lewis [Mon, 16 Feb 2015 15:39:39 +0000 (17:39 +0200)]
Fix incorrect processing of exclusions
Andrew Lewis [Mon, 16 Feb 2015 15:23:44 +0000 (17:23 +0200)]
Use radix for private IP exclusions in rbl.lua
Andrew Lewis [Mon, 16 Feb 2015 12:15:39 +0000 (14:15 +0200)]
Add rspamd_config:radix_from_config()
Andrew Lewis [Mon, 16 Feb 2015 08:59:25 +0000 (10:59 +0200)]
Make local exclusions configurable per-RBL
Vsevolod Stakhov [Sun, 15 Feb 2015 20:53:31 +0000 (20:53 +0000)]
Merge pull request #173 from fatalbanana/rspamd-0.8
Rspamd 0.8: rbl.lua: Support site-local IP address / subnet exclusions
Andrew Lewis [Sun, 15 Feb 2015 20:25:57 +0000 (22:25 +0200)]
Don't use to_number() when checking radix maps
Vsevolod Stakhov [Sun, 15 Feb 2015 20:01:36 +0000 (20:01 +0000)]
Fix typecast.
Vsevolod Stakhov [Sun, 15 Feb 2015 19:18:16 +0000 (19:18 +0000)]
Allow to check radix maps from lua by rspamd{ip}
Andrew Lewis [Sun, 15 Feb 2015 20:15:55 +0000 (22:15 +0200)]
Support site-local IP address / subnet exclusions
Vsevolod Stakhov [Sat, 14 Feb 2015 15:10:56 +0000 (15:10 +0000)]
Merge pull request #171 from fatalbanana/rspamd-0.8
rbl.lua: Fix mistake
Andrew Lewis [Sat, 14 Feb 2015 13:54:49 +0000 (15:54 +0200)]
rbl.lua: Fix mistake
Vsevolod Stakhov [Sat, 14 Feb 2015 10:24:01 +0000 (10:24 +0000)]
Merge pull request #165 from fatalbanana/rspamd-0.8
rbl.lua: Ignore private IP space
Andrew Lewis [Sat, 14 Feb 2015 08:37:53 +0000 (10:37 +0200)]
Make ignoring private IP space configurable; avoid changing plugin default behaviour
Andrew Lewis [Fri, 13 Feb 2015 21:52:53 +0000 (23:52 +0200)]
rbl.lua: Ignore private IP space
Vsevolod Stakhov [Fri, 13 Feb 2015 13:13:14 +0000 (13:13 +0000)]
Adopt for 0.8.
Vsevolod Stakhov [Fri, 13 Feb 2015 12:58:45 +0000 (12:58 +0000)]
Add task:get_content() method.
Vsevolod Stakhov [Fri, 13 Feb 2015 11:53:37 +0000 (11:53 +0000)]
Merge pull request #163 from fatalbanana/rspamd-0.8
Rspamd 0.8: Minor nonsense
Andrew Lewis [Fri, 13 Feb 2015 11:45:14 +0000 (13:45 +0200)]
Minor nonsense
Alexey AL [Sat, 7 Feb 2015 16:01:04 +0000 (19:01 +0300)]
Update metrics.conf
Alexey AL [Sat, 7 Feb 2015 15:46:31 +0000 (18:46 +0300)]
Fix: if not exist Date-header
Alexey AL [Sat, 7 Feb 2015 16:00:20 +0000 (19:00 +0300)]
Update rspamd.lua
Vsevolod Stakhov [Fri, 13 Feb 2015 11:12:54 +0000 (11:12 +0000)]
Clarify copyright for lua plugins.
Vsevolod Stakhov [Fri, 13 Feb 2015 11:05:41 +0000 (11:05 +0000)]
Merge pull request #161 from fatalbanana/rspamd-0.8
Rspamd 0.8: Exclusions for authenticated users etc
eneq123 [Wed, 11 Feb 2015 13:12:44 +0000 (16:12 +0300)]
false if header from is nil
eneq123 [Wed, 11 Feb 2015 13:19:02 +0000 (16:19 +0300)]
set empty <> user or addr for msgs without FROM (the MAIL FROM:<> is RFC 821 defined error message transport)
eneq123 [Thu, 12 Feb 2015 20:18:29 +0000 (23:18 +0300)]
fix: attempt to index field '?' (a nil value)
Andrew Lewis [Fri, 13 Feb 2015 10:22:19 +0000 (12:22 +0200)]
rbl.lua: remove un-needed character from pattern match
Alexey AL [Thu, 12 Feb 2015 17:51:03 +0000 (20:51 +0300)]
Hfilter: Fix metric
Alexey AL [Thu, 12 Feb 2015 17:44:04 +0000 (20:44 +0300)]
Hfilter: New metrics for helo checks
Alexey AL [Thu, 12 Feb 2015 17:42:29 +0000 (20:42 +0300)]
Hfilter: Update
Fix: hostname and helo checks
Add: New bad hostnames
Andrew Lewis [Fri, 13 Feb 2015 09:35:28 +0000 (11:35 +0200)]
rbl.lua: add reference to documentation
Andrew Lewis [Fri, 13 Feb 2015 09:30:41 +0000 (11:30 +0200)]
hfilter.lua: Add exclusion for authenticated users (except link checks)
Andrew Lewis [Fri, 13 Feb 2015 09:24:41 +0000 (11:24 +0200)]
once_received.lua: Fix indentation & add exclusion for authenticated users
Conflicts:
src/plugins/lua/once_received.lua
Andrew Lewis [Fri, 13 Feb 2015 09:23:06 +0000 (11:23 +0200)]
rbl.lua: Try harder to avoid invalid DNS lookups
Conflicts:
src/plugins/lua/rbl.lua
Vsevolod Stakhov [Thu, 12 Feb 2015 15:28:26 +0000 (15:28 +0000)]
Merge pull request #155 from fatalbanana/rspamd-0.8
Rspamd 0.8: rbl.lua: Don't ask for user unless called for by config
Andrew Lewis [Thu, 12 Feb 2015 15:11:58 +0000 (17:11 +0200)]
Rename user to exclude_users and invert logic
Andrew Lewis [Thu, 12 Feb 2015 13:01:04 +0000 (15:01 +0200)]
rbl.lua: Don't ask for user unless called for by config
Vsevolod Stakhov [Thu, 12 Feb 2015 12:18:39 +0000 (12:18 +0000)]
Merge pull request #153 from fatalbanana/rspamd-0.8
Rspamd 0.8: Another fix for RBL module (Reported by AL)
Andrew Lewis [Thu, 12 Feb 2015 11:32:24 +0000 (13:32 +0200)]
Another fix for RBL module (Reported by AL)
Alexey AL [Thu, 12 Feb 2015 00:35:39 +0000 (03:35 +0300)]
Fix rbl.lua
Vsevolod Stakhov [Wed, 11 Feb 2015 21:50:43 +0000 (21:50 +0000)]
Merge pull request #148 from fatalbanana/rspamd-0.8
Rspamd 0.8: fixes for work on RBL module
Andrew Lewis [Wed, 11 Feb 2015 21:15:25 +0000 (23:15 +0200)]
Further amendments for changes to RBL module
Andrew Lewis [Wed, 11 Feb 2015 18:42:36 +0000 (20:42 +0200)]
Fix typo
Vsevolod Stakhov [Wed, 11 Feb 2015 16:08:15 +0000 (16:08 +0000)]
Merge pull request #147 from fatalbanana/rspamd-0.8
Rspamd 0.8: Update RBL module etc
Andrew Lewis [Wed, 11 Feb 2015 14:14:43 +0000 (16:14 +0200)]
Amendment for rbl.lua update
Andrew Lewis [Wed, 11 Feb 2015 13:43:26 +0000 (15:43 +0200)]
Update RBL module: fix indentation; collapse loops; avoid calling for un-needed information; allow disabling RBLs for authenticated users
Andrew Lewis [Wed, 11 Feb 2015 13:37:38 +0000 (15:37 +0200)]
Make Exim pass usernames to Rspamd
Andrew Lewis [Wed, 11 Feb 2015 13:36:34 +0000 (15:36 +0200)]
Add DNSWL_BLOCKED symbol
Vsevolod Stakhov [Mon, 9 Feb 2015 17:28:32 +0000 (17:28 +0000)]
Fix race condition.
This race condition could occur if a message has too high spam score and the
planner decides to stop checking. However, already registered events
pending were not checked, which caused use-after-free for a task object.
Vsevolod Stakhov [Sun, 8 Feb 2015 17:32:47 +0000 (17:32 +0000)]
Merge pull request #142 from fatalbanana/rspamd-0.8
Make settings work as documented
Andrew Lewis [Sun, 8 Feb 2015 13:55:28 +0000 (15:55 +0200)]
Make settings work as documented
Vsevolod Stakhov [Fri, 6 Feb 2015 16:22:27 +0000 (16:22 +0000)]
Merge pull request #139 from fatalbanana/rspamd-0.8
Allow applying settings to authenticated users
Andrew Lewis [Fri, 6 Feb 2015 14:48:18 +0000 (16:48 +0200)]
Amendment: fix regex match for unqualified usernames
Andrew Lewis [Fri, 6 Feb 2015 14:08:37 +0000 (16:08 +0200)]
Amendment: nest stuff
Andrew Lewis [Fri, 6 Feb 2015 13:39:45 +0000 (15:39 +0200)]
Allow applying settings to authenticated users
Vsevolod Stakhov [Tue, 3 Feb 2015 13:58:48 +0000 (13:58 +0000)]
Merge pull request #137 from fatalbanana/rspamd-0.8
Rspamd 0.8 - Mostly cosmetic changes
Andrew Lewis [Tue, 3 Feb 2015 12:53:18 +0000 (14:53 +0200)]
Cosmetic changes
Andrew Lewis [Mon, 2 Feb 2015 20:39:58 +0000 (22:39 +0200)]
Fix bad change in Exim patch
Vsevolod Stakhov [Mon, 2 Feb 2015 13:35:01 +0000 (13:35 +0000)]
Fix processing of unix sockets.
Reported by: AL
Andrew Lewis [Sat, 31 Jan 2015 18:46:54 +0000 (20:46 +0200)]
Update Exim patch
Andrew Lewis [Sat, 31 Jan 2015 22:29:10 +0000 (00:29 +0200)]
Enable one_shot for RECEIVED_SPAMHAUS_XBL - Fixes #102
Alexey [Sun, 1 Feb 2015 03:17:51 +0000 (06:17 +0300)]
Fix: Centos init script: configtest()
Vsevolod Stakhov [Mon, 26 Jan 2015 21:12:30 +0000 (21:12 +0000)]
Create fuzzy db if it does not exist.
Vsevolod Stakhov [Fri, 23 Jan 2015 17:01:28 +0000 (17:01 +0000)]
Release 0.8.1
* Add sqlite and perl as dependencies for RPM/Debian packages (by @fatalbanana)
* Remove whitelist.lua from RPM file list (by @fatalbanana)
* Make Exim pass hostnames to rspamd (by @fatalbanana)
* Fix building on Fedora (by @fatalbanana)
* Add toggle for disabling installation of systemd units on Linux (by @fatalbanana)
* Fix double format rounding that caused output corruption (reported by @fatalbanana)
* Revert broken change for destructors ordering that led to memory corruption
* Do not reset symbols case of settings if parsed from lua (reported by @andrejzverev)
* Fix build on SunOS (by @wiedi)
* Fix multiple crashes on broken DKIM DNS records
* Fix critical issue with composites weights removing
* Fix memory corruption in composites processing code
* Ignore non-SPF TXT records when parsing SPF includes
Signed-off-by: Vsevolod Stakhov <vsevolod@highsecure.ru>
Vsevolod Stakhov [Fri, 23 Jan 2015 16:54:30 +0000 (16:54 +0000)]
Update to 0.8.1
Vsevolod Stakhov [Thu, 22 Jan 2015 21:58:59 +0000 (21:58 +0000)]
Ignore broken TXT records when parsing include.
Vsevolod Stakhov [Thu, 22 Jan 2015 01:11:02 +0000 (01:11 +0000)]
Fix another critical composites issue and memory corruption.