Fail2Ban monitors log files like /var/log/pwdfail or /var/log/apache/error_log and bans failure-prone addresses. It updates firewall rules to reject the IP address or executes user defined commands.

Please see code and download from https://github.com/fail2ban/fail2ban . SF Fail2ban portal might not be up-to-date

Project Samples

Project Activity

See All Activity >

Categories

Firewall, Logging

License

GNU General Public License version 2.0 (GPLv2)

Follow Fail2Ban

Fail2Ban Web Site

Other Useful Business Software
Already Paying for an RMM? Get 50% Off Splashtop AEM Icon
Already Paying for an RMM? Get 50% Off Splashtop AEM

Switch to Splashtop AEM and save up to 50% in your first year

Automated OS and third-party patching for Windows and macOS, CVE prioritization with AI patch summaries, and built-in remote control that also supports Linux. Qualifying organizations switching from another RMM get up to 50% off year one.
Get Started
Rate This Project
Login To Rate This Project

User Ratings

★★★★★
★★★★
★★★
★★
★
2
1
0
0
0
ease 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 4 / 5
features 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 5 / 5
design 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 4 / 5
support 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 4 / 5

User Reviews

  • 4 out of 5 stars
    Fail2Ban is just the tool that removes the headache of chasing and banning IP addresses. By setting up of some simple rules one can catch SSH attacks, constant probing of web vulnerability attacks. I wholeheartedly recommend Fail2Ban to any server administrator
  • 5 out of 5 stars
    I use fail2ban for 2 main reasons. The first is to automatically ban people trying to hack into the system by stopping IP traffic for a given time after a number of failed login attempts. I also use it to reduce load on RBL servers by blocking IP addresses that are returned by a RBL. This means an IP address will never be checked twice.
  • 5 out of 5 stars
    The best way to block those nasty bots and spammer. It's amazingly easy to configure and deploy.
Read more reviews >

Additional Project Details

Operating Systems

BSD, Linux

Languages

English

Intended Audience

System Administrators

Programming Language

Python

Related Categories

Python Firewall Software, Python Logging Software

Registered

2004-10-06