[tor-bugs] #11103 [Tor]: Get rid of the v2dir status flag now that v2 dir protocol is dead?
Tor Bug Tracker & Wiki
blackhole at torproject.org
Sat Mar 1 19:01:55 UTC 2014
#11103: Get rid of the v2dir status flag now that v2 dir protocol is dead?
-----------------------------+--------------------------
Reporter: arma | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Tor: 0.2.???
Component: Tor | Version:
Resolution: | Keywords:
Actual Points: | Parent ID:
Points: |
-----------------------------+--------------------------
Changes (by nickm):
* milestone: Tor: 0.2.6.x-final => Tor: 0.2.???
Comment:
0.2.4 clients and earlier still parse it; 0.2.4 uses it in two places in
routerlist.c that I can't be sure are completely irrelevant. In
particular, when we fetch v2 dirinfo in order to cache it, we look for a
v2dir flag. Will removing v2dir from all the nodes be safe? Who can say?
I recommend that we remove the V2Dir flag from consensuses once 0.2.4 is
unsupported. After compression, it costs us practically nothing:
{{{
[1344]$ cat ~/.tor/cached-microdesc-consensus |gzip -9 -c |wc -c
451574
[1345]$ cat ~/.tor/cached-microdesc-consensus |perl -pe 's/ V2Dir//;'
|gzip -9 -c |wc -c
450332
}}}
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/11103#comment:1>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list