소스 검색

Turn on ntor by default client-side

Implements #8561.
Nick Mathewson 11 년 전
부모
커밋
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"),