fail2ban

Install command:
brew install fail2ban

Scan log files and ban IPs showing malicious signs

https://www.fail2ban.org/

License: GPL-2.0-or-later

Development: Pull requests

Formula JSON API: /api/formula/fail2ban.json

Formula code: fail2ban.rb on GitHub

Bottle (binary package) installation support provided for:

macOS on
Apple Silicon
golden gate ✅
tahoe ✅
sequoia ✅
sonoma ✅
macOS on
Intel
sonoma ✅
Linux ARM64 ✅
x86_64 ✅

Current versions:

stable ✅ 1.1.1
head ⚡️ HEAD

Depends on:

python@3.14 3.14.8 Interpreted, interactive, object-oriented programming language

Depends on when building from source:

sphinx-doc 9.1.0 Tool to create intelligent and beautiful documentation

Binaries: fail2ban-client, fail2ban-python, fail2ban-regex, fail2ban-server, fail2ban-testcases

Service:

Start now and at startup: sudo brew services start fail2ban
Run directly: $HOMEBREW_PREFIX/opt/fail2ban/bin/fail2ban-client -x start
You must enable any jails by editing:
    $HOMEBREW_PREFIX/etc/fail2ban/jail.conf

Other configuration files are in $HOMEBREW_PREFIX/etc/fail2ban. See more instructions at
https://github.com/fail2ban/fail2ban/wiki/Proper-fail2ban-configuration.

Analytics:

30 days90 days365 days
Installs322451,067
Installs (--HEAD)012
Installs on Request322451,067
Installs on Request (--HEAD)012
Build Errors0