Skip to content

NAT Traversal with hopr-connect #870

Description

@robertkiel
  • Version: libp2p@0.30
  • Platform: Linux / OSX / Windows
  • Subsystem: Debian 10 / Big Sur / WSL2

Type: Enhancement

Severity: Low

Description:

At HOPR, we're building a decentralized and incentivized mixnet. We decided to use (and support) libp2p. During the last months, we've created an alternative transport module called HoprConnect that implements the Transport API and the Discovery API and automatically handles NAT traversal by using other nodes in the network - and without requiring any additional* third-party instances such as STUN or TURN servers.

We are right now actively testing the transport module within our testnet(s) to find the last errors and looking for comments and enhancement proposals and intend to start a conversation.

Currently, we are also integrating the corresponding test suites and searching for some feedback as our transport module prevents certain behavior such as self-dials. Next step will be the integration of AutoRelay as we have focused on getting stream handovers and connection upgrades resp. fallbacks working for one connection before adding multiple relays.

*the very first node needs an external STUN server

Steps to reproduce the error:

Use js-libp2p together with js-libp2p-tcp behind a consumer router

Updates

  • hopr-connect is now working and tested with js-libp2p@0.30

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions