[metrics-bugs] #21370 [Metrics/Onionoo]: Onionoo should be more robust against unexpected data
Tor Bug Tracker & Wiki
blackhole at torproject.org
Wed Feb 1 16:13:07 UTC 2017
#21370: Onionoo should be more robust against unexpected data
---------------------------------+--------------------------
Reporter: iwakeh | Owner: metrics-team
Type: enhancement | Status: new
Priority: Medium | Milestone:
Component: Metrics/Onionoo | Version:
Severity: Normal | Keywords:
Actual Points: | Parent ID:
Points: | Reviewer:
Sponsor: |
---------------------------------+--------------------------
Copied from comment 15 in #20440:
Onionoo should be a little more robust against unexpected data in the
`in/archive/` directory. It could simply skip the unrecognized descriptor
and carry on with the next descriptor. That's `s/break/continue/` in
[https://gitweb.torproject.org/onionoo.git/tree/src/main/java/org/torproject/onionoo/updater/DescriptorSource.java#n213
this line].
Good idea!
This also needs a test implementation and at least a change to the log
statement that just one descriptor is skipped.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/21370>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the metrics-bugs
mailing list