diff options
author | Nick Mathewson <nickm@torproject.org> | 2012-12-11 13:05:35 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2012-12-25 23:14:43 -0500 |
commit | 0f9dfef9d636b269acad75f31e4cd278a1f246e9 (patch) | |
tree | ff024e698e6b64a7aac14e82f4de470fa5a4cbde /src/or/or.h | |
parent | 0c4210fb65d1fe45cbd39ea078be1b09c0f52fc9 (diff) | |
download | tor-0f9dfef9d636b269acad75f31e4cd278a1f246e9.tar.gz tor-0f9dfef9d636b269acad75f31e4cd278a1f246e9.zip |
Add configuration options for directory guards
In addition to all the other ways to make directory gurads not go,
you can now set UseEntryGuardsAsDirGuards to 0.
Diffstat (limited to 'src/or/or.h')
-rw-r--r-- | src/or/or.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/or/or.h b/src/or/or.h index a65ca44ed6..c9ede7508f 100644 --- a/src/or/or.h +++ b/src/or/or.h @@ -3614,6 +3614,9 @@ typedef struct { int UseEntryGuards; /**< Boolean: Do we try to enter from a smallish number * of fixed nodes? */ int NumEntryGuards; /**< How many entry guards do we try to establish? */ + int UseEntryGuardsAsDirGuards; /** Boolean: Do we try to get directory info + * from a smallish number of fixed nodes? */ + int NumDirectoryGuards; /**< How many dir guards do we try to establish? */ int RephistTrackTime; /**< How many seconds do we keep rephist info? */ int FastFirstHopPK; /**< If Tor believes it is safe, should we save a third * of our PK time by sending CREATE_FAST cells? */ |