[tor-bugs] #25866 [Core Tor/Stem]: does DescriptorDownloader.get_server_descriptors() get non-consensus descriptors?
Tor Bug Tracker & Wiki
blackhole at torproject.org
Sat Apr 21 09:46:52 UTC 2018
#25866: does DescriptorDownloader.get_server_descriptors() get non-consensus
descriptors?
---------------------------+------------------------
Reporter: cypherpunks | Owner: atagar
Type: defect | Status: closed
Priority: Medium | Milestone:
Component: Core Tor/Stem | Version:
Severity: Normal | Resolution: fixed
Keywords: | Actual Points:
Parent ID: | Points:
Reviewer: | Sponsor:
---------------------------+------------------------
Comment (by teor):
I think recent versions of stem use fallbacks by default for descriptor
fetches.
Anyway, here is the authority behaviour:
Authorities cache any descriptors posted to them by relays
Authorities try to fetch all descriptors for every vote and consensus they
successfully download and validate.
Authorities cache all descriptors they have ever successfully downloaded.
Authorities remove a descriptor from their cache when it expires, or for
miscordescs, when it hasn't been mentioned in a recent consensus.
So the number of descriptors returned by an authority depends on its
reachability and uptime.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/25866#comment:5>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list