]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Clean up some XXX comments.
authorMike Perry <mikeperry-git@fscked.org>
Mon, 10 Dec 2012 07:50:05 +0000 (23:50 -0800)
committerMike Perry <mikeperry-git@fscked.org>
Mon, 10 Dec 2012 07:50:05 +0000 (23:50 -0800)
src/or/circuitbuild.c
src/or/circuituse.c
src/or/relay.c

index a724006b289e25971fd6c9e7ea86e5e2bd22699c..f903bbf0957b9664e36d4148c626f744820fa23d 100644 (file)
@@ -1434,10 +1434,6 @@ pathbias_check_close(origin_circuit_t *ocirc, int reason)
     if (circ->timestamp_dirty) {
       /* Any circuit where there were attempted streams but no successful
        * streams could be bias */
-      // XXX: May open up attacks if the adversary can force connections
-      // on unresponsive hosts to use new circs. Vidalia displayes a "Retrying"
-      // state.. Can we use that? Does optimistic data change this?
-
       log_info(LD_CIRC,
             "Circuit %d closed without successful use for reason %d. "
             "Circuit purpose %d currently %s.",
index d3b480139e8ff0d9c9c923c6d7d266daa8f509a3..cb44bba328ad8d7ba0436040f36e2dd79f337d30 100644 (file)
@@ -1166,6 +1166,7 @@ circuit_has_opened(origin_circuit_t *circ)
    * building). */
   // XXX: Cannibalized now use RELAY_EARLY, which is visible
   // to taggers end-to-end! We really need to probe these instead.
+  // Don't forget to remove this check once that's done!
   if (circ->has_opened &&
       circ->build_state->desired_path_len > DEFAULT_ROUTE_LEN) {
     circ->path_state = PATH_STATE_USE_SUCCEEDED;
index 3ee0c835b2cecf627c8341d993fdb5b5f2e6ba5a..6ed4b930ae23e848bff678e5c5adab1b2c180ff8 100644 (file)
@@ -697,7 +697,9 @@ connection_ap_process_end_not_open(
     /* Path bias: If we get a valid reason code from the exit,
      * it wasn't due to tagging */
     // XXX: This relies on recognized+digest being strong enough not
-    // to be spoofable.. Is that a valid assumption?
+    // to be spoofable.. Is that a valid assumption? 
+    // Or more accurately: is it better than nothing? Can the attack
+    // be done offline?
     circ->path_state = PATH_STATE_USE_SUCCEEDED;
   }