Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 431314 - net-misc/wget-1.13.4 does not support zone ids in IPv6 addresses
Summary: net-misc/wget-1.13.4 does not support zone ids in IPv6 addresses
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo's Team for Core System packages
URL: https://savannah.gnu.org/bugs/index.p...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-08-14 04:20 UTC by DEMAINE Benoît-Pierre, aka DoubleHP
Modified: 2012-08-17 03:55 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
/tmp/emerge--info (emerge--info,19.59 KB, text/plain)
2012-08-14 04:20 UTC, DEMAINE Benoît-Pierre, aka DoubleHP
Details

Note You need to log in before you can comment on or make changes to this bug.
Description DEMAINE Benoît-Pierre, aka DoubleHP 2012-08-14 04:20:49 UTC
Created attachment 321274 [details]
/tmp/emerge--info

I know I am not uptodate, but I'd be surprised the update fixes this. I will eventually close this bug withint 24h if I am wrong.





dhp@uranus ~ $ wget "http://[2a01:e35:8ba8:e140:201:3ff:fe8c:3d2b]" -O /dev/null && echo OK
--2012-08-14 06:10:56--  http://[2a01:e35:8ba8:e140:201:3ff:fe8c:3d2b]/
Connecting to 2a01:e35:8ba8:e140:201:3ff:fe8c:3d2b:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1944 (1.9K) [text/html]
Saving to: `/dev/null'

100%[============================================================>] 1,944       --.-K/s   in 0s

2012-08-14 06:10:56 (331 MB/s) - `/dev/null' saved [1944/1944]

OK
dhp@uranus ~ $


dhp@uranus /tmp $ wget 'http://[fe80::201:3ff:fe8c:3d2b%eth0]'
http://[fe80::201:3ff:fe8c:3d2b%eth0]: Invalid IPv6 numeric address.
dhp@uranus /tmp $
dhp@uranus /tmp $ firefox 'http://[fe80::201:3ff:fe8c:3d2b%eth0]'
dhp@uranus /tmp $





Wrong URL ? if it was the case, Firefox would not show me the expected page ...
Comment 1 DEMAINE Benoît-Pierre, aka DoubleHP 2012-08-14 04:24:26 UTC
As expected, update does not help.

[ebuild R ] net-misc/wget-1.13.4-r1 USE="gnutls idn ipv6 nls ssl -debug -ntlm -static" 0 kB
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2012-08-14 13:14:32 UTC
jer@wieneke $ wget -6 "http://2a01:e35:8ba8:e140:201:3ff:fe0c:3d5b"
http://2a01:e35:8ba8:e140:201:3ff:fe0c:3d5b: Bad port number.
jer@wieneke $ wget -6 "http://[2a01:e35:8ba8:e140:201:3ff:fe0c:3d5b]"
--2012-08-14 15:12:59--  http://[2a01:e35:8ba8:e140:201:3ff:fe0c:3d5b]/
Connecting to 2a01:e35:8ba8:e140:201:3ff:fe0c:3d5b:80... failed: Network is unreachable.

Looks like the inverse of bug #431310.
Comment 3 DEMAINE Benoît-Pierre, aka DoubleHP 2012-08-14 19:43:47 UTC
Hardly. Wget is find with public addresses, bugs only with LL. Curl does not like at all the traditionnal syntax that works with wget, lynx, and FF ...
Comment 4 SpanKY gentoo-dev 2012-08-16 17:52:52 UTC
we don't care about old versions, so always test the latest before reporting

1.14 is in stable now, so that might be worth testing
Comment 5 DEMAINE Benoît-Pierre, aka DoubleHP 2012-08-16 19:21:41 UTC
1.14 is ~, I am using stable.

If I had to update to ~ every single package in which I find a bug before reporting it, I would gain a ~ machine. I choosed Stable, and do not want to use ~ anymore. Not my fault if I find bugs in stable packages.

Still, just for your eyes:
[ebuild R ~] net-misc/wget-1.14 USE="gnutls idn ipv6 nls ssl -debug -ntlm -static" 0 kB

dhp@uranus /tmp $ wget 'http://[fe80::201:3ff:fe8c:3d2b%eth0]/'
http://[fe80::201:3ff:fe8c:3d2b%eth0]/: Invalid IPv6 numeric address.
dhp@uranus /tmp $ wget 'http://[fe80::201:3ff:fe8c:3d2b%256]/'
http://[fe80::201:3ff:fe8c:3d2b%256]/: Invalid IPv6 numeric address.
dhp@uranus /tmp $ wget 'http://[fe80::201:3ff:fe8c:3d2b]/'
--2012-08-16 21:17:02--  http://[fe80::201:3ff:fe8c:3d2b]/
Connecting to [fe80::201:3ff:fe8c:3d2b]:80... failed: Invalid argument.
dhp@uranus /tmp $

Of course, the last error is expected. %eth0 is the BSD syntax, expected to work on Linux, works with ping, nmap and Firefox. Second syntax is the one used by Windows, and some strange tools. Second syntax works partially with curl.
Comment 6 SpanKY gentoo-dev 2012-08-17 03:34:41 UTC
(In reply to comment #5)

i didn't tell you to update every package to unstable, or even that you had to in order to report a bug.  i told you to not report bugs against packages that are past stable which you did originally.  then i asked you to test 1.14 to see if it was already a fixed issue.