diff options
author | Nick Mathewson <nickm@torproject.org> | 2012-01-13 12:28:32 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2012-01-13 12:28:47 -0500 |
commit | 938531773a017e6eb70f11e81a0543e81413f83f (patch) | |
tree | 860f0854a6725790a551e4ff9a733796cd4794a2 /src/or/or.h | |
parent | fbd243a1652d7d610e9c8e00901638662cbe34c5 (diff) | |
download | tor-938531773a017e6eb70f11e81a0543e81413f83f.tar.gz tor-938531773a017e6eb70f11e81a0543e81413f83f.zip |
Allow authorities to baddir/badexit/invalid/reject nodes by cc
Implements ticket #4207
Diffstat (limited to 'src/or/or.h')
-rw-r--r-- | src/or/or.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/or/or.h b/src/or/or.h index 0fcb083a4e..21cb074408 100644 --- a/src/or/or.h +++ b/src/or/or.h @@ -3237,6 +3237,19 @@ typedef struct { * reject. */ config_line_t *AuthDirInvalid; /**< Address policy for descriptors to * never mark as valid. */ + /** @name AuthDir...CC + * + * Lists of of country codes to mark as BadDir, BadExit, or Invalid, or to + * reject entirely. + * + * @{ + */ + smartlist_t *AuthDirBadDirCC; + smartlist_t *AuthDirBadExitCC; + smartlist_t *AuthDirRejectCC; + smartlist_t *AuthDirInvalidCC; + /**@}*/ + int AuthDirListBadDirs; /**< True iff we should list bad dirs, * and vote for all other dir mirrors as good. */ int AuthDirListBadExits; /**< True iff we should list bad exits, |