From owner-freebsd-current Fri Oct 3 14:27:47 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id OAA13676 for current-outgoing; Fri, 3 Oct 1997 14:27:47 -0700 (PDT) Received: from whistle.com (s205m131.whistle.com [207.76.205.131]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id OAA13670 for ; Fri, 3 Oct 1997 14:27:42 -0700 (PDT) Received: (from smap@localhost) by whistle.com (8.7.5/8.6.12) id OAA17187; Fri, 3 Oct 1997 14:27:11 -0700 (PDT) Received: from bubba.whistle.com(207.76.205.7) by whistle.com via smap (V1.3) id sma017185; Fri Oct 3 14:27:02 1997 Received: (from archie@localhost) by bubba.whistle.com (8.8.5/8.6.12) id OAA23642; Fri, 3 Oct 1997 14:27:02 -0700 (PDT) From: Archie Cobbs Message-Id: <199710032127.OAA23642@bubba.whistle.com> Subject: Re: ipfw outputs 0's with default numbering In-Reply-To: <199710031952.TAA19556@veda.is> from Adam David at "Oct 3, 97 07:52:00 pm" To: adam@veda.is (Adam David) Date: Fri, 3 Oct 1997 14:27:01 -0700 (PDT) Cc: ortmann@sparc.ISl.NET, freebsd-current@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL31 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Adam David writes: > >ipfw -f flush > >ipfw add 1000 pass all from 127.0.0.1 to 127.0.0.1 > >ipfw add pass all from ${ip} to ${net}:${mask} > > >Then I get output as follows ... > > >Flushed all rules. > >01000 allow ip from 127.0.0.1 to 127.0.0.1 > >00000 allow ip from 199.3.25.128 to 199.3.25.0/24 > > >But "ipfw list" shows the following ... > > >01000 allow ip from 127.0.0.1 to 127.0.0.1 > >01100 allow ip from 199.3.25.128 to 199.3.25.0/24 > > >I expected to see the real sequence numbers instead of just 0's. > > Is the 0000 intended to show that the rule is inserted according to > automatic numbering, or would it be better to intend that the actual > number assigned gets displayed? Yes and yes :-) -Archie ___________________________________________________________________________ Archie Cobbs * Whistle Communications, Inc. * http://www.whistle.com