hi everyone. i've got such a task: i've got tor installed on my pc (vista). and i need to change tor exit node in every timestamp. i mean, for example, i start serfing using tor and got ip_1=xxx.xxx.xxx.xxx in 5 minutes i want tor to change my ip to a diferent one ip_2=yyy.yyy.yyy.yyy ip1_!=ip_2 how can i do this? for example using php and curl? tor, as i know, is listening to a port 8051 on a localhost. can i send some command on this port to make tor build a new chain so i can get some another ip address? and commands should i send?
You have no control over the routing in the tor network (if you had, someone could abuse this feature). But tor already switches the route roughly every 10 minutes (at least according to the German Wikipedia article).
yeah, that's 1 (i mean =true =))) that tor does change ip every 10 minutes but! if i restart tor - i'll get a new ip even in this 10minutes interval. so i was thinking about making tor to send this "change_ip" request manually. see this code (written according to http://en.linuxreviews.org/HOWTO_use_the_Internet_anonymously_using_Tor_and_Privoxy)
procedure ChangeIp;
var
sck:TIdTCPClient;
begin
sck:=TIdTCPClient.Create(nil);
try
sck.Host:='127.0.0.1';
sck.Port:=10051;
sck.Connect;
sck.SendCmd('authenticate','');
if sck.LastCmdResult.Code='250' then
begin
sck.SendCmd('signal newnym','');
end;
finally
sck.Free;
end;
end;
and accornig to [https://tor-svn.freehaven.net/svn/torctl/trunk/doc/howto.txt] i can write a controler that will change tor's conf on the fly. by default it is not enebled (i mean this ability), but i can make tor client listen to some port for accepting commands using torrc...if i'm not mistaken...again=)
!!! where the hell torrc is on my pc?
In C:\Users\geekman\AppData\Roaming\Tor i could,n fing it i got vista.