[tor-dev] TorCtl Deprecation and Stem Plans

meejah at meejah.ca meejah at meejah.ca
Tue Jan 1 17:28:20 UTC 2013


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Ian Goldberg <iang at cs.uwaterloo.ca> writes:

> How would I do this in stem?  I don't see anything obvious in the API
> documentation.

If event-based code is more your speed, you can check out txtorcon
which has an example doing nearly what you want:

   https://txtorcon.readthedocs.org/en/latest/examples.html#attach-streams-by-country-py

You could also look in the exit_scanner branch for an even more
complicated "example".

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Processed by Mailcrypt 3.5.8 <http://mailcrypt.sourceforge.net/>

iQEcBAEBAgAGBQJQ4xygAAoJEMJgKAMSgGmnQPAIAI+BJS5GlgsQGUlT4YcI22eJ
32WZIBkln4vnnhAaK1UR2BHlpjwseJjh+yq6cptMlhi9on7877DXzS0MbEpXNZeF
bxKwjj++jsw1mD9LgqgT1SxyYo5bcfmtAm/C4A8lPwhNTAxH96Ex3yKhbtkvZb4g
upLt+3IAvcMdeLt8abxHjMnbAcUDSRT6oV27Yow5FgFpkClkUtS0JbfdfQweKpKs
IU572kxOU/kknmtj3Zp17bIHjmGl06oumSuCsqAxBw8B17wEgg8xXg/6Qa3XQy6d
MnXYyfQ+/bgK5OWSJBL59Ge7DkGeNyc7RaTso44O5ZCgB4/2RNxu7SDSr1Afasw=
=cDDK
-----END PGP SIGNATURE-----


More information about the tor-dev mailing list