[tor-bugs] #7866 [Stem]: Stem doesn't handle "dir-source *-legacy" lines correctly

Tor Bug Tracker & Wiki blackhole at torproject.org
Wed Jan 9 17:15:58 UTC 2013


#7866: Stem doesn't handle "dir-source *-legacy" lines correctly
---------------------+------------------------------------------------------
 Reporter:  karsten  |          Owner:  atagar
     Type:  defect   |         Status:  new   
 Priority:  normal   |      Milestone:        
Component:  Stem     |        Version:        
 Keywords:           |         Parent:        
   Points:           |   Actualpoints:        
---------------------+------------------------------------------------------

Comment(by atagar):

 Thanks Karsten! If this no longer appears in current consensuses then I
 agree that we should try to make this more of a side note. Maybe just an
 extra paragraph for the consensus' authority section?

 {{{
 diff --git a/dir-spec.txt b/dir-spec.txt
 index ca5434b..bcb16f0 100644
 --- a/dir-spec.txt
 +++ b/dir-spec.txt
 @@ -1340,7 +1340,12 @@

     The authority section of a consensus contains groups the following
 items,
     in the order given, with one group for each authority that contributed
 to
 -   the consensus, with groups sorted by authority identity digest:
 +   the consensus, with groups sorted by authority identity digest.
 +
 +   If the nickname attribute on the 'dir-source' line ends with "-legacy"
 then
 +   this follows a legacy formatting. Legacy entries differ only in that
 they
 +   do not have a 'contact' or 'vote-digest' line. This format stopped
 appearing
 +   as of Tor version XXXXXX.

      "dir-source" SP nickname SP identity SP address SP IP SP dirport SP
         orport NL
 }}}

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


More information about the tor-bugs mailing list