public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "tore at fud dot no" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sources.redhat.com
Subject: [Bug libc/12377] getaddrinfo() should disregard link-local IPv6 addresses for AI_ADDRCONFIG purposes
Date: Sat, 09 Jul 2011 11:29:00 -0000	[thread overview]
Message-ID: <bug-12377-131-G7pR11S3P5@http.sourceware.org/bugzilla/> (raw)
In-Reply-To: <bug-12377-131@http.sourceware.org/bugzilla/>

http://sourceware.org/bugzilla/show_bug.cgi?id=12377

--- Comment #8 from Tore Anderson <tore at fud dot no> 2011-07-09 11:28:55 UTC ---
(In reply to comment #7)
> (In reply to comment #6)
> 
> > The %ifname convention has nothing to do with getaddrinfo(), it's interpreted
> > by the application. When passing it to getaddrinfo() you'll get this result:
> 
> When did that change, or is that only for IP addresses passed-in to the call? 
> I was running netperf tests over IPv6 passing-in the likes of
> "fe80::207:43ff:fe05:5904%eth2" and I know that all netperf was doing was
> passing that to getaddrinfo() and getting scope that way (rhel5.mumble, sles10,
> sles11 sp1, lenny, and solaris 10)

I don't know. It's probably only if you're passing it IP literals - which
doesn't appear to generate any (reverse) DNS lookups in any case.

If I'm not mistaken this is not really relevant to the problem that I want to
see solved, i.e., making AI_ADDRCONFIG suppress unnecessary AAAA DNS lookups
from hosts that have no IPv6 connectivity. There are no shortage of DNS servers
out there that do not understand AAAA lookups, which in turn causes
getaddrinfo() to stall until a timeout has been reached, leading to a abysmal
end-user experience compared to the other major operating systems. The number
of comments and duplicates for bug reports such as
https://bugs.launchpad.net/ubuntu/+source/eglibc/+bug/417757 clearly shows that
this is a major problem.

Tore

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


  parent reply	other threads:[~2011-07-09 11:29 UTC|newest]

Thread overview: 41+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-01-08 20:57 [Bug libc/12377] New: " tore at fud dot no
2011-02-11 15:54 ` [Bug libc/12377] " tore at fud dot no
2011-07-06 20:30 ` rick.jones2 at hp dot com
2011-07-07  9:20 ` tore at fud dot no
2011-07-07 17:25 ` rick.jones2 at hp dot com
2011-07-07 19:37 ` rick.jones2 at hp dot com
2011-07-08 15:17 ` tore at fud dot no
2011-07-08 16:48 ` rick.jones2 at hp dot com
2011-07-09 11:29 ` tore at fud dot no [this message]
2011-07-16  5:37 ` nick.jones@network-box.com
2012-02-19  4:23 ` allan at archlinux dot org
2012-02-21  2:06 ` [Bug network/12377] " jsm28 at gcc dot gnu.org
2012-07-27 13:53 ` psimerda at redhat dot com
2012-07-27 14:01 ` psimerda at redhat dot com
2012-07-27 14:07 ` psimerda at redhat dot com
2012-07-27 14:11 ` psimerda at redhat dot com
2012-07-29  8:30 ` psimerda at redhat dot com
2012-07-29 10:41 ` psimerda at redhat dot com
2012-07-31 12:19 ` tore at fud dot no
2012-07-31 13:17 ` psimerda at redhat dot com
2012-07-31 13:34 ` psimerda at redhat dot com
2012-07-31 13:59 ` tore at fud dot no
2012-07-31 15:01 ` psimerda at redhat dot com
2012-07-31 15:51 ` psimerda at redhat dot com
2012-07-31 18:34 ` tore at fud dot no
2012-07-31 19:00 ` tore at fud dot no
2012-07-31 22:22 ` psimerda at redhat dot com
2012-08-01  9:22 ` tore at fud dot no
2012-08-01 23:16 ` orion at cora dot nwra.com
2012-09-22 15:44 ` psimerda at redhat dot com
2012-11-20 23:16 ` [Bug network/12377] AI_ADDRCONFIG option breaks getaddrinfo() resolution for node-local names and addresses (localhost) psimerda at redhat dot com
2012-11-20 23:18 ` [Bug network/12377] getaddrinfo() should disregard link-local IPv6 addresses for AI_ADDRCONFIG purposes psimerda at redhat dot com
2012-12-06  7:04 ` gaofeng at cn dot fujitsu.com
2012-12-18 14:33 ` psimerda at redhat dot com
2012-12-18 14:42 ` [Bug network/12377] getaddrinfo() with AI_ADDRCONFIG won't suppress AAAA queries when only IPv6 loopback and link-local addresses are present psimerda at redhat dot com
2013-08-29 12:45 ` [Bug network/12377] getaddrinfo() with AI_ADDRCONFIG won't suppress AAAA DNS " psimerda at redhat dot com
2014-02-16 18:23 ` jackie.rosen at hushmail dot com
2014-05-28 19:46 ` schwab at sourceware dot org
2014-05-28 19:47 ` schwab at sourceware dot org
2014-06-27 12:32 ` fweimer at redhat dot com
2023-09-20 15:12 ` chrysn at fsfe 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-12377-131-G7pR11S3P5@http.sourceware.org/bugzilla/ \
    --to=sourceware-bugzilla@sourceware.org \
    --cc=glibc-bugs@sources.redhat.com \
    /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: link
Be 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).