Skip to content

UPNP alternative for v6 statefull firewalls #2496

@Jorropo

Description

@Jorropo

Even tho NAT was originally meant as a tool to make IT management easier when merging different company networks after merger and acquisitions, it has been extremely widely deployed due to the IPv4 starvation and users started relying on it for security as it allows them to play it loosy goosy on a private network without being exposed to internet (which is terrible horizontal security but whatever, it's convenient and I did used to do that myself).

To meet this security expectation from customers, here where I live (and I expect in most places) all off the shelf residential and business IPv6 deployments ship with stateful IPv6 firewalls by default. It would be nice if we could not rely on DCUTR if the router allows us to do so because the extra hops of DCUTR add latency and make it unsuitable for use-cases like DHT servers.
Alternatives:

  • RFC3633 would allow us to request a delegated range, FWIW the 2 routers I have tried this with also add a firewall exception to the delegated range, maybe this is a flag in the request ? Overall I have only ever seen it used with /64 which is a bit overkill, I don't know if it's possible to just request a /128. I think this also requires root (or equivalent) permissions or some advanced networking capabilities for the libp2p process.
  • UPNP AddPinHole UPNP alternative for v6 statefull firewalls #2496 (comment)
  • ... ? ideas wanted

Asking people to change the config option of their router is not an option for the same reason asking people to port forward does not work and why we have upnp and dcutr.


Priority requirement: low ~ very low

Metadata

Metadata

Assignees

No one assigned

    Labels

    IPv6effort/daysEstimated to take multiple days, but less than a weekexp/noviceSomeone with a little familiarity can pick uphelp wantedSeeking public contribution on this issuekind/enhancementA net-new feature or improvement to an existing feature

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions