[tor-bugs] #7693 [Stem]: add way to test with traffic through the tor server
Tor Bug Tracker & Wiki
blackhole at torproject.org
Sun Dec 16 22:41:19 UTC 2012
#7693: add way to test with traffic through the tor server
-------------------------+--------------------------------------------------
Reporter: robinson | Owner: robinson
Type: enhancement | Status: needs_review
Priority: normal | Milestone:
Component: Stem | Version:
Keywords: testing | Parent:
Points: | Actualpoints:
-------------------------+--------------------------------------------------
Changes (by robinson):
* status: needs_information => needs_review
Comment:
I ended up creating a new SOCKS5 handler[0]. I tried to keep our options
open: Py2 and Py3 compatible, and ready for IPv6-support and
authentication-support to be added. I catered to current tor abilities,
only.
Before I recommend pulling this, there is a caveat: I made a change[1] to
test.runner and test/settings.cfg that I am not sure are the correct
approach. But, if so, I updated test.util.external_ip to use a SOCKS5
connection and my brief tests work adequately.
[0]: https://gitorious.org/stem-robinson/stem-robinson/commits/exp-socks5
[1]: https://gitorious.org/stem-robinson/stem-
robinson/commit/30d882e69ddee5dcb6d09ef7b86fa270a3d49827
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/7693#comment:5>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list