[tor-bugs] #31851 [Core Tor/Tor]: Allow Tor to be compiled without support for relay mode

Tor Bug Tracker & Wiki blackhole at torproject.org
Tue Oct 22 23:35:11 UTC 2019


#31851: Allow Tor to be compiled without support for relay mode
-------------------------------------------------+-------------------------
 Reporter:  teor                                 |          Owner:  teor
     Type:  task                                 |         Status:  new
 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:  0.2
  october                                        |
Parent ID:                                       |         Points:  5
 Reviewer:  nickm                                |        Sponsor:
                                                 |  Sponsor31-can
-------------------------------------------------+-------------------------

Comment (by teor):

 We want to write a list of code-chunks to disable, in rough order of ease-
 of-implementation.

 For each code chunk, we want to:
 * create stronger code boundaries
 * make those boundaries clear in code naming/layout

 We should do these steps:
 1. Move code into a directory called *_relay, *_dircache, or *_dirauth
 2. Move code between files as needed
 3. Remove upwards dependencies, and other unnecessary dependencies
 4. Refactor code, so code boundaries are clearer:
   * split functions
   * rename functions
 5. Make any other changes that improve modularity

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


More information about the tor-bugs mailing list