Difference between revisions of "Fail2ban"

From Christoph's Personal Wiki
Jump to: navigation, search
 
Line 1: Line 1:
 
'''fail2ban''' is log based brute force blocker. Fail2ban will monitor the system log files and when certain configured events occur they will trigger fail2ban to block the offending host.
 
'''fail2ban''' is log based brute force blocker. Fail2ban will monitor the system log files and when certain configured events occur they will trigger fail2ban to block the offending host.
 +
 +
I have been using fail2ban to stop the flood of attacks via my ssh port. Together with setting <code>/etc/hosts.deny</code> to "<code>ALL: ALL</code>" and <code>/etc/hosts.allow</code> to "<code>sshd: SPECIFIC_IP_ADDRESSES</code>", I also change the port number in <code>/etc/ssh/sshd_config</code> to something other than "<code>Port 22</code>". It works well.
  
 
==See also==
 
==See also==
 +
*[[iptables]]
 
*[[DenyHosts]]
 
*[[DenyHosts]]
  
 
==External links==
 
==External links==
 
*[http://fail2ban.sourceforge.net/ Official site]
 
*[http://fail2ban.sourceforge.net/ Official site]
 +
*[http://www.fail2ban.org/wiki/index.php/MANUAL_0_8 fail2ban manual wiki]
 
*[[wikipedia:Category:Computer network security]]
 
*[[wikipedia:Category:Computer network security]]
 
*[[wikipedia:Netfilter/iptables]]
 
*[[wikipedia:Netfilter/iptables]]

Latest revision as of 04:09, 1 September 2007

fail2ban is log based brute force blocker. Fail2ban will monitor the system log files and when certain configured events occur they will trigger fail2ban to block the offending host.

I have been using fail2ban to stop the flood of attacks via my ssh port. Together with setting /etc/hosts.deny to "ALL: ALL" and /etc/hosts.allow to "sshd: SPECIFIC_IP_ADDRESSES", I also change the port number in /etc/ssh/sshd_config to something other than "Port 22". It works well.

See also

External links

This article is curently a "stub". This means it is an incomplete article needing further elaboration.

I always welcome suggestions, comments, and criticism. If you have something to contribute to this site, please follow this link: Contributing Information. Thank you!