[tor-bugs] #23988 [Core Tor/Tor]: connection_dir_request_failed() not handling HS purposes

Tor Bug Tracker & Wiki blackhole at torproject.org
Wed Oct 25 15:52:40 UTC 2017


#23988: connection_dir_request_failed() not handling HS purposes
------------------------------+--------------------------------
     Reporter:  dgoulet       |      Owner:  (none)
         Type:  defect        |     Status:  new
     Priority:  Medium        |  Milestone:  Tor: 0.3.3.x-final
    Component:  Core Tor/Tor  |    Version:
     Severity:  Normal        |   Keywords:  tor-hs
Actual Points:                |  Parent ID:
       Points:                |   Reviewer:
      Sponsor:                |
------------------------------+--------------------------------
 When a directory connection didn't finish or maybe timed out,
 `connection_dir_request_failed()` is called so we can take appropriate
 actions depending on the directory purpose.

 We do NOT handle any HS purposes which can lead, client side, to having a
 SOCKS request stuck in `RENDDESC_WAIT` state if for instance we couldn't
 query more HSDir after that.

 Another problem with this is for the upload descriptor. We usually launch
 6 upload to 6 HSDir but if one never finished, this function is called and
 the HS service subsystem is never notified thus it thinks it was able to
 upload to all HSDir where in reality one or more are missing. We probably
 want a callback so we can tell the service to retry on that HSDir or give
 up on it?

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


More information about the tor-bugs mailing list