Brute Force Detection (BFD) is a log-based security tool that detects authentication failures and automatically bans hostile IP addresses on Linux servers.
Rather than using simple fixed failure counts, BFD uses exponential-decay pressure scoring. This helps distinguish occasional human password mistakes from sustained brute-force attacks.
This is free and open source software.
Key Features
- Log-based brute force detection for Linux servers
- Automatic IP banning
- Exponential-decay pressure scoring
- 57 service rules covering SSH, mail, FTP, web, databases, control panels, DNS, VPN, VoIP, proxies, and more
- 8 firewall backends including APF, CSF, firewalld, UFW, nftables, iptables, route, and custom commands
- IPv4 and IPv6 support
- GeoIP enrichment and optional country-based pressure weighting
- CDN and trusted proxy handling
- Repeat offender escalation
- Watch mode for low-latency detection
- Dry-run and health-check modes
- Email, Slack, Telegram, and Discord alerts
- Manual ban, unban, and active-ban listing
Website: github.com/rfxn/brute-force-detection
Support:
Developer: R-fx Networks
License: GNU General Public License v2.0
Related Software
| Intrusion Prevention for SSH | |
|---|---|
| Fail2Ban | Intrusion prevention software framework written in Python |
| CrowdSec | Modern and collaborative behavior detection engine |
| SSHGuard | Protects hosts from brute-force attacks against SSH and other services |
| denyhosts | Helps thwart SSH server attacks |
| IPBan | Detects repeated failed logins |
| CSF | ConfigServer Security & Firewall |
| reaction | Daemon that scans program outputs for repeated patterns, and takes action |
| BFD | Log-based security tool that detects authentication failures |
Read our verdict in the software roundup.
LinuxLinks helps you discover the best free and open source software for Linux. Explore our extensive collection of recommended applications, including alternatives to popular proprietary software.We also publish software reviews, Linux tutorials, hardware reviews, free programming books and articles covering the wider open source community. Browse our Linux resources to discover more. Know a useful free and open source Linux application we haven't covered? Suggest a program for inclusion. Has your software been featured on LinuxLinks? Display one of our Featured on LinuxLinks badges on your website or GitHub README. |


Please read our Comment Policy before commenting.