aboutsummaryrefslogtreecommitdiffstats
path: root/conf/lua/hfilter.lua
diff options
context:
space:
mode:
authorAlexey AL <AlexeySa@users.noreply.github.com>2015-02-14 16:27:51 +0300
committerAlexey AL <AlexeySa@users.noreply.github.com>2015-02-14 16:27:51 +0300
commit580496ce7f14d279d50166bfda986544b7344984 (patch)
tree324a3b22e9cbfb81cf19f5ada6d62f350f89c601 /conf/lua/hfilter.lua
parent33d2e4854d0824d315d38d17bd2d2ab00cb515de (diff)
downloadrspamd-580496ce7f14d279d50166bfda986544b7344984.tar.gz
rspamd-580496ce7f14d279d50166bfda986544b7344984.zip
Update hfilter.lua
Diffstat (limited to 'conf/lua/hfilter.lua')
-rw-r--r--conf/lua/hfilter.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/conf/lua/hfilter.lua b/conf/lua/hfilter.lua
index 316a988de..ed3a346e5 100644
--- a/conf/lua/hfilter.lua
+++ b/conf/lua/hfilter.lua
@@ -75,7 +75,7 @@ local checks_hello = {
['^[^\\.]+$'] = 5, -- for helo=COMPUTER, ANNA, etc... Without dot in helo
['localhost$'] = 5,
['^(dsl)?(device|speedtouch)\\.lan$'] = 5,
- ['\\.(lan|local|home|localdomain|intra|in-addr.arpa|priv|online|user|veloxzon)$'] = 5,
+ ['\\.(lan|local|home|localdomain|intra|in-addr.arpa|priv|online|user|veloxzon)$'] = 5
}
local checks_hello_badip = {
@@ -90,12 +90,12 @@ local checks_hello_badip = {
['^192\\.0\\.2\\.'] = 5, ['^198\\.51\\.100\\.'] = 5, ['^203\\.0\\.113\\.'] = 5, --sample
['^fe[89ab][0-9a-f]::'] = 5, ['^fe[cdf][0-9a-f]:'] = 5, --local ipv6 (fe80:: - febf::, fec0:: - feff::)
['^2001:db8::'] = 5, --reserved RFC 3849 for ipv6
- ['^fc00::'] = 5, ['^ffxx::'] = 5, --unicast, multicast ipv6
+ ['^fc00::'] = 5, ['^ffxx::'] = 5 --unicast, multicast ipv6
}
local checks_hello_bareip = {
'^\\d+[x.-]\\d+[x.-]\\d+[x.-]\\d+$', --bareip ipv4,
- '^[0-9a-f]+:', --bareip ipv6
+ '^[0-9a-f]+:' --bareip ipv6
}
local config = {