[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#158036: marked as done (libc6: getaddrinfo(3) should do socket(2) test)



Your message dated Fri, 1 May 2009 01:15:37 +0200
with message-id <20090430231537.GA30243@volta.aurel32.net>
and subject line Re: libc6: getaddrinfo(3) should do socket(2) test
has caused the Debian Bug report #158036,
regarding libc6: getaddrinfo(3) should do socket(2) test
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
158036: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=158036
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: libc6
Version: 2.2.5-6
Severity: wishlist

It would be nice if getaddrinfo(3) did a (cached) socket(2) test before
looking up names in a particular address family.  For instance, it could
avoid doing IPv6 lookups if the kernel does not support IPv6.

This should solve most of those bug reports coming from people complaining
about getaddrinfo(3) ignoring hosts for IPv6 records not explicitly
stated in it.  It will also be save a lot of system calls and network
traffic on pure IPv4 machines which currently constitutes the majority
of our user base.

-- System Information
Debian Release: testing/unstable
Kernel Version: Linux gondolin 2.4.18-686-smp #1 SMP Sun Apr 14 12:07:19 EST 2002 i686 unknown unknown GNU/Linux



--- End Message ---
--- Begin Message ---
Version: 2.7-1

On Sat, Aug 24, 2002 at 11:39:21PM +1000, herbert@gondor.apana.org.au wrote:
> Package: libc6
> Version: 2.2.5-6
> Severity: wishlist
> 
> It would be nice if getaddrinfo(3) did a (cached) socket(2) test before
> looking up names in a particular address family.  For instance, it could
> avoid doing IPv6 lookups if the kernel does not support IPv6.
> 
> This should solve most of those bug reports coming from people complaining
> about getaddrinfo(3) ignoring hosts for IPv6 records not explicitly
> stated in it.  It will also be save a lot of system calls and network
> traffic on pure IPv4 machines which currently constitutes the majority
> of our user base.
> 

This is now done, provided that getaddrinfo() is called with 
AI_ADDRCONFIG. I don't know exactly in which version it has been added, 
so I mark the bug fixed in Lenny.

-- 
Aurelien Jarno	                        GPG: 1024D/F1BCDB73
aurelien@aurel32.net                 http://www.aurel32.net


--- End Message ---

Reply to: