uProxy-p2p icon indicating copy to clipboard operation
uProxy-p2p copied to clipboard

UDP support for SOCKS5

Open willscott opened this issue 12 years ago • 8 comments

Issue by iislucas from Thu Feb 20 22:25:58 2014 Originally opened as https://github.com/UWNetworksLab/UProxy/issues/182


willscott avatar Apr 17 '14 16:04 willscott

Per Trevor: Since we've settled on using a TURN relay, I don't believe we need to do this anymore.

willscott avatar Jun 04 '14 00:06 willscott

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?

iislucas avatar Jun 04 '14 00:06 iislucas

@trevj should comment - he closed it in the other repo, and I was just translating it up to the active one.

willscott avatar Jun 04 '14 00:06 willscott

Would we not proxy UDP traffic at all without this?

scouttle avatar Jun 04 '14 12:06 scouttle

Correct, without this we cannot proxy UDP traffic.

iislucas avatar Jun 04 '14 14:06 iislucas

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.

scouttle avatar Jun 04 '14 14:06 scouttle

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)

iislucas avatar Jun 04 '14 14:06 iislucas

FYI, I've no problem leaving this open. So long as we think there might be a need for it down the road :-)

trevj avatar Jun 06 '14 17:06 trevj