UDP support for SOCKS5
Issue by iislucas from Thu Feb 20 22:25:58 2014 Originally opened as https://github.com/UWNetworksLab/UProxy/issues/182
Per Trevor: Since we've settled on using a TURN relay, I don't believe we need to do this anymore.
Note: could be useful to allow proxying of UDP traffic; so I'd like to open this, but push it low priority and for much later release. Cool?
@trevj should comment - he closed it in the other repo, and I was just translating it up to the active one.
Would we not proxy UDP traffic at all without this?
Correct, without this we cannot proxy UDP traffic.
Does UDP traffic silently fail to be transmitted, or does it get routed through the user's unproxied internet connection?
On Wed, Jun 4, 2014 at 10:15 AM, Lucas Dixon [email protected] wrote:
Correct, without this we cannot proxy UDP traffic.
— Reply to this email directly or view it on GitHub https://github.com/uProxy/uProxy/issues/77#issuecomment-45095703.
Web-browsers do not make UDP requests (HTTP goes over TCP). If the user manually configures another program to use uProxy's SOCKS5 proxy, then it's UDP traffic could in theory be proxied by uProxy. If the user doesn't do that, then the other program continues to connect to the internet as it did before. This is likely to be more of an issue in Android, where we might want a system-level proxy. Or for the case where we would want to play with setting a system proxy to being uProxy (we'd have to play with that).
(We've found that socks requests include the domain name, so DNS resolution, which is typically UDP happens at the proxy server, not at the client)
FYI, I've no problem leaving this open. So long as we think there might be a need for it down the road :-)