[tor-bugs] #23763 [Core Tor/Tor]: hs-v3: If a client can't launch a desc fetch, it shouldn't try to open IP/RP circuits

Tor Bug Tracker & Wiki blackhole at torproject.org
Wed Oct 4 14:01:33 UTC 2017


#23763: hs-v3: If a client can't launch a desc fetch, it shouldn't try to open
IP/RP circuits
------------------------------+--------------------------------
     Reporter:  dgoulet       |      Owner:  (none)
         Type:  defect        |     Status:  new
     Priority:  Medium        |  Milestone:  Tor: 0.3.2.x-final
    Component:  Core Tor/Tor  |    Version:
     Severity:  Normal        |   Keywords:  tor-hs, prop224
Actual Points:                |  Parent ID:
       Points:                |   Reviewer:
      Sponsor:                |
------------------------------+--------------------------------
 Because the SOCKS connection is put in "circuit wait" state if we are ever
 missing dirinfo, tor connection subsystem will try to launch the IP/RP
 because it thinks the socks request is waiting for those circuits.

 The IP circuit won't work because we can't pick an intro point from the
 non existing descriptor so that is OK but the RP is still launched. It
 could be OK but then it can timeout if getting the descriptor takes too
 long or if the .onion simply doesn't exists.

 Because of #23762, I think the right solution here is to have a new AP
 connection state that is "missing dirinfo" and just avoid entirely to try
 to open circuits in that situation.

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


More information about the tor-bugs mailing list