From owner-freebsd-hackers Wed Jul 8 10:38:39 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id KAA02059 for freebsd-hackers-outgoing; Wed, 8 Jul 1998 10:38:39 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from whistle.com (s205m131.whistle.com [207.76.205.131]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id KAA02043 for ; Wed, 8 Jul 1998 10:38:34 -0700 (PDT) (envelope-from archie@whistle.com) Received: (from smap@localhost) by whistle.com (8.7.5/8.6.12) id KAA02806; Wed, 8 Jul 1998 10:37:57 -0700 (PDT) Received: from bubba.whistle.com(207.76.205.7) by whistle.com via smap (V1.3) id sma002802; Wed Jul 8 10:37:37 1998 Received: (from archie@localhost) by bubba.whistle.com (8.8.7/8.6.12) id KAA29377; Wed, 8 Jul 1998 10:37:36 -0700 (PDT) From: Archie Cobbs Message-Id: <199807081737.KAA29377@bubba.whistle.com> Subject: Re: Specifying ICMP Subtypes to IPFW In-Reply-To: <01BDAA5C.B307FC00@noc.mfn.org> from NOC-IPAD at "Jul 8, 98 10:39:34 am" To: sysadmin@greeves.mfn.org (NOC-IPAD) Date: Wed, 8 Jul 1998 10:37:36 -0700 (PDT) Cc: freebsd-hackers@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL31 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG NOC-IPAD writes: > There has been a recent thread (mine) on "questions" which has > not been resolved - the last comment in this thread was from Doug White, > "No Idea...". > > I need to know how to specify an ICMP subtype to IPFW, for > instance, rather than killing *all* ICMPtype 3 messages using > > ipfw add 1 deny icmp from any to 123.123.123.0/24 icmptype 3 > > I need to kill only icmptype 3, subtype 11. How would I specify this? > > I have tried using icmptype 3.11, 3/11, 311, 3-11, etc... You must create a patch to add this functionality and apply it :-) :-) That is, ipfw doesn't currently support ICMP subtypes. -Archie ___________________________________________________________________________ Archie Cobbs * Whistle Communications, Inc. * http://www.whistle.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message