public inbox for glibc-bugs@sourceware.org help / color / mirror / Atom feed
From: "gavin at matician dot com" <sourceware-bugzilla@sourceware.org> To: glibc-bugs@sourceware.org Subject: [Bug network/14413] nsswitch doesn't implement getaddrinfo(), plugins cannot provide full getaddrinfo features Date: Tue, 07 Apr 2020 19:53:29 +0000 [thread overview] Message-ID: <bug-14413-131-NS754Jg7Qo@http.sourceware.org/bugzilla/> (raw) In-Reply-To: <bug-14413-131@http.sourceware.org/bugzilla/> https://sourceware.org/bugzilla/show_bug.cgi?id=14413 Gavin <gavin at matician dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |gavin at matician dot com --- Comment #8 from Gavin <gavin at matician dot com> --- Confirming that this issue still exists as of 2.31. ssh -v host.local works: OpenSSH_8.2p1, OpenSSL 1.1.1f 31 Mar 2020 debug1: Reading configuration data /home/gavin/.ssh/config debug1: Reading configuration data /etc/ssh/ssh_config debug1: Connecting to host.local [fe80::88aa:55ff:fec5:dd9%wlan0] port 22. debug1: Connection established. ssh -v -6 host.local does not work: OpenSSH_8.2p1, OpenSSL 1.1.1f 31 Mar 2020 debug1: Reading configuration data /home/gavin/.ssh/config debug1: Reading configuration data /etc/ssh/ssh_config debug1: Connecting to host.local [fe80::88aa:55ff:fec5:dd9] port 22. debug1: connect to address fe80::88aa:55ff:fec5:dd9 port 22: Invalid argument The first case calls get getaddrinfo() with hints->ai_family=AF_UNSPEC, the second case calls it with hints->ai_family=AF_INET6. As a workaround until gethostbyname5 comes along, would it make sense to modify gethostbyname3 such that it stuffs a whole sockaddr_in6 into h_addr, sets h_length to sizeof(sockaddr_in6), and glibc can take care of it accordingly depending on the value of h_length? -- You are receiving this mail because: You are on the CC list for the bug.
next prev parent reply other threads:[~2020-04-07 19:53 UTC|newest] Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top 2012-07-27 15:13 [Bug network/14413] New: nsswitch doesn't implement getaddrinfo(), plugins cannot supply link-local IPv6 addresses with scope id psimerda at redhat dot com 2012-07-27 15:16 ` [Bug network/14413] " psimerda at redhat dot com 2012-07-31 13:28 ` [Bug network/14413] nsswitch doesn't implement getaddrinfo(), plugins cannot provide full getaddrinfo features psimerda at redhat dot com 2012-07-31 13:31 ` psimerda at redhat dot com 2012-07-31 18:43 ` tore at fud dot no 2014-06-02 3:32 ` aoliva at sourceware dot org 2014-06-02 8:32 ` psimerda at redhat dot com 2014-06-17 18:53 ` fweimer at redhat dot com 2014-12-30 22:22 ` psimerda at redhat dot com 2020-04-07 19:53 ` gavin at matician dot com [this message] 2021-12-01 15:10 ` sam at gentoo dot org 2023-03-21 9:49 ` matthijsvanduin at gmail dot com 2023-03-22 3:17 ` sam at gentoo dot org
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=bug-14413-131-NS754Jg7Qo@http.sourceware.org/bugzilla/ \ --to=sourceware-bugzilla@sourceware.org \ --cc=glibc-bugs@sourceware.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).