[tor-talk] Two tor clients

Roger Dingledine arma at mit.edu
Mon Oct 31 08:45:19 UTC 2011


On Mon, Oct 31, 2011 at 09:12:09AM +0100, cats wrote:
> On Wed, 2011-10-19 at 13:40 +0200, cats wrote:
> > I have been experimenting with the thought of running two Tor clients at
> > once on my machine. So I decided to try it and modified the source a bit
> > to let me run two clients at once (of course with separate data dirs).
> > But they both get the same exit node, and if I try to switch exit node
> > on one of them via its control port, they both get switched. 
> 
> I have been experimenting with this some more, and Tor always seem to
> get the same IP, even if I run several separate clients (on the same
> machine) at once.
> 
> Is this the expected behavior?

No.

> If yes, why and how does this work?
> 
> Anyone with some knowledge of this willing to share? :-)

Depends what you changed in the source.

You shouldn't need to change the source at all. Just pick different
datadirs and different socksports and poof, you have two separate Tor
clients.

--Roger



More information about the tor-talk mailing list