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

feature: udp support #1

Open
mihaiav opened this issue Mar 4, 2023 · 4 comments
Open

feature: udp support #1

mihaiav opened this issue Mar 4, 2023 · 4 comments

Comments

@mihaiav
Copy link

mihaiav commented Mar 4, 2023

What would it take to support UDP? I'm willing to work on a patch if guidance is provided

@brimstone
Copy link
Owner

UDP between the client and server, or UDP between other components?

@mihaiav
Copy link
Author

mihaiav commented Mar 4, 2023

The goal would be to provide SOCKS5 with UDP support (as described by RFC1928). I believe all the components in the chain (rsocks client, rsocks server and end user application) should support UDP for it to work. At the first glance it looks like rsocks supports only tcp on both client and server.

@brimstone
Copy link
Owner

Looks like the socks5 library I'm using doesn't support UDP, so that's the first thing to fix. Looks like https://github.com/things-go/go-socks5 might though.
Next to make sure yamux supports UDP (probably does), then to actually add a UDP listener.

@hibensonman
Copy link

.\main.go:41:6: undefined: listenForSocks
.\main.go:42:13: undefined: listenForClients
.\main.go:47:13: undefined: connectForSocks

build error

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants