aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2005-09-14 19:12:35 +0000
committerNick Mathewson <nickm@torproject.org>2005-09-14 19:12:35 +0000
commitd9ee94543e000aaae2f5bae3dde0d60b33ee8b2d (patch)
tree7635f27b1a0d6cfd95b28942a8c8ae8076d07cc7
parentdb27c322838caa9861b918a64630232bdc5d86e7 (diff)
downloadtor-d9ee94543e000aaae2f5bae3dde0d60b33ee8b2d.tar.gz
tor-d9ee94543e000aaae2f5bae3dde0d60b33ee8b2d.zip
Declare 0.1.1.7 as The Version With The Good Dirservers.
svn:r5061
-rw-r--r--src/or/routerlist.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/or/routerlist.c b/src/or/routerlist.c
index 352e3f5325..161d7959e4 100644
--- a/src/or/routerlist.c
+++ b/src/or/routerlist.c
@@ -365,9 +365,12 @@ router_pick_directory_server_impl(int requireother, int fascistfirewall,
if (!fascist_firewall_allows_address(router->addr, router->dir_port))
continue;
}
- /* before 0.1.1.6-alpha, only trusted dirservers served status info. */
+ /* Before 0.1.1.6-alpha, only trusted dirservers served status info.
+ * Before 0.1.1.7-alpha, retrieving nonexistent server IDs could bork
+ * the directory server.
+ */
if (for_v2_directory &&
- !(tor_version_as_new_as(router->platform,"0.1.1.6-alpha") ||
+ !(tor_version_as_new_as(router->platform,"0.1.1.7-alpha") ||
router_digest_is_trusted_dir(router->identity_digest)))
continue;
smartlist_add(sl, router);