ipfw2 logging

Matthew George mdg at secureworks.net
Wed Nov 5 10:14:28 PST 2003


On Tue, 4 Nov 2003, Crist J. Clark wrote:

> On Sun, Nov 02, 2003 at 07:11:54AM +0100, Zoran Kolic wrote:
> [snip]
> > Well! Firewall works, I have data
> > with "ipfw show", but there is no
> > log. My intentioned rule is
> >
> > add 65535 deny log all from any to any
> >
> > It should work, but is does not.
> > What I am doing wrong?
>
> You cannot change rule 65535. Perhaps try 65534.
>

from the 4.9 relnotes:

ipfw(8) can now modify ipfw(4) rules in set 31, which was read-only and
used for the default rules. They can be deleted by ipfw delete set 31
command but are not deleted by the ipfw flush command. This implements a
flexible form of ``persistent rules''. More details can be found in
ipfw(8).


I haven't actually done it yet for myself, but it would seem that 65535
can be changed now. (?)

-- 
Matthew George
SecureWorks Technical Operations



More information about the freebsd-stable mailing list