[tor-bugs] #32344 [Core Tor/Tor]: Make immutability into a config_var_t flag

Tor Bug Tracker & Wiki blackhole at torproject.org
Thu Oct 31 22:26:02 UTC 2019


#32344: Make immutability into a config_var_t flag
-------------------------------------------+-------------------------------
 Reporter:  nickm                          |          Owner:  nickm
     Type:  task                           |         Status:
                                           |  needs_revision
 Priority:  Medium                         |      Milestone:  Tor:
                                           |  0.4.3.x-final
Component:  Core Tor/Tor                   |        Version:
 Severity:  Normal                         |     Resolution:
 Keywords:  network-team-roadmap-november  |  Actual Points:  .2
Parent ID:  #29211                         |         Points:
 Reviewer:  teor                           |        Sponsor:
-------------------------------------------+-------------------------------

Comment (by teor):

 How many kinds of immutability do we need?

 Flags work well if we have a small number of simple kinds of immutability.
 But they still centralise some code.

 We could let modules define an immutability function that gets run on
 every option?
 For example, a sandbox_config module would define an immutability function
 that prevents filenames, IP addresses, and other options changing.
 And if we have relay or dirauth immutability, then those modules could
 define those functions.

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


More information about the tor-bugs mailing list