[metrics-bugs] #31247 [Metrics/Onionoo]: not all fields provided in the 'fields' parameter are in the response
Tor Bug Tracker & Wiki
blackhole at torproject.org
Thu Jul 25 09:22:55 UTC 2019
#31247: not all fields provided in the 'fields' parameter are in the response
--------------------+---------------------------------
Reporter: nusenu | Owner: metrics-team
Type: defect | Status: new
Priority: Medium | Component: Metrics/Onionoo
Version: | Severity: Normal
Keywords: | Actual Points:
Parent ID: | Points:
Reviewer: | Sponsor:
--------------------+---------------------------------
for the following request 3 fields are expected in the output (and it
works as expected):
https://onionoo.torproject.org/details?lookup=661EBD854F07109F0F7CEDC86C2A3F565FC01C3B&fields=fingerprint,nickname,verified_host_names
{{{
{"version":"7.0",
"build_revision":"7dc8dae",
"relays_published":"2019-07-25 08:00:00",
"relays":[
{"nickname":"VelociRapTor","fingerprint":"661EBD854F07109F0F7CEDC86C2A3F565FC01C3B","verified_host_names":["cker.cz","cracking.cz","e164.cz","hacking.cz","hacking.sk","klubalova.cz","klubalovi.cz","mail.cker.cz","mail.cracking.cz","mail.e164.cz","mail.emkei.cz","mail.hacking.cz","mail.hacking.sk","mail.klubalova.cz","mail.klubalovi.cz","mail.martinklubal.com","mail.martinklubal.cz","mail.pentest.cz","mail.pentester.cz","mail.pentesting.cz","mail.phreaking.cz","mail.skupinafaze.cz","mail.soom.sk","martinklubal.com","martinklubal.cz","pentest.cz","pentester.cz","pentesting.cz","phreaking.cz","skupinafaze.cz","soom.sk"]}
],
"bridges_published":"2019-07-25 07:43:02",
"bridges":[
]}
}}}
for the following 2 fields are expected but only the fingerprint field is
in the output:
https://onionoo.torproject.org/details?lookup=661EBD854F07109F0F7CEDC86C2A3F565FC01C3B&fields=fingerprint,verified_host_names
{{{
{"version":"7.0",
"build_revision":"7dc8dae",
"relays_published":"2019-07-25 08:00:00",
"relays":[
{"fingerprint":"661EBD854F07109F0F7CEDC86C2A3F565FC01C3B"}
],
"bridges_published":"2019-07-25 07:43:02",
"bridges":[
]}
}}}
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/31247>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the metrics-bugs
mailing list