[tor-bugs] #28503 [Core Tor/Stem]: Move annotation handling to the base Descriptor class

Tor Bug Tracker & Wiki blackhole at torproject.org
Mon Nov 19 10:38:16 UTC 2018


#28503: Move annotation handling to the base Descriptor class
---------------------------+------------------------
 Reporter:  irl            |          Owner:  atagar
     Type:  enhancement    |         Status:  new
 Priority:  Medium         |      Milestone:
Component:  Core Tor/Stem  |        Version:
 Severity:  Normal         |     Resolution:
 Keywords:                 |  Actual Points:
Parent ID:                 |         Points:
 Reviewer:                 |        Sponsor:
---------------------------+------------------------

Comment (by irl):

 We have reading the cached-descriptors et. al. files as a requirement for
 CollecTor, to load in any descriptors we missed during unexpected
 downtime, so we do need that to work.

 What I was hoping to be able to do is add @downloaded-at and @source
 annotations to descriptors I fetch via dir-spec before saving them to
 disk. Attaching metadata to the descriptors will be useful for working out
 how much we're load balancing when downloading descriptors, average times
 between valid-after/published and when we first learn about the
 descriptors by downloading them, and also the source metadata can be used
 to prefer downloading extra-info descriptors from the authority we got the
 server descriptor from (the assumption being that it's more likely to have
 it on average).

 There is discussion about a spec for these annotations in #28067. I would
 like for these annotations to all follow the same specification.

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/28503#comment:3>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list