[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [tor-bugs] #11683 [Tor]: Stop caching extra-info documents on directory mirrors
#11683: Stop caching extra-info documents on directory mirrors
-----------------------------+--------------------------
Reporter: karsten | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Tor: 0.2.???
Component: Tor | Version:
Resolution: | Keywords: tor-relay
Actual Points: | Parent ID:
Points: |
-----------------------------+--------------------------
Comment (by karsten):
You're right, this wouldn't remove as much code as I had expected. But
it's going to remove the need for directory mirrors to keep their extra-
info caches recent. And it's going to make the spec slightly simpler.
So, while going through the code, I found that clients currently rely on
`"caches-extra-info"` when selecting a directory to fetch extra-info
documents from. I believe that's a bug. Clients should always expect the
directory authorities to support extra infos, regardless of whether they
contain that line in their descriptor or not. (One might argue whether
clients should prefer non-authorities over authorities for downloads, but
believing that authorities don't serve extra-infos is just not correct.)
How about we add a patch for that to 0.2.5 and postpone possibly taking
away the `"caches-extra-info"` line from directory mirrors until 0.2.6 and
from directory authorities until 0.2.7?
Please find
[https://gitweb.torproject.org/karsten/tor.git/shortlog/refs/heads/bug11683
my branch bug11683].
(Unrelated to this, I'm not 100% certain whether the use of `is_trusted`
is correct in that function. The bridge authority is trusted, too, but we
wouldn't want to ask it for microdescriptors, would we?)
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/11683#comment:2>
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