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
697 B
19 lines
697 B
diff -up fail2ban-0.8.11/config/jail.conf.sshd fail2ban-0.8.11/config/jail.conf
|
|
--- fail2ban-0.8.11/config/jail.conf.sshd 2013-11-25 18:08:08.034123038 +0100
|
|
+++ fail2ban-0.8.11/config/jail.conf 2013-11-25 18:16:28.107917373 +0100
|
|
@@ -71,11 +71,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, sendername="Fail2Ban"]
|
|
-logpath = /var/log/sshd.log
|
|
+ sendmail-whois[name=SSH, dest=root, sender=fail2ban@example.com, sendername="Fail2Ban"]
|
|
+logpath = /var/log/secure
|
|
maxretry = 5
|
|
|
|
[proftpd-iptables]
|