OK, thank you very much!
besides, is it possible to get the cypher key for decoding the tcpdump captured packets on the TOR client??
Hi esolve. I'm pretty sure that you'll simply want to write a script> Hi, I'm new to Tor controller,
>
> Tor client usually open 3 circuits, one for current use and the other 2 for
> standby.
>
> Tor will change the current circuit/path in use from time to time, depending
> on the network load dynamics
>
> I'm wondering whether it is possible to use Tor controller to detect when
> the circuit/path in use is changed
> and obtain the list of IP addresses of those relay nodes.
that listens for CIRC events...
https://gitweb.torproject.org/torspec.git/blob/HEAD:/control-spec.txt#l1232
The main controller libraries at present are...
- txtorcon (https://txtorcon.readthedocs.org/en/latest/) - controller
library for twisted apps
- stem (https://stem.readthedocs.org/en/latest/index.html) - general
controller library that'll replace TorCtl
- torctl (https://gitweb.torproject.org/pytorctl.git/) - the original
and most stable controller library
If you want an example for using stem then I'd be happy to write you
one later. Ravi and I are currently working to improve its event
handling support so it's presently a bit rough for your use case, but
still perfectly doable.
Cheers! -Damian
_______________________________________________
tor-dev mailing list
tor-dev@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-dev