Установка sshguard
13 Январь 2010
FreeBSD:
cd /usr/ports/security/sshguard-pf
make install clean
Проверяем /etc/syslog.conf на существование следующей строчки:
auth.info;authpriv.info |exec /usr/local/sbin/sshguard -a 3 -p 9200 -s 12000
pf.conf:
table <sshguard> persist
block in quick proto tcp from <sshguard> to any label "ssh bruteforce"
cd /usr/ports/security/sshguard-pf/ && make install clean =)