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 | darwin-kernel@lists.apple.com Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/darwin-kernel Do not post admin requests to the list. They will be ignored.
participants (1)
-
Justin Walker