diff options
author | Roger Dingledine <arma@torproject.org> | 2006-10-01 22:16:55 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2006-10-01 22:16:55 +0000 |
commit | a3efc8e3d19a4b221c460f687f780915502542fb (patch) | |
tree | cd70668666e1c4d75192f4ea54e005a28e9b3fb0 /src/or/config.c | |
parent | a23ba84702a402f0bc5b9a81375b344118310b87 (diff) | |
download | tor-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.c | 1 |
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), |