*** This bug is a duplicate of bug 1566930 ***
    https://bugs.launchpad.net/bugs/1566930

** This bug has been marked a duplicate of bug 1566930
   wget does not support IPv6 address with scoped zone (RFC 4007)

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to wget in Ubuntu.
https://bugs.launchpad.net/bugs/1580521

Title:
  wget does not support link-scoped IPv6 literal addresses

Status in wget package in Ubuntu:
  New

Bug description:
  Inside an lxd container with default profile you get this error with
  wget:

  root@first:~# wget http://nsrc.org/
  Error parsing proxy URL http://[fe80::1%eth0]:13128: Invalid IPv6 numeric 
address.

  root@first:~# echo $http_proxy
  http://[fe80::1%eth0]:13128

  The underlying issue is that wget does not support IPv6 literals of
  the form [address%interface] as used by lxd(*). You can demonstrate
  this without lxd:

  $ wget http://[fe80::1%eth0]/
  http://[fe80::1%eth0]/: Invalid IPv6 numeric address.

  $ http_proxy=http://[fe80::1%eth0]:13128 wget http://nsrc.org/
  Error parsing proxy URL http://[fe80::1%eth0]:13128: Invalid IPv6 numeric 
address.

  
  (*)
  === /etc/default/lxd ===

  # Run a minimal HTTP PROXY server
  LXD_IPV6_PROXY="true"

  === /usr/lib/lxd/lxd-bridge ===

      [ "${HAS_IPV6}" = "true" ] && [ "${LXD_IPV6_PROXY}" = "true" ] &&
  ip addr add fe80::1/64 dev "${1}"

  === /usr/lib/lxd/profile-config ===

          if [ "${LXD_IPV6_PROXY}" = "true" ]; then
              lxc profile set default environment.http_proxy 
"http://[fe80::1%eth0]:13128"; --force-local || true
          fi

  ProblemType: Bug
  DistroRelease: Ubuntu 16.04
  Package: wget 1.17.1-1ubuntu1
  ProcVersionSignature: Ubuntu 4.4.0-22.39-generic 4.4.8
  Uname: Linux 4.4.0-22-generic x86_64
  ApportVersion: 2.20.1-0ubuntu2
  Architecture: amd64
  Date: Wed May 11 10:29:40 2016
  InstallationDate: Installed on 2016-05-06 (4 days ago)
  InstallationMedia: Ubuntu-Server 16.04 LTS "Xenial Xerus" - Release amd64 
(20160420.3)
  SourcePackage: wget
  UpgradeStatus: No upgrade log present (probably fresh install)

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

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to