This repository has been archived on 2025-03-03 . You can view files and clone it, but cannot push or open issues or pull requests.
Anarchy Planet mail scripts
Mail scripts for Anarchy Planet.
pf_bruteforce
Edit pf_bruteforce.sh
to set a limit of failed auth attempts (default 50).
Install:
# make install
Add somewhere high up in /etc/pf.conf:
table <bruteforce> persist
block in quick on egress from <bruteforce>
Check for pf errors:
# pfctl -nf /etc/pf.conf
If okay, load the new ruleset:
# pfctl -f /etc/pf.conf
Add to root's crontab:
*/10 * * * * /usr/local/bin/pf_bruteforce
Description
Languages
Shell
84.9%
Makefile
15.1%