Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Jul 2002 02:31:45 -0700
From:      Luigi Rizzo <rizzo@icir.org>
To:        Jens Trzaska <jt@barfoos.de>
Cc:        ipfw@freebsd.org
Subject:   Re: ipfw2 patches for -stable available
Message-ID:  <20020710023145.A91972@iguana.icir.org>
In-Reply-To: <20020710092337.GB27538@anastasia.lan.blastermaster.de>; from jt@barfoos.de on Wed, Jul 10, 2002 at 11:23:37AM %2B0200
References:  <20020709023203.A83270@iguana.icir.org> <20020710092337.GB27538@anastasia.lan.blastermaster.de>

next in thread | previous in thread | raw e-mail | index | archive | help
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.

	cheers
	luigi

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?20020710023145.A91972>