[tor-bugs] #24854 [Core Tor/Tor]: Extract the authority list from config.c

Tor Bug Tracker & Wiki blackhole at torproject.org
Wed Jan 17 00:00:05 UTC 2018


#24854: Extract the authority list from config.c
-------------------------------------------------+-------------------------
 Reporter:  teor                                 |          Owner:  (none)
     Type:  enhancement                          |         Status:  new
 Priority:  Medium                               |      Milestone:  Tor:
                                                 |  0.3.3.x-final
Component:  Core Tor/Tor                         |        Version:
 Severity:  Normal                               |     Resolution:
 Keywords:  torspec, tor-dirauth, 029-backport,  |  Actual Points:
  030-backport, 031-backport, 032-backport       |
Parent ID:  #24818                               |         Points:  0.2
 Reviewer:                                       |        Sponsor:
-------------------------------------------------+-------------------------
Description changed by teor:

Old description:

> There is a list of default_authorities in src/or/config.c.
> We want it in a separate file at src/or/auth_dirs.inc.
>
> This should be implemented like the default_fallbacks array, which
> includes the fallback list from src/or/fallback_dirs.inc.
>
> We will need to implement two branches for backporting:
> * a branch on maint-0.2.9 for 0.2.9 and later. It has IPv6 addresses.
> * a branch on maint-0.2.5 for 0.2.5. It has no IPv6 addresses.
>
> (Then, after we have moved it into a separate file, we want to
> automatically generate the file, in a new format. See the rest of the
> children of #24818.)

New description:

 There is a list of default_authorities in src/or/config.c.
 We want it in a separate file at src/or/auth_dirs.inc.

 This should be implemented like the default_fallbacks array, which
 includes the fallback list from src/or/fallback_dirs.inc.

 We will need to implement two branches for backporting:
 * a branch on maint-0.2.9 for 0.2.9 and later. It has IPv6 addresses.
 * ~~a branch on maint-0.2.5 for 0.2.5. It has no IPv6 addresses.~~

 (Then, after we have moved it into a separate file, we want to
 automatically generate the file, in a new format. See the rest of the
 children of #24818.)

--

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


More information about the tor-bugs mailing list