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
Forever Free Full-Stack Observability | Grafana Cloud Icon
Forever Free Full-Stack Observability | Grafana Cloud

Our generous forever free tier includes the full platform, including the AI Assistant, for 3 users with 10k metrics, 50GB logs, and 50GB traces.

Built on open standards like Prometheus and OpenTelemetry, Grafana Cloud includes Kubernetes Monitoring, Application Observability, Incident Response, plus the AI-powered Grafana Assistant. Get started with our generous free tier today.
Create free account
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

  • 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
  • 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.
  • 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