r9091@totoro: nickm | 2006-10-19 11:45:28 -0400

Change to BadExit logic: Let authorities set an "I list bad exits" flag.  Consider an exit bad if it is listed as bad by more than half of *those* authorities.  This gives us a better migration path.


svn:r8756
This commit is contained in:
Nick Mathewson 2006-10-19 15:45:48 +00:00
parent 06ae9041c5
commit 7f30f36bdf
2 changed files with 5 additions and 2 deletions

View File

@ -329,6 +329,8 @@ $Id$
"dir-options" -- A set of flags, in any order, separated by whitespace:
"Names" if this directory authority performs name bindings.
"Versions" if this directory authority recommends software versions.
"BadExits" if the directory authority flags nodes that it believes
are performing incorrectly as exit nodes.
The dir-options entry is optional. The "-versions" entries are required if
the "Versions" flag is present. The other entries are required and must

View File

@ -208,8 +208,9 @@ of their choices.
such a connection if any clause that accepts any connections to that port
precedes all clauses (if any) that reject all connections to that port.
Unless requested to do so by the user, we never choose a server flagged by
more than half of the authorities as BadExit for an exit server.
Unless requested to do so by the user, we never choose an exit server
flagged as "BadExit" by more than half of the authorities who advertise
themselves as listing bad exits.
2.2.2. User configuration