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

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