Fail2ban icon
Fail2ban icon

Fail2ban

 40 likes

Fail2ban scans log files (e.g. /var/log/apache/error_log) and bans IPs that show the malicious signs -- too many password failures, seeking for exploits, etc. Generally Fail2Ban is then used to update firewall rules to reject the IP addresses for a specified amount of time...

Fail2ban screenshot 1

Cost / License

  • Free
  • Open Source

Application type

Since

  • Since 2010 (updated Nov 2026)

Releases

  • 1 release last year1 last year

GitHub

  • GitHub stars: 19.1k

Platforms

  • Linux
40likes
0articles
Save

Features

Properties

Features

Highlights All activities

Fail2ban News & Activities

Recent News

No news, maybe you know any news worth sharing?

Share a News Tip

Recent activities

  • SvrGuard icon
    ofuyuan added Fail2ban as alternative to SvrGuard
  • Hamze Zare reviewed Fail2ban  

    fail2ban guards SSH on our Debian virtualization host with just the default sshd jail, and it does its job quietly: since it was set up it has logged more than 26,000 failed logins and banned over 2,500 addresses. Setup took minutes and it needs almost no care. Two caveats: it only reacts after repeated failures, so it is not a substitute for key-only SSH, and if you put SSH behind a forwarded port or a proxy, check that the jail still sees the real client address or it will ban the wrong thing.

  • Hamze Zare liked Fail2ban
  • humble-advisor liked Fail2ban
  • SecAI by Tech Steps icon
    aswadqazi added Fail2ban as alternative to SecAI by Tech Steps
  • ralaud liked Fail2ban
  • Defensia icon
    defensia added Fail2ban as alternative to Defensia
  • Brutefence icon
    infotipp added Fail2ban as alternative to Brutefence
  • Creative_joe liked Fail2ban
  • cayenne79 liked Fail2ban

Fail2ban information

  • Developed by

    Cyril Jaquier, Yaroslav Halchenko, Daniel Black, Steven Hiscocks, Arturo 'Buanzo' Busleiman, and the Fail2Ban community
  • Licensing

    Open Source and Free product.
  • Written in

  • Alternatives

    26 alternatives listed
  • Badge

    Get an embeddable badge for Fail2ban
  • Supported Languages

    • English

AlternativeTo Categories

Security & Privacy, Network & Admin

GitHub repository

  •  19,077 Stars
  •  1,522 Forks
  •  283 Open Issues
  •   Updated  
View on GitHub

Our users have written 1 comment or review about Fail2ban, and it has gotten 40 likes.

Fail2ban was added to AlternativeTo by NginUS on and this page was last updated .

Comments and Reviews

   
Hamze Zare
0
Founder at fanpino

fail2ban guards SSH on our Debian virtualization host with just the default sshd jail, and it does its job quietly: since it was set up it has logged more than 26,000 failed logins and banned over 2,500 addresses. Setup took minutes and it needs almost no care. Two caveats: it only reacts after repeated failures, so it is not a substitute for key-only SSH, and if you put SSH behind a forwarded port or a proxy, check that the jail still sees the real client address or it will ban the wrong thing.

Featured in Lists

security

A list with 39 apps by petars93 without a description.
By petars9339 appsUpdated

IP reputation and blocklist tools

Tools for checking whether an IP address has a history of abuse and for blocking attackers automatically. For sysadmins and security teams who want to cut brute-force, scanning and spam traffic at the firewall or on the server.
By isIPsafe7 appsUpdated

Official Links

Install from the command line

  • brew install fail2ban

Be careful what you paste into a terminal. Check what a command installs before running it.

What is Fail2ban?

Fail2ban scans log files (e.g. /var/log/apache/error_log) and bans IPs that show the malicious signs -- too many password failures, seeking for exploits, etc. Generally Fail2Ban is then used to update firewall rules to reject the IP addresses for a specified amount of time, although any arbitrary other action (e.g. sending an email) could also be configured. Out of the box Fail2Ban comes with filters for various services (apache, courier, ssh, etc).

Fail2Ban is able to reduce the rate of incorrect authentications attempts however it cannot eliminate the risk that weak authentication presents. Configure services to use only two factor or public/private authentication mechanisms if you really want to protect services.

Fail2ban Videos