[tor-bugs] #11965 [Tor]: 60-second pause bootstrapping with a bridge if you already have its descriptor

Tor Bug Tracker & Wiki blackhole at torproject.org
Tue May 20 17:55:58 UTC 2014


#11965: 60-second pause bootstrapping with a bridge if you already have its
descriptor
------------------------+--------------------------------
     Reporter:  arma    |      Owner:
         Type:  defect  |     Status:  needs_review
     Priority:  normal  |  Milestone:  Tor: 0.2.5.x-final
    Component:  Tor     |    Version:
   Resolution:          |   Keywords:  tor-bridge
Actual Points:          |  Parent ID:
       Points:          |
------------------------+--------------------------------

Comment (by dcf):

 Replying to [comment:10 nickm]:
 > I note that should_delay_dir_fetches() doesn't look at DisableNetwork.
 Does the above patch (the one in comment 7) generate warnings with
 DisableNetwork?

 I added `DisableNetwork 1` to the torrc from comment:8, and got:
 {{{
 May 20 10:51:45.703 [notice] Tor v0.2.5.4-alpha-dev (git-767b18ea8eebc2c0)
 running on Linux with Libevent 2.0.21-stable, OpenSSL 1.0.1h-dev and Zlib
 1.2.8.
 May 20 10:51:45.704 [notice] Tor can't help you if you use it wrong! Learn
 how to be safe at https://www.torproject.org/download/download#warning
 May 20 10:51:45.704 [notice] This version is not a stable Tor release.
 Expect more bugs than usual.
 May 20 10:51:45.704 [notice] Read configuration file
 "/home/david/tmp/torrc".
 May 20 10:51:45.710 [notice] DisableNetwork is set. Tor will not make or
 accept non-control network connections. Shutting down all existing
 connections.
 May 20 10:51:45.000 [notice] Bootstrapped 0%: Starting
 May 20 10:51:45.000 [notice] new bridge descriptor 'Unnamed' (cached):
 $AF9F66B7B04F8FF6F32D455F05135250A16543C9~Unnamed at 169.229.59.74
 }}}

 info-level logging prints a lot more, but I suppose what you're interested
 in is:
 {{{
 May 20 10:54:39.000 [info] I learned some more directory information, but
 not enough to build a circuit: We have no usable consensus.
 May 20 10:54:40.000 [info] should_delay_dir_fetches(): Delaying dir
 fetches (DisableNetwork is set)
 May 20 10:54:40.000 [info] should_delay_dir_fetches(): Delaying dir
 fetches (DisableNetwork is set)
 May 20 10:54:40.000 [info] or_state_save(): Saved state to "datadir/state"
 May 20 10:54:41.000 [info] should_delay_dir_fetches(): Delaying dir
 fetches (DisableNetwork is set)
 May 20 10:54:41.000 [info] should_delay_dir_fetches(): Delaying dir
 fetches (DisableNetwork is set)
 May 20 10:54:42.000 [info] should_delay_dir_fetches(): Delaying dir
 fetches (DisableNetwork is set)
 May 20 10:54:42.000 [info] should_delay_dir_fetches(): Delaying dir
 fetches (DisableNetwork is set)
 }}}

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


More information about the tor-bugs mailing list