Block Brute-Force Attempts on Ubuntu Linux - Fail2Ban
Posted on: 12/16/2011 10:27 AM

Linux Poison shows you how to use Fail2Ban on Ubuntu Linux

Block Brute-Force Attempts on Ubuntu Linux - Fail2Ban


Fail2ban operates by blocking selected IP addresses that may belong to hosts that are trying to breach the system's security. It determines the hosts to be blocked by monitoring log files (e.g. /var/log/pwdfail, /var/log/auth.log, etc.) and bans any host IP that makes too many login attempts or performs any other unwanted action within a time frame defined by the administrator.

Fail2ban is typically set up to unban a blocked host within a certain period, so as to not "lock out" any genuine connections that may have been temporarily misconfigured. However, an unban time of several minutes is usually enough to stop a network connection being flooded by malicious connections, as well as reducing the likelihood of a successful dictionary attack.



Printed from Linux Compatible (http://www.linuxcompatible.org/news/story/block_brute_force_attempts_on_ubuntu_linux_fail2ban.html)