summaryrefslogtreecommitdiff
path: root/src/or/config.c
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/config.c
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/config.c')
-rw-r--r--src/or/config.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/or/config.c b/src/or/config.c
index f021fb9c19..8407367ee1 100644
--- a/src/or/config.c
+++ b/src/or/config.c
@@ -172,6 +172,7 @@ static config_var_t _option_vars[] = {
VAR("HiddenServiceNodes", LINELIST_S, RendConfigLines, NULL),
VAR("HiddenServiceOptions",LINELIST_V, RendConfigLines, NULL),
VAR("HiddenServicePort", LINELIST_S, RendConfigLines, NULL),
+ VAR("HSAuthoritativeDir", BOOL, HSAuthoritativeDir, "0"),
VAR("HttpProxy", STRING, HttpProxy, NULL),
VAR("HttpProxyAuthenticator",STRING, HttpProxyAuthenticator,NULL),
VAR("HttpsProxy", STRING, HttpsProxy, NULL),