[tor-commits] [tor/master] Turn on ntor by default client-side

nickm at torproject.org nickm at torproject.org
Fri Apr 19 02:35:35 UTC 2013


commit 0124b10d2850c42e61a4ba65f61af579b47f425b
Author: Nick Mathewson <nickm at torproject.org>
Date:   Thu Apr 18 22:35:15 2013 -0400

    Turn on ntor by default client-side
    
    Implements #8561.
---
 changes/bug8561 |    3 +++
 doc/tor.1.txt   |    4 ++--
 src/or/config.c |    2 +-
 3 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/changes/bug8561 b/changes/bug8561
new file mode 100644
index 0000000..598071a
--- /dev/null
+++ b/changes/bug8561
@@ -0,0 +1,3 @@
+  o Major features:
+    - The ntor handshake is now on-by-default, no matter what the
+      directory authorities recommend. Implements ticket 8561.
diff --git a/doc/tor.1.txt b/doc/tor.1.txt
index adcf6b7..0a6f8f5 100644
--- a/doc/tor.1.txt
+++ b/doc/tor.1.txt
@@ -1253,9 +1253,9 @@ The following options are useful only for clients (that is, if
     it too early might make your client stand out. If this option is 0, your
     Tor client won't use the ntor handshake. If it's 1, your Tor client
     will use the ntor handshake to extend circuits through servers that
-    support it. If this option is "auto" (recommended), then your client
+    support it. If this option is "auto", then your client
     will use the ntor handshake once enough directory authorities recommend
-    it. (Default: auto)
+    it. (Default: 1)
 
 **PathBiasCircThreshold** __NUM__ +
 
diff --git a/src/or/config.c b/src/or/config.c
index cd9acf4..c57feaf 100644
--- a/src/or/config.c
+++ b/src/or/config.c
@@ -404,7 +404,7 @@ static config_var_t option_vars_[] = {
   V(UseEntryGuards,              BOOL,     "1"),
   V(UseEntryGuardsAsDirGuards,   BOOL,     "1"),
   V(UseMicrodescriptors,         AUTOBOOL, "auto"),
-  V(UseNTorHandshake,            AUTOBOOL, "auto"),
+  V(UseNTorHandshake,            AUTOBOOL, "1"),
   V(User,                        STRING,   NULL),
   V(UserspaceIOCPBuffers,        BOOL,     "0"),
   VAR("V1AuthoritativeDirectory",BOOL, V1AuthoritativeDir,   "0"),



More information about the tor-commits mailing list