152-single-hop-circuits.txt 2.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. Filename: 152-single-hop-circuits.txt
  2. Title: Optionally allow exit from single-hop circuits
  3. Author: Geoff Goodell
  4. Created: 13-Jul-2008
  5. Status: Closed
  6. Implemented-In: 0.2.1.6-alpha
  7. Overview
  8. Provide a special configuration option that adds a line to descriptors
  9. indicating that a router can be used as an exit for one-hop circuits,
  10. and allow clients to attach streams to one-hop circuits provided
  11. that the descriptor for the router in the circuit includes this
  12. configuration option.
  13. Motivation
  14. At some point, code was added to restrict the attachment of streams
  15. to one-hop circuits.
  16. The idea seems to be that we can use the cost of forking and
  17. maintaining a patch as a lever to prevent people from writing
  18. controllers that jeopardize the operational security of routers
  19. and the anonymity properties of the Tor network by creating and
  20. using one-hop circuits rather than the standard three-hop circuits.
  21. It may be, for example, that some users do not actually seek true
  22. anonymity but simply reachability through network perspectives
  23. afforded by the Tor network, and since anonymity is stronger in
  24. numbers, forcing users to contribute to anonymity and decrease the
  25. risk to server operators by using full-length paths may be reasonable.
  26. As presently implemented, the sweeping restriction of one-hop circuits
  27. for all routers limits the usefulness of Tor as a general-purpose
  28. technology for building circuits. In particular, we should allow
  29. for controllers, such as Blossom, that create and use single-hop
  30. circuits involving routers that are not part of the Tor network.
  31. Design
  32. Introduce a configuration option for Tor servers that, when set,
  33. indicates that a router is willing to provide exit from one-hop
  34. circuits. Routers with this policy will not require that a circuit
  35. has at least two hops when it is used as an exit.
  36. In addition, routers for which this configuration option
  37. has been set will have a line in their descriptors, "opt
  38. exit-from-single-hop-circuits". Clients will keep track of which
  39. routers have this option and allow streams to be attached to
  40. single-hop circuits that include such routers.
  41. Security Considerations
  42. This approach seems to eliminate the worry about operational router
  43. security, since server operators will not set the configuraiton
  44. option unless they are willing to take on such risk.
  45. To reduce the impact on anonymity of the network resulting
  46. from including such "risky" routers in regular Tor path
  47. selection, clients may systematically exclude routers with "opt
  48. exit-from-single-hop-circuits" when choosing random paths through
  49. the Tor network.