diff options
author | Nick Mathewson <nickm@torproject.org> | 2005-09-22 06:34:29 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2005-09-22 06:34:29 +0000 |
commit | cdc912714eeee2d72f72e1f4446daaa8804e12db (patch) | |
tree | f209e15c65bd3cce88e382b3338e61bd9ba6c21b /doc | |
parent | 66930319473ff63796672f26d52890f60666e770 (diff) | |
download | tor-cdc912714eeee2d72f72e1f4446daaa8804e12db.tar.gz tor-cdc912714eeee2d72f72e1f4446daaa8804e12db.zip |
I love the smell of C in the morning. Make router-download rules smarter (download more so long as we dont duplicate existing requests; relaunch at staggered intervals); relaunch one a minute or on failure; reset 60 minutes; always open 3 requests if we can; add authority opinion to networkstatus; make naming rule correct. There is a remaining bug where we retry servers too quickly; We need to look at that harder.
svn:r5110
Diffstat (limited to 'doc')
-rw-r--r-- | doc/TODO | 24 | ||||
-rw-r--r-- | doc/dir-spec.txt | 1 |
2 files changed, 13 insertions, 12 deletions
@@ -153,14 +153,15 @@ R - check reachability as soon as you hear about a new server o Alice sets descriptor status from network-status o Implement o Use -N - Routerdesc download changes - - Refactor combined-status to be its own type. - - Change rule from "do not launch new connections when one exists" to +N . Routerdesc download changes + o Refactor combined-status to be its own type. + o Change rule from "do not launch new connections when one exists" to "do not request any fingerprint that we're currently requesting." - - Launch connections every minute, or whenever a download fails - - Retry failed routerdescs after 0, 1, 5, 10 minutes. - - Mirrors retry harder and more often. - - Reset failure count every 60 minutes + o Launch connections every minute, or whenever a download fails + o Retry failed routerdescs after 0, 1, 5, 10 minutes. + o Mirrors retry harder and more often. (0, 0, 1, 1, 2, 5, and 15) + o Reset failure count every 60 minutes + o Drop fallback to download-all. Also, always split download. - Only use a routerdesc if you recognize its hash. - Must defer till dirservers are upgraded to latest. - Of course, authdirservers must not do this. @@ -170,12 +171,11 @@ N - Routerdesc download changes - If we have a routerdesc for Bob, and he says, "I'm 0.1.0.x", don't fetch a new one if it was published in the last 2 hours. - How does this interact with the 'recognized hash' rule? - - Drop fallback to download-all. Also, always split download. - - Downgrade new directory events from notice to info + . Downgrade new directory events from notice to info - Clients should estimate their skew as median of skew from directory connections over last N seconds. - Call dirport_is_reachable from somewhere else. - - Networkstatus should list who's an authority. + o Networkstatus should list who's an authority. - Add nickname element to dirserver line. Log this along with IP:Port. - Warn when using non-default directory servers. - When giving up on a non-finished dir request, log how many bytes @@ -194,10 +194,10 @@ N . Naming and validation: o Authdirs need to be able to decline to include baased on IP range and key. o Not all authdirs name. - - Change naming rule: N->K iff any naming authdir says N->K, + o Change naming rule: N->K iff any naming authdir says N->K, and none says N->K' or N'->K. - Clients choose names based on network-status options. - - Names are remembered in client state + - Names are remembered in client state (?) - Okay to have two valid servers with same nickname, but not two named servers with same nickname. Update logic. diff --git a/doc/dir-spec.txt b/doc/dir-spec.txt index 1c3247ea0d..fadec9bfc1 100644 --- a/doc/dir-spec.txt +++ b/doc/dir-spec.txt @@ -120,6 +120,7 @@ $Id$ "Running" if the router is currently usable. "Named" if the router's identity-nickname mapping is canonical. "Valid" if the router has been 'validated'. + "Authority" if the router is a directory authority. The "r" entry for each router must appear first and is required. The 's" entry is optional. Unrecognized flags, or extra elements on the |