From owner-freebsd-ipfw@FreeBSD.ORG Fri Oct 22 16:01:04 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 A821816A4CE for ; Fri, 22 Oct 2004 16:01:04 +0000 (GMT) Received: from pc5.i.0x5.de (n.0x5.de [217.197.85.142]) by mx1.FreeBSD.org (Postfix) with ESMTP id D6DB843D48 for ; Fri, 22 Oct 2004 16:01:02 +0000 (GMT) (envelope-from nicolas@i.0x5.de) Received: from pc5.i.0x5.de (nicolas@localhost [127.0.0.1]) by pc5.i.0x5.de (8.12.11/8.12.11) with ESMTP id i9MG107W069825 for ; Fri, 22 Oct 2004 18:01:00 +0200 (CEST) (envelope-from nicolas@pc5.i.0x5.de) Received: (from nicolas@localhost) by pc5.i.0x5.de (8.12.11/8.12.11/Submit) id i9MG108j069824 for freebsd-ipfw@freebsd.org; Fri, 22 Oct 2004 18:01:00 +0200 (CEST) (envelope-from nicolas) Date: Fri, 22 Oct 2004 18:01:00 +0200 From: Nicolas Rachinsky To: ipfw-mailings Message-ID: <20041022160100.GA69585@pc5.i.0x5.de> Mail-Followup-To: ipfw-mailings References: <1098339493.1973.44.camel@Mobile1.276NET> <20041022083605.J20686-100000@tyberius.abccom.bc.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20041022083605.J20686-100000@tyberius.abccom.bc.ca> X-Powered-by: FreeBSD X-Homepage: http://www.rachinsky.de X-PGP-Keyid: C11ABC0E X-PGP-Fingerprint: 19DB 8392 8FE0 814A 7362 EEBD A53B 526A C11A BC0E X-PGP-Key: http://www.rachinsky.de/nicolas/nicolas_rachinsky.asc User-Agent: Mutt/1.5.6i Subject: Re: ipfw address-listing woes X-BeenThere: freebsd-ipfw@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: IPFW Technical Discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Oct 2004 16:01:04 -0000 * Jon Simola [2004-10-22 08:50 -0700]: > Well, I don't think you can list multiple interfaces unless you're > matching "in recv xl0 out xmit fxp0" and via appears to just use a text > string without comparing to interfaces actually existing or not. ${fwcmd_add} deny udp from 0.0.0.0 68 to 255.255.255.255 67 in \{ recv ${if_m} or recv ${if_g} \} resulting in deny udp from 0.0.0.0 68 to 255.255.255.255 dst-port 67 in { recv fxp0 or recv fxp1 } works fine here. Nicolas