Bitcoin Forum
December 12, 2024, 08:39:31 AM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Bitcoin and TOR  (Read 2957 times)
doobadoo (OP)
Sr. Member
****
Offline Offline

Activity: 364
Merit: 250


View Profile
June 18, 2012, 01:31:43 PM
 #1

I tried running Bitcoin over TOR.  I also took a look at my net traffic with a snooping app.  What i see is a lot of traffic that gets routed over TOR, most likely the p2p stuff including the txs.  However, according to the snitch app and my TOR logs, Bitcoin makes some clearnet connections.  Probably related to peer discovery...  Here is what i pull from Vidalia's messages:

[Mon Jun 18 XXXX 2012] Potentially Dangerous Connection! - One of your applications established a connection through Tor to "98.151.200.160:8333" using a protocol that may leak information about your destination. Please ensure you configure your applications to use only SOCKS4a or SOCKS5 with remote hostname resolution.

My guess is that there is some kind of dns lookup its doing, again probably for peer discovery.

My question is:  has TOR usage been fully implemented.  In the event that some government tries to firewall or block out BTC, TOR may be the only way folks in an affected jurisdiction may be able to access the network. 

Just curious as to whether or not this is the case.

-doob

"It is, quite honestly, the biggest challenge to central banking since Andrew Jackson." -evoorhees
kokjo
Legendary
*
Offline Offline

Activity: 1050
Merit: 1000

You are WRONG!


View Profile
June 18, 2012, 01:37:05 PM
 #2

peer discovery is done by dns seeds. if you want to disable peer discovery use -addnode to bitcoind.

the warning will still show in tor, because bitcoin don't connect to dns addresses but "raw" ips, and therefor does not happen a dns lookup when connecting to a new peer found in the network. but when you pass an ip to tor, tor assumes that the application using it, does dns lookup besides tor, and spews a warning.

"The whole problem with the world is that fools and fanatics are always so certain of themselves and wiser people so full of doubts." -Bertrand Russell
Pieter Wuille
Legendary
*
qt
Offline Offline

Activity: 1072
Merit: 1189


View Profile WWW
June 18, 2012, 03:49:02 PM
 #3

We're very close to adding much improved Tor support to Bitcoin, so it will most likely be in 0.7.0.

Among other things:
  • Support for running as and connecting to Bitcoin hidden services
  • Peer exchange of Bitcoin hidden services
  • Non-leaking DNS seeding via proxy

I do Bitcoin stuff.
byronbb
Legendary
*
Offline Offline

Activity: 1414
Merit: 1000


HODL OR DIE


View Profile
June 20, 2012, 04:25:35 PM
 #4

I tried to run the client over tor for a while but my connections were very low and eventually reduced to 1 or 2.

stepkrav
Full Member
***
Offline Offline

Activity: 188
Merit: 100



View Profile
September 03, 2012, 01:12:31 PM
 #5

We're very close to adding much improved Tor support to Bitcoin, so it will most likely be in 0.7.0.

Among other things:
  • Support for running as and connecting to Bitcoin hidden services
  • Peer exchange of Bitcoin hidden services
  • Non-leaking DNS seeding via proxy


thanks for this.
Anyway, i've just tried bitcoin over Tor and works pretty well.
ErebusBat
Hero Member
*****
Offline Offline

Activity: 560
Merit: 500

I am the one who knocks


View Profile
September 03, 2012, 02:19:07 PM
 #6

We're very close to adding much improved Tor support to Bitcoin, so it will most likely be in 0.7.0.

Among other things:
  • Support for running as and connecting to Bitcoin hidden services
  • Peer exchange of Bitcoin hidden services
  • Non-leaking DNS seeding via proxy


thanks for this.
Anyway, i've just tried bitcoin over Tor and works pretty well.
Is there a guide for this?

░▒▓█ Coinroll.it - 1% House Edge Dice Game █▓▒░ • Coinroll Thread • *FREE* 100 BTC Raffle

Signup for CEX.io BitFury exchange and get GHS Instantly!  Don't wait for shipping, mine NOW!
Pieter Wuille
Legendary
*
qt
Offline Offline

Activity: 1072
Merit: 1189


View Profile WWW
September 03, 2012, 03:07:59 PM
 #7

Is there a guide for this?

doc/Tor.txt in the source tree

I do Bitcoin stuff.
ErebusBat
Hero Member
*****
Offline Offline

Activity: 560
Merit: 500

I am the one who knocks


View Profile
September 04, 2012, 01:24:57 AM
 #8

Is there a guide for this?

doc/Tor.txt in the source tree
Very interesting, thank you!

░▒▓█ Coinroll.it - 1% House Edge Dice Game █▓▒░ • Coinroll Thread • *FREE* 100 BTC Raffle

Signup for CEX.io BitFury exchange and get GHS Instantly!  Don't wait for shipping, mine NOW!
justusranvier
Legendary
*
Offline Offline

Activity: 1400
Merit: 1013



View Profile
September 04, 2012, 03:08:26 AM
 #9

If anyone wants to test their ability to connect to a hidden service they can use this one: cciyjmmmmbg2mri3.onion
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!