[tor-bugs] #27863 [Core Tor/Tor]: Bootstrap hangs when disconnected

Tor Bug Tracker & Wiki blackhole at torproject.org
Tue Sep 25 21:26:34 UTC 2018


#27863: Bootstrap hangs when disconnected
------------------------------+--------------------
     Reporter:  atagar        |      Owner:  (none)
         Type:  defect        |     Status:  new
     Priority:  High          |  Milestone:
    Component:  Core Tor/Tor  |    Version:
     Severity:  Major         |   Keywords:
Actual Points:                |  Parent ID:
       Points:                |   Reviewer:
      Sponsor:                |
------------------------------+--------------------
 Hi network team. When disconnected from the network tor bootstrapping
 hangs of late...

 {{{
 % cat dummy_torrc
 SocksPort 0
 ControlPort 9051
 CookieAuthentication 1
 ExitPolicy reject *:*
 }}}

 {{{
 % tor -f dummy_torrc
 Sep 25 10:45:09.631 [notice] Tor 0.3.5.2-alpha-dev (git-7d9bea6a773cc18c)
 running on Linux with Libevent 2.0.21-stable, OpenSSL 1.0.2g, Zlib 1.2.8,
 Liblzma N/A, and Libzstd N/A.
 Sep 25 10:45:09.632 [notice] Tor can't help you if you use it wrong! Learn
 how to be safe at https://www.torproject.org/download/download#warning
 Sep 25 10:45:09.632 [notice] This version is not a stable Tor release.
 Expect more bugs than usual.
 Sep 25 10:45:09.632 [notice] Read configuration file
 "/home/atagar/Desktop/stem/dummy_torrc".
 Sep 25 10:45:09.634 [notice] Opening Control listener on 127.0.0.1:9051
 Sep 25 10:45:09.634 [notice] Opened Control listener on 127.0.0.1:9051
 Sep 25 10:45:09.000 [notice] Bootstrapped 0%: Starting
 Sep 25 10:45:10.000 [notice] Starting with guard context "default"

 [ waited five minutes, didn't get any further ]

 ^CSep 25 10:50:11.000 [notice] Interrupt: exiting cleanly.
 }}}

 This is of concern to me because when Stem launches a tor instance it
 waits for a bootstrap message indicating success. As such, tools like tor-
 prompt hang when not connected to a network.

 This once wasn't the case but I'm unsure when it regressed.

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


More information about the tor-bugs mailing list