[tor-bugs] #17224 [Core Tor/Tor]: Refactor common parts of parse_dir_authority_line and parse_dir_fallback_line

Tor Bug Tracker & Wiki blackhole at torproject.org
Wed Jan 10 21:04:46 UTC 2018


#17224: Refactor common parts of parse_dir_authority_line and
parse_dir_fallback_line
-------------------------------------------------+-------------------------
 Reporter:  teor                                 |          Owner:  (none)
     Type:  enhancement                          |         Status:  new
 Priority:  Low                                  |      Milestone:  Tor:
                                                 |  0.3.3.x-final
Component:  Core Tor/Tor                         |        Version:
 Severity:  Normal                               |     Resolution:
 Keywords:  easy, tor-client, refactor           |  Actual Points:
  technical-debt                                 |
Parent ID:  #24818                               |         Points:  0.5
 Reviewer:                                       |        Sponsor:
-------------------------------------------------+-------------------------
Changes (by teor):

 * keywords:  lorax, easy, tor-client, refactor technical-debt => easy, tor-
     client, refactor technical-debt
 * points:  small/medium => 0.5
 * parent:   => #24818
 * milestone:  Tor: unspecified => Tor: 0.3.3.x-final


Comment:

 #24818 is a good opportunity to do this.

 We should also update the man page to document the existing constraints:
 * fallback fields can appear in any order
 * authority flags can appear in any order, but the rest of the fields must
 appear in that order
 * bridge authorities require a nickname, otherwise you end up with an
 authority called "bridge"

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


More information about the tor-bugs mailing list