sshguard

Protect from brute force attacks against SSH

https://www.sshguard.net/

/api/formula/sshguard.json (JSON API)

Formula code on GitHub

Current versions:

stable 2.4.0
head ⚡️ HEAD
bottle 🍾 catalina, mojave, high_sierra, sierra
Add the following lines to /etc/pf.conf to block entries in the sshguard
table (replace $ext_if with your WAN interface):

    table <sshguard> persist
    block in quick on $ext_if proto tcp from <sshguard> to any port 22 label "ssh bruteforce"

Then run sudo pfctl -f /etc/pf.conf to reload the rules.

Analytics:

Installs (30 days)
sshguard 40
Installs on Request (30 days)
sshguard 32
Build Errors (30 days)
sshguard 0
Installs (90 days)
sshguard 108
Installs on Request (90 days)
sshguard 87
Installs (365 days)
sshguard 617
Installs on Request (365 days)
sshguard 515
Fork me on GitHub