Silk Road forums

Discussion => Security => Topic started by: OneOfMany on August 10, 2012, 02:11 am

Title: Bitcoin-qt + Tor = no connection?
Post by: OneOfMany on August 10, 2012, 02:11 am
I've been experimenting with a few different ways to use Bitcoins through Tor and I noticed that the current version of the qt client doesn't seem to work connect if configured to go through Tor. Has anyone else noticed this?
Title: Re: Bitcoin-qt + Tor = no connection?
Post by: dillondillon on August 10, 2012, 02:24 am
What version are you using 0.6.3-beta  ?
Title: Re: Bitcoin-qt + Tor = no connection?
Post by: OneOfMany on August 10, 2012, 02:47 am
Right.
Title: Re: Bitcoin-qt + Tor = no connection?
Post by: dillondillon on August 10, 2012, 03:42 am
What OS are you using, I have it working fine on a linux system.

-----------------------------------------------
Settings / Options /

Connect through Socks 4 proxy: (check this)

Proxy IP: 127.0.0.1               Port: 9050
-----------------------------------------------

I assume you already have TOR working fine as you are on here posting ;)

This first time I tried the bitcoin-qt client it took for ever to load, in the bottom right of the "Overview" window you should see the little icon turning around...
Title: Re: Bitcoin-qt + Tor = no connection?
Post by: OneOfMany on August 10, 2012, 04:54 am
This is on Windows. I'm trying to put together a "portable" setup. (And yes I realize there are a number of reasons this will never be very secure.) The portable aspect does add a little extra complexity, since I'm using -datadir for instance. But it worked well enough with whichever version I tried this with last. I think it was  0.5.2, but that apparently has some critical bugs. I guess my next move is to test it with some of the intermediate versions.
Title: Re: Bitcoin-qt + Tor = no connection?
Post by: BigEasy on August 24, 2012, 09:22 pm
Are you using the Tor Browser Bundle?

Try this: Proxy IP: 127.0.0.1               Port: 8333

Works for me :)
Title: Re: Bitcoin-qt + Tor = no connection?
Post by: BigEasy on August 25, 2012, 12:12 am
a little more info and another method:

Quote
I'm on OSX or Linux and I want to run another application through the Tor launched by Tor Browser Bundle. How do I predict my Socks port?

Typically Tor listens for Socks connections on port 9050. TBB on OSX and Linux has an experimental feature where Tor listens on random unused ports rather than a fixed port each time. The goal is to avoid conflicting with a "system" Tor install, so you can run a system Tor and TBB at the same time. We're working on a feature where Tor will try the usual ports first and then back off to a random choice if they're already in use. Until then, if you want to configure some other application to use Tor as a Socks proxy, here's a workaround:

In Vidalia, go to Settings->Advanced and uncheck the box that says 'Configure ControlPort automatically'. Click OK and restart TBB. Your Socks port will then be on 9050.

from: https://www.torproject.org/docs/faq.html.en#TBBSocksPort