I built sshguard-pf from ports and then followed this guide:
http://www.sshguard.net/docs/setup/firewall/pf/
My/etc/pf.conf has the following in it:
sshguard is enabled in /etc/rc.conf via:
...and so is pf:
pf_enable="YES"
When I run pfctl, it shows the following:
even though I have the following kernel options built:
I'm running FreeBSD 10.0-RELEASE-p7 (amd64)
I tried simulating an SSH brute force attack from a remote system but sshguard isn't blocking anythying. PF itself seems to be working. What am I doing wrong?
http://www.sshguard.net/docs/setup/firewall/pf/
My/etc/pf.conf has the following in it:
Code:
table <sshguard> persist
block in quick on hn0 from <sshguard> to any #label "ssh bruteforce"
block in quick on hn1 from <sshguard> to any #label "ssh bruteforce"
sshguard is enabled in /etc/rc.conf via:
Code:
sshguard_enable="YES"
pf_enable="YES"
When I run pfctl, it shows the following:
Code:
No ALTQ support in kernel
ALTQ related functions disabled
even though I have the following kernel options built:
Code:
options ALTQ
options ALTQ_CBQ # Class Bases Queuing (CBQ)
options ALTQ_RED # Random Early Detection (RED)
options ALTQ_RIO # RED In/Out
options ALTQ_HFSC # Hierarchical Packet Scheduler (HFSC)
options ALTQ_PRIQ # Priority Queuing (PRIQ)
options ALTQ_NOPCC # Required for SMP build
I'm running FreeBSD 10.0-RELEASE-p7 (amd64)
I tried simulating an SSH brute force attack from a remote system but sshguard isn't blocking anythying. PF itself seems to be working. What am I doing wrong?