From owner-freebsd-net Sat Dec 7 11:56:48 2002 Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9733F37B401 for ; Sat, 7 Dec 2002 11:56:47 -0800 (PST) Received: from xorpc.icir.org (xorpc.icir.org [192.150.187.68]) by mx1.FreeBSD.org (Postfix) with ESMTP id 17C6643EC2 for ; Sat, 7 Dec 2002 11:56:47 -0800 (PST) (envelope-from rizzo@xorpc.icir.org) Received: from xorpc.icir.org (localhost [127.0.0.1]) by xorpc.icir.org (8.12.3/8.12.3) with ESMTP id gB7JukTO044568; Sat, 7 Dec 2002 11:56:46 -0800 (PST) (envelope-from rizzo@xorpc.icir.org) Received: (from rizzo@localhost) by xorpc.icir.org (8.12.3/8.12.3/Submit) id gB7JukFI044567; Sat, 7 Dec 2002 11:56:46 -0800 (PST) (envelope-from rizzo) Date: Sat, 7 Dec 2002 11:56:46 -0800 From: Luigi Rizzo To: Peter Brezny Cc: freebsd-net@FreeBSD.ORG Subject: Re: or syntx for ipfw Message-ID: <20021207115646.A44555@xorpc.icir.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: ; from peter@skyrunner.net on Sat, Dec 07, 2002 at 02:39:27PM -0500 Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Sat, Dec 07, 2002 at 02:39:27PM -0500, Peter Brezny wrote: > I'm having problems with the syntax (i think) of using "or" in ipfw rules. > > Does this work only with ipfw2? yes it only works with ipfw2 luigi > i'm attempting: > > ipfw add 300 deny log all from \{ not 208.133.x.x/2x or 12.150.x.x/2x \} to > any out via oif > > and i'm getting: > ipfw: hostname ``{'' unknown > > TIA > > Peter Brezny > Skyrunner.net > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-net" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message