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

Add SOCKS proxy support #7398

Closed
gmale opened this issue Sep 5, 2020 · 4 comments
Closed

Add SOCKS proxy support #7398

gmale opened this issue Sep 5, 2020 · 4 comments

Comments

@gmale
Copy link

gmale commented Sep 5, 2020

Is your feature request related to a problem?

I'm unable to leverage network privacy using gRPC.

Describe the solution you'd like

As a developer on the cutting edge of privacy technology, which is surging in popularity lately, I'd like to use gRPC with SOCKS5 proxies in order to privately connect with servers without revealing my private information, like IP, to the server. Ideally, using gRPC would not result in the leakage of other private information like the timing of communication, and data about the graph of who is communicating.

TL;DR: privacy is a big deal and increasingly more relevant. It's a good time for gRPC to be more compatible with SOCKS proxies.

Describe alternatives you've considered

gRPC doesn't work with the common alternative for network privacy: Tor.

Additional context

This topic was mentioned many times 4 years ago but times have changed and it is probably worthwhile to revisit those decisions. Major advances are happening in the area of network privacy.

@jrhee17
Copy link

jrhee17 commented Sep 5, 2020

Shameless plug (I recently contributed heavily to armeria's client-side proxy implementation)

If you are open to using alternative grpc libraries, you might also want to try out armeria which supports SOCKS[4][5] with gRPC (as well as CONNECT and PROXY protocol support)

@dapengzhang0
Copy link
Member

This topic was mentioned many times 4 years ago but times have changed and it is probably worthwhile to revisit those decisions. Major advances are happening in the area of network privacy.

See also grpc/grpc-go#707 (comment)

@ejona86
Copy link
Member

ejona86 commented Sep 10, 2020

I've not used Tor, but it seems to have the option HTTPTunnelPort that enables HTTP CONNECT support. Would that not work for gRPC?

@ejona86
Copy link
Member

ejona86 commented Sep 24, 2020

It seems gRPC is already compatible with Tor via HTTP CONNECT, so closing. If I'm mistaken, comment, and it can be reopened.

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

No branches or pull requests

4 participants