aboutsummaryrefslogtreecommitdiff
path: root/src/or/config.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2015-01-03 12:34:52 -0500
committerNick Mathewson <nickm@torproject.org>2015-01-03 12:34:52 -0500
commit74cd57517c10fd99345ffcc90d9376f9144e675a (patch)
tree647a4743233d7cf5961a62a2c75d65a7ff9e245f /src/or/config.c
parentfc0febc5c62a8c5ad2373b43641a70a8d793a469 (diff)
downloadtor-74cd57517c10fd99345ffcc90d9376f9144e675a.tar.gz
tor-74cd57517c10fd99345ffcc90d9376f9144e675a.zip
New option "HiddenServiceAllowUnknownPorts"
This allows hidden services to disable the anti-scanning feature introduced in 0.2.6.2-alpha. With this option not set, a connection to an unlisted port closes the circuit. With this option set, only a RELAY_DONE cell is sent. Closes ticket #14084.
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 d70d6acb59..e0043d8de1 100644
--- a/src/or/config.c
+++ b/src/or/config.c
@@ -269,6 +269,7 @@ static config_var_t option_vars_[] = {
VAR("HiddenServicePort", LINELIST_S, RendConfigLines, NULL),
VAR("HiddenServiceVersion",LINELIST_S, RendConfigLines, NULL),
VAR("HiddenServiceAuthorizeClient",LINELIST_S,RendConfigLines, NULL),
+ VAR("HiddenServiceAllowUnknownPorts",LINELIST_S, RendConfigLines, NULL),
V(HiddenServiceStatistics, BOOL, "0"),
V(HidServAuth, LINELIST, NULL),
V(CloseHSClientCircuitsImmediatelyOnTimeout, BOOL, "0"),