summaryrefslogtreecommitdiff
path: root/src/or/or.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2006-10-19 15:45:48 +0000
committerNick Mathewson <nickm@torproject.org>2006-10-19 15:45:48 +0000
commit4443934702da0aee0a553bc8b0639fe192b103fd (patch)
treeca72ae98c9fa8bdbd76e8f2da388f26c7da8af7f /src/or/or.h
parent3ef3fcae5553fd61f27ac96fe175709c300b2e2e (diff)
downloadtor-4443934702da0aee0a553bc8b0639fe192b103fd.tar.gz
tor-4443934702da0aee0a553bc8b0639fe192b103fd.zip
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
Diffstat (limited to 'src/or/or.h')
-rw-r--r--src/or/or.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/or/or.h b/src/or/or.h
index 68c176ef0e..7c9d2ee51e 100644
--- a/src/or/or.h
+++ b/src/or/or.h
@@ -1041,6 +1041,8 @@ typedef struct networkstatus_t {
unsigned int recommends_versions:1; /**< True iff this directory server
* recommends client and server software
* versions. */
+ unsigned int lists_bad_exits:1; /** True iff this directory server marks
+ * malfunctioning exits as bad. */
smartlist_t *entries; /**< List of routerstatus_t*. This list is kept
* sorted by identity_digest. */