Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am using tsocks on my Ubuntu machine and I have it all set up so that if I run

wget -q -O -|sed -e 's/.*Current IP Address: //' -e 's/<.*$//'

in my normal shell I get my real IP address, and if I run

tsocks wget -q -O -|sed -e 's/.*Current IP Address: //' -e 's/<.*$//'

I get another IP address like I should.

My question is how do I make the tsocks command return with a different 'different address'; in other words establish a new identity.

share|improve this question
up vote 2 down vote accepted

tsocks is a simple wrapper for SOCKS5 proxies, it has nothing to do with identities or Tor in general.

You will have to use a Tor control program such as Vidalia.

share|improve this answer
tsocks over tor will cause traffic for the program you are tsocks-ing to use the Tor network. This makes that specific program act as though it has a different IP address. It does NOT affect any other programs or your machine as a whole. Tor only supports TCP so even if someone was running a DHCP server to "give you" a different IP it couldn't happen as DHCP runs on UDP. It would also break your current connection with the Tor circuit. – LawrenceC Sep 10 '11 at 13:34
@ultrasawblade: This does not involve DHCP in any way. Tor can be told to simply open a new circuit with a different exit node. – grawity Sep 10 '11 at 13:35

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .