aboutsummaryrefslogtreecommitdiff
path: root/src/or/or.h
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2006-10-01 22:16:55 +0000
committerRoger Dingledine <arma@torproject.org>2006-10-01 22:16:55 +0000
commita3efc8e3d19a4b221c460f687f780915502542fb (patch)
treecd70668666e1c4d75192f4ea54e005a28e9b3fb0 /src/or/or.h
parenta23ba84702a402f0bc5b9a81375b344118310b87 (diff)
downloadtor-a3efc8e3d19a4b221c460f687f780915502542fb.tar.gz
tor-a3efc8e3d19a4b221c460f687f780915502542fb.zip
- V1 authorities should set "HSAuthoritativeDir 1" to continue being
hidden service authorities too. - Just because your DirPort is open doesn't mean people should be able to remotely teach you about hidden service descriptors. Now only accept rendezvous posts if you've got HSAuthoritativeDir set. svn:r8573
Diffstat (limited to 'src/or/or.h')
-rw-r--r--src/or/or.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/or/or.h b/src/or/or.h
index 4fe16012e7..a73b284bd9 100644
--- a/src/or/or.h
+++ b/src/or/or.h
@@ -1442,8 +1442,10 @@ typedef struct {
int DirPort; /**< Port to listen on for directory connections. */
int AssumeReachable; /**< Whether to publish our descriptor regardless. */
int AuthoritativeDir; /**< Boolean: is this an authoritative directory? */
- int V1AuthoritativeDir; /**< Boolean: is this an authoritative directory?
+ int V1AuthoritativeDir; /**< Boolean: is this an authoritative directory
* for version 1 directories? */
+ int HSAuthoritativeDir; /**< Boolean: does this an authoritative directory
+ * handle hidden service requests? */
int NamingAuthoritativeDir; /**< Boolean: is this an authoritative directory
* that's willing to bind names? */
int VersioningAuthoritativeDir; /**< Boolean: is this an authoritative