IPFW and syslog

Alexander shulik_freebsd at matrixhome.net
Sat May 6 13:19:56 UTC 2006


So, I also try ipfw add 99 deny ip from any to any, but got the same
trouble...

Bjoern A. Zeeb wrote:
> On Sat, 6 May 2006, Alexander wrote:
>
>> Bjoern A. Zeeb wrote:
>>> On Sat, 6 May 2006, Alexander wrote:
>>>
>>>> Default rule is deny.
>>>> Some packets is registered under default rule, but I can't find
>>>> documentation - how log to syslog packets, that denied in default
>>>> rules.
>>>
>>> Add the same rule with rule number - 1 and add log statement.
>>>
>> Gmmmm! I have added rule: ipfw add 1 deny ip from any to any
>> And server dropped all packets...
>
> Well
> "rule number" (for default rule) - 1 == 65535 - 1 == 65534
>
> I guess I should have added quotes or braces or the sample.
>
> Sorry for the trouble...
>



More information about the freebsd-isp mailing list