]> source.dussan.org Git - rspamd.git/log
rspamd.git
9 years agoUpdate Hfilter for Rspamd-0.8 200/head
Alexey AL [Fri, 6 Mar 2015 14:05:08 +0000 (17:05 +0300)]
Update Hfilter for Rspamd-0.8

9 years agoMerge pull request #198 from AlexeySa/patch-2
Vsevolod Stakhov [Fri, 6 Mar 2015 12:04:19 +0000 (12:04 +0000)]
Merge pull request #198 from AlexeySa/patch-2

Fix lua_task_get_raw_headers()

9 years agoFix lua_task_get_raw_headers() 198/head
Alexey AL [Fri, 6 Mar 2015 12:03:26 +0000 (15:03 +0300)]
Fix lua_task_get_raw_headers()

9 years agoAdd method to get all raw headers in LUA.
Vsevolod Stakhov [Tue, 3 Mar 2015 00:17:27 +0000 (00:17 +0000)]
Add method to get all raw headers in LUA.

9 years agoFix build under Darwin.
Vsevolod Stakhov [Tue, 3 Mar 2015 16:49:21 +0000 (16:49 +0000)]
Fix build under Darwin.

9 years agoFix linkage with luajit on osx.
Vsevolod Stakhov [Thu, 5 Mar 2015 10:38:40 +0000 (10:38 +0000)]
Fix linkage with luajit on osx.

9 years agoFix iconv detection.
Vsevolod Stakhov [Tue, 3 Mar 2015 18:22:09 +0000 (18:22 +0000)]
Fix iconv detection.

Conflicts:
CMakeLists.txt

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 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 agoFix external hiredis operations.
Vsevolod Stakhov [Mon, 2 Mar 2015 14:19:19 +0000 (14:19 +0000)]
Fix external hiredis operations.

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 bug with port setup.
Vsevolod Stakhov [Mon, 2 Mar 2015 10:15:49 +0000 (10:15 +0000)]
Fix bug with port setup.

9 years agoMerge pull request #189 from fatalbanana/rspamd-0.8
Vsevolod Stakhov [Fri, 27 Feb 2015 09:52:09 +0000 (09:52 +0000)]
Merge pull request #189 from fatalbanana/rspamd-0.8

Fix luajit detection.

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

Conflicts:
CMakeLists.txt

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 agoMerge pull request #187 from fatalbanana/rspamd-0.8
Vsevolod Stakhov [Thu, 26 Feb 2015 22:09:37 +0000 (22:09 +0000)]
Merge pull request #187 from fatalbanana/rspamd-0.8

Check IPv6 addresses at dnswl.org and Spamhaus whitelist

9 years agoCheck IPv6 addresses at dnswl.org and Spamhaus whitelist 187/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 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 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 agoMerge pull request #185 from fatalbanana/rspamd-0.8
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.

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 185/head
Andrew Lewis [Wed, 25 Feb 2015 12:47:11 +0000 (14:47 +0200)]
Fix default lua package path

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 agorbl.lua: Housekeeping
Andrew Lewis [Thu, 19 Feb 2015 13:38:28 +0000 (15:38 +0200)]
rbl.lua: Housekeeping

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

Conflicts:
src/lua/lua_common.c

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 agoUpdate copyrights.
Vsevolod Stakhov [Fri, 20 Feb 2015 13:52:07 +0000 (13:52 +0000)]
Update copyrights.

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 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 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 emails parsing (mentioned at #181).
Vsevolod Stakhov [Wed, 18 Feb 2015 10:28:24 +0000 (10:28 +0000)]
Improve emails parsing (mentioned at #181).

Conflicts:
src/libserver/url.c

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.

Conflicts:
src/libserver/url.c

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 agoFix emails parsing.
Vsevolod Stakhov [Tue, 17 Feb 2015 15:05:49 +0000 (15:05 +0000)]
Fix emails parsing.

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 agoFix urls interaction.
Vsevolod Stakhov [Tue, 3 Feb 2015 17:55:14 +0000 (17:55 +0000)]
Fix urls interaction.

9 years agoRemove old crap functions from url parser code.
Vsevolod Stakhov [Tue, 3 Feb 2015 17:39:03 +0000 (17:39 +0000)]
Remove old crap functions from url parser code.

9 years agoMerge pull request #178 from fatalbanana/rspamd-0.8
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

9 years agoSince exclude_private_ips requires config to change behaviour now we can make it... 178/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 agoMerge pull request #175 from fatalbanana/rspamd-0.8
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

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

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

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 agoMerge pull request #173 from fatalbanana/rspamd-0.8
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

9 years agoDon't use to_number() when checking radix maps 173/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 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 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 agoMerge pull request #171 from fatalbanana/rspamd-0.8
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

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

9 years agoMerge pull request #165 from fatalbanana/rspamd-0.8
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

9 years agoMake ignoring private IP space configurable; avoid changing plugin default behaviour 165/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 agorbl.lua: Ignore private IP space
Andrew Lewis [Fri, 13 Feb 2015 21:52:53 +0000 (23:52 +0200)]
rbl.lua: Ignore private IP space

9 years agoAdopt for 0.8.
Vsevolod Stakhov [Fri, 13 Feb 2015 13:13:14 +0000 (13:13 +0000)]
Adopt for 0.8.

9 years agoAdd task:get_content() method.
Vsevolod Stakhov [Fri, 13 Feb 2015 12:58:45 +0000 (12:58 +0000)]
Add task:get_content() method.

9 years agoMerge pull request #163 from fatalbanana/rspamd-0.8
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

9 years agoMinor nonsense 163/head
Andrew Lewis [Fri, 13 Feb 2015 11:45:14 +0000 (13:45 +0200)]
Minor nonsense

9 years agoUpdate metrics.conf
Alexey AL [Sat, 7 Feb 2015 16:01:04 +0000 (19:01 +0300)]
Update metrics.conf

9 years agoFix: if not exist Date-header
Alexey AL [Sat, 7 Feb 2015 15:46:31 +0000 (18:46 +0300)]
Fix: if not exist Date-header

9 years agoUpdate rspamd.lua
Alexey AL [Sat, 7 Feb 2015 16:00:20 +0000 (19:00 +0300)]
Update rspamd.lua

9 years agoClarify copyright for lua plugins.
Vsevolod Stakhov [Fri, 13 Feb 2015 11:12:54 +0000 (11:12 +0000)]
Clarify copyright for lua plugins.

9 years agoMerge pull request #161 from fatalbanana/rspamd-0.8
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

9 years agofalse if header from is nil 161/head
eneq123 [Wed, 11 Feb 2015 13:12:44 +0000 (16:12 +0300)]
false if header from is nil

9 years agoset empty <> user or addr for msgs without FROM (the MAIL FROM:<> is RFC 821 defined...
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)

9 years agofix: attempt to index field '?' (a nil value)
eneq123 [Thu, 12 Feb 2015 20:18:29 +0000 (23:18 +0300)]
fix: attempt to index field '?' (a nil value)

9 years agorbl.lua: remove un-needed character from pattern match
Andrew Lewis [Fri, 13 Feb 2015 10:22:19 +0000 (12:22 +0200)]
rbl.lua: remove un-needed character from pattern match

9 years agoHfilter: Fix metric
Alexey AL [Thu, 12 Feb 2015 17:51:03 +0000 (20:51 +0300)]
Hfilter: Fix metric

9 years agoHfilter: New metrics for helo checks
Alexey AL [Thu, 12 Feb 2015 17:44:04 +0000 (20:44 +0300)]
Hfilter: New metrics for helo checks

9 years agoHfilter: Update
Alexey AL [Thu, 12 Feb 2015 17:42:29 +0000 (20:42 +0300)]
Hfilter: Update

Fix: hostname and helo checks
Add: New bad hostnames

9 years agorbl.lua: add reference to documentation
Andrew Lewis [Fri, 13 Feb 2015 09:35:28 +0000 (11:35 +0200)]
rbl.lua: add reference to documentation

9 years agohfilter.lua: Add exclusion for authenticated users (except link checks)
Andrew Lewis [Fri, 13 Feb 2015 09:30:41 +0000 (11:30 +0200)]
hfilter.lua: Add exclusion for authenticated users (except link checks)

9 years agoonce_received.lua: Fix indentation & add exclusion for authenticated users
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

9 years agorbl.lua: Try harder to avoid invalid DNS lookups
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

9 years agoMerge pull request #155 from fatalbanana/rspamd-0.8
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

9 years agoRename user to exclude_users and invert logic 155/head
Andrew Lewis [Thu, 12 Feb 2015 15:11:58 +0000 (17:11 +0200)]
Rename user to exclude_users and invert logic

9 years agorbl.lua: Don't ask for user unless called for by config
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

9 years agoMerge pull request #153 from fatalbanana/rspamd-0.8
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)

9 years agoAnother fix for RBL module (Reported by AL) 153/head
Andrew Lewis [Thu, 12 Feb 2015 11:32:24 +0000 (13:32 +0200)]
Another fix for RBL module (Reported by AL)

9 years agoFix rbl.lua
Alexey AL [Thu, 12 Feb 2015 00:35:39 +0000 (03:35 +0300)]
Fix rbl.lua

9 years agoMerge pull request #148 from fatalbanana/rspamd-0.8
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

9 years agoFurther amendments for changes to RBL module 148/head
Andrew Lewis [Wed, 11 Feb 2015 21:15:25 +0000 (23:15 +0200)]
Further amendments for changes to RBL module

9 years agoFix typo
Andrew Lewis [Wed, 11 Feb 2015 18:42:36 +0000 (20:42 +0200)]
Fix typo

9 years agoMerge pull request #147 from fatalbanana/rspamd-0.8
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

9 years agoAmendment for rbl.lua update 147/head
Andrew Lewis [Wed, 11 Feb 2015 14:14:43 +0000 (16:14 +0200)]
Amendment for rbl.lua update

9 years agoUpdate RBL module: fix indentation; collapse loops; avoid calling for un-needed infor...
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

9 years agoMake Exim pass usernames to Rspamd
Andrew Lewis [Wed, 11 Feb 2015 13:37:38 +0000 (15:37 +0200)]
Make Exim pass usernames to Rspamd