[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [tor-bugs] #30382 [Core Tor/Tor]: Provide control port event for when we are missing v3 client auth for an onion
#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
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs