aboutsummaryrefslogtreecommitdiff
path: root/src/or/config.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2012-11-28 11:09:37 -0500
committerRoger Dingledine <arma@torproject.org>2013-03-10 20:31:53 -0400
commite4614d30e58007be1d44613d039891b6f131f50f (patch)
treec3fb910f66e84dd5c576f8de5bf4ad6e72a02e8b /src/or/config.c
parent301faf281391698e44eb3a8d400b477716a74fd4 (diff)
downloadtor-e4614d30e58007be1d44613d039891b6f131f50f.tar
tor-e4614d30e58007be1d44613d039891b6f131f50f.tar.gz
Add a DisableV2DirectoryInfo_ option to 404 all v2 ns requests
I have no idea whether b0rken clients will DoS the network if the v2 authorities all turn this on or not. It's experimental. See #6783 for a description of how to test it more or less safely, and please be careful!
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 f88842624..7e020b863 100644
--- a/src/or/config.c
+++ b/src/or/config.c
@@ -213,6 +213,7 @@ static config_var_t option_vars_[] = {
V(DisableAllSwap, BOOL, "0"),
V(DisableDebuggerAttachment, BOOL, "1"),
V(DisableIOCP, BOOL, "1"),
+ V(DisableV2DirectoryInfo_, BOOL, "1"),
V(DynamicDHGroups, BOOL, "0"),
VPORT(DNSPort, LINELIST, NULL),
V(DNSListenAddress, LINELIST, NULL),