NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

kern/43708: multicast binding issues

>Number:         43708
>Category:       kern
>Synopsis:       multicast binding issues
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Aug 06 19:35:00 +0000 2010
>Originator:     Jeremy C. Reed
>Release:        NetBSD 5.1_RC1
System: NetBSD 5.1_RC1 NetBSD 5.1_RC1 (NBFTP) #7: Tue Apr 27 
20:36:28 UTC 2010 amd64
Architecture: x86_64
Machine: amd64
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 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.)


Home | Main Index | Thread Index | Old Index