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

Re: [tor-dev] Fwd: Stem Tor - Establish a user defined circuit



Hi Aravindan. I haven't personally done much work with manual path
selection, but RTT Prober does. I'd suggest looking at it as an
example...

https://bitbucket.org/ra_/tor-rtt/src/3a2ef9343d3054b8bcf37877d81d926400ed8512/rttprober.py?at=master#cl-447

> relay_ip_addresses = ["10.0.0.21","10.0.0.22","10.0.0.23"]
>
> circuit_id = controller.extend_circuit('0',relay_ip_addresses)

The circuit path should be relay fingerprints, not IP addresses...

https://stem.torproject.org/api/control.html#stem.control.Controller.extend_circuit

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