From owner-freebsd-questions Fri Dec 28 13: 6:34 2001 Delivered-To: freebsd-questions@freebsd.org Received: from chen.org.nz (tnt1-230.quicksilver.net.nz [202.89.142.230]) by hub.freebsd.org (Postfix) with ESMTP id D642137B417 for ; Fri, 28 Dec 2001 13:06:28 -0800 (PST) Received: (from jonc@localhost) by chen.org.nz (8.11.6/8.11.6) id fBSL8GA24767; Sat, 29 Dec 2001 10:08:16 +1300 (NZDT) (envelope-from jonc) Date: Sat, 29 Dec 2001 10:08:14 +1300 From: Jonathan Chen To: Joe & Fhe Barbish Cc: FBSD Questions Subject: Re: avoid ping Message-ID: <20011229100814.A24652@grimoire.chen.org.nz> References: <20011221010222.R374-100000@catalyst.sasknow.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from barbish@a1poweruser.com on Fri, Dec 28, 2001 at 01:10:21PM -0500 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Fri, Dec 28, 2001 at 01:10:21PM -0500, Joe & Fhe Barbish wrote: > You responded > ipfw add 400 deny icmp from any to ${you} icmptype 8 > Where ${you} is the public IP address of your machine, or network > address of your subnet. > > I respond. > ${you} is the static IP address issued by your ISP. How do I get > this value if my ISP does dynamic IP assignments? You could write it like this: ipfw add 400 deny icmp from any to me icmptype 8 via ${IF} where ${IF} is the interface involved (eg: xl0, fxp0, etc). Cheers. -- Jonathan Chen ---------------------------------------------------------------------- If you're right 90% of the time, why quibble about the remaining 3%? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message