local-link IPv6 address cannot be used

Bug #1775871 reported by psl
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
chromium-browser (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Version 66.0.3359.181 (Official Build) Built on Ubuntu , running on Ubuntu 16.04 (64-bit)

local-link IPv6 adresses (fe80::/10) are tricky. Network interface has to be added to tell OS what interface to use (all network interfaces have address with prefix fe80::)

So this is an example, simple demo that CURL can handle such address well.

First, IPv6 address without interface, it fails, OS don't know what interface to use

user@test:~$ curl http://[fe80::87f4:81fa:b481:d781]/test.html
curl: (7) Couldn't connect to server

Second, IPv6 address with interface (%enp4s0, it is NIC to local LAN). It works.

user@test:~$ curl http://[fe80::87f4:81fa:b481:d781%enp4s0]/test.html
<html><body>TEST</body></html>

When I enter URL http://[fe80::87f4:81fa:b481:d781%enp4s0]/test.html to Chromium, I receive search from Google, that is not what I expect... Chromium cannot handle IPv6 addresses with extension for network interface. BTW, I run CURL and Chromium at the same PC

psl (slansky)
description: updated
Revision history for this message
Olivier Tilloy (osomon) wrote :

Looks like this could be https://bugs.chromium.org/p/chromium/issues/detail?id=530482. Can you please have a look and confirm whether this is the same issue? If not, would you mind filing an upstream bug at https://crbug.com/ and sharing the link here?

Revision history for this message
psl (slansky) wrote :

I confirm it is the same issue, issue related to zone identifiers, RFC6874.

I thought about this issue and I think this is a bug in Linux IPv6 design.
You can connect from Windows to IPv6 local link addresses and you don't need to specify interface in URL. It is required in Linux, that implies that all user application has to be extended to work with IPv6 local link addresses. That is not good, it is a bad design, a bug.

Olivier Tilloy (osomon)
Changed in chromium-browser (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.