https://github.com/ewpratten/roa_api
A public API for generating ROA configs for Bird
https://github.com/ewpratten/roa_api
amprnet bird2 dn42 roa serverless
Last synced: 10 months ago
JSON representation
A public API for generating ROA configs for Bird
- Host: GitHub
- URL: https://github.com/ewpratten/roa_api
- Owner: ewpratten
- License: gpl-3.0
- Created: 2022-08-23T21:29:55.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2022-08-23T21:55:36.000Z (over 3 years ago)
- Last Synced: 2025-01-09T22:22:09.896Z (about 1 year ago)
- Topics: amprnet, bird2, dn42, roa, serverless
- Language: Python
- Homepage:
- Size: 20.5 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Public Route Origin Authorization API
This is the repository for `roa.va3zza.com`, a public tool that auto-generates [Bird2](https://bird.network.cz/)-style [ROA](https://www.arin.net/resources/manage/rpki/roa_request/) data for IP space that doesn't play nice with standard IRR tools.
Currently, the following networks are supported:
- [AMPRNet](https://www.ampr.org/)
- [`roa.va3zza.com/api/amprnet`](https://roa.va3zza.com/api/amprnet)
- [DN42](https://dn42.eu)
- [`roa.va3zza.com/api/dn42_ipv4`](https://roa.va3zza.com/api/dn42_ipv4)
- [`roa.va3zza.com/api/dn42_ipv6`](https://roa.va3zza.com/api/dn42_ipv6)
## Using this data
Add a cron entry to pull your endpoint(s) of choice into some file in `/etc/bird/roa`, then you can load it as follows:
```text
protocol static {
roa4 { table roa_v4; };
include "/etc/bird/roa/amprnet.conf";
include "/etc/bird/roa/dn42_ipv4.conf";
};
protocol static {
roa6 { table roa_v6; };
include "/etc/bird/roa/dn42_ipv6.conf";
};
```
From here, the standard Bird tools work as usual for validating prefixes.