diff options
author | Nick Mathewson <nickm@torproject.org> | 2006-10-11 22:06:01 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2006-10-11 22:06:01 +0000 |
commit | eca28f24f51a3b7e59a22002d8119db8a98c781a (patch) | |
tree | b35c2427cc76b50c021863d94f7d481cb9d4d0db /src/or/or.h | |
parent | 7f3fc70945e8f3286c9701c168fa364003949b3e (diff) | |
download | tor-eca28f24f51a3b7e59a22002d8119db8a98c781a.tar.gz tor-eca28f24f51a3b7e59a22002d8119db8a98c781a.zip |
r9004@totoro: nickm | 2006-10-11 18:05:24 -0400
Add client support for a 'BadExit' flag, so authorities can say "Server X is a poor choise for your nytimes.com connections, as it seems to direct them to HoorayForMao.com or (more likely) WouldYouLikeToBuyTheseFineEncyclopedias.com"
svn:r8690
Diffstat (limited to 'src/or/or.h')
-rw-r--r-- | src/or/or.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/or/or.h b/src/or/or.h index d3304cd698..763ce2dbee 100644 --- a/src/or/or.h +++ b/src/or/or.h @@ -925,6 +925,8 @@ typedef struct { unsigned int is_stable:1; /** Do we think this is a stable OR? */ unsigned int is_possible_guard:1; /**< Do we think this is an OK guard? */ unsigned int is_exit:1; /**< Do we think this is an OK exit? */ + unsigned int is_bad_exit:1; /**< Do we think this exit is censored, borked, + * or otherwise nasty? */ /** Tor can use this desc for circuit-building. */ #define ROUTER_PURPOSE_GENERAL 0 @@ -972,6 +974,8 @@ typedef struct routerstatus_t { * directories.) */ unsigned int is_possible_guard:1; /**< True iff this router would be a good * choice as an entry guard. */ + unsigned int is_bad_exit:1; /**< True iff this node is a bad choice for + * an exit node. */ /** True if we, as a directory mirror, want to download the corresponding * routerinfo from the authority who gave us this routerstatus. (That is, |