In /etc/pf.conf
So, pf WILL read from /var/db/pf/ssh_bruteforcers, but WILL NOT write new infidels to /var/db/pf/ssh_bruteforcers, but keep them in memory instead, which gets emptied after reebot, which WOULD NOT happen if pf WOULD write new infidels to /var/db/pf/ssh_bruteforcers, which it DOESN'T.
Fix?
Code:
table <ssh_bruteforcers> persist file "/var/db/pf/ssh_bruteforcers"
# SSH rules
pass in log inet proto tcp from any to ($ext_if) port 22 keep state (max-src-conn 5, max-src-conn-rate 20/60, overload <ssh_bruteforcers> flush global)
block from <ssh_bruteforcers>
So, pf WILL read from /var/db/pf/ssh_bruteforcers, but WILL NOT write new infidels to /var/db/pf/ssh_bruteforcers, but keep them in memory instead, which gets emptied after reebot, which WOULD NOT happen if pf WOULD write new infidels to /var/db/pf/ssh_bruteforcers, which it DOESN'T.
Fix?