138-remove-down-routers-from-consensus.txt 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. Filename: 138-remove-down-routers-from-consensus.txt
  2. Title: Remove routers that are not Running from consensus documents
  3. Version: $Revision$
  4. Last-Modified: $Date$
  5. Author: Peter Palfrader
  6. Created: 11-Jun-2008
  7. Status: Closed
  8. Implemented-In: 0.2.1.2-alpha
  9. 1. Overview.
  10. Tor directory authorities hourly vote and agree on a consensus document
  11. which lists all the routers on the network together with some of their
  12. basic properties, like if a router is an exit node, whether it is
  13. stable or whether it is a version 2 directory mirror.
  14. One of the properties given with each router is the 'Running' flag.
  15. Clients do not use routers that are not listed as running.
  16. This proposal suggests that routers without the Running flag are not
  17. listed at all.
  18. 2. Current status
  19. At a typical bootstrap a client downloads a 140KB consensus, about
  20. 10KB of certificates to verify that consensus, and about 1.6MB of
  21. server descriptors, about 1/4 of which it requires before it will
  22. start building circuits.
  23. Another proposal deals with how to get that huge 1.6MB fraction to
  24. effectively zero (by downloading only individual descriptors, on
  25. demand). Should that get successfully implemented that will leave the
  26. 140KB compressed consensus as a large fraction of what a client needs
  27. to get in order to work.
  28. About one third of the routers listed in a consensus are not running
  29. and will therefore never be used by clients who use this consensus.
  30. Not listing those routers will save about 30% to 40% in size.
  31. 3. Proposed change
  32. Authority directory servers produce vote documents that include all
  33. the servers they know about, running or not, like they currently
  34. do. In addition these vote documents also state that the authority
  35. supports a new consensus forming method (method number 4).
  36. If more than two thirds of votes that an authority has received claim
  37. they support method 4 then this new method will be used: The
  38. consensus document is formed like before but a new last step removes
  39. all routers from the listing that are not marked as Running.