[tor-bugs] #17701 [Metrics]: ExitList descriptor chokes on getUnrecognizedLines()
Tor Bug Tracker & Wiki
blackhole at torproject.org
Thu Nov 26 16:43:45 UTC 2015
#17701: ExitList descriptor chokes on getUnrecognizedLines()
--------------------------+-----------------
Reporter: tomlurge | Owner:
Type: defect | Status: new
Priority: Medium | Milestone:
Component: Metrics | Version:
Severity: Normal | Keywords:
Actual Points: | Parent ID:
Points: | Sponsor:
--------------------------+-----------------
ConvertToJson [0] is a converter from raw CollecTor data to JSON, based on
metrics-lib. Converting Exit-List descriptors (@type Tordnsel) works fine
([0], line 1221) until a check for unrecognized attributes ([0], line 109)
is added. With the check enabled te converter outputs an error report like
the following for each descriptor of type tordnsel:
Unrecognized lines in /data/in/tordnsel/2015-09-01-08-02-03:
[@type tordnsel 1.0]
It doesn't produce a JSON result though (which it should even if it
encounters an unrecognized line).
[0]
https://github.com/tomlurge/mteam/blob/master/src/mteam/ConvertToJson.java
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/17701>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list