aboutsummaryrefslogtreecommitdiff
path: root/src/or/or.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2005-12-15 21:39:38 +0000
committerNick Mathewson <nickm@torproject.org>2005-12-15 21:39:38 +0000
commit89eded7b175dc541a4c140587d48b01cc0e914eb (patch)
tree3f01f0c95f2e9ef36b09c146ceeecbc97008e733 /src/or/or.h
parentcf8c70b79c69b0227f43e42b689da75379ac7069 (diff)
downloadtor-89eded7b175dc541a4c140587d48b01cc0e914eb.tar
tor-89eded7b175dc541a4c140587d48b01cc0e914eb.tar.gz
Add "panic" option to reject all servers not in fingerprint list.
svn:r5601
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 7250265c8..75a2d66af 100644
--- a/src/or/or.h
+++ b/src/or/or.h
@@ -1315,6 +1315,8 @@ typedef struct {
* reject. */
config_line_t *AuthDirInvalid; /**< Address policy for descriptors to
* never mark as valid. */
+ int AuthDirRejectUnlisted; /**< Boolean: do we reject all routers that
+ * aren't named in our fingprint file? */
char *AccountingStart; /**< How long is the accounting interval, and when
* does it start? */
uint64_t AccountingMax; /**< How many bytes do we allow per accounting