[tor-bugs] #28429 [Core Tor/Tor]: Make the new "extra dormant" code configurable
Tor Bug Tracker & Wiki
blackhole at torproject.org
Thu Nov 15 16:34:26 UTC 2018
#28429: Make the new "extra dormant" code configurable
--------------------------+------------------------------------
Reporter: nickm | Owner: nickm
Type: defect | Status: assigned
Priority: Medium | Milestone: Tor: 0.4.0.x-final
Component: Core Tor/Tor | Version:
Severity: Normal | Resolution:
Keywords: | Actual Points:
Parent ID: #28335 | Points: .5
Reviewer: | Sponsor: Sponsor8
--------------------------+------------------------------------
Comment (by dgoulet):
If we have this concept of a feature that is the "Dormant" feature, I
propose a prefix to group those options. The following is more of a
brainstorm to get that ball rolling.
Replying to [comment:1 nickm]:
> Replying to [ticket:28429 nickm]:
> > I think we want at minimum these options:
> >
> > A way to say how long without activity counts for becoming dormant.
>
> BecomeDormantAfter
`DormantAfter TIME`
`DormantStateAfter TIME`
>
> Minimum: 10 minutes. Maximum: forever. Default: 24 hours.
>
> > A way to say whether having an open stream with no network traffic on
it should keep Tor from becoming dormant.
>
> StayAwakeForIdleStreams
`DormantOffForIdleStreams BOOL`
`DormantDisabledForIdleStreams BOOL`
>
> Boolean. Default: True.
>
> > I think maybe we also want:
> >
> > A way to say how often to check for becoming dormant.
>
> Maybe not, but if we have this, let's name it "CheckDormantPeriod"
`DormantCheckPeriod TIME`
`DormantValidationPeriod TIME`
>
> > A way to say that Tor should start out dormant
>
> StartInDormantMode
`DormantModeOnStart BOOL`
>
> boolean, default false.
>
> > or should remember dormancy status across invocations?
>
> Let's have this be a separate ticket if we decide to do it.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/28429#comment:2>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list