Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |
linux:ubuntu:fail2ban [2019/10/29 10:44] – lunetikk | linux:ubuntu:fail2ban [2019/10/29 10:45] (current) – lunetikk |
---|
filter = sshd | filter = sshd |
#action = iptables[name=SSH, port=2022, protocol=tcp] | #action = iptables[name=SSH, port=2022, protocol=tcp] |
# sendmail-whois-lines[name=SSH, dest="[email protected],dpswebmaster@gmail.com", sender=fail2ban@lunetikk.net, sendername="Fail2Ban", logpath=/var/log/auth.log] | # sendmail-whois-lines[name=SSH, dest="[email protected],YOURMAIL@MAIL.COM", sender=fail2ban@YOURSERVER.COM, sendername="Fail2Ban", logpath=/var/log/auth.log] |
logpath = /var/log/auth.log | logpath = /var/log/auth.log |
maxretry = 3 | maxretry = 3 |