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

Re: [tor-bugs] #3022 [Tor Relay]: Caches should no longer cache v2 networkstatus documents



#3022: Caches should no longer cache v2 networkstatus documents
-----------------------+----------------------------------------------------
 Reporter:  nickm      |          Owner:                    
     Type:  defect     |         Status:  needs_review      
 Priority:  major      |      Milestone:  Tor: 0.2.2.x-final
Component:  Tor Relay  |        Version:                    
 Keywords:             |         Parent:                    
   Points:             |   Actualpoints:                    
-----------------------+----------------------------------------------------

Comment(by arma):

 Replying to [comment:7 mikeperry]:
 > For the bw auths, I think that instead of FetchUselessDescriptors and v2
 networkstatuses, we just want to move to FetchDirInfoEarly and
 FetchDirInfoExtraEarly.
 >
 > Is there current logic in tor that might cause it to not fetch listed
 Running consensus descriptors? Or is FetchUselessDescriptors currently
 only about fetching non-Running descriptors?

 FetchUselessDescriptors does that, and also one other thing:
 {{{
 int
 directory_too_idle_to_fetch_descriptors(or_options_t *options, time_t now)
 {
   return !directory_caches_dir_info(options) &&
          !options->FetchUselessDescriptors &&
          rep_hist_circbuilding_dormant(now);
 }
 }}}
 which causes update_consensus_router_descriptor_downloads() to short-
 circuit if true. So, no fetching descriptors (even running ones) if you
 haven't needed circuits lately.

-- 
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/3022#comment:8>
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