IPV6_RECVPKTINFO not working for IPv4-mapped addresses on Linux?

Simon Perreault simon.perreault at viagenie.ca
Wed Jan 22 18:00:05 CET 2014


Le 2014-01-22 11:54, Francis Dupont a écrit :
>>   On 20/01/2014 17:12, Simon Perreault wrote:
>>   > IIRC, recent versions of Bind open a socket per address on IPv4
>
> => not it is not by choice, just:
>   - DNS requires to answer from the address the request was received
>   - there is no standard/portable way to do this without the one
>    socket per address in IPv4 (if you need an argument, just ask what
>    this discussion is about :-)

Exactly what I had guessed. Thanks for confirming.

> => BIND polls from time to time interfaces to bind() to new addresses
> (again, there is no standard/portable way to be notified. BTW we (ISC)
> know this is a point which can be improved so if you know a generic
> simple solution...)

Listening on a routing socket doesn't qualify as "generic" nor "simple", 
does it? ;)

Simon
-- 
DTN made easy, lean, and smart --> http://postellation.viagenie.ca
NAT64/DNS64 open-source        --> http://ecdysis.viagenie.ca
STUN/TURN server               --> http://numb.viagenie.ca



More information about the ipv6-ops mailing list