From owner-freebsd-hackers Fri Aug 29 23:23:36 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id XAA21669 for hackers-outgoing; Fri, 29 Aug 1997 23:23:36 -0700 (PDT) Received: from whistle.com (s205m131.whistle.com [207.76.205.131]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id XAA21662 for ; Fri, 29 Aug 1997 23:23:35 -0700 (PDT) Received: (from smap@localhost) by whistle.com (8.7.5/8.6.12) id XAA10088; Fri, 29 Aug 1997 23:23:04 -0700 (PDT) Received: from bubba.whistle.com(207.76.205.7) by whistle.com via smap (V1.3) id sma010086; Fri Aug 29 23:22:47 1997 Received: (from archie@localhost) by bubba.whistle.com (8.8.5/8.6.12) id XAA02291; Fri, 29 Aug 1997 23:22:47 -0700 (PDT) From: Archie Cobbs Message-Id: <199708300622.XAA02291@bubba.whistle.com> Subject: Re: ipfw protocols In-Reply-To: <19970829153329.51631@aahz.jf.intel.com> from Alan Batie at "Aug 29, 97 03:33:29 pm" To: batie@aahz.jf.intel.com (Alan Batie) Date: Fri, 29 Aug 1997 23:22:46 -0700 (PDT) Cc: 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 X-Loop: FreeBSD.org Precedence: bulk > I'm using freebsd as a multicast router here, and I need to be able to > allow igmp requests from a network so viewers can join a group, but > block transmission of multicast packets in general. ipfw only knows > about tcp and udp, and from looking at the code and include files, it > looks like the protocol specification interface is very limited. You > need to be able to actually specify the protocol by number if the name > isn't known (e.g. rsvp is 42, I believe, and I'm sure there are others). What version of FreeBSD (ie, ipfw) are you using? The current versions in 2.2.X and -current support naming all IP protocols. >From the man page: proto: ip All packets match. The alias all has the same ef- fect. tcp Only TCP packets match. udp Only UDP packets match. icmp Only ICMP packets match. Only packets for the specified protocol matches (see /etc/protocols for a complete list). -Archie ___________________________________________________________________________ Archie Cobbs * Whistle Communications, Inc. * http://www.whistle.com