[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
We are violating RFC1884 and RFC2373
The RFCs 1884 (standard) and its successor 2373 (proposed standard) are
defining a method to bind to IPv4 adresses like ::ffff:127.0.0.1. This is
not possible on OpenBSD and NetBSD:
517 tcpserver6 CALL bind(0x3,0xdfbfdaa0,0x1c)
517 tcpserver6 RET bind -1 errno 49 Can't assign requested address
So, the IPv4-in-IPv6 adresses as defined in RFC1884 don't work on OpenBSD.
This makes porting IPv6-applications hard, makes the application code more
complex if a workaround is introduced and is simply against the RFCs. Saying
"supporting IPv4-in-IPv6-addresses makes the code more complex" is not valid
here as it simply moves the complexity to the application.
This problem is imported from KAME and present in OpenBSD and NetBSD. I
don't know about FreeBSD.
Greetings
Henning
--
* Henning Brauer, hostmaster@bsws.de, http://www.bsws.de *
* Roedingsmarkt 14, 20459 Hamburg, Germany *
Unix is very simple, but it takes a genius to understand the simplicity.
(Dennis Ritchie)