[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: Change Circuit



Am Freitag, 11. September 2009 01:43:09 schrieb Thiago PC:
> Hi everybody. First of all, sorry if it has already been explained,
> I'm new here.
> I would like to know how to change the circuit that Tor is using (like
> the option "Use a New Identity" at Vidalia control panel). But I want
> to make this only using command line, running Linux. Is that possible?
>
> Thanks in advanced
> Thiago



First you have to enable the control port in torrc:
ControlPort 9051
HashedControlPassword $PASSWORDHASH

The $PASSWORDHASH can be created with:
tor --hash-password $PASSWORD

Then do:
echo "AUTHENTICATE \"$PASSWORD\"\r\nNEWNYM\r\nQUIT\r\n" | 
netcat localhost 9051