[tor-bugs] #25551 [Metrics/Onionoo]: host_name field does not match spec

Tor Bug Tracker & Wiki blackhole at torproject.org
Tue Mar 20 14:07:11 UTC 2018


#25551: host_name field does not match spec
-----------------------------+--------------------------
 Reporter:  cypherpunks      |          Owner:  irl
     Type:  defect           |         Status:  accepted
 Priority:  Medium           |      Milestone:
Component:  Metrics/Onionoo  |        Version:
 Severity:  Normal           |     Resolution:
 Keywords:                   |  Actual Points:
Parent ID:                   |         Points:
 Reviewer:                   |        Sponsor:
-----------------------------+--------------------------

Comment (by irl):

 Either we should detect cases where a lookup failed and actually omit the
 field, or make clear that an IP address will be returned in the event the
 lookup fails. I agree that currently we do not implement what we said we
 implement in the spec.

 cypherpunks: As you've raised the issue, do you have a preference on what
 we do to fix it?

 I think I would like to have two fields: "unverified_host_name" and
 "host_name". If the forward lookup fails but we did look up a reverse
 record then we put that in "unverified_host_name". If everything works we
 put it in "hostname" and if no reverse record is found we omit both
 fields. This would be similar to the way we split up alleged family and
 effective family where we still report values even if they cannot be
 confirmed (and can use this information to tell the relay operator how to
 improve their configuration).

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


More information about the tor-bugs mailing list