User Tools

Site Tools


fail2ban

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision Both sides next revision
fail2ban [2009/10/11 07:17]
k2patel
fail2ban [2010/09/13 15:57]
k2patel
Line 77: Line 77:
 enabled ​ = true enabled ​ = true
 filter ​  = sshd filter ​  = sshd
-action ​  = iptables[name=SSH,​ port=ssh, protocol=tcp]+action ​  = iptables-new[name=SSH, port=ssh, protocol=tcp]
            ​sendmail-whois[name=SSH,​ dest=receiver@lithiumfox.com,​ sender=notify@lithiumfox.com]            ​sendmail-whois[name=SSH,​ dest=receiver@lithiumfox.com,​ sender=notify@lithiumfox.com]
 logpath ​ = /​var/​log/​secure logpath ​ = /​var/​log/​secure
 maxretry = 5 maxretry = 5
 +
 +
 +[kernel-iptables]
 +
 +enabled ​ = true
 +filter ​  = kernel
 +action ​  = iptables-allports[name=kernel,​ protocol=all]
 +           ​sendmail-whois[name=KERNEL,​ dest=k2patel@sify.com,​ sender=notify@test.com]
 +logpath ​ = /​var/​log/​messages
 +maxretry = 2
 +
  
  
fail2ban.txt ยท Last modified: 2020/08/10 02:35 (external edit)