-
Notifications
You must be signed in to change notification settings - Fork 319
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
Implement RFC-6062 #118
Comments
Fantastic news! So excited you are able to use Pion @kleky I will make sure to help with the whole process/get things landed :) I am reading the RFC now and will come back with my thoughts! |
Looks like we need to update vnet as it doesn't support TCP. |
Don't worry about adding I read the RFC and seems pretty straight forward. We need to add some new handlers in turn.go to handle Then we need to make a I am going to setup |
Thanks @Sean-Der , at client.go:45, Net appears to be tied to vnet. Glad you think it's pretty straight forward! 😆 I created a fork here and pushed a change already. not wanting to duplicate on this so shall we decide who's on what? Unless you've got it all covered or prefer a different way of working? Many thanks. ..will look into getting you coturn. no idea about a pcap though sorry |
@kleky I added both of you to the That will make it a lot easier for us all to work together :) You will also get all the nice tooling/be able to pin easier. I think we need to modify We also need to support it running it as connecting to the Relay or Control socket. The currently |
This is a pretty big paradigm shift, but we will make it work :) Feel free to refactor/change aggressively as well. I will work on getting test coverage up higher also, will make things a lot less brittle. |
Haha yes indeed, we realized there appears more work than anticipated, but we'll get there. Although, because we're using coturn maybe someone else could take on the pion turn server side of it? Thanks for adding us, it'll be much easier. We started looking at (3) the sending of the Connect request, which will involve a new message type in stun/message.go |
I can do all the server work! If you can get the client + tests passing with coturn, I can then point them against the server and implement everything. |
Summary
Implement RFC-6062, Traversal Using Relays around NAT (TURN) Extensions for TCP Allocations
Motivation
To provide a TCP relay client for use with a service such as Coturn.
Describe alternatives you've considered
Unable to find any clients that support RFC-6062.
Additional context
Already discussed over Slack with a colleague of mine, Lewis Jessett and @Sean-Der :
https://gophers.slack.com/archives/CAK2124AG/p1579206089185600
We've been given the clearance to contribute on this, but will probably need some guidance from the pion community.
Looking at the RFC I've tried to summarize what is required as follows:
Does another new data connection get created when a peer tries to connect, as per RFC-6062 Section 4.4?
The text was updated successfully, but these errors were encountered: