123-autonaming.txt 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. Filename: 123-autonaming.txt
  2. Title: Naming authorities automatically create bindings
  3. Version: $Revision$
  4. Last-Modified: $Date$
  5. Author: Peter Palfrader
  6. Created: 2007-10-11
  7. Status: Closed
  8. Implemented-In: 0.2.0.x
  9. Overview:
  10. Tor's directory authorities can give certain servers a "Named" flag
  11. in the network-status entry, when they want to bind that nickname to
  12. that identity key. This allows clients to specify a nickname rather
  13. than an identity fingerprint and still be certain they're getting the
  14. "right" server.
  15. Authority operators name a server by adding their nickname and
  16. identity fingerprint to the 'approved-routers' file. Historically
  17. being listed in the file was required for a router, at first for being
  18. listed in the directory at all, and later in order to be used by
  19. clients as a first or last hop of a circuit.
  20. Adding identities to the list of named routers so far has been a
  21. manual, time consuming, and boring job. Given that and the fact that
  22. the Tor network works just fine without named routers the last
  23. authority to keep a current binding list stopped updating it well over
  24. half a year ago.
  25. Naming, if it were done, would serve a useful purpose however in that
  26. users can have a reasonable expectation that the exit server Bob they
  27. are using in their http://www.google.com.bob.exit/ URL is the same
  28. Bob every time.
  29. Proposal:
  30. I propose that identity<->name binding be completely automated:
  31. New bindings should be added after the router has been around for a
  32. bit and their name has not been used by other routers, similarly names
  33. that have not appeared on the network for a long time should be freed
  34. in case a new router wants to use it.
  35. The following rules are suggested:
  36. i) If a named router has not been online for half a year, the
  37. identity<->name binding for that name is removed. The nickname
  38. is free to be taken by other routers now.
  39. ii) If a router claims a certain nickname and
  40. a) has been on the network for at least two weeks, and
  41. b) that nickname is not yet linked to a different router, and
  42. c) no other router has wanted that nickname in the last month,
  43. a new binding should be created for this router and its desired
  44. nickname.
  45. This automaton does not necessarily need to live in the Tor code, it
  46. can do its job just as well when it's an external tool.