ethereum / go-ethereum

Go implementation of the Ethereum protocol
https://geth.ethereum.org
GNU Lesser General Public License v3.0
47.28k stars 20.02k forks source link

Add support for SOCKS proxy #1855

Open tuxayo opened 9 years ago

tuxayo commented 9 years ago

I can't find if Geth support proxies so it's seems that it's not the case. That would allow to use Geth on restrictive networks for example.

karalabe commented 9 years ago

There's no support currently for proxies. It's not really trivial, since the Ethereum discovery protocol runs on UDP and the P2P overlay on TCP, so you need to cross over with both to make geth functional. It would probably be a useful feature, but I'm not sure we have the capacity currently to cater for this use case, but would probably be happy for contributions ;). Though maybe @fjl can pinch in on the topic.

fjl commented 8 years ago

SOCKS support is required for users that need/want to tunnel through Tor. I'll give it a shot for geth 1.5, the release after the next big release.

karalabe commented 8 years ago

@fjl I was thinking about a different use case that might or might not impact this. I'm using Mozilla's Circus as a process manager to run my local Ethereum node, have it handle log file rotation, restarts, etc. Among the usual process management features, Circus also has a feature to manage sockets on behalf of the child processes (i.e. when an app needs to listen on a port, circus opens and maintains the socket and the app only "uses" it). This allows both statistics tracking on the network level as well as prevents issues where a fast restart cannot succeed because the TCP port is not yet relinquished to the OS. Just thought it's a cool feature, probably not worth too much effort, but nonetheless :)

fjl commented 8 years ago

I'll make a new issue for Socket Activation and related features.

djadk84 commented 8 years ago

When will this feature will be ready?

obscuren commented 8 years ago

Not until after 1.5. 1.4 which is scheduled for "within the next few weeks". 1.5 likely another few.

ijcoe6ru commented 8 years ago

Even though we can add socks support to the client, Tor doesn't support UDP. We need a way to use Ethereum without UDP in order to use it over Tor.

aphex3k commented 6 years ago

I'm running a full bitcoin node on tor and was wondering if I could do the same for ethereum. From the looks of it, this issue is still open...

scarboroughventures commented 6 years ago

I believe this would be very useful for auditing and compliance as well. Being able to intercept outgoing transactions from a server not connected to the client would be very useful to control unauthorized transactions.

stale[bot] commented 5 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

g3d commented 5 years ago

:+1: here

ldlqdsdcn commented 5 years ago

I need this feature

ldlqdsdcn commented 5 years ago

Enterprise networks are very complex,For security,Nodes can't access the external network directly

stale[bot] commented 4 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

Kamilcuk commented 3 years ago

+1 here

wxd11a commented 3 years ago

Another +1 here.

IamHuskar commented 2 years ago

+1 here

eccentricexit commented 2 years ago

+1 here

lakshaygaur commented 2 years ago

+1 here

ShaunR commented 1 year ago

+1

htjain commented 1 year ago

+1

aphex3k commented 1 year ago

👀

jsvisa commented 1 year ago

👀

gibz104 commented 1 year ago

👀

jasonlucn commented 1 year ago

+1