fail2ban/fail2ban
Daemon to ban hosts that cause multiple authentication errors observed · 2026-10-14
Health v2 · maintenance only
85/100
- Activity 99
- Release rhythm 58
- Longevity 100
Flags: no_license
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-10-21. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 5501
- days_rel: 66
- days_push: 10
- n_releases_24m: 1
Adoption not part of the score
18788 stars · 1508 forks observed · 2026-10-14
What it is AI-extracted, prompt v1, taxonomy v1, 2026-10-19, confidence 0.99
Fail2Ban is a daemon that monitors log files for repeated authentication failures and automatically updates firewall rules to block offending IP addresses. It is configurable for many services and supports both IPv4 and IPv6.
Use cases
- block IPs after multiple failed SSH login attempts
- prevent brute‑force attacks on web servers by banning abusive clients
- automatically ban hosts that trigger repeated authentication errors in any service
- protect mail servers from credential‑stuffing attacks
- enforce temporary bans for repeated failed login attempts across multiple applications
When to choose
- You need a lightweight, configurable solution to block abusive IPs based on log patterns.
- Your environment runs on Linux, macOS, or BSD and you can modify firewall rules.
- You prefer an open‑source tool with a large community and many ready‑made filters.
When to avoid
- You require a cloud‑native, managed security service with built‑in threat intelligence.
- Your infrastructure does not expose firewall rules or uses a non‑standard OS.
- You need real‑time, packet‑level intrusion detection beyond simple log‑based bans.
Facets
service · maturity active
security security bsd fail2ban ban-hosts ip-blocking log-monitoring firewall-integration devops linux macos
2 sources
- readme: https://github.com/fail2ban/fail2ban · fetched 2026-10-14 · 6faec51da15b
- homepage: http://www.fail2ban.org · fetched 2026-10-05 · 27e3250549b8
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| fail2ban/fail2ban | main | 85 |
For agents
markdown · JSON · MCP: product_card(name="fail2ban/fail2ban")
Data as of 2026-10-19T08:05:51.212177+00:00 · Report a problem