[tor-bugs] #28849 [Core Tor/Tor]: Handle dormant mode in process library and for PT's
Tor Bug Tracker & Wiki
blackhole at torproject.org
Fri May 10 14:29:35 UTC 2019
#28849: Handle dormant mode in process library and for PT's
--------------------------+----------------------------------
Reporter: ahf | Owner: (none)
Type: enhancement | Status: needs_review
Priority: High | Milestone: Tor: unspecified
Component: Core Tor/Tor | Version: Tor: unspecified
Severity: Normal | Resolution:
Keywords: 041-proposed | Actual Points:
Parent ID: | Points:
Reviewer: | Sponsor: Sponsor19
--------------------------+----------------------------------
Changes (by ahf):
* status: new => needs_review
Comment:
I've tried to make a proposal patch here:
https://github.com/ahf/torspec/commit/49d1cf355c350816ded4ea2e7d5772042aaa9d08
I think it works like you describe in (3) that it's purely asynchronous
and it always behaves as a hint to the PT that now is the time for the PT
to enter its dormant state. If the PT is busy with something, it will wait
a bit, and respond once its able to fulfill the request.
This spec update also contains your (1) where the Tor process and the PT
negotiates supported features. If the PT does NOT announce dormant
support, Tor wont send the "SIGNAL DORMANT-*" events. All events in the
update must be confirmed by either Tor or the PT as per (2).
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/28849#comment:7>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list