From owner-freebsd-ipfw Tue Jul 23 4:27:26 2002 Delivered-To: freebsd-ipfw@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C036937B400 for ; Tue, 23 Jul 2002 04:27:24 -0700 (PDT) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8A4B343E3B for ; Tue, 23 Jul 2002 04:27:24 -0700 (PDT) (envelope-from billf@elvis.mu.org) Received: by elvis.mu.org (Postfix, from userid 1098) id 565D2AE160; Tue, 23 Jul 2002 04:27:24 -0700 (PDT) Date: Tue, 23 Jul 2002 04:27:24 -0700 From: Bill Fumerola To: Dmitry Demyanchuk Cc: ipfw@FreeBSD.ORG Subject: Re: ipfw2 bug? Message-ID: <20020723112724.GH55389@elvis.mu.org> References: <20020723104850.GG55389@elvis.mu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.3.27i X-Operating-System: FreeBSD 4.5-MUORG-20020626 i386 Sender: owner-freebsd-ipfw@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Tue, Jul 23, 2002 at 01:07:29PM +0200, Dmitry Demyanchuk wrote: > On Tue, Jul 23, 2002 at 12:46:06PM +0200, Dmitry Demyanchuk wrote: > > >> 2) im getting the following message: > >> root@hydra:/usr/src/sys:> ipfw add 25 allow ip from 10.1.1.0/24{1,2} to > any > >> ipfw: bad width ``241'' > >> root@hydra:/usr/src/sys:> > > >what would you expect ipfw to do when asked to use 10.1.1.0/241 as a range? > > i would expect the same action of ipfw add 25 allow ip from { 10.1.1.1 or > 10.1.1.2 } to any modern networking disagrees. stuffing a 241 bit value into a 32 bit netmask is hard. perhaps linux has accomplished that, though. -- - bill fumerola / fumerola@yahoo-inc.com / billf@FreeBSD.org / billf@mu.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ipfw" in the body of the message