Canary Tokens
Threat detection and monitoring
Python network honeypot that alerts you when someone probes a private network
3.1k 430 yesterday Active BSD-3-Clause
Log-scanning daemon that bans IPs after repeated failed logins on Linux and macOS servers
Listed by Alston Antony, founder & editor
Health
ActiveStars
19,096
Last commit
today
Nov 2026
Repository age
15 years
since Sep 2011
Latest version
1.1.1
Aug 2026
Contributors
–
7 active in 90 days
Releases
1
last 12 months
Language
Python
Fail2Ban reads log files such as /var/log/auth.log and finds IP addresses with too many failed login attempts. It then updates the system firewall to reject new connections from those addresses for a set time. It supports IPv6 since version 0.10.
It ships ready to read common logs, including sshd and Apache, and you can point it at any other log file and error pattern. Configuration lives in /etc/fail2ban, and the fail2ban-client command controls the running server. It is written in Python and licensed GPL-2.0. It runs on Linux, macOS and BSD systems, and most Linux distributions package it.
It reduces the volume of brute-force attempts but does not fix weak authentication. The project itself advises two-factor or key-based login for real protection.
Fail2Ban is a self-run intrusion prevention tool. It is an alternative to commercial host intrusion prevention and managed brute-force protection services.
It blocks repeat offenders automatically using logs you already have.
Skip if: you need network-wide inspection rather than per-host log-based bans.
Packages exist for most distributions, and defaults cover sshd and Apache.
Skip if: you prefer a managed cloud firewall with no host software.
Servers facing the internet get constant password guessing against SSH and web logins. Fail2Ban watches your logs and blocks offending addresses at the firewall.
git clone https://github.com/fail2ban/fail2ban.git
cd fail2ban
sudo python setup.py install From the project's own install instructions. Check the docs for production settings.
Yes. It is free software under the GPL-2.0 license.
Linux, macOS and BSD systems.
Python 3.5 or newer, or PyPy3. Optional extras include pyinotify, systemd bindings and dnspython.
Run fail2ban-client -h, or fail2ban-client version to see the installed version.
Threat detection and monitoring
Python network honeypot that alerts you when someone probes a private network
3.1k 430 yesterday Active BSD-3-Clause
Threat detection and monitoring
Network IDS, IPS and monitoring engine for teams that inspect traffic on their own
6.9k 1.8k today Thriving GPL-2.0
Threat detection and monitoring
Command-line forensic toolkit for checking Android and iOS devices for spyware traces
16k 1.6k today Thriving GPL-3.0
Threat detection and monitoring
Network intrusion detection and prevention engine for security teams, in C++
3.5k 699 18 days ago Active GPL-2.0
Threat detection and monitoring
Finds working RTSP and other stream URLs for IP cameras and writes Frigate configs
952 48 3 months ago Slowing MIT
Threat detection and monitoring
Self-hosted XDR and SIEM platform for security teams monitoring endpoints and cloud
18k 2.6k today Thriving AGPL-3.0