From owner-freebsd-ipfw@FreeBSD.ORG Sun Nov 7 19:37:39 2004 Return-Path: Delivered-To: freebsd-ipfw@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B26B016A4CE for ; Sun, 7 Nov 2004 19:37:39 +0000 (GMT) Received: from smtpauth03.mail.atl.earthlink.net (smtpauth03.mail.atl.earthlink.net [209.86.89.63]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7C55743D2F for ; Sun, 7 Nov 2004 19:37:39 +0000 (GMT) (envelope-from martes.wigglesworth@earthlink.net) Received: from [83.170.20.46] (helo=[192.168.2.50]) by smtpauth03.mail.atl.earthlink.net with asmtp (TLSv1:AES256-SHA:256) (Exim 4.34) id 1CQsr3-00005j-MO for freebsd-ipfw@freebsd.org; Sun, 07 Nov 2004 14:37:39 -0500 From: Martes Wigglesworth To: ipfw-mailings Content-Type: text/plain Organization: Wiggtekmicro Corporation Message-Id: <1099856264.652.276.camel@Mobile1.276NET> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6 Date: Sun, 07 Nov 2004 22:37:44 +0300 Content-Transfer-Encoding: 7bit X-ELNK-Trace: 532caf459ba90ce6996df0496707a79d9bea09fe345ed53d9ef193a6bfc3dd4850504d06c325ceb946beb14524a28536350badd9bab72f9c350badd9bab72f9c X-Originating-IP: 83.170.20.46 Subject: Listing multiple subnets w/ specific host addresses.. X-BeenThere: freebsd-ipfw@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: martes.wigglesworth@earthlink.net List-Id: IPFW Technical Discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 07 Nov 2004 19:37:39 -0000 Does anyone know how to list the following rule? I am unable to find a working example of such a declaration. add log ip from any to \{ 192.168.1.0/24{a,b,c} or 192.168.2.0/24{d,e,f,g} \} The backslash works while listing more than one interface at the end of rules, however, whenever I use it as above, I get parenthesis errors. This current format give the following error on the console: > sudo ipfw add pass log ip from any to \{ 192.168.1.0/24 { 23,24,35,60 } or 192.168.2.0/24 { 24,25,26,50 }\} ipfw: missing ")" Thanks for the help. You guys have been so darn helpful in the last couple of days. -- Respectfully, M.G.W. System: Asus M6N Intel Dothan 1.7 512MB RAM 40GB HD 10/100/1000 NIC Wireless b/g (not working yet) BSD-5.2.1 GCC-3.3.5/3.3.3(until I replace indigenous gcc) IFORT-for linux(Intell Fortran) gfortran python-2.3 Perl-5.6.1/5.8.5 Java-sdk-1.4.2_5 KDE-3.1.4