[or-cvs] Declare 0.1.1.7 as The Version With The Good Dirservers.
Nick Mathewson
nickm at seul.org
Wed Sep 14 19:12:37 UTC 2005
Update of /home/or/cvsroot/tor/src/or
In directory moria:/tmp/cvs-serv25996/src/or
Modified Files:
routerlist.c
Log Message:
Declare 0.1.1.7 as The Version With The Good Dirservers.
Index: routerlist.c
===================================================================
RCS file: /home/or/cvsroot/tor/src/or/routerlist.c,v
retrieving revision 1.286
retrieving revision 1.287
diff -u -d -r1.286 -r1.287
--- routerlist.c 13 Sep 2005 21:18:00 -0000 1.286
+++ routerlist.c 14 Sep 2005 19:12:35 -0000 1.287
@@ -365,9 +365,12 @@
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);
More information about the tor-commits
mailing list