Quellcode durchsuchen

The UseCreateFast consensus parameter now defaults to 0.

You can still override it with FastFirstHopPK.  But that's
deprecated.

Closes ticket 21407.
Nick Mathewson vor 8 Jahren
Ursprung
Commit
d004b9222e
2 geänderte Dateien mit 5 neuen und 1 gelöschten Zeilen
  1. 4 0
      changes/bug21407
  2. 1 1
      src/or/circuitbuild.c

+ 4 - 0
changes/bug21407

@@ -0,0 +1,4 @@
+  o Minor features (defaults, security):
+    - The default value for UseCreateFast is now 0: clients which haven't yet
+      received a consensus document will nonetheless use a proper handshake
+      to talk to their directory servers (when they can). Closes ticket 21407.

+ 1 - 1
src/or/circuitbuild.c

@@ -819,7 +819,7 @@ should_use_create_fast_for_circuit(origin_circuit_t *circ)
   }
   if (options->FastFirstHopPK == -1) {
     /* option is "auto", so look at the consensus. */
-    return networkstatus_get_param(NULL, "usecreatefast", 1, 0, 1);
+    return networkstatus_get_param(NULL, "usecreatefast", 0, 0, 1);
   }
 
   return options->FastFirstHopPK;