[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-bugs] #3778 [Tor Client]: EntryGuardDownSince/UnreachableSince state lines are unnecessary?
#3778: EntryGuardDownSince/UnreachableSince state lines are unnecessary?
-------------------------+--------------------------------------------------
Reporter: arma | Owner:
Type: enhancement | Status: new
Priority: minor | Milestone: Tor: 0.2.3.x-final
Component: Tor Client | Version:
Keywords: | Parent:
Points: | Actualpoints:
-------------------------+--------------------------------------------------
When we first added the guard relay design, we needed to discard guards
that hadn't been listed for a while, so they didn't clutter up our state
file forever. We chose ENTRY_GUARD_REMOVE_AFTER (30*24*60*60), and we do
the deed in remove_dead_entry_guards().
But later we realized that for load balancing purposes we need to discard
guards after a month or two whether they've been down or not. See
date_is_bad in remove_obsolete_entry_guards().
I suspect the latter is good enough, and we can get rid of the former
logic. I think that might even include getting rid of the lines in the
state file, since we no longer need to track long-term downness of guards.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/3778>
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