123-autonaming.txt 2.3 KB

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