瀏覽代碼

Bridges and relays now use microdescriptors

(like clients do) rather than old-style router descriptors. Now bridges
will blend in with clients in terms of the circuits they build.

Fixes bug 6769; bugfix on 0.2.3.2-alpha.
Roger Dingledine 8 年之前
父節點
當前提交
782b6ec288
共有 2 個文件被更改,包括 7 次插入6 次删除
  1. 5 0
      changes/bug6769
  2. 2 6
      src/or/microdesc.c

+ 5 - 0
changes/bug6769

@@ -0,0 +1,5 @@
+  o Minor bugfixes:
+    - Bridges and relays now use microdescriptors (like clients do)
+      rather than old-style router descriptors. Now bridges will blend in
+      with clients in terms of the circuits they build. Fixes bug 6769;
+      bugfix on 0.2.3.2-alpha.

+ 2 - 6
src/or/microdesc.c

@@ -919,12 +919,8 @@ we_use_microdescriptors_for_circuits(const or_options_t *options)
 {
   int ret = options->UseMicrodescriptors;
   if (ret == -1) {
-    /* UseMicrodescriptors is "auto"; we need to decide: */
-    /* We'll use microdescriptors iff we are
-     * not a server, and we're not autofetching everything. */
-    /* XXXX++ what does not being a server have to do with it? also there's
-     * a partitioning issue here where bridges differ from clients. */
-    ret = !server_mode(options) && !options->FetchUselessDescriptors;
+    /* UseMicrodescriptors is "auto"; choose yes. */
+    return 1;
   }
   return ret;
 }