Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Jul 2002 04:27:24 -0700
From:      Bill Fumerola <billf@mu.org>
To:        Dmitry Demyanchuk <dd@skynet.lt>
Cc:        ipfw@FreeBSD.ORG
Subject:   Re: ipfw2 bug?
Message-ID:  <20020723112724.GH55389@elvis.mu.org>
In-Reply-To: <DLEHKBDBCBAOBMIAHCBEMEADCAAA.dd@skynet.lt>
References:  <20020723104850.GG55389@elvis.mu.org> <DLEHKBDBCBAOBMIAHCBEMEADCAAA.dd@skynet.lt>

next in thread | previous in thread | raw e-mail | index | archive | help

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020723112724.GH55389>