From owner-freebsd-hackers Sun Apr 23 10:25:13 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from fledge.watson.org (fledge.watson.org [204.156.12.50]) by hub.freebsd.org (Postfix) with ESMTP id 287B637B5DB for ; Sun, 23 Apr 2000 10:25:09 -0700 (PDT) (envelope-from robert@cyrus.watson.org) Received: from fledge.watson.org (robert@fledge.pr.watson.org [192.0.2.3]) by fledge.watson.org (8.9.3/8.9.3) with SMTP id NAA05878; Sun, 23 Apr 2000 13:24:52 -0400 (EDT) (envelope-from robert@cyrus.watson.org) Date: Sun, 23 Apr 2000 13:24:51 -0400 (EDT) From: Robert Watson X-Sender: robert@fledge.watson.org To: Bill Fenner Cc: dmlb@ragnet.demon.co.uk, freebsd-hackers@freebsd.org Subject: Re: Help with SIOCADDMULTI, IFF_ALLMULTI and IFF_PROMISC In-Reply-To: <200004212325.QAA24912@windsor.research.att.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Fri, 21 Apr 2000, Bill Fenner wrote: > >What should I do when I see ALLMULTI? > > You should go promiscuous to multicast. If the card doesn't support > that, you should go fully promiscuous and drop unicasts that aren't > to you. (Make sure you don't block packets that bpf is going to > want to see). Also, if you want bridging support, you have to bridge before doing the filtering. Really, the filtering on ``appropriateness'' should only occur when the packet is about to enter ether_input(). Speaking of which, I'd really like to see bridge support getting added to all new NIC drivers from now on. However, the current bridge interface leaves something to be desired... Robert N M Watson robert@fledge.watson.org http://www.watson.org/~robert/ PGP key fingerprint: AF B5 5F FF A6 4A 79 37 ED 5F 55 E9 58 04 6A B1 TIS Labs at Network Associates, Safeport Network Services To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message