Install command:
brew install fail2ban

Scan log files and ban IPs showing malicious signs

License: GPL-2.0

/api/formula-linux/fail2ban.json (JSON API)

Linux formula code on GitHub

Current versions:

stable 0.11.2
bottle 🍾 big_sur, catalina, mojave, x86_64_linux

Depends on:

python@3.9 3.9.0 Interpreted, interactive, object-oriented programming language

Depends on when building from source:

help2man 1.47.16 Automatically generate simple man pages
sphinx-doc 3.3.1 Tool to create intelligent and beautiful documentation
Before using Fail2Ban for the first time you should edit the jail
configuration and enable the jails that you want to use, for instance
ssh-ipfw. Also, make sure that they point to the correct configuration
path. I.e. on Mountain Lion the sshd logfile should point to

    * $(brew --prefix)/etc/fail2ban/jail.conf

The Fail2Ban wiki has two pages with instructions for macOS Server that
describes how to set up the Jails for the standard macOS Server
services for the respective releases.


Please do not forget to update your configuration files.
They are in $(brew --prefix)/etc/fail2ban.


Installs (30 days)
fail2ban 1
Installs on Request (30 days)
fail2ban 1
Build Errors (30 days)
fail2ban 0
Installs (90 days)
fail2ban 4
Installs on Request (90 days)
fail2ban 4
Installs (365 days)
fail2ban 11
Installs on Request (365 days)
fail2ban 11
Fork me on GitHub