[Bug network/14413] nsswitch doesn't implement getaddrinfo(), plugins cannot provide full getaddrinfo features
hdante at gmail dot com
sourceware-bugzilla@sourceware.org
Sun Mar 12 03:51:00 GMT 2017
https://sourceware.org/bugzilla/show_bug.cgi?id=14413
Henrique <hdante at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |hdante at gmail dot com
--- Comment #5 from Henrique <hdante at gmail dot com> ---
Hello, I can confirm that this bug is still present. IPv6 link local addresses
(fe80::/64) only work when coupled with sockaddr_in6.sin6_scope_id (some
interface number). Since gethostent only returns the address (through
hostent.h_addr_list), then all IPv6 link local addresses are returned in an
incomplete way and so are broken.
This is why mdns does not work in linux with link local addresses.
Comparing with MacOS, getaddrinfo() seems to be implemented by the nss plugin,
so executing ssh -6 host.local works. In linux, executing ssh -6 host.local
does not work.
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the Glibc-bugs
mailing list