Module routinator::collector [−][src]
Expand description
Maintaining a local copy of the RPKI repositories.
This module provides a means to collect the raw data published via the RPKI repository system. This system consists of a number of so-called RPKI repositories, servers that allow access to set of RPKI objects. Access happens through one of two protocols: rsync (yes, that rsync) or RRDP which sits atop HTTP. Both these protocols are capable of only transmitting changes relative to a previously seen set, so keeping the data downloaded from each repository for later use greatly improves performance.
This module provides three public types: Collector
holds all
information necessary to run the collector. When it is time to actually use
it, the start
method creates and returns a Run
which represents an ‘active’ collector that can actually go and fetch data.
It provides two methods: load_ta
to fetch and load a
trust anchor certificate, and repository
to update a
respository and subsequently provide access to the updated data via a
Repository
object.
Structs
A builder-style type for data retained during cleanup.
Access to the currently published RPKI data.
Access to a single repository during a validation run.
Using the collector for a single validation run.