[tor-bugs] #20252 [Metrics/CollecTor]: Identify changes to dir-spec.txt from proposal 264

Tor Bug Tracker & Wiki blackhole at torproject.org
Tue Sep 27 07:26:35 UTC 2016


#20252: Identify changes to dir-spec.txt from proposal 264
-----------------------------------+-----------------
     Reporter:  karsten            |      Owner:
         Type:  enhancement        |     Status:  new
     Priority:  High               |  Milestone:
    Component:  Metrics/CollecTor  |    Version:
     Severity:  Normal             |   Keywords:
Actual Points:                     |  Parent ID:
       Points:                     |   Reviewer:
      Sponsor:                     |
-----------------------------------+-----------------
 I learned about proposal 264 this morning by finding the following
 warnings in CollecTor's logs:

 {{{
 2016-09-26 20:09:03,174 WARN o.t.c.b.SanitizedBridgesWriter:885
 Unrecognized line 'proto Cons=1-2 Desc=1-2 DirCache=1 HSDir=1 HSIntro=3
 HSRend=1-2 Link=1-4 LinkAuth=1 Microdesc=1-2 Relay=1-2'. Skipping.
 }}}

 Tor's ChangeLog indicates that this line is related to proposal 264.
 Here's a bridge descriptor that contains this line:

 {{{
 router Unnamed 127.0.0.1 443 0 0
 identity-ed25519
 -----BEGIN ED25519 CERT-----
 [...]
 -----END ED25519 CERT-----
 master-key-ed25519 [...]
 platform Tor 0.2.9.3-alpha-dev on Linux
 proto Cons=1-2 Desc=1-2 DirCache=1 HSDir=1 HSIntro=3 HSRend=1-2 Link=1-4
 LinkAuth=1 Microdesc=1-2 Relay=1-2
 published 2016-09-27 [...]
 fingerprint [...]
 [...]
 }}}

 We should identify the exact changes made in proposal 264 and adapt
 CollecTor's bridgedescs module ASAP.  Right now, we're skipping all bridge
 descriptors containing such a line, and we'll have to reprocess them once
 the patch is merged.

 Once we did that, we should consider updating metrics-lib to handle these
 lines in both relay and bridge descriptors.

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


More information about the tor-bugs mailing list