Open mihaiav opened 1 year ago
UDP between the client and server, or UDP between other components?
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.
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.
.\main.go:41:6: undefined: listenForSocks .\main.go:42:13: undefined: listenForClients .\main.go:47:13: undefined: connectForSocks
build error
What would it take to support UDP? I'm willing to work on a patch if guidance is provided