152-single-hop-circuits.txt 2.7 KB

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