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

B. 🥊 Decentralized Hole Punching

Open p-shahi opened this issue 3 years ago • 8 comments

eta: 2023Q2

Why: P2P networks can have a combination of both public and private nodes. While private nodes can dial nodes on the public Internet, they are unreachable from the outside as they are behind a NAT or a firewall. We need a mechanism to dial them. A previous DHT crawl found that almost 63% of the network was undialable.

Goal: Implement Decentralized Hole Punching in js-libp2p and bring it to parity with the Go and Rust implementations.

  • [x] https://github.com/libp2p/js-libp2p/issues/1005
  • [x] https://github.com/libp2p/js-libp2p/issues/1029
  • [ ] https://github.com/libp2p/js-libp2p/issues/1459
  • [x] https://github.com/libp2p/js-libp2p/issues/1460

p-shahi avatar Oct 20 '22 22:10 p-shahi

can we clarify that this is for js-ipfs in the title please?

momack2 avatar Mar 09 '23 13:03 momack2

@momack2 Any reason to include js-ipfs specifically? This work is not progressing with it in mind. We will need it for Helia but I would still not include any project in the title since it's better to remain product agnostic

p-shahi avatar Mar 13 '23 21:03 p-shahi

sorry - I think I meant "js-libp2p" - the reason is because each of these cards shows up with out the repo title in starmaps - so otherwise you have many "holepunching" milesotnes without knowing they are for different libp2p implementations

momack2 avatar Mar 15 '23 02:03 momack2

@momack2 we could include the repo-name on milestone cards in starmap to help mitigate this problem?

SgtPooki avatar May 08 '23 17:05 SgtPooki

Didn't see the replies above but I support adding the repo-name to the milestone cards

p-shahi avatar May 08 '23 22:05 p-shahi

Yeah, I think that would help a lot

On Tue, May 9, 2023 at 2:39 AM Prithvi Shahi @.***> wrote:

Didn't see the replies above but I support adding the repo-name to the milestone cards

— Reply to this email directly, view it on GitHub https://github.com/libp2p/js-libp2p/issues/1461#issuecomment-1539150846, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAEXAF7RQHPNSIA76WOYPQLXFHRALANCNFSM6AAAAAARKTHWP4 . You are receiving this because you were mentioned.Message ID: @.***>

momack2 avatar May 13 '23 20:05 momack2

@p-shahi Is this still in progress? It was my understanding that this is already implemented in js-libp2p?

2color avatar May 07 '24 13:05 2color