[tor-bugs] #22512 [Metrics/metrics-lib]: Add enums for keywords used in exit lists, Torperf measurement results, bridge pool assignments, and soon sanitized web logs

Tor Bug Tracker & Wiki blackhole at torproject.org
Tue Jun 6 17:54:32 UTC 2017


#22512: Add enums for keywords used in exit lists, Torperf measurement results,
bridge pool assignments, and soon sanitized web logs
-------------------------------------+--------------------------
     Reporter:  karsten              |      Owner:  metrics-team
         Type:  enhancement          |     Status:  new
     Priority:  Medium               |  Milestone:
    Component:  Metrics/metrics-lib  |    Version:
     Severity:  Normal               |   Keywords:
Actual Points:                       |  Parent ID:
       Points:                       |   Reviewer:
      Sponsor:                       |
-------------------------------------+--------------------------
 We recently introduced the `Key` enum with keywords contained in relay
 descriptors, sanitized bridge descriptors, and sanitized bridge pool
 assignments.  We did not include keywords in exit lists and Torperf
 measurement results, and in retrospect we should have excluded sanitized
 bridge pool assignments there.

 The reason why each data source should have its own enum is that naming
 conventions might vary in terms of upper/lower case and word separators.
 For example, Tor descriptors use `lower-case-keywords`, exit lists contain
 `CamelCase`, and Torperf/OnionPerf use `ALL_UPPER_CASE_WITH_UNDERSCORES`.
 There could be conflicts for keywords like `source` vs. `SOURCE`.

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


More information about the tor-bugs mailing list