Date: Fri, 29 Aug 1997 23:22:46 -0700 (PDT) From: Archie Cobbs <archie@whistle.com> To: batie@aahz.jf.intel.com (Alan Batie) Cc: hackers@FreeBSD.ORG Subject: Re: ipfw protocols Message-ID: <199708300622.XAA02291@bubba.whistle.com> In-Reply-To: <19970829153329.51631@aahz.jf.intel.com> from Alan Batie at "Aug 29, 97 03:33:29 pm"
next in thread | previous in thread | raw e-mail | index | archive | help
> 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.
<number|name> Only packets for the specified protocol matches
(see /etc/protocols for a complete list).
-Archie
___________________________________________________________________________
Archie Cobbs * Whistle Communications, Inc. * http://www.whistle.com
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199708300622.XAA02291>
