Opened 6 years ago

Last modified 3 years ago

#13167 new defect

Export dirauth files via directory protocol

Reported by: Sebastian Owned by:
Priority: Medium Milestone: Tor: unspecified
Component: Core Tor/Tor Version:
Severity: Normal Keywords: metrics metrics-wants tor-dirauth tor-client needs-spec
Cc: karsten Actual Points:
Parent ID: Points: 3
Reviewer: Sponsor:


Metrics downloads a few files (consensus, descriptors, extrainfo, v3 votes) from dirauths for further processing. It'd be good if all these files could be served by Tor directly, as this would alleviate the need for the dirauth ops to take special steps to make these files available.

Child Tickets

Change History (7)

comment:1 Changed 6 years ago by nickm

Please clarify -- which of these aren't exposed now?

comment:2 Changed 6 years ago by Sebastian

The v3-status-votes file isn't, and I don't know that there's an option for the directory protocol to tell you "give me all the descriptors you know about in your cached-{extrainfo,descriptors}{,.new} files"

comment:3 Changed 6 years ago by karsten

Thanks, Sebastian, for starting this thread!

Minor correction to the last comment: v3 votes are available via the directory protocol.

What's not available is a subset of server and extra-info descriptors. More specifically, if a descriptor is not referenced from a consensus or vote and is not the most recent descriptor (available via http://<hostname>/tor/server/all.z), it's not possible to learn about it via the directory protocol.

Not sure if the solution is to make all descriptors (not only the most recent ones per relay) available via the directory protocol, or if there should be a document that references all descriptors. Either would work for Metrics.

comment:4 Changed 4 years ago by teor

Milestone: Tor: 0.2.???Tor: 0.3.???

Milestone renamed

comment:5 Changed 4 years ago by nickm

Keywords: tor-03-unspecified-201612 added
Milestone: Tor: 0.3.???Tor: unspecified

Finally admitting that 0.3.??? was a euphemism for Tor: unspecified all along.

comment:6 Changed 3 years ago by nickm

Keywords: tor-03-unspecified-201612 removed

Remove an old triaging keyword.

comment:7 Changed 3 years ago by nickm

Keywords: metrics-wants tor-dirauth tor-client needs-spec added
Points: 3
Severity: Normal

Is this still an ongoing problem? If so it's something we can prioritize.

Note: See TracTickets for help on using tickets.