123-autonaming.txt 2.3 KB

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