Преглед на файлове

Turn on ntor by default client-side

Implements #8561.
Nick Mathewson преди 12 години
родител
ревизия
0124b10d28
променени са 3 файла, в които са добавени 6 реда и са изтрити 3 реда
  1. 3 0
      changes/bug8561
  2. 2 2
      doc/tor.1.txt
  3. 1 1
      src/or/config.c

+ 3 - 0
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.

+ 2 - 2
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__ +
 

+ 1 - 1
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"),