Prev
Next
diff -Naur fail2ban-0.8.2/config/jail.conf fail2ban-0.8.2.tpg/config/jail.conf
--- fail2ban-0.8.2/config/jail.conf 2008-02-27 21:44:55.000000000 +0000
+++ fail2ban-0.8.2.tpg/config/jail.conf 2008-05-30 12:35:17.000000000 +0000
@@ -42,11 +42,11 @@
[ssh-iptables]
-enabled = false
+enabled = true
filter = sshd
action = iptables[name=SSH, port=ssh, protocol=tcp]
sendmail-whois[name=SSH, dest=you@mail.com, sender=fail2ban@mail.com]
-logpath = /var/log/sshd.log
+logpath = /var/log/auth.log
maxretry = 5
[proftpd-iptables]
@@ -79,7 +79,7 @@
action = hostsdeny
sendmail-whois[name=SSH, dest=you@mail.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.