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

Bug#428434: marked as done (libc6: Resolver prefers IPv4 to IPv6 in some cases)



Your message dated Wed, 13 Jun 2007 10:42:50 +0200
with message-id <466FAE0A.1090603@aurel32.net>
and subject line Bug#428434: libc6: Resolver prefers IPv4 to IPv6 in some cases
has caused the attached Bug report 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 I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: libc6
Version: 2.3.6.ds1-13
Severity: normal

Hi,

In some cases the resolver prefers IPv4 to IPv6. This happens when:

- the A-RR is a RFC 1918 Address
- there is a more specific route for this address

Example:

$ ip route list table all 192.168.17.1
local 192.168.17.1 dev lo  table 255  proto kernel  scope host  src 192.168.17.1

$ host -t any test1.libc6test.swapon.de
test1.libc6test.swapon.de has IPv6 address 2001:6f8:12ec::1
test1.libc6test.swapon.de has address 10.10.10.10

$ host -t any test2.libc6test.swapon.de
test2.libc6test.swapon.de has IPv6 address 2001:6f8:12ec::1
test2.libc6test.swapon.de has address 192.168.17.1

$ host -t any test3.libc6test.swapon.de
test3.libc6test.swapon.de has IPv6 address 2001:6f8:12ec::1
test3.libc6test.swapon.de has address 81.169.139.143

$ telnet test1.libc6test.swapon.de
Trying 2001:6f8:12ec::1...
Trying 10.10.10.10...

$ telnet test2.libc6test.swapon.de
Trying 192.168.17.1...
Trying 2001:6f8:12ec::1...

$ telnet test3.libc6test.swapon.de
Trying 2001:6f8:12ec::1...
Trying 81.169.139.143...

The releases "2.3.2.ds1-22sarge6" (Sarge) and "2.5-9+b1" (Lenny) are not
affected.

-- System Information:
Debian Release: 4.0
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-4-686
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages libc6 depends on:
ii  tzdata                        2007b-1    Time Zone and Daylight Saving Time

libc6 recommends no packages.


--- End Message ---
--- Begin Message ---
Version: 2.5-1

Friedemann Stoyan a écrit :
> Package: libc6
> Version: 2.3.6.ds1-13
> Severity: normal
> 
> Hi,
> 
> In some cases the resolver prefers IPv4 to IPv6. This happens when:
> 
> - the A-RR is a RFC 1918 Address
> - there is a more specific route for this address
> 
> Example:
> 
> $ ip route list table all 192.168.17.1
> local 192.168.17.1 dev lo  table 255  proto kernel  scope host  src 192.168.17.1
> 
> $ host -t any test1.libc6test.swapon.de
> test1.libc6test.swapon.de has IPv6 address 2001:6f8:12ec::1
> test1.libc6test.swapon.de has address 10.10.10.10
> 
> $ host -t any test2.libc6test.swapon.de
> test2.libc6test.swapon.de has IPv6 address 2001:6f8:12ec::1
> test2.libc6test.swapon.de has address 192.168.17.1
> 
> $ host -t any test3.libc6test.swapon.de
> test3.libc6test.swapon.de has IPv6 address 2001:6f8:12ec::1
> test3.libc6test.swapon.de has address 81.169.139.143
> 
> $ telnet test1.libc6test.swapon.de
> Trying 2001:6f8:12ec::1...
> Trying 10.10.10.10...
> 
> $ telnet test2.libc6test.swapon.de
> Trying 192.168.17.1...
> Trying 2001:6f8:12ec::1...
> 
> $ telnet test3.libc6test.swapon.de
> Trying 2001:6f8:12ec::1...
> Trying 81.169.139.143...
> 
> The releases "2.3.2.ds1-22sarge6" (Sarge) and "2.5-9+b1" (Lenny) are not
> affected.
> 

Marking this bug as fixed in glibc versions 2.5-1 and later.


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

--- End Message ---

Reply to: