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

NAT traversal #70

Closed
robinpaulson opened this issue Jun 1, 2014 · 2 comments
Closed

NAT traversal #70

robinpaulson opened this issue Jun 1, 2014 · 2 comments

Comments

@robinpaulson
Copy link

@robinpaulson robinpaulson commented Jun 1, 2014

Hi, I've been doing some research recently on building distributed internet resources, and am intrigued by webtorrent. You appear to have put together some good ideas, but I wonder how NAT traversal will be solved. From what I have found, until IPv6 is prevalent, it looks very difficult without some sort of signalling server (which would of course imply partial centralisation), such as STUN. Is there anything in your notes which shows a way round this? I see you've suggested NAT-PMP, but this appears to require opening a UDP connection, which of course the browser can't do.

@robinpaulson robinpaulson changed the title NAT traversal/peer discovery NAT traversal Jun 1, 2014
@wtfaremyinitials

This comment has been minimized.

Copy link

@wtfaremyinitials wtfaremyinitials commented Jun 9, 2014

As for the first peer connection I'm not sure, but there are plans to allow peers to introduce each other.

http://www.youtube.com/watch?v=PT8s_IVWDgw&t=36m48s

@feross

This comment has been minimized.

Copy link
Member

@feross feross commented Jun 12, 2014

There's no rule that says webrtc signaling must be done using a centralized web server. Once you've connected to any webrtc peer, they can introduce you to new peers. Peers themselves can act as the middle man (i.e. signaling server). :)

Getting close to the point where I can publish the first implementation of this. Stay tuned.

@feross feross closed this Jun 12, 2014
@lock lock bot locked as resolved and limited conversation to collaborators May 7, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants
You can’t perform that action at this time.