Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Jul 2002 11:51:12 +0200
From:      Jens Trzaska <jt@barfoos.de>
To:        Luigi Rizzo <rizzo@icir.org>
Cc:        ipfw@freebsd.org
Subject:   Re: ipfw2 patches for -stable available
Message-ID:  <20020710095112.GB28611@anastasia.lan.blastermaster.de>
In-Reply-To: <20020710023145.A91972@iguana.icir.org>
References:  <20020709023203.A83270@iguana.icir.org> <20020710092337.GB27538@anastasia.lan.blastermaster.de> <20020710023145.A91972@iguana.icir.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Jul 10, 2002 at 02:31:45AM -0700, Luigi Rizzo wrote:
> On Wed, Jul 10, 2002 at 11:23:37AM +0200, Jens Trzaska wrote:
> > On Tue, Jul 09, 2002 at 02:32:04AM -0700, Luigi Rizzo wrote:
> > > [Bcc to -stable as relevant there]
> > > 
> > > As the subject says, the latest patches to run ipfw2 on -stable are at
> > > 
> > > 	http://info.iet.unipi.it/~luigi/ipfw2.stable.020709.diffs
> > 
> > Great work. No problems so far.
> > 
> > But one question. Does the code also allow the new OR syntax you
> > mentioned in -net? I tried to insert the following rule but it does
> > not work.
> 
> you need to put braces around the OR block (one person
> suggested that to avoid ambiguity).
> Either braces {} or parentheses () do, but the latter need
> to be escaped from the shell.
> 
> > anastasia:~#ipfw add allow ip from 10.11.9.3 or 10.11.9.2 to any
> 
> 	ipfw add allow ip from { 10.11.9.3 or 10.11.9.2 } to any
> 
> also:
> 
> 	ipfw add allow ip from 10.11.9.0/24{2,3} to any
> 
> does the same in this case.

Cool. *g*

But is that o.k.?

anastasia:~#ipfw add 5900 allow ip from { 10.11.9.3 or 10.11.9.2 } to any
05900 allow ip from { 10.11.9.3 or 10.11.9.2 } to any
05900 allow ip from { 10.11.9.3 or 10.11.9.2 } to any

It shows the rule 2 times.


Jens
-- 
KeyID=96FE36DB 
Key fingerprint=1C9B 7EF8 1A22 1740 9F1B  AB7B 17D2 64E1 96FE 36DB

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?20020710095112.GB28611>