Bitcoin Forum

Other => Beginners & Help => Topic started by: fredi173 on December 14, 2012, 10:45:45 AM



Title: Can the bitcoin network run entirely inside Tor?
Post by: fredi173 on December 14, 2012, 10:45:45 AM
If a government decides to block bitcoin can the miners and the clients exit via Tor network?

Going further... If all the governments decide to block the bitcoin network... can it run inside Tor entirely?





Title: Re: Can the bitcoin network run entirely inside Tor?
Post by: Foxpup on December 14, 2012, 12:23:07 PM
You can easily configure Bitcoin to connect though Tor (in Options -> Network, turn on "Connect through SOCKS proxy" - the default proxy settings are for a standard Tor installation, though you will need to change them if your Tor setup is non-standard). You can also run Bitcoin as a hidden service (https://github.com/bitcoin/bitcoin/blob/master/doc/Tor.txt), though (I'm pretty sure) other Tor nodes won't be able to connect to you automatically - to connect to hidden Bitcoin services, you need to manually set up (https://en.bitcoin.it/wiki/Fallback_Nodes#Tor_network) each hidden service you want to connect to.

The wiki (https://en.bitcoin.it/wiki/Weaknesses#Attacking_all_users) says that "...the network won't work if everyone does this. BitCoin requires that some country is still free." though I have no idea why it won't work. It seems to me like it should (though it would require some effort set it up), but maybe I'm missing something obvious. ???


Title: Re: Can the bitcoin network run entirely inside Tor?
Post by: leijurv on April 05, 2013, 03:40:57 AM
I don't think so. Connecting to a node normally requires that node to have port 8333 forwarded to the bitcoin client, but in Tor you generally are assigned a port >32768 which can't be used for Bitcoin. Also, setting up a tor hidden service wouldn't work because peer discovery is locked into IPv4 and IPv6 which can't be used for a tor hidden service.


Title: Re: Can the bitcoin network run entirely inside Tor?
Post by: fractal5 on April 05, 2013, 03:43:48 AM
If a government decides to block bitcoin can the miners and the clients exit via Tor network?

Going further... If all the governments decide to block the bitcoin network... can it run inside Tor entirely?

It can probably be run through a VPN service, though I've never tried to do that.


Title: Re: Can the bitcoin network run entirely inside Tor?
Post by: jabulani on April 05, 2013, 05:03:50 AM
Wouldn't that be dangerous with nods able to snoop transactions?