[tor-bugs] #4187 [Tor Client]: A verified unverified-consensus should be renamed to cached-consensus

Tor Bug Tracker & Wiki torproject-admin at torproject.org
Wed Oct 5 10:20:18 UTC 2011


#4187: A verified unverified-consensus should be renamed to cached-consensus
------------------------+---------------------------------------------------
 Reporter:  anonym      |          Owner:               
     Type:  defect      |         Status:  new          
 Priority:  minor       |      Milestone:               
Component:  Tor Client  |        Version:  Tor: 0.2.2.33
 Keywords:              |         Parent:               
   Points:              |   Actualpoints:               
------------------------+---------------------------------------------------
 If Tor with a fresh $DATA_DIR gets a consensus and cannot verify, Tor
 writes it as $DATA_DIR/unverified-consensus. If Tor then is restarted and
 suddenly can verify unverified-consensus for whatever reason, Tor will
 start using it and never write a cached-consensus. While this doesn't
 cause Tor to misbehave AFAICT, the name of unverified-consensus is
 misleading since it in fact isn't unverified any longer.

 Steps to reproduce:
 1. rm $DATA_DIR/*-consensus
 2. date --set="Jan 1 00:00:00 UTC 2013" # or whenever all current
 authority certs are expired
 3. start tor
 4. verify that Tor is *not* working and that you got $DATA_DIR/unverified-
 consensus
 5. stop tor
 6. set correct system time
 7. start tor
 8. verify that Tor *is* working and that there's no $DATA_DIR/cached-
 consensus, only $DATA_DIR/unverified-consensus

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


More information about the tor-bugs mailing list