Skip to content

IPv4-mapped IPv6 address support #36

Open

Description

@letitz

Dual stack applications such as modern browsers should never have to deal with IPv4-mapped IPv6 addresses (https://tools.ietf.org/html/rfc4291#section-2.5.5), as they can simply use IPv4 addresses instead. This is not the case today however, at least in Chromium, in which for example [::ffff:7f00:1] resolves to localhost.

This situation is unfortunate, as it results in us having to specify how to determine the address space of such addresses (use the address space of the embedded IPv4 address).

It would be nice to reach a more satisfactory end state, maybe by amending the Fetch specification to forbid accessing such IP addresses?

Activity

  1. letitz commented on Feb 23, 2021

    @letitz
    CollaboratorAuthor

    It seems that the next step here is to file an issue on the Fetch specification. Then we can come back here and close this out by removing the special casing for IPv4-mapped IPv6 addresses.

  2. fred-wang commented on May 14, 2021

    @fred-wang
    Contributor

    It seems that the next step here is to file an issue on the Fetch specification. Then we can come back here and close this out by removing the special casing for IPv4-mapped IPv6 addresses.

    Have you filed such an issue on the Fetch spec already?

  3. letitz commented on May 17, 2021

    @letitz
    CollaboratorAuthor

    I have not, this is fairly low priority so far.

  4. letitz commented on Sep 22, 2022

    @letitz
    CollaboratorAuthor

    Finally filed whatwg/fetch#1492.

  5. SoniEx2 commented on Aug 4, 2024

    @SoniEx2

    it gets worse if you take into account that a service can deploy both ULA and GUA for the same hostname (and this is not particularly uncommon)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions