[tor-bugs] #30382 [Core Tor/Tor]: Provide control port event for when we are missing v3 client auth for an onion

Tor Bug Tracker & Wiki blackhole at torproject.org
Wed May 8 17:55:29 UTC 2019


#30382: Provide control port event for when we are missing v3 client auth for an
onion
--------------------------------------------+------------------------------
 Reporter:  asn                             |          Owner:  dgoulet
     Type:  defect                          |         Status:  accepted
 Priority:  Medium                          |      Milestone:  Tor:
                                            |  0.4.2.x-final
Component:  Core Tor/Tor                    |        Version:
 Severity:  Normal                          |     Resolution:
 Keywords:  tor-hs, tbb-usability, hs-auth  |  Actual Points:
Parent ID:  #14389                          |         Points:  6
 Reviewer:                                  |        Sponsor:
                                            |  Sponsor27-must
--------------------------------------------+------------------------------

Comment (by dgoulet):

 Replying to [comment:5 mcs]:
 > Specifically, I wonder if it will be safe for Tor Browser to assume the
 control port event will be sent before the browser receives a failure for
 the CONNECT, or at least to assume that will occur in most cases.

 Hmmm... Control port events, when they occur, are queued in a list and
 then an tor main loop event will send the queued events on the socket.

 So, if I'm not mistaken, you will get a connect failure _before_ you get
 the control port event because tor will return the SOCKS failure before
 that control port "empty queue" event is triggered.

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


More information about the tor-bugs mailing list