[Bug 1775926] Re: Firefox cannot handle IPv6 addresses well
psl
1775926 at bugs.launchpad.net
Fri Jun 8 20:29:30 UTC 2018
** Description changed:
Firefox 60.0.1 (64-bit), Ubuntu 16.04.4 amd64
Link addresses for IPv6 are tricky. IPv6 address has to be extended with
network interface (zone id), to signal OS what network interface to use.
When I try to connect with Firefox to following URL
http://[fe80::87f4:81fa:b481:d781]/test.html
it is confused. It even doesn't report an error that it cannot do that.
- When I enter URL with zone information, Firefox returns me "search"
+ When I enter URL with zone information, Firefox returns "search"
results, in means, it doesn't understand this syntax of IPv6 address...
http://[fe80::87f4:81fa:b481:d781%enp4s0]/test.html
Here is RFC describing zones, https://tools.ietf.org/html/rfc4007
- Demo with CURL, that can handle that such URLs without any problem:
+ Demo with CURL, that can handle such URLs without any problem:
user at test:~$ curl http://[fe80::87f4:81fa:b481:d781]/test.html
curl: (7) Couldn't connect to server
user at test:~$ curl http://[fe80::87f4:81fa:b481:d781%enp4s0]/test.html
<html><body>TEST</body></html>
user at test:~$ curl http://[::1]/test.html
<html><body>TEST</body></html>
user at test:~$ curl http://[::1%lo]/test.html
<html><body>TEST</body></html>
** Description changed:
Firefox 60.0.1 (64-bit), Ubuntu 16.04.4 amd64
Link addresses for IPv6 are tricky. IPv6 address has to be extended with
network interface (zone id), to signal OS what network interface to use.
When I try to connect with Firefox to following URL
http://[fe80::87f4:81fa:b481:d781]/test.html
it is confused. It even doesn't report an error that it cannot do that.
When I enter URL with zone information, Firefox returns "search"
results, in means, it doesn't understand this syntax of IPv6 address...
http://[fe80::87f4:81fa:b481:d781%enp4s0]/test.html
Here is RFC describing zones, https://tools.ietf.org/html/rfc4007
Demo with CURL, that can handle such URLs without any problem:
user at test:~$ curl http://[fe80::87f4:81fa:b481:d781]/test.html
curl: (7) Couldn't connect to server
user at test:~$ curl http://[fe80::87f4:81fa:b481:d781%enp4s0]/test.html
<html><body>TEST</body></html>
+ user at test:~$ curl http://[fe80::87f4:81fa:b481:d781%2]/test.html
+ <html><body>TEST</body></html>
+
user at test:~$ curl http://[::1]/test.html
<html><body>TEST</body></html>
user at test:~$ curl http://[::1%lo]/test.html
<html><body>TEST</body></html>
--
You received this bug notification because you are a member of Mozilla
Bugs, which is subscribed to firefox in Ubuntu.
https://bugs.launchpad.net/bugs/1775926
Title:
Firefox cannot handle IPv6 addresses well
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/1775926/+subscriptions
More information about the Ubuntu-mozillateam-bugs
mailing list