From owner-freebsd-stable Thu Jul 25 23:35:46 2002 Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E5D4137B400 for ; Thu, 25 Jul 2002 23:35:43 -0700 (PDT) Received: from oak.FernUni-Hagen.de (oak.fernuni-hagen.de [132.176.114.41]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4F6ED43E42 for ; Thu, 25 Jul 2002 23:35:43 -0700 (PDT) (envelope-from jfh@es-i2.FernUni-Hagen.de) Received: from amavis by oak.FernUni-Hagen.de with scanned-ok (Exim 4.04) id 17XyhS-000006-00 for freebsd-stable@freebsd.org; Fri, 26 Jul 2002 08:35:42 +0200 Received: from es-i2.fernuni-hagen.de ([132.176.7.81]) by oak.FernUni-Hagen.de with esmtp (Exim 4.04) id 17XyhH-0007nN-00; Fri, 26 Jul 2002 08:35:31 +0200 Received: from jfh00.fernuni-hagen.de (jfh00.fernuni-hagen.de [132.176.7.6]) by es-i2.fernuni-hagen.de (8.12.5/8.12.5) with ESMTP id g6Q6ZUEb022760; Fri, 26 Jul 2002 08:35:30 +0200 (CEST) (envelope-from jfh@es-i2.fernuni-hagen.de) Received: from jfh00.fernuni-hagen.de (localhost [127.0.0.1]) by jfh00.fernuni-hagen.de (8.12.5/8.12.5) with ESMTP id g6Q6ZUOq030641; Fri, 26 Jul 2002 08:35:30 +0200 (CEST) (envelope-from jfh@jfh00.fernuni-hagen.de) Received: (from jfh@localhost) by jfh00.fernuni-hagen.de (8.12.5/8.12.5/Submit) id g6Q6ZUtX030640; Fri, 26 Jul 2002 08:35:30 +0200 (CEST) Date: Fri, 26 Jul 2002 08:35:30 +0200 From: Fritz Heinrichmeyer To: freebsd-stable@freebsd.org Cc: luigi@freebsd.org Subject: Syntax of ipfw2 configuration Message-ID: <20020726063530.GA30593@jfh00.fernuni-hagen.de> References: <20020710175614.7F3535D03@ptavv.es.net> <3D40E460.D3A5F753@pantherdragon.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3D40E460.D3A5F753@pantherdragon.org> User-Agent: Mutt/1.5.1i X-Virus-Scanned: by AMaViS perl-11 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG ipfw2 -h says IPLIST: IPADDR | ( IPADDR or ... or IPADDR ) IPADDR: [not] { any | me | ip | ip/bits | ip:mask | ip/bits{x,y,z} } committing email says ... ip from 1.2.3.0/24{50,6,27,158} to ... ... ip from { 1.2.3.4/26 or 5.6.7.8/22 } to ... ... ip from any 5-7,9-66,1020-3000,4000-5000 to ... should i use parentheses or curly braces for the "or"-rule? The next question is asked only to be 100% shure: ip/bits{x,y,z} means that the list in braces fills the rest bits, i.e. 132.176.7/24{1,2,3,4} means 132.176.7.1 132.176.7.2 132.176.7.3 132.176.7.4 is that right? Greetings -- Fritz Heinrichmeyer mailto:fritz.heinrichmeyer@fernuni-hagen.de FernUniversitaet Hagen, LG ES, 58084 Hagen (Germany) tel:+49 2331/987-1166 fax:987-355 http://www-es.fernuni-hagen.de/~jfh To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message