Duplicate IPFW rules

Rodrigo Galiano rodrigo at liralink.com
Thu Dec 21 12:22:39 PST 2006


Hi,


    Re-edit your script and on the first line at the following:

ipfw -f fl

    This line flushes the firewall script that is currently loaded 
before loading your script.


    Can you keep me posted.


Regards and a Merry Christmas,
-- 
Rodrigo Galiano Celestino
Internet & System Consultant
Celphone: +244 923 57 79 72



Václav Haisman escreveu:
> Hi,
> I have just noticed that ipfw list shows one rule twice. It could be that I
> have run a script that adds it twice:
> 
> shell::root:~> ipfw list
> 00100 allow ip from any to any via lo0
> 00200 deny ip from any to 127.0.0.0/8
> 00300 deny ip from 127.0.0.0/8 to any
> 01999 deny ip from table(1) to any
> 01999 deny ip from table(1) to any
> 65000 allow ip from any to any
> 65535 allow ip from any to any
> 
> Shouldn't IPFW check before adding the same rule number again?
> 
> This is FreeBSD 6.1 RC1 with quite recent kernel.
> 
> --
> Vaclav Haisman
> 


More information about the freebsd-stable mailing list