From owner-freebsd-questions@FreeBSD.ORG Mon Nov 5 00:10:27 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1197216A468 for ; Mon, 5 Nov 2007 00:10:27 +0000 (UTC) (envelope-from juri_mian@yahoo.com) Received: from n6.bullet.re3.yahoo.com (n6.bullet.re3.yahoo.com [68.142.237.91]) by mx1.freebsd.org (Postfix) with SMTP id BB2C613C4BA for ; Mon, 5 Nov 2007 00:10:26 +0000 (UTC) (envelope-from juri_mian@yahoo.com) Received: from [68.142.237.87] by n6.bullet.re3.yahoo.com with NNFMP; 05 Nov 2007 00:10:13 -0000 Received: from [216.252.122.216] by t3.bullet.re3.yahoo.com with NNFMP; 05 Nov 2007 00:10:13 -0000 Received: from [69.147.84.95] by t1.bullet.sp1.yahoo.com with NNFMP; 05 Nov 2007 00:10:13 -0000 Received: from [127.0.0.1] by omp205.mail.sp1.yahoo.com with NNFMP; 05 Nov 2007 00:10:13 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 245595.7249.bm@omp205.mail.sp1.yahoo.com Received: (qmail 29395 invoked by uid 60001); 5 Nov 2007 00:10:13 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=woINmRlhQ9OTh+StVMbF5O5s+9jr1fRppi84VM/Xzzcg4QFEmeQGM3YBhrPLpifsBn8r8jv4IB8vQTcRpzRJSPPmDYwnAXbI+S7yAZ6fbenXXe262jcKAeaorWe9DX9yeHN4EFUT2zJXmmdR5qpn+BCff9e1KR81RijI9TZMU1Q=; X-YMail-OSG: a1IJThsVM1mBHZxmLjkwEkmdUukbpgQUmDtuAxCZlmOIA2dyWPxEgqonTljVmjIZ7w-- Received: from [71.63.232.32] by web45616.mail.sp1.yahoo.com via HTTP; Sun, 04 Nov 2007 16:10:12 PST Date: Sun, 4 Nov 2007 16:10:12 -0800 (PST) From: Juri Mianovich To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Message-ID: <968423.23711.qm@web45616.mail.sp1.yahoo.com> Subject: ipfw rule question ... all possible interfaces ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Nov 2007 00:10:27 -0000 Is there a way to tell ipfw: "all interfaces currently configured on this system" ? I have a laptop and at any time I could plug in a USB NIC or plug in a pccard, in addition to the onboard LAN and WIFI, either of which may or may not be configured at boot time. So the point is, the active, configured interfaces changes regularly. So if I have a rule like: allow ip from any to any via iwi0 that won't work well, and neither will: allow ip from any to any via iwi0,abc0 So is there any way to say "all interfaces currently configured" and have that rule apply to new interfaces automatically as they are added and subtracted from the system ? __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com