rename smeserver action to smeserver-iptables

This commit is contained in:
Daniel Berteaud 2013-05-03 00:05:59 +02:00
parent b81e45174b
commit 6ffdca7501
8 changed files with 10 additions and 10 deletions

View File

@ -9,7 +9,7 @@ $OUT .=<<"EOF";
enabled = true
filter = sshd
logpath = /var/log/sshd/current
action = smeserver[port="$port",protocol=tcp,bantime=$bantime]
action = smeserver-iptables[port="$port",protocol=tcp,bantime=$bantime]
EOF
$OUT .= " smeserver-sendmail[name=SSH,dest=$maildest]\n"

View File

@ -15,7 +15,7 @@ $OUT .=<<"EOF";
enabled = true
filter = dovecot
logpath = /var/log/dovecot/current
action = smeserver[port="$port",protocol=tcp,bantime=$bantime]
action = smeserver-iptables[port="$port",protocol=tcp,bantime=$bantime]
EOF
$OUT .= " smeserver-sendmail[name=Dovecot,dest=$maildest]\n"

View File

@ -16,7 +16,7 @@ $OUT .=<<"EOF";
enabled = true
filter = qpsmtpd
logpath = /var/log/*qpsmtpd/current
action = smeserver[port="$port",protocol=tcp,bantime=$bantime]
action = smeserver-iptables[port="$port",protocol=tcp,bantime=$bantime]
maxretry = $max
EOF

View File

@ -13,7 +13,7 @@ $OUT .=<<"EOF";
enabled = true
filter = apache-overflows
logpath = /var/log/httpd/error_log
action = smeserver[port="$port",protocol=tcp,bantime=$bantime]
action = smeserver-iptables[port="$port",protocol=tcp,bantime=$bantime]
EOF
$OUT .= " smeserver-sendmail[name=\"Apache (overflows)\",dest=$maildest]\n"
@ -25,7 +25,7 @@ $OUT .=<<"EOF";
enabled = true
filter = apache-noscript
logpath = /var/log/httpd/error_log
action = smeserver[port="$port",protocol=tcp,bantime=$bantime]
action = smeserver-iptables[port="$port",protocol=tcp,bantime=$bantime]
EOF
$OUT .= " smeserver-sendmail[name=\"Apache (noscript)\",dest=$maildest]\n"
@ -37,7 +37,7 @@ $OUT .=<<"EOF";
enabled = true
filter = apache-scan
logpath = /var/log/httpd/error_log
action = smeserver[port="$port",protocol=tcp,bantime=$bantime]
action = smeserver-iptables[port="$port",protocol=tcp,bantime=$bantime]
EOF
$OUT .= " smeserver-sendmail[name=\"Apache (scan)\",dest=$maildest]\n"
@ -49,7 +49,7 @@ $OUT .=<<"EOF";
enabled = true
filter = apache-auth
logpath = /var/log/httpd/error_log
action = smeserver[port="$port",protocol=tcp,bantime=$bantime]
action = smeserver-iptables[port="$port",protocol=tcp,bantime=$bantime]
EOF
$OUT .= " smeserver-sendmail[name=\"Apache (auth)\",dest=$maildest]\n"

View File

@ -3,7 +3,7 @@
enabled = true
filter = pam-generic
logpath = /var/log/secure
action = smeserver[bantime={"$bantime"}]
action = smeserver-iptables[bantime={"$bantime"}]
{
$OUT .= " smeserver-sendmail[name=SSH,dest=$maildest]\n"
if ($mail eq 'enabled');

View File

@ -13,7 +13,7 @@ $OUT .=<<"EOF";
enabled = true
filter = sogo
logpath = /var/log/sogo/sogo.log
action = smeserver[port="$port",protocol=tcp,bantime=$bantime]
action = smeserver-iptables[port="$port",protocol=tcp,bantime=$bantime]
EOF
$OUT .= " smeserver-sendmail[name=\"SOGo\",dest=$maildest]\n"

View File

@ -13,7 +13,7 @@ $OUT .=<<"EOF";
enabled = true
filter = lemonldap-ng
logpath = /var/log/messages
action = smeserver[port="$port",protocol=tcp,bantime=$bantime]
action = smeserver-iptables[port="$port",protocol=tcp,bantime=$bantime]
EOF
$OUT .= " smeserver-sendmail[name=\"LemonLDAP::NG\",dest=$maildest]\n"