[tor-bugs] #23538 [Core Tor/Tor]: Allow KISTSchedRunInterval to be negative

Tor Bug Tracker & Wiki blackhole at torproject.org
Tue Sep 19 16:50:14 UTC 2017


#23538: Allow KISTSchedRunInterval to be negative
-----------------------------+------------------------------------
 Reporter:  pastly           |          Owner:  dgoulet
     Type:  defect           |         Status:  assigned
 Priority:  Medium           |      Milestone:  Tor: 0.3.2.x-final
Component:  Core Tor/Tor     |        Version:
 Severity:  Normal           |     Resolution:
 Keywords:  tor-sched, easy  |  Actual Points:
Parent ID:                   |         Points:
 Reviewer:                   |        Sponsor:
-----------------------------+------------------------------------

Comment (by dgoulet):

 Replying to [comment:2 pastly]:
 > Maybe ... just maybe ... using a negative run interval is obsolete logic
 and the Schedulers option should be the way to disable KIST :) That might
 be simpler.

 Yes... I do think 0 should be "use consensus value" else use torrc. And
 not magically "disable KIST" with -1.

 Then. for the scheduler type, it should be `Schedulers` that is used in
 the consensus but for that we need tor to be able to parse consensus param
 as resulting string values. We will also require some sort of value that
 tells tor to look in the consensus by default and fallback to defaults.
 Like: `Schedulers auto` would be the default value in tor and it basically
 does the above (consensus then default list).

 Or we go with an explicit option that is `KISTDisable 0|1` but then what
 to do with `KISTLite` ... ? I'm not a big fan of this...

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


More information about the tor-bugs mailing list