Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RFC: Using Libp2p to perform peer-to-peer NAT Traversal #11

Open
vasa-develop opened this issue Oct 11, 2019 · 2 comments
Open

RFC: Using Libp2p to perform peer-to-peer NAT Traversal #11

vasa-develop opened this issue Oct 11, 2019 · 2 comments
Assignees
Labels
Hacktoberfest Hack to Win a T-Shirt from https://hacktoberfest.digitalocean.com new-rfc To identify incoming RFCs (for review purposes)

Comments

@vasa-develop
Copy link
Member

vasa-develop commented Oct 11, 2019

What new topic/thread/tutorial are you proposing? Please describe.
The aim here is to demonstrate how to decentralize the process of NAT Traversal. Using libp2p Identify Protocol, which is a STUN protocol, which uses other peers to gather identification info about a peer, rather than using a STUN server.

@vasa-develop
Copy link
Member Author

@DatawarehouseMonkey Can you share your findings here?

@vasa-develop vasa-develop added the Hacktoberfest Hack to Win a T-Shirt from https://hacktoberfest.digitalocean.com label Oct 11, 2019
@sirhc-sch
Copy link

My current view on libp2p is as follows.
With identity, you have the ability to connect to some nodes and get a multiaddress back. (This is kind of the STUN flow)
Even though this is a nice approach, there are some challenges with that, as you still need some kind of a list of known peers, which act as identity nodes.
But even though one knows the public IP of a peer some NATs (symmetric) wouldn’t allow communication by request, if there was not any outgoing request on that same IP:Port.
In that case libp2p works with relaying. Special nodes, that act as relaying nodes. Here are also some privacy and safety concerns..
But first of all, let us set up a chat example, that works over the internet and not just on the same machine on different processes.
From that point on, we can tackle those other challenges.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Hacktoberfest Hack to Win a T-Shirt from https://hacktoberfest.digitalocean.com new-rfc To identify incoming RFCs (for review purposes)
Projects
None yet
Development

No branches or pull requests

3 participants