Sophie

Sophie

sources > fail2ban > fail2ban-0.8.2-jail-conf.patch > 2cf320d4ef450e8d3fda3f5fdf3ff14c
Prev Next
--- fail2ban-fail2ban-a20d1f8/config/jail.conf	2011-11-29 04:46:04.000000000 +0100
+++ fail2ban-remmy/config/jail.conf	2012-03-07 16:28:30.018846190 +0100
@@ -46,8 +46,8 @@
 filter   = sshd
 action   = iptables[name=SSH, port=ssh, protocol=tcp]
            sendmail-whois[name=SSH, dest=you@example.com, sender=fail2ban@example.com]
-logpath  = /var/log/sshd.log
-maxretry = 5
+logpath  = /var/log/auth.log
+maxretry = 3
 
 [proftpd-iptables]
 
@@ -79,7 +79,7 @@
 action      = hostsdeny
               sendmail-whois[name=SSH, dest=you@example.com]
 ignoreregex = for myuser from
-logpath     = /var/log/sshd.log
+logpath     = /var/log/auth.log
 
 # This jail demonstrates the use of wildcards in "logpath".
 # Moreover, it is possible to give other files on a new line.