Hi!
I've got a problem with security/sshguard-ipfw.
Assumption: I'm running a GENERIC kernel on 8.2, (so I suppose that I don't have the option IPFIREWALL_FORWARD in) and I'm not interested to compile a custom kernel.
I'm using a custom ruleset in /etc/ipfw.rules:
After the installation, I've decommented the line in /etc/syslog.conf:
but it seems that SSHGuard doesn't add any blocking rule from ID 55000 to 55050, as expected.
When I restart ipfw it says:
SSHGuard process seems up and running.
I think that sshguard tried to add its blocking rule without results: doese it require the kernel version of ipfw?
Suggestions are really appreciated.
Thanks in advance
I've got a problem with security/sshguard-ipfw.
Assumption: I'm running a GENERIC kernel on 8.2, (so I suppose that I don't have the option IPFIREWALL_FORWARD in) and I'm not interested to compile a custom kernel.
I'm using a custom ruleset in /etc/ipfw.rules:
Code:
#!/bin/sh
ipfw -q -f flush
cmd="ipfw -q add"
pif="em0"
$cmd xxxxx allow all from any to any via lo0
$cmd xxxxx deny all from any to 127.0.0.0/8
$cmd xxxxx deny all from 127.0.0.0/8 to any
$cmd xxxxx deny tcp from any to any frag
[I]cut[/I]
After the installation, I've decommented the line in /etc/syslog.conf:
Code:
auth.info;authpriv.info |exec /usr/local/sbin/sshguard
but it seems that SSHGuard doesn't add any blocking rule from ID 55000 to 55050, as expected.
When I restart ipfw it says:
Code:
ipfw: getsockopt(IP_FW_ADD): Invalid argument
SSHGuard process seems up and running.
I think that sshguard tried to add its blocking rule without results: doese it require the kernel version of ipfw?
Suggestions are really appreciated.
Thanks in advance