[Bug 1775876] Re: wget cannot handle local-link IPv6 address
Jet
1775876 at bugs.launchpad.net
Thu Nov 28 07:33:29 UTC 2019
*** This bug is a duplicate of bug 1566930 ***
https://bugs.launchpad.net/bugs/1566930
I confirm that the bug is still present on Ubuntu 18.04
$ cat /etc/issue
Ubuntu 18.04.3 LTS \n \l
$ wget --version
GNU Wget 1.19.4 built on linux-gnu.
see also https://bugs.launchpad.net/ubuntu/+source/wget/+bug/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
Foundations Bugs, which is subscribed to wget in Ubuntu.
https://bugs.launchpad.net/bugs/1775876
Title:
wget cannot handle local-link IPv6 address
Status in wget package in Ubuntu:
New
Bug description:
GNU Wget 1.17.1 built on linux-gnu. (Ubuntu 16.04 amd64)
IPv6 local link addresses (fe80::/10) are tricky. Network interface
has to be specified to tell OS what interface to use. wget cannot
handle that
First, IPv6 address, no interface specified, it fails with an error
(error comes from OS)
user at test:~$ wget http://[fe80::87f4:81fa:b481:d781]/test.html
--2018-06-08 17:29:08-- http://[fe80::87f4:81fa:b481:d781]/test.html
Connecting to [fe80::87f4:81fa:b481:d781]:80... failed: Invalid argument.
Second, IPv6 address with interface specified (%enp4s0 added to IPv6
address), wget cannot handle this address format (and this bug report
is about this case)
user at test:~$ wget http://[fe80::87f4:81fa:b481:d781%enp4s0]/test.html
http://[fe80::87f4:81fa:b481:d781%enp4s0]/test.html: Invalid IPv6 numeric address.
Compared with CURL, that can do it
First, IPv6 address without network interface, it fails with error
from OS
user at test:~$ curl http://[fe80::87f4:81fa:b481:d781]/test.html
curl: (7) Couldn't connect to server
Second, network interface is added and curl can handle it!
user at test:~$ curl http://[fe80::87f4:81fa:b481:d781%enp4s0]/test.html
<html><body>TEST</body></html>
CURL and WGET were tested at the same PC...
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/wget/+bug/1775876/+subscriptions
More information about the foundations-bugs
mailing list