[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-bugs] #31941 [Metrics/Onionoo]: Old reverse DNS lookups are sometimes not cleared properly



#31941: Old reverse DNS lookups are sometimes not cleared properly
---------------------------------+----------------------
     Reporter:  karsten          |      Owner:  karsten
         Type:  defect           |     Status:  assigned
     Priority:  Medium           |  Milestone:
    Component:  Metrics/Onionoo  |    Version:
     Severity:  Normal           |   Keywords:
Actual Points:                   |  Parent ID:
       Points:                   |   Reviewer:
      Sponsor:                   |
---------------------------------+----------------------
 This ticket is based on a report by the t6kexit1 operator on the metrics-
 team@ mailing list.

 Relay t6kexit1 recently switched from IP address 73.95.69.17 to
 70.39.93.111. While Onionoo was able to resolve the previous IP address to
 a host name, it fails to resolve the current IP address. This failure may
 or may not be an Onionoo bug, but let's ignore this possible bug for the
 moment.

 The fact that Onionoo sticks to the previous host name, even after the
 relay changed its IP address, is for sure a bug. Let's focus on this one,
 because it may be harder to reproduce this situation at a later time.

 I looked at the relevant code. It seems like Onionoo only considers
 successful reverse DNS lookups, but disregards failed lookup attempts.
 What it should do instead is clear previous results in case of a failed
 lookup attempt.

 I'll work on a patch, test it, and then post it here for review.

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/31941>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs