[tor-bugs] #17520 [Core Tor/Tor]: Relax the rend cache failure cleanup timer

Tor Bug Tracker & Wiki blackhole at torproject.org
Thu Aug 24 20:09:13 UTC 2017


#17520: Relax the rend cache failure cleanup timer
-----------------------------------------+---------------------------------
 Reporter:  dgoulet                      |          Owner:  (none)
     Type:  enhancement                  |         Status:  new
 Priority:  Medium                       |      Milestone:  Tor:
                                         |  unspecified
Component:  Core Tor/Tor                 |        Version:
 Severity:  Normal                       |     Resolution:
 Keywords:  tor-hs, tor-client, prop224  |  Actual Points:
Parent ID:  #23300                       |         Points:  1
 Reviewer:                               |        Sponsor:  SponsorR-can
-----------------------------------------+---------------------------------
Changes (by dgoulet):

 * parent:  #17242 => #23300


Comment:

 {{{
   rend_cache_failure_clean(now);
   hs_cache_client_intro_state_clean(now);
 }}}

 ... is called every 30 seconds actually which is done by
 `rend_cache_failure_clean_callback()`.

 1) Cleanup any entry that expired at lookup.
 2) v2 entries expire after 5 minutes. and v3 after 2 minutes.

 So, calling the callback every 2 minutes could be what we want to fit both
 use case *OR* we bring down to 2 minutes the v2.

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


More information about the tor-bugs mailing list