Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

On Windows I have used XBBrowser, which provides a custom version of Firefox suited to using Tor.

XBBrowser provides a button, flush tor circuit, which will setup an entirely new connection and exit node.

I am wondering how to do the equivalent thing on Linux. ALl I can do is restart tor, which does not seem to make any difference.

So, on Linux, how would I flush the circuit?

share|improve this question
up vote 7 down vote accepted

The solution is to enable the control port in torrc

It is also important to set a password for the control port with tor --hash-password password

You can then connect to the control port and issue a NEWNYM commands.

printf "AUTHENTICATE \"password\"\r\nSIGNAL NEWNYM\r\n" | nc 127.0.0.1 9051
share|improve this answer
    
Does this really close all circuits? On Windows at least, if I do "SIGNAL NEWNYM" followed by "getinfo circuit-status" I often find old open circuits. I have to use the "closecircuit" command to be sure all circuits are closed. – Ogglas Sep 30 '15 at 16:35

If you use the Vidalia GUI, you can use the Network map to close all circuits. It's not as fast, but does the same thing.

share|improve this answer
    
Nope, no GUI... – Jack May 6 '10 at 21:04

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.