[tor-bugs] #23466 [Core Tor/Tor]: hs: v3 client descriptor cache entry should be indexed by blinded key

Tor Bug Tracker & Wiki blackhole at torproject.org
Tue Sep 12 19:18:06 UTC 2017


#23466: hs: v3 client descriptor cache entry should be indexed by blinded key
-----------------------------------------+---------------------------------
 Reporter:  dgoulet                      |          Owner:  (none)
     Type:  defect                       |         Status:  merge_ready
 Priority:  High                         |      Milestone:  Tor:
                                         |  0.3.2.x-final
Component:  Core Tor/Tor                 |        Version:
 Severity:  Normal                       |     Resolution:
 Keywords:  tor-hs, tor-client, prop224  |  Actual Points:
Parent ID:                               |         Points:
 Reviewer:  dgoulet                      |        Sponsor:
-----------------------------------------+---------------------------------

Comment (by dgoulet):

 hmmm... `cache_clean_v3_as_client()` only cleans up expired entries, not
 the entire cache.

 We also do it periodically every 30 minutes through the
 `clean_caches_callback()`.

 The reason to also do it on lookup is because 30 minutes is pretty large
 so if you have an entry expiring at 13:00 and the next callback is at
 13:29, you have this 29 minutes gap in between :S.

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


More information about the tor-bugs mailing list