Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Udp multicast src address bug



On Wednesday, January 7, 2004, at 01:12 PM, Mark Koch wrote:

Dear group,

maybe I have found a bug in the udp stack of the darwin kernel. I found
nothing via google or in the archives so I decided to post.

Description:
If a multicast address ist binded and connected the source address of
sent packages is the multicast group address. I think there shall be
the local interface address instead.

This is a long-standing bug in the BSD stacks (Stevens discusses it in one of his books). RFC-1122 (Host Requirements) says that a multicast address not be used as the source address in any transmitted packet.

The problem, I think, comes from the way the sockets API works. Stevens suggests that, to avoid this, you should use two UDP sockets, one for sending and one for receiving.

You could file a bug on this (http://bugreporter.apple.com), but given it's long-standing nature, it may not be fixed.

Regards,

Justin

--
Justin C. Walker, Curmudgeon-At-Large *
Institute for General Semantics | Men are from Earth.
| Women are from Earth.
| Deal with it.
*--------------------------------------*-------------------------------*
_______________________________________________
darwin-kernel mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/darwin-kernel
Do not post admin requests to the list. They will be ignored.

References: 
 >Udp multicast src address bug (From: Mark Koch <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.