Closed
Bug 706395
Opened 14 years ago
Closed 14 years ago
Add ipv6-literal.net to the PSL
Categories
(Core Graveyard :: Networking: Domain Lists, defect)
Core Graveyard
Networking: Domain Lists
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: jwkbugzilla, Unassigned)
References
()
Details
Microsoft introduced a special ipv6-literal.net domain to express IPv6 addresses in systems that don't understand them: http://msdn.microsoft.com/en-us/library/bb743585%28v=bts.20%29.aspx. DNS servers are not involved, the address is resolved in the operating system (starting with Windows Vista). So the name 2001-DB8-2a-1005-230-48ff-fe73-989d.ipv6-literal.net will be resolved into 2001:DB8:2a:1005:230:48ff:fe73:989d without hitting the network.
From what I can tell, there is no special treatment for ipv6-literal.net in Firefox right now. This means for example that sites being addressed this way can set cookies on ipv6-literal.net "domain" which seems wrong. Maybe ipv6-literal.net should be added to the list as a public suffix.
| Reporter | ||
Comment 1•14 years ago
|
||
(In reply to Wladimir Palant from comment #0)
> From what I can tell, there is no special treatment for ipv6-literal.net in
> Firefox right now.
Confirmed by opening https://[::1]/ and https://--1.ipv6-literal.net/ in Firefox. The former shows "::1" as site identity. The displayed site identity for the latter is "ipv6-literal.net" which is wrong - should be "--1.ipv6-literal.net".
Comment 2•14 years ago
|
||
Yes, that seems to make sense. I guess we won't hold our breath waiting for Microsoft to request inclusion for themselves...
Gerv
Comment 3•14 years ago
|
||
pkasting: can you sanity-check that this is a good idea, and give us the Chrome perspective?
Thanks,
Gerv
Comment 4•14 years ago
|
||
Hmm. I can't open anything in comment 0 or comment 1 as a link or an omnibox navigation in Chrome on Vista. Is there a known-resolvable IPv6 address I can try (or should one of those have worked)?
It may be that in Chrome we currently try to do DNS lookups for this "TLD" regardless and they fail, so if we want to support these hostnames we'd need to add special-case code to our network stack.
CCing Darin as someone who knows more about the Chrome network stack.
| Reporter | ||
Comment 5•14 years ago
|
||
(In reply to Peter Kasting from comment #4)
> Hmm. I can't open anything in comment 0 or comment 1 as a link or an
> omnibox navigation in Chrome on Vista. Is there a known-resolvable IPv6
> address I can try (or should one of those have worked)?
2a00-1450-8005--63.ipv6-literal.net is ipv6.google.com - it should work.
> It may be that in Chrome we currently try to do DNS lookups for this "TLD"
> regardless and they fail, so if we want to support these hostnames we'd need
> to add special-case code to our network stack.
The special-case is in the OS DNS resolution code. I cannot verify because my Internet provider filters IPv6 and Teredo traffic but from the look of it both Firefox and Chrome are trying to connect to the IPv6 address (checked with Wireshark on Windows 7).
Comment 6•14 years ago
|
||
Ugh, corp IT had installed a machine-wide registry override that silently disabled IPv6. Fixed that and now I can load IPv6 addresses again.
I'm not sure about putting ipv6-literal.net in the PSL. It is true we don't want cookies set on ipv6-literal.net. But I don't know that we want to allow navigation to "subdomain.<literal>.ipv6-literal.net" either. What I'm getting at is, perhaps these URLs aren't "real" URLs and instead there should be some sort of fixup in the network stack that converts them to the actual IPv6 literal as a URL. That would seemingly make everything just work, cookies included, without adding a nonexistent domain to the PSL.
One way of implementing this might be to automatically 301 http://--1.ipv6-literal.net/ to http://[::1]/ as a special step.
| Reporter | ||
Comment 7•14 years ago
|
||
(In reply to Peter Kasting from comment #6)
> But I don't know that we want to
> allow navigation to "subdomain.<literal>.ipv6-literal.net" either.
I'm not sure whether that's what you mean but there is indeed no special handling for http://foo.--1.ipv6-literal.net/ - it resolves into a Microsoft server that would theoretically be able to read the cookies set on "--1.ipv6-literal.net" which isn't great. Too bad that Microsoft implemented it this way, I would have expected such "subdomains" to resolve to the same IPv6 address. Sounds like setting cookies on ipv6-literal.net subdomains generally isn't a good idea, so an internal redirect might indeed be a better solution.
Comment 8•14 years ago
|
||
So just to be clear, <literal>.ipv6-literal.net will resolve to the IPv6 literal without touching the network, but <subdomain>.<literal>.ipv6-literal.net will always resolve to some Microsoft server instead?
If that's true, then I think we should consider the network stack change to special-case these rather than touching the PSL, because it's the only thing that seems like it prevents all possibilities for problems here.
| Reporter | ||
Comment 9•14 years ago
|
||
(In reply to Peter Kasting from comment #8)
> So just to be clear, <literal>.ipv6-literal.net will resolve to the IPv6
> literal without touching the network, but
> <subdomain>.<literal>.ipv6-literal.net will always resolve to some Microsoft
> server instead?
Correct. The OS will recognize the former and convert it into an IPv6 address without hitting the network, the latter will still be resolved via DNS however - and Microsoft owns the ipv6-literal.net domain (it redirects to Bing).
Comment 10•14 years ago
|
||
So what's the decision here? Do nothing?
Gerv
| Reporter | ||
Comment 11•14 years ago
|
||
I think so.
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → WONTFIX
Updated•2 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•