[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[or-cvs] r9283: Document how we set Guard a little better. (in tor/trunk: . doc src/or)
Author: nickm
Date: 2007-01-06 01:32:59 -0500 (Sat, 06 Jan 2007)
New Revision: 9283
Modified:
tor/trunk/
tor/trunk/doc/dir-spec.txt
tor/trunk/src/or/dirserv.c
Log:
r11868@Kushana: nickm | 2007-01-06 01:32:55 -0500
Document how we set Guard a little better.
Property changes on: tor/trunk
___________________________________________________________________
svk:merge ticket from /tor/trunk [r11868] on c95137ef-5f19-0410-b913-86e773d04f59
Modified: tor/trunk/doc/dir-spec.txt
===================================================================
--- tor/trunk/doc/dir-spec.txt 2007-01-06 06:27:15 UTC (rev 9282)
+++ tor/trunk/doc/dir-spec.txt 2007-01-06 06:32:59 UTC (rev 9283)
@@ -450,7 +450,10 @@
known running, valid routers.
"Guard" -- A router is a possible 'Guard' if it is 'Stable' and its
- bandwidth is above median for known running, valid routers.
+ bandwidth is above median for known running, valid routers. If the total
+ bandwidth of Running Valid non-BadExit Exit servers is less than one third
+ of the total bandwidth of all Running Valid servers, no Exit is listed as
+ a Guard.
"Authority" -- A router is called an 'Authority' if the authority
generating the network-status document believes it is an authority.
Modified: tor/trunk/src/or/dirserv.c
===================================================================
--- tor/trunk/src/or/dirserv.c 2007-01-06 06:27:15 UTC (rev 9282)
+++ tor/trunk/src/or/dirserv.c 2007-01-06 06:32:59 UTC (rev 9283)
@@ -1362,7 +1362,6 @@
total_bandwidth += *bw;
if (ri->is_exit && !ri->is_bad_exit)
total_exit_bandwidth += *bw;
- /* XXXX012 Document the one-third behavior in dir-spec.txt. */
smartlist_add(bandwidths, bw);
}
});