[Bug 1566930] Re: wget does not support IPv6 address with scoped zone (RFC 4007)

Ard van Breemen ard at kwaak.net
Thu Mar 15 13:56:27 UTC 2018


dr at odroid:~$ export http_proxy=http://[fe80::9864:b6ff:fe00:3410%eth0]:3128/
dr at odroid:~$ curl -o gl.deb http://deb.odroid.in/5422-s/pool/main/m/mali-x11/mali-x11_20170718-r17p0-20503ff-3_armhf.deb
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 8157k  100 8157k    0     0  1932k      0  0:00:04  0:00:04 --:--:-- 1932k
dr at odroid:~$ wget http://deb.odroid.in/5422-s/pool/main/m/mali-x11/mali-x11_20170718-r17p0-20503ff-3_armhf.deb
Error parsing proxy URL http://[fe80::9864:b6ff:fe00:3410%eth0]:3128/: Invalid IPv6 numeric address.

this is on bionic using verion 1.19.4-1ubuntu2 .

I can confirm that the busybox version of wget knows how to correctly
handle ipv6. (and gpg).

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to wget in Ubuntu.
https://bugs.launchpad.net/bugs/1566930

Title:
  wget does not support IPv6 address with scoped zone (RFC 4007)

Status in wget package in Ubuntu:
  Confirmed

Bug description:
  IMPACT: wget is not usable in the default configuration for LXD
  containers in Xenial

  Summary: A scoped zone address in the form [<address>%<interface] is
  not supported by wget.  The default network configuration of lxd in
  xenial containers is to use an http_proxy address that is a scoped
  IPv6 address 'http://[fe80::1%eth0]:13128'.

  $ lxc exec test -- wget http://www.google.com
  Error parsing proxy URL http://[fe80::1%eth0]:13128: Invalid IPv6 numeric address.

  Steps to recreate:
   - Install lxd 2.0.0~rc8-0ubuntu5
   - Launch a conatiner (lxc launch ubuntu-daily:xenial test)
   - lxc exec test -- wget 'http://www.google.com'

  These instructions use an LXD environment as an easy way to create a
  test environment with an IPv6 proxy using a scoped address.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/wget/+bug/1566930/+subscriptions



More information about the foundations-bugs mailing list