[tor-bugs] #9927 [Tor]: Clients that use microdescriptors don't emit descriptor-fetching bootstrap events

Tor Bug Tracker & Wiki blackhole at torproject.org
Tue Oct 8 16:15:05 UTC 2013


#9927: Clients that use microdescriptors don't emit descriptor-fetching bootstrap
events
-----------------------------+-------------------------------------
     Reporter:  arma         |      Owner:
         Type:  enhancement  |     Status:  needs_review
     Priority:  normal       |  Milestone:  Tor: 0.2.5.x-final
    Component:  Tor          |    Version:
   Resolution:               |   Keywords:  tor-client 024-backport
Actual Points:               |  Parent ID:
       Points:               |
-----------------------------+-------------------------------------

Comment (by nickm):

 Without this patch, the startup looks like:
 {{{
 Oct 08 12:14:06.000 [notice] We now have enough directory information to
 build circuits.
 Oct 08 12:14:06.000 [notice] Bootstrapped 80%: Connecting to the Tor
 network.
 Oct 08 12:14:07.000 [notice] Bootstrapped 85%: Finishing handshake with
 first hop.
 Oct 08 12:14:08.000 [notice] Bootstrapped 90%: Establishing a Tor circuit.
 Oct 08 12:14:09.000 [notice] Tor has successfully opened a circuit. Looks
 like client functionality is working.
 Oct 08 12:14:09.000 [notice] Bootstrapped 100%: Done.
 }}}
 and no other bootstrapping events are reported.

 With the patch, startup looks like:
 {{{
 Oct 08 12:12:37.000 [notice] I learned some more directory information,
 but not enough to build a circuit: We need more microdescriptors: we have
 2/4502, and can only build 0% of likely paths. (We have 0% of guards bw,
 0% of midpoint bw, and 0% of exit bw.)
 Oct 08 12:12:37.000 [notice] Bootstrapped 50%: Loading relay descriptors.
 Oct 08 12:12:37.000 [notice] Bootstrapped 52%: Loading relay descriptors.
 Oct 08 12:12:37.000 [notice] Bootstrapped 54%: Loading relay descriptors.
 Oct 08 12:12:37.000 [notice] Bootstrapped 57%: Loading relay descriptors.
 Oct 08 12:12:37.000 [notice] Bootstrapped 59%: Loading relay descriptors.
 Oct 08 12:12:37.000 [notice] I learned some more directory information,
 but not enough to build a circuit: We need more microdescriptors: we have
 364/4502, and can only build 0% of likely paths. (We have 8% of guards bw,
 10% of midpoint bw, and 10% of exit bw.)
 Oct 08 12:12:38.000 [notice] Bootstrapped 61%: Loading relay descriptors.
 Oct 08 12:12:38.000 [notice] Bootstrapped 64%: Loading relay descriptors.
 Oct 08 12:12:38.000 [notice] Bootstrapped 66%: Loading relay descriptors.
 Oct 08 12:12:38.000 [notice] Bootstrapped 68%: Loading relay descriptors.
 Oct 08 12:12:38.000 [notice] Bootstrapped 71%: Loading relay descriptors.
 Oct 08 12:12:38.000 [notice] Bootstrapped 73%: Loading relay descriptors.
 Oct 08 12:12:38.000 [notice] Bootstrapped 75%: Loading relay descriptors.
 Oct 08 12:12:38.000 [notice] Bootstrapped 78%: Loading relay descriptors.
 Oct 08 12:12:39.000 [notice] We now have enough directory information to
 build circuits.
 Oct 08 12:12:39.000 [notice] Bootstrapped 80%: Connecting to the Tor
 network.
 Oct 08 12:12:39.000 [notice] Bootstrapped 90%: Establishing a Tor circuit.
 Oct 08 12:12:41.000 [notice] Tor has successfully opened a circuit. Looks
 like client functionality is working.
 Oct 08 12:12:41.000 [notice] Bootstrapped 100%: Done.
 }}}

 This looks right-ish to me, though this could be a bit verbose.  Do we
 want this for 0.2.4 or for 0.2.5?

-- 
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/9927#comment:3>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list