From owner-freebsd-bugs Thu May 23 22:50: 7 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 9341737B407 for ; Thu, 23 May 2002 22:50:03 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g4O5o3B89965; Thu, 23 May 2002 22:50:03 -0700 (PDT) (envelope-from gnats) Date: Thu, 23 May 2002 22:50:03 -0700 (PDT) Message-Id: <200205240550.g4O5o3B89965@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: John Hay Subject: Re: kern/38473: src address in ipv4 hdr for multicast packets contain hosts group rather than hosts address Reply-To: John Hay Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org The following reply was made to PR kern/38473; it has been noted by GNATS. From: John Hay To: rmanches@brown.edu (Rob Manchester) Cc: FreeBSD-gnats-submit@FreeBSD.ORG Subject: Re: kern/38473: src address in ipv4 hdr for multicast packets contain hosts group rather than hosts address Date: Fri, 24 May 2002 07:43:58 +0200 (SAT) > > >Description: > according to section 6.2 of rfc1054, the source address in the > ip header should contain the host's address rather than the host's > group address. FreeBSD from at least 4.5->4.6rc sets the source > address to the host group. I don't see a reason for doing this, > and it causes incompatibility with other os's ipv4 mc > implementaion, mainly linux. > > >How-To-Repeat: > > send out a mc packet using ipv4 and watch the outgoing packets > using tcpdump. > What application are you using? Are you sure it isn't broken? I have used ntp and various routing daemons and have never seen this behaviour. Your patch seems to catch the case where the app sets its source address to the multicast address. Just don't do that. :-) John -- John Hay -- John.Hay@icomtek.csir.co.za / jhay@FreeBSD.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message