[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [tor-bugs] #23466 [Core Tor/Tor]: hs: v3 client descriptor cache entry should be indexed by blinded key
#23466: hs: v3 client descriptor cache entry should be indexed by blinded key
-----------------------------------------+---------------------------------
Reporter: dgoulet | Owner: (none)
Type: defect | Status: needs_revision
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):
Replying to [comment:6 nickm]:
> I think it's okay to do the callback more frequently, or even just every
15-30 minutes. Just make sure that the lookup function checks for expired
entries and doesn't return them?
@asn: so basically, it seems that we could simply remove the clean up
function from the lookup() so we keep the lookup O(1) and a gap of 30
minutes after the new time period is fine because service will still be
reachable with that previous descriptor so it is very acceptable.
And we make the lookup() function not return expired entries.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/23466#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