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

Bug#658616: wget is unable to use IPv4 addresses for IPv6-capable servers

Package: busybox
Version: 1:1.17.1-8
Severity: normal
Tags: d-i

I file this on Squeeze version as this bug has been present for a long time.

However, for some odd reason (maybe related to freebsd-utils update?) this
has begun breaking Debian GNU/kFreeBSD installs.

On a pure IPv4 network with no IPv6 routing, GNU wget obtains IPv6 address
from host, and since it's unusable it falls back to IPv4 one:

	$ LANG=C wget http://ftp.nl.debian.org/ -O /dev/null
	--2012-02-04 15:21:01--  http://ftp.nl.debian.org/
	Resolving ftp.nl.debian.org (ftp.nl.debian.org)... 2001:610:1908:a000::149:21,
	Connecting to ftp.nl.debian.org (ftp.nl.debian.org)|2001:610:1908:a000::149:21|:80... failed: No route to host.
	Connecting to ftp.nl.debian.org (ftp.nl.debian.org)||:80... connected.
	HTTP request sent, awaiting response... 200 OK
	Length: unspecified [text/html]
	Saving to: `/dev/null'
	     0K .....                                                  49.1K=0.1s
	2012-02-04 15:21:02 (49.1 KB/s) - `/dev/null' saved [5929]

Buxybox wget, however, stops here and fails:

	$ busybox wget http://ftp.nl.debian.org/ -O /dev/null
	Connecting to ftp.nl.debian.org ([2001:610:1908:a000::149:21]:80)
	wget: can't connect to remote host: No route to host

I'm unsure why this didn't break D-I before.

-- System Information:
Debian Release: 6.0.3
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: kfreebsd-amd64 (x86_64)

Kernel: kFreeBSD 8.1-1-amd64
Locale: LANG=ca_AD.UTF-8, LC_CTYPE=ca_AD.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages busybox depends on:
ii  libc0.1                   2.11.2-10+kthr Embedded GNU C Library: Shared lib

busybox recommends no packages.

busybox suggests no packages.

-- no debconf information

Reply to: