Fix pam generic description in mail notification and increase maxretry, so it's not triggerd at the same time as other jails

tags/0.0.1
Daniel Berteaud 12 years ago
parent 0865b67e7c
commit 17dd080c5d
  1. 3
      root/etc/e-smith/templates/etc/fail2ban/jail.conf/30Service30pam

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

Loading…
Cancel
Save