rename smeserver action to smeserver-iptables
This commit is contained in:
parent
b81e45174b
commit
6ffdca7501
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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');
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue