Fail2Ban - Scans log files and takes action on IPs that show malicious behavior.

Overview

Fail2Ban is a Scans log files and takes action on IPs that show malicious behavior.

How to install

To use this tool, please use a method listed below

In a Linux (Debian OS), run the following command(s).

git clone https://github.com/fail2ban/fail2ban.git
cd fail2ban
sudo python setup.py install

 

This will install Fail2Ban into the python library directory. The executable scripts are placed into /usr/bin, and configuration in /etc/fail2ban.

Fail2Ban should be correctly installed now. Just type the following to see if everything is alright. You should always use fail2ban-client and never call fail2ban-server directly. 

fail2ban-client -h

You can verify that you have the correct version installed with:

fail2ban-client version

Please note that the system init/service script is not automatically installed. To enable fail2ban as an automatic service, simply copy the script for your distro from the files directory to /etc/init.d. Example (on a Debian-based system):

cp files/debian-initd /etc/init.d/fail2ban
  update-rc.d fail2ban defaults
  service fail2ban start

 

 

Download directly from the following link:

 

How to execute

**Pending**

 

Reference(s):

 

Next steps:

 

This article was contributed by Gavin Dennis from Jamaica. Gavin is a member of the Caribbean CSPA.

Was this article helpful?
0 out of 0 found this helpful

Comments

0 comments

Article is closed for comments.