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

Bug#435646: libc6: resolver considers IPv6 enabled when any IPv6 address is configured



On Thu, Aug 02, 2007 at 10:19:50PM +1200, Andrew McMillan wrote:
> Package: libc6
> Version: 2.6-5
> Severity: important
> Tags: patch
> 
> 
> Hi,
> 
> Tolleff fog Heen has written a patch for the resolver, so that it does
> not start performing (or waiting for) AAAA lookups unless a globally
> scoped IPv6 address is present on some interface.
> 
> Since Debian enables IPv6 by default, most users will have a system with
> an IPv6 address on the loopback interface (as well as a link-local
> address on each other interface) which will cause the current code to
> commence lookups for AAAA records, only falling back to requesting A
> records when these fail or timeout.
> 
> The patch here:
> 
> http://err.no/patches/glibc-only-lookup-ipv6-if-it-makes-sense.diff
> 
> seems to take a reasonable approach, since it will not be possible to
> connect to IPv6 addresses without a globally scoped address (plus
> routing :-) in any case.
> 
> This is an important issue because some users are so inconvenienced as
> to be behind broken DNS infrastructure which ignores AAAA requests,
> resulting in frequent timeouts with much confusion and frustration.
> 

This patch is causing breakage (see bug#441857) and thus will be
disabled in the next upload of the glibc.


-- 
  .''`.  Aurelien Jarno	            | GPG: 1024D/F1BCDB73
 : :' :  Debian developer           | Electrical Engineer
 `. `'   aurel32@debian.org         | aurelien@aurel32.net
   `-    people.debian.org/~aurel32 | www.aurel32.net




Reply to: