https://github.com/bgpkit/wayback-rpki
An API service for RPKI ROAs historical lookup
https://github.com/bgpkit/wayback-rpki
Last synced: about 1 year ago
JSON representation
An API service for RPKI ROAs historical lookup
- Host: GitHub
- URL: https://github.com/bgpkit/wayback-rpki
- Owner: bgpkit
- License: mit
- Created: 2022-01-16T02:13:17.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2025-03-25T22:28:26.000Z (about 1 year ago)
- Last Synced: 2025-03-25T22:36:07.373Z (about 1 year ago)
- Language: Rust
- Size: 266 KB
- Stars: 10
- Watchers: 2
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Wayback RPKI Database
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.
## Install
### Using `cargo`
```bash
cargo install wayback-rpki
```
### Using `homebrew` on macOS
```bash
brew install bgpkit/tap/wayback-rpki
```
### Using [`cargo-binstall`](https://github.com/cargo-bins/cargo-binstall)
Install `cargo-binstall` first:
```bash
cargo install cargo-binstall
```
Then install `monocle` using `cargo binstall`
```bash
cargo binstall wayback-rpki
```
## Usage
Start the API from scratch by running
```bash
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 below
- `AWS_REGION`
- `AWS_ENDPOINT`
- `AWS_ACCESS_KEY_ID`
- `AWS_SECRET_ACCESS_KEY`
- `WAYBACK_BACKUP_HEARTBEAT_URL`: a URL to send an HTTP get request to