[tor-bugs] #23962 [Metrics/Onionoo]: Allow searching by bridges by version with the version parameter

Tor Bug Tracker & Wiki blackhole at torproject.org
Tue Oct 24 08:02:55 UTC 2017


#23962: Allow searching by bridges by version with the version parameter
-----------------------------+------------------------------
 Reporter:  irl              |          Owner:  metrics-team
     Type:  enhancement      |         Status:  new
 Priority:  Medium           |      Milestone:
Component:  Metrics/Onionoo  |        Version:
 Severity:  Normal           |     Resolution:
 Keywords:                   |  Actual Points:
Parent ID:                   |         Points:
 Reviewer:                   |        Sponsor:
-----------------------------+------------------------------

Comment (by karsten):

 This is indeed an enhancement, not a defect, because when we say "relays"
 we really mean "relays that are not bridges".

 So, it's a bit tricky. We retrieve version information of relays from
 consensuses which contain `"v"` lines like in the following entry:

 {{{
 r networkofthesmoker AAaX5kASI9/xzl9Qp7aFdPOSnrQ
 eBpYDHdsD6gPGvFavxsk5PoMEkI 2017-10-24 03:51:15 128.72.191.169 443 0
 s Fast Guard Running Stable V2Dir Valid
 v Tor 0.3.0.10
 pr Cons=1-2 Desc=1-2 DirCache=1 HSDir=1-2 HSIntro=3-4 HSRend=1-2 Link=1-4
 LinkAuth=1,3 Microdesc=1-2 Relay=1-2
 w Bandwidth=4540
 p reject 1-65535
 }}}

 However, bridge network statuses don't contain such lines:

 {{{
 r Unnamed ACzV/+Qobny0/Tk7Jodk8cP+ME4 EQdxiGmeXGQUcf1RsBjPU3gtFpY
 2017-10-24 05:52:13 10.23.233.107 53811 0
 s Fast HSDir Running Stable V2Dir Valid
 w Bandwidth=64
 p reject 1-65535
 }}}

 What we'd have to do is extract version information from bridge server
 descriptors, like from this line:

 {{{
 platform Tor 0.2.9.11 on Linux
 }}}

 Doable, but more tricky than in the (non-bridge) relay case.

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


More information about the tor-bugs mailing list