Fail2ban

From ArchWiki
Revision as of 15:11, 9 January 2010 by Cchabanois (Talk | contribs) (fail2ban)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Fail2ban scans log files like /var/log/pwdfail or /var/log/apache/error_log and bans IP that makes too many password failures. It updates firewall rules to reject the IP address.

Installation

First, we need to install Gamin so that fail2ban can detect modification to the log files. See this page. Generally, you will just have to do :

#pacman -S gamin

Then you can install fail2ban

#pacman -S fail2ban