[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
kern/43708: multicast binding issues
>Synopsis: multicast binding issues
>Arrival-Date: Fri Aug 06 19:35:00 +0000 2010
>Originator: Jeremy C. Reed
>Release: NetBSD 5.1_RC1
System: NetBSD morden.NetBSD.org 5.1_RC1 NetBSD 5.1_RC1 (NBFTP) #7: Tue Apr 27
20:36:28 UTC 2010
1. a TCP socket allows it to be bound to a multicast address (may
not necessarily be "wrong" in terms of posix or API standard (which
I don't know), but at least it doesn't make sense)
2. inconsistency on whether to allow multicast binding for AF_INET
and AF_INET6 sockets
bind ffff:ffff:: probably should fail but it doesn't on 5.0 and 5.1.
This problem doesn't exist on 5.99.33 so is fixed somewhere.
bind 18.104.22.168 probably should fail, but it does not (maybe
tcp/v4 and tcp/v6 use different logic).
I just noticed because some unittests I use for testing
invalid addresses were not working.
(Jinmei Tatuya helped me with troubleshooting this and description.)
Main Index |
Thread Index |