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

Re: [tor-dev] Running Tor with static path



On Mon, 2014-06-16 at 20:08 +0430, mahdi wrote: 
> Hi all,
> I want to execute an experiment on Tor in which i need to fix the ip
> address of entry,relay and exit onion router.
> For that i need to determine the IPs and keys of ORs in OP permanently.
> Is there any idea of what function of Tor's code should be replace?!

To fix the entry and exit nodes you can just use the EntryNodes (or
Bridges), ExitNodes, and StrictNodes configuration options.

To fix the middle relay you need to change some code (I think). The
relevant functions should be circuitbuild.c:circuit_establish_circuit()
and the functions it calls, especially
circuitbuild.c:choose_good_middle_server().


--ll

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
tor-dev mailing list
tor-dev@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-dev