You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
655 B
19 lines
655 B
diff -up fail2ban-0.8.7.1/config/jail.conf.sshd fail2ban-0.8.7.1/config/jail.conf
|
|
--- fail2ban-0.8.7.1/config/jail.conf.sshd 2012-07-31 19:45:04.000000000 -0600
|
|
+++ fail2ban-0.8.7.1/config/jail.conf 2012-10-11 11:47:33.131451895 -0600
|
|
@@ -62,11 +62,11 @@ usedns = warn
|
|
|
|
[ssh-iptables]
|
|
|
|
-enabled = false
|
|
+enabled = true
|
|
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
|
|
+ sendmail-whois[name=SSH, dest=root, sender=fail2ban@example.com]
|
|
+logpath = /var/log/secure
|
|
maxretry = 5
|
|
|
|
[proftpd-iptables]
|