164-reporting-server-status.txt 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  1. Filename: 164-reporting-server-status.txt
  2. Title: Reporting the status of server votes
  3. Author: Nick Mathewson
  4. Created: 22-May-2009
  5. Status: Obsolete
  6. Notes: This doesn't work with the current things authorities do,
  7. though we could revise it to work if we ever want to do this.
  8. Overview:
  9. When a given node isn't listed in the directory, it isn't always easy
  10. to tell why. This proposal suggest a quick-and-dirty way for
  11. authorities to export not only how they voted, but why, and a way to
  12. collate the information.
  13. Motivation:
  14. Right now, if you want to know the reason why your server was listed
  15. a certain way in the Tor directory, the following steps are
  16. recommended:
  17. - Look through your log for reports of what the authority said
  18. when you tried to upload.
  19. - Look at the consensus; see if you're listed.
  20. - Wait a while, see if things get better.
  21. - Download the votes from all the authorities, and see how they
  22. voted. Try to figure out why.
  23. - If you think they'll listen to you, ask some authority
  24. operators to look you up in their mtbf files and logs to see
  25. why they voted as they did.
  26. This is far too hard.
  27. Solution:
  28. We should add a new vote-like information-only document that
  29. authorities serve on request. Call it a "vote info". It is
  30. generated at the same time as a vote, but used only for
  31. determining why a server voted as it did. It is served from
  32. /tor/status-vote-info/current/authority[.z]
  33. It differs from a vote in that:
  34. * Its vote-status field is 'vote-info'.
  35. * It includes routers that the authority would not include
  36. in its vote.
  37. For these, it includes an "omitted" line with an English
  38. message explaining why they were omitted.
  39. * For each router, it includes a line describing its WFU and
  40. MTBF. The format is:
  41. "stability <mtbf> up-since='date'"
  42. "uptime <wfu> down-since='date'"
  43. * It describes the WFU and MTBF thresholds it requires to
  44. vote for a given router in various roles in the header.
  45. The format is:
  46. "flag-requirement <flag-name> <field> <op> <value>"
  47. e.g.
  48. "flag-requirement Guard uptime > 80"
  49. * It includes info on routers all of whose descriptors that
  50. were uploaded but rejected over the past few hours. The
  51. "r" lines for these are the same as for regular routers.
  52. The other lines are omitted for these routers, and are
  53. replaced with a single "rejected" line, explaining (in
  54. English) why the router was rejected.
  55. A status site (like Torweather or Torstatus or another
  56. tool) can poll these files when they are generated, collate
  57. the data, and make it available to server operators.
  58. Risks:
  59. This document makes no provisions for caching these "vote
  60. info" documents. If many people wind up fetching them
  61. aggressively from the authorities, that would be bad.