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

UDP support #12

Open
mokhtarabadi opened this issue Jul 10, 2020 · 7 comments
Open

UDP support #12

mokhtarabadi opened this issue Jul 10, 2020 · 7 comments
Labels
enhancement New feature or request feature-request

Comments

@mokhtarabadi
Copy link

Did you have any plan to implement a way to transfer UDP packets through the TCP connection?

For example v2ray can do it

@genshen genshen added enhancement New feature or request feature-request labels Jul 11, 2020
@genshen
Copy link
Owner

genshen commented Jul 11, 2020

sure, UDP support is in plan.

@genshen genshen changed the title Udp support UDP support Jul 15, 2020
@mokhtarabadi
Copy link
Author

mokhtarabadi commented Aug 6, 2020

Hi @genshen,
Did you trying anything for this feature, I don't know go too much but I find something like this https://github.com/bradleyfalzon/udp-to-tcp, can you implement this feature

@genshen
Copy link
Owner

genshen commented Aug 6, 2020

Perhaps UDP within socks5 protocol is more complicated than what bradleyfalzon/udp-to-tcp does.
I will try to add an initial implementation of UDP support in recent weeks based on the description of socks5 RFC.
Really thanks for your feedbacks and suggestions.

@mokhtarabadi
Copy link
Author

Yes for client use socks5 UDP as you mentioned, but I talk about server and how UDP packets must transfered through websocket (which on TCP protocol)

Best example of this is v2ray

@genshen
Copy link
Owner

genshen commented Aug 6, 2020

Yep, you are right😀. I will check the code implementation of v2ray to see if wssocks can learn something from v2ray.

@mokhtarabadi
Copy link
Author

mokhtarabadi commented Aug 6, 2020

thanks for your attention and the great project

@mokhtarabadi
Copy link
Author

Hi, any news about this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request feature-request
Projects
None yet
Development

No branches or pull requests

2 participants