[tor-bugs] #2570 [Metrics]: Try harder to detect when Tonga's bridge snapshots are stale

Tor Bug Tracker & Wiki torproject-admin at torproject.org
Tue Feb 15 19:03:17 UTC 2011


#2570: Try harder to detect when Tonga's bridge snapshots are stale
--------------------------+-------------------------------------------------
  Reporter:  karsten      |              Owner:  karsten
      Type:  enhancement  |             Status:  new    
  Priority:  normal       |          Milestone:         
 Component:  Metrics      |            Version:         
  Keywords:               |             Parent:         
    Points:               |   Actualpointsdone:         
Pointsdone:               |       Actualpoints:         
--------------------------+-------------------------------------------------
 When sanitizing bridge snapshots from Tonga, we make sure that the
 tarballs are not older than a couple of hours.  If they are, we log a
 warning, so that we know early when Tonga is broken.

 We overlooked the case when Tor crashes on Tonga, but the cronjob creates
 new tarballs with stale content every 30 minutes.  We did not detect this,
 because we have to infer the status publication time from the tarball name
 (there is no publication time in bridge network statuses).  This is how we
 did not detect that Tonga was broken for two weeks.

 We should check the descriptor publication times for plausibility.  If a
 status does not have a descriptor published in the last, say, 3 hours
 before the status was published, there's probably something wrong.  We
 should print out a warning in this case, too, and investigate the problem.

 We might also look at the last-modified times of files contained in the
 tarballs.  In theory, the time difference between writing these files and
 writing the tarball should not be higher than 1 hour.

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


More information about the tor-bugs mailing list