Skip to content
F

Fail2ban

Daemon to ban hosts that cause multiple authentication errors

by fail2banFree

#256in Developer Tools
0In stores

Description

Fail2Ban is a daemon that bans hosts causing repeated authentication errors. It scans log files such as /var/log/auth.log and bans the IP ad…

Highlights

  • Bans hosts after repeated failed logins
  • Updates firewall rules for a set time
  • Built-in filters for sshd, Apache and others
  • Custom log files and patterns
  • IPv6 support since version 0.10
  • Installs from Linux package managers or source

Ratings & Reviews

No ratings yet

Be the first to rate Fail2ban.

People also visit

I

IPBan Pro

Since 2011, IPBan is the worlds most trusted

Developer Tools
Launch
A

Agent

SSH Session Monitoring Daemon

Developer Tools
Launch
F

Fail2Ban-Report

Web-based dashboard for Fail2Ban log filtering and blocklist control

Developer Tools
Launch
D

Docker Fail2ban

Fail2ban Docker image

Developer Tools
Launch
K

Knock Knock

Knock-Knock: A Live, Multi-Protocol Honeypot Dashboard of Internet Break-in

Developer Tools
Launch
S

ServerAuth

ServerAuth allows you to secure your server's SSH access

Developer Tools
Launch

Fail2ban FAQ

What does Fail2Ban do?

It scans log files for repeated failed logins and bans the offending IP addresses by updating firewall rules for a set time.

Which services does it read by default?

Standard log files for services such as sshd and Apache, and it can be set up to read any log file.

Does it stop all login attacks?

No. The README says it reduces failed attempts but does not remove the risk from weak authentication, so two-factor or key-based login is recommended.

Is it free?

Yes. It is an open-source project on GitHub.

How do I install it?

Use your Linux distribution's package manager, or install from source with Python 3.5 or later.

Where is the documentation?

On the Fail2Ban website, including the fail2ban(1) manual, the wiki and developer documentation.

What are the best Fail2ban alternatives?

Popular alternatives to Fail2ban include IPBan Pro, Agent and Fail2Ban-Report. See all Fail2ban alternatives

Developer Stuff

Badges