[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [tor-bugs] #23621 [Core Tor/Tor]: prop224: Missing tons of mds over time with a lurking client
#23621: prop224: Missing tons of mds over time with a lurking client
--------------------------+------------------------------------
Reporter: asn | Owner: (none)
Type: defect | Status: new
Priority: Medium | Milestone: Tor: 0.3.2.x-final
Component: Core Tor/Tor | Version: Tor: 0.3.2.1-alpha
Severity: Normal | Resolution:
Keywords: prop224 | Actual Points:
Parent ID: | Points:
Reviewer: | Sponsor:
--------------------------+------------------------------------
Description changed by dgoulet:
Old description:
> As roger described in comment:1:ticket:23543 tor will slowly expire its
> cached mds. Tor will start fetching again mds when it sees some client
> activity.
>
> In the case of a prop224 HS client with a single rend circ open (e.g. to
> an ircd, or downloading something) Tor will consider itself inactive and
> will not fetch any mds during that time.
>
> After 1-2 days of HS client operation, we will be missing about 2000 mds.
> If at that point we need to do another HS operation we will either stall
> if we are missing too many mds:
> {{{
> hs_client_refetch_hsdesc(): Can't fetch descriptor for service
> MUvEXhuYFWdElDqoHOeXPqi8TcKfLxeDKkYUejwLgt0 because we dont have enough
> descriptors. Stalling connection.
> }}}
> or will try to fetch a descriptor with some missing mds. This can result
> in delays and/or reachability issues.
>
> That's not a problem for v2, since all the info for v2 are in the
> consensus and it does not need any mds to connect to HSes.
>
> Perhaps it's good for us to periodically keep fetching mds if we have
> long-lasting active rend circs. (Sorta related to #23543 but not
> exactly).
New description:
As roger described in comment:1:ticket:23543 tor will slowly expire its
cached mds. Tor will start fetching again mds when it sees some client
activity.
In the case of a prop224 HS client with a single rend circ open (e.g. to
an ircd, or downloading something) Tor will consider itself inactive and
will not fetch any mds during that time.
After 1-2 days of HS client operation, we will be missing about 2000 mds.
If at that point we need to do another HS operation we will either stall
if we are missing too many mds:
{{{
hs_client_refetch_hsdesc(): Can't fetch descriptor for service
MUvEXhuYFWdElDqoHOeXPqi8TcKfLxeDKkYUejwLgt0 because we dont have enough
descriptors. Stalling connection.
}}}
or will try to fetch a descriptor with some missing mds. This can result
in delays and/or reachability issues.
That's not a problem for v2, since all the info for v2 are in the
consensus and it does not need any mds to connect to HSes.
Perhaps it's good for us to periodically keep fetching mds if we have
long-lasting active rend circs. (Sorta related to #23543 but not exactly).
--
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/23621#comment:1>
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