This project implements the crawler of RIPE RIS RPKI daily dump (https://ftp.ripe.net/rpki/) with a database schema designed to hold historical information.
cargo install wayback-rpki
brew install bgpkit/tap/wayback-rpki
Using cargo-binstall
Install cargo-binstall
first:
cargo install cargo-binstall
Then install monocle
using cargo binstall
cargo binstall wayback-rpki
Start the API from scratch by running
wayback-rpki serve --bootstrap
Configure the following environment variables to further configure features:
WAYBACK_BACKUP_TO
: backup location- if locations starts with r2/s3, such as
r2://spaces/broker/roas_trie.bin.gz
, it will require additional S3 credentials belowAWS_REGION
AWS_ENDPOINT
AWS_ACCESS_KEY_ID
AWS_SECRET_ACCESS_KEY
- if locations starts with r2/s3, such as
WAYBACK_BACKUP_HEARTBEAT_URL
: a URL to send an HTTP get request to