From owner-freebsd-net Thu May 23 19:21:44 2002 Delivered-To: freebsd-net@freebsd.org Received: from hall.mail.mindspring.net (hall.mail.mindspring.net [207.69.200.60]) by hub.freebsd.org (Postfix) with ESMTP id 2121C37B40B; Thu, 23 May 2002 19:21:39 -0700 (PDT) Received: from user-1121rtu.dsl.mindspring.com ([66.32.239.190] helo=compaq) by hall.mail.mindspring.net with smtp (Exim 3.33 #1) id 17B4hx-0001Gf-00; Thu, 23 May 2002 22:21:33 -0400 Message-ID: <000f01c202c9$028d6c60$5ab9fea9@compaq> From: "Naga Narayanaswamy" <naga@mindspring.com> To: "Rob" <telez@brown.edu>, <freebsd-net@FreeBSD.ORG> Cc: <hackers@FreeBSD.ORG> References: <20020522202839.A3413@lester.manchero.org> <20020523202222.A6200@lester.manchero.org> Subject: Re: ip src address in outgoing ipv4 multicast packets Date: Thu, 23 May 2002 22:16:26 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk List-ID: <freebsd-net.FreeBSD.ORG> List-Archive: <http://docs.freebsd.org/mail/> (Web Archive) List-Help: <mailto:majordomo@FreeBSD.ORG?subject=help> (List Instructions) List-Subscribe: <mailto:majordomo@FreeBSD.ORG?subject=subscribe%20freebsd-net> List-Unsubscribe: <mailto:majordomo@FreeBSD.ORG?subject=unsubscribe%20freebsd-net> X-Loop: FreeBSD.org In my 4.6-RC system, I do not have problems with RIPv2 and OSPFv2 packets. I tried zebra routing daemon just now and RIP multicast packets with 224.0.0.9 have proper source address of the interface originating them and OSPFv2 HELLO multicast packets with dst 224.0.0.5 have proper src address of the interface originating them. When you say src address is set to host group, what application generates them? What is the src and dest address ? I quickly checked Rich Stevens vol II. Looks like the code has been like this since old days. Is the application setting the src address as mc group intentionally? Regards Naga. ----- Original Message ----- From: "Rob" <telez@brown.edu> To: <freebsd-net@FreeBSD.ORG> Cc: <hackers@FreeBSD.ORG> Sent: Thursday, May 23, 2002 8:22 PM Subject: Re: ip src address in outgoing ipv4 multicast packets > * Rob (telez@brown.edu) [020522 20:30]: > > I was just wondering why the src address is set to the host group in > > outgoing multicast packets on RELENG_4? As far as I can tell, rfc1054 > > says that the src address should be set to that of the host, not the > > host group (6.2). The behavior exists in 4.5-release also. > > > > I noticed this because linux seems to reject mc packets with a multicast > > source address (which is also incorrect according to section 7.2). > > > > Looking at the source, it seems trivial to get the correct (?) behavior. > > Is there some reason why we shouldn't do this? > > > If anyone cares I just submitted a pr with an attached patch which will > fix this problem. What is a good avenue to get this incorporated into > the main tree? > > http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/38473 > > -r > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-net" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message