rename smeserver action to smeserver-iptables

tags/0.0.1
Daniel Berteaud 12 years ago
parent b81e45174b
commit 6ffdca7501
  1. 2
      root/etc/e-smith/templates/etc/fail2ban/jail.conf/30Service10ssh
  2. 2
      root/etc/e-smith/templates/etc/fail2ban/jail.conf/30Service15dovecot
  3. 2
      root/etc/e-smith/templates/etc/fail2ban/jail.conf/30Service20qpsmtpd
  4. 8
      root/etc/e-smith/templates/etc/fail2ban/jail.conf/30Service25httpd
  5. 2
      root/etc/e-smith/templates/etc/fail2ban/jail.conf/30Service30pam
  6. 2
      root/etc/e-smith/templates/etc/fail2ban/jail.conf/30Service35SOGo
  7. 2
      root/etc/e-smith/templates/etc/fail2ban/jail.conf/30Service40LemonLDAPNG
  8. 0
      root/etc/fail2ban/action.d/smeserver-iptables.conf

@ -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…
Cancel
Save