Opened 10 months ago

Last modified 5 months ago

#24434 new enhancement

Provide fallback list parser

Reported by: iwakeh Owned by: metrics-team
Priority: Medium Milestone:
Component: Metrics/Library Version:
Severity: Normal Keywords:
Cc: Actual Points:
Parent ID: #24429 Points:
Reviewer: Sponsor:

Description

Provide a parser interface and implementation for fallback mirror lists (cf. parent ticket).

Naming suggestions:

  • new interface: o.tp.metrics.descriptor.FallbackMirrors with possible sub-interface FallbackMirrors.Mirror or shorter Fallbacks and Fallbacks.Mirror
  • package for implementation: o.tp.metrics.descriptor.fallback

Child Tickets

Change History (3)

comment:1 Changed 10 months ago by iwakeh

Summary: Provide fallbacl list parserProvide fallback list parser

comment:2 Changed 9 months ago by irl

There is a spec for the new format here:

https://github.com/teor2345/torspec/blob/fallback-format-2-v2/fallback-spec.txt

If we are to import the older fallback lists also, then we would need to have a parser for v1 lists.

comment:3 Changed 5 months ago by irl

As #24854 is now also implemented, we probably want to have a parser for those lists (directory authorities) too.

https://gitweb.torproject.org/tor.git/commit/?id=1295044dc8c999fb8c4a3de0011ab900053e7b1b is the relevant commit.

https://gitweb.torproject.org/tor.git/plain/src/or/auth_dirs.inc is the relevant file.

Note: See TracTickets for help on using tickets.