|
|
@ -65,9 +65,7 @@ usedns = warn
|
|
|
|
enabled = false
|
|
|
|
enabled = false
|
|
|
|
filter = sshd
|
|
|
|
filter = sshd
|
|
|
|
action = iptables[name=SSH, port=ssh, protocol=tcp]
|
|
|
|
action = iptables[name=SSH, port=ssh, protocol=tcp]
|
|
|
|
sendmail-whois[name=SSH, dest=you@example.com, sender=fail2ban@example.com]
|
|
|
|
sendmail-whois[name=SSH, dest=you@example.com, sender=fail2ban@example.com, sendername="Fail2Ban"]
|
|
|
|
# Alternative example:
|
|
|
|
|
|
|
|
# sendmail-whois[name=SSH, sendername="Fail2Ban - example.com"]
|
|
|
|
|
|
|
|
logpath = /var/log/sshd.log
|
|
|
|
logpath = /var/log/sshd.log
|
|
|
|
maxretry = 5
|
|
|
|
maxretry = 5
|
|
|
|
|
|
|
|
|
|
|
|