This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug network/14413] nsswitch doesn't implement getaddrinfo(), plugins cannot provide full getaddrinfo features


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.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]