[tor-bugs] #32213 [Core Tor/Tor]: Phase 1: Disable minimal dirauth and relay options when those modules are disabled

Tor Bug Tracker & Wiki blackhole at torproject.org
Wed Oct 30 07:53:53 UTC 2019


#32213: Phase 1: Disable minimal dirauth and relay options when those modules are
disabled
-------------------------------------------------+-------------------------
 Reporter:  teor                                 |          Owner:  teor
     Type:  defect                               |         Status:
                                                 |  needs_revision
 Priority:  Medium                               |      Milestone:  Tor:
                                                 |  0.4.3.x-final
Component:  Core Tor/Tor                         |        Version:
 Severity:  Normal                               |     Resolution:
 Keywords:  tor-design, network-team-roadmap-    |  Actual Points:  1.7
  october                                        |
Parent ID:  #31851                               |         Points:  0.5
 Reviewer:  nickm                                |        Sponsor:
                                                 |  Sponsor31-must
-------------------------------------------------+-------------------------

Comment (by teor):

 I have moved or modified all the code that uses the target relay and
 dirauth options out of config.c, which should make it easier and safer to
 disable them.

 TODO:

 relay

 * disable relay config when module is disabled
 * relay cleanup

 relay/dirauth

 * rename new global functions so they are tied to a module/type

 standard

 * improve test coverage, if reasonable
 * changes file
 * autoformat
 * regenerate practracker, but only commit the changes that tighten
 restrictions

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


More information about the tor-bugs mailing list