js-ipfs icon indicating copy to clipboard operation
js-ipfs copied to clipboard

Support Circuit Relay v2 for Hole Punching

Open lidel opened this issue 4 years ago • 1 comments
trafficstars

After https://github.com/libp2p/js-libp2p/issues/1029 ships, and we have v2 relays on the network, js-ipfs should have v2 client support enabled to be able to do the hole punching (https://github.com/libp2p/specs/blob/master/relay/DCUtR.md).

lidel avatar Nov 19 '21 15:11 lidel

Hole punching is a big blocker for getting js-ipfs to work reliably for p2p use cases. 😅

Currently stuck with using the npm-go-ipfs repo since stuff often doesn't resolve or takes a very long time.

RangerMauve avatar Aug 03 '22 22:08 RangerMauve

  • LBL will add this in js-libp2p
  • This will be supported in Helia
  • This probably won't be enabled in js-ipfs

TinyTb avatar Jan 03 '23 15:01 TinyTb

@tinytb What is LBL?

For anyone stumbling across this, the good news is that Circuit Relay V2 is being implemented in js-libp2p https://github.com/libp2p/js-libp2p/pull/1533 so that NAT hole punching is available for the JS part of the stack.

2color avatar Jan 19 '23 18:01 2color

LBL is Little Bear Labs

TinyTb avatar Jan 19 '23 18:01 TinyTb

js-ipfs is being deprecated in favor of Helia. You can follow the migration plan here https://github.com/ipfs/js-ipfs/issues/4336 and read the migration guide.

This issue has been resolved in Helia! if this does not address your concern please let us know by reopening this issue before 2023-06-05!

whizzzkid avatar May 31 '23 06:05 whizzzkid