Opened 3 years ago

Closed 3 years ago

#23763 closed defect (wontfix)

hs-v3: If a client can't launch a desc fetch, it shouldn't try to open IP/RP circuits

Reported by: dgoulet Owned by:
Priority: Medium Milestone: Tor: 0.3.2.x-final
Component: Core Tor/Tor Version:
Severity: Normal Keywords: tor-hs, prop224
Cc: 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.

Child Tickets

Change History (1)

comment:1 Changed 3 years ago by dgoulet

Resolution: wontfix
Status: newclosed

#23762 is addressing the issue without adding a new connection state. This ticket isn't a thing anymore due to that fix. We'll simply put the connection in "waiting for descriptor" and we go over those connections when our dir info has changed.

Note: See TracTickets for help on using tickets.