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

Bug#470289: libc6: getaddrinfo() with disabled ipv6



André Wöbbeking a écrit :
> On Monday 10 March 2008, Aurelien Jarno wrote:
>> forcemerge 435646 470289
>> thanks
>>
>> André Wöbbeking a écrit :
>>> On Monday 10 March 2008, Aurelien Jarno wrote:
>>> This is from tcpdump -n port 53:
>>>
>>> 13:24:06.877009 IP 192.168.178.183.50438 > 192.168.178.1.53: 42587+
>>> AAAA? www.heise.de. (30) 13:24:06.899561 IP 192.168.178.183.53666 >
>>> 192.168.178.1.53: 34231+ A? www.heise.de. (30)
>>>
>>> The first query is ipv6, the second ipv4, right?
>> I understand. It does ipv6 DNS query using IPv4 transport. That has
>> nothing to do with disabling IPv6 in the kernel, that's why "alias
>> net-pf-10 off" does nothing.
>>
>> If you router does not support that, it's a bug in your router,
> 
> I'm also trying to get my router fixed. Lets see what happens.
> 
>> not in the glibc,
> 
> Well, if it's not possible to create ipv6 connections why are ipv6 
> queries sent?

Because the program requests that. The glibc has no idea why the program
does such a request, it may has good reasons to do so and won't try to
create IPv6 connections later. Think to dig-like applications.

>> though I agree an option to disable IPv6 queries would be nice.
> 
> Yep.
> 
>> This has already been reported as bug#435646, merging the bugs.
> 
> Is there a way to get this "fixed" for Lenny? Otherwise KDE4 could be a 
> unpleasant experience for "some" people as Qt4 uses getaddrinfo() with 
> unspecified protocol.
> 

If somebody send us a working patch we will include it. Until now all
attempts failed, that is patches were breaking systems that won't need a
workaround.

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



Reply to: