Date: Thu, 21 Dec 2006 20:53:57 +0100 From: Rodrigo Galiano <rodrigo@liralink.com> To: =?UTF-8?B?VsOhY2xhdiBIYWlzbWFu?= <V.Haisman@sh.cvut.cz> Cc: stable@freebsd.org Subject: Re: Duplicate IPFW rules Message-ID: <458AE655.7000800@liralink.com> In-Reply-To: <458AD815.3010601@sh.cvut.cz> References: <458AD815.3010601@sh.cvut.cz>
next in thread | previous in thread | raw e-mail | index | archive | help
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 >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?458AE655.7000800>