From owner-freebsd-stable Fri Aug 3 8:37:19 2001 Delivered-To: freebsd-stable@freebsd.org Received: from purus.tcoip (cerberus.tcoip.com.br [200.220.254.3]) by hub.freebsd.org (Postfix) with ESMTP id 7648737B403 for ; Fri, 3 Aug 2001 08:37:15 -0700 (PDT) (envelope-from daniel.sobral@tcoip.com.br) Received: from tcoip.com.br (4zd0598iux19pjrj@dcs.intra.tcoip.com.br [192.168.60.194]) by purus.tcoip (8.11.1/8.11.1) with ESMTP id f73Fa6A02803; Fri, 3 Aug 2001 12:36:06 -0300 Message-ID: <3B6AC4DA.30007@tcoip.com.br> Date: Fri, 03 Aug 2001 12:35:54 -0300 From: "Daniel C. Sobral" User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:0.9.2) Gecko/20010705 X-Accept-Language: en, pt-br, ja MIME-Version: 1.0 To: "Rodney W. Grimes" Cc: stable@FreeBSD.ORG Subject: Re: Request for testers: multicast patch References: <200108031516.IAA51292@gndrsh.dnsmgr.net> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Rodney W. Grimes wrote: >>[Bcc'ed to -net] >> >>On http://people.freebsd.org/~dcs/ip_output.c there is a port to stable >>of the revisions 1.127 through 1.130 of /sys/netinet/ip_output.c. These >>patches do the following: >> >>1) Enable one to send multicast packets without a default route or >>routes to the multicast addresses. >> > > This might break part of the multicast propogation protection, IIRC > this was a specific feature of the original Deering multicast code > to prevent unwanted propogation of multicast packets on multihomed > hosts. Not doing this would break the RFC on multicasting. It says there that the app specifies the interface on which it will send the multicast packet. And, specifically, if you have a default route, the application will send the packet on whatever interface it choses. If you have a route for the multicast address, even to loopback, it will send the packet on whatever interface it choses. The difference here is that we do not require that a route which will be ignored exists. Note that this does not result in an application sending packets on multiple interfaces unintentionally, nor the absence of this patch prevents such applications from doing it intentionally. >>2) Enable one to send multicast packets on an interface without an address. >> >>3) Prevent trouble if packets are sent through an interface without an >>address (vlan excluded). > > What source IP address is used for 2 and 3??? For 2 it uses 0.0.0.0 (as per Bill Fenner's orientation in message to Ruslan). Point 3 is not really related to IP addresses. Rather, it just avoids assuming that IA is non-null. -- Daniel C. Sobral (8-DCS) Daniel.Sobral@tcoip.com.br dcs@newsguy.com dcs@freebsd.org capo@notorious.bsdconspiracy.net Exhilaration is that feeling you get just after a great idea hits you, and just before you realize what is wrong with it. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message