[tor-bugs] #9241 [Tor]: Abstract and decouple path selection from circuit construction
Tor Bug Tracker & Wiki
blackhole at torproject.org
Thu Jul 11 15:48:54 UTC 2013
#9241: Abstract and decouple path selection from circuit construction
------------------------------------+---------------------------------------
Reporter: mikeperry | Owner: mikeperry
Type: enhancement | Status: new
Priority: normal | Milestone: Tor: 0.2.5.x-final
Component: Tor | Version:
Keywords: tor-client, mike-0.2.5 | Parent: #9001
Points: | Actualpoints:
------------------------------------+---------------------------------------
Comment(by nickm):
Also, this isn't just about #9001: decoupling and abstracting the path
selection code would:
* let researchers prototype new path selection algorithms more easily
* make the path selection code more testable^*^, and make changes to
that code testabe
* make the path selection code easier to review
* probably, make the path selection code less buggy
Does anybody want to take a stab at figuring out what the API should look
like here? I can try to outline it in a week or two, if not.
^*^ Having 'testable' code helps, but since we need to make our
refactoring itself tested, making the code testable is more of a long-term
advantage than a short-term one. (That is, in order to refactor to become
easier to test, we must first write tests.)
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/9241#comment:2>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list