[tor-bugs] #23653 [Core Tor/Tor]: When accessing onion service with no fetchable descriptor, Tor sits around until timeout rather than hanging up

Tor Bug Tracker & Wiki blackhole at torproject.org
Tue Sep 26 04:15:22 UTC 2017


#23653: When accessing onion service with no fetchable descriptor, Tor sits around
until timeout rather than hanging up
------------------------------+------------------------
     Reporter:  arma          |      Owner:  (none)
         Type:  defect        |     Status:  new
     Priority:  Medium        |  Milestone:
    Component:  Core Tor/Tor  |    Version:
     Severity:  Normal        |   Keywords:  regression
Actual Points:                |  Parent ID:
       Points:                |   Reviewer:
      Sponsor:                |
------------------------------+------------------------
 Running Tor git master, and trying to connect to an onion address that I
 just made up (nothing has ever been there):
 {{{
 $ torify telnet qiu3onp7v7z25u5i.onion 80
 telnet: Unable to connect to remote host: Connection timed out
 }}}
 And on the Tor log I see
 {{{
 Sep 25 23:54:17.776 [notice] Tried for 120 seconds to get a connection to
 qiu3onp7v7z25u5i:80. Giving up. (waiting for rendezvous desc)
 }}}

 That is, it took 120 seconds to fail.

 Compare to when using Tor release-0.2.5:
 {{{
 $ torify telnet qiu3onp7v7z25u5i.onion 80
 telnet: Unable to connect to remote host: No route to host
 }}}

 and the Tor log says
 {{{
 Sep 26 00:06:37.515 [notice] Closing stream for 'qiu3onp7v7z25u5i.onion':
 hidden service is unavailable (try again later).
 }}}

 In the Tor 0.2.5 case, I got my answer in 5-10 seconds: it tried each of
 the hsdirs, and when the last one said 404, it hung up on the stream. In
 the Tor master case, it *knew* the answer in 5-10 seconds, but it just let
 my stream sit there doing nothing until the timeout arrived.

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


More information about the tor-bugs mailing list