1
0
mirror of https://github.com/nttgin/BGPalerter.git synced 2024-05-19 06:50:08 +00:00

Merge pull request #469 from nttgin/rpkiclient

adding rpki-client.org as VRP provider
This commit is contained in:
Massimo Candela
2021-02-04 01:33:03 +01:00
committed by GitHub
4 changed files with 5 additions and 4 deletions

View File

@@ -3,4 +3,5 @@
* [RIPE RIS live](https://ris-live.ripe.net/)
* [RIPEstat](http://stat.ripe.net/)
* [NTT RPKI VRPs](https://rpki.gin.ntt.net/api/export.json)
* [Cloudflare VRPs](https://rpki.cloudflare.com/)
* [Cloudflare VRPs](https://rpki.cloudflare.com/)
* [rpki-client.org VRPs](https://www.rpki-client.org/)

View File

@@ -17,7 +17,7 @@ Below you can see the parameters available:
|---|---|
|preCacheROAs| When this parameter is set to true (default), BGPalerter will download Validated ROA Payloads (VRPs) lists locally instead of using online validation. More info [here](https://github.com/massimocandela/rpki-validator).|
|refreshVrpListMinutes| If `preCacheROAs` is set to true, this parameter allows to specify a refresh time for the VRPs lists (it has to be > 15 minutes) |
|vrpProvider| A string indicating the provider of the VRPs list. Possible options are: `ntt` (default), `ripe`, `cloudflare`, `external`. Use external only if you wish to specify a file with `vrpFile`. More info [here](https://github.com/massimocandela/rpki-validator#options).|
|vrpProvider| A string indicating the provider of the VRPs list. Possible options are: `ntt` (default), `cloudflare`, `rpkiclient`, `ripe`, `external`. Use external only if you wish to specify a file with `vrpFile`. More info [here](https://github.com/massimocandela/rpki-validator#options).|
|vrpFile| A JSON file with an array of VRPs. See example below.|
|markDataAsStaleAfterMinutes| The amount of minutes (integer) after which an unchanged VRP list is marked as stale. Set to 0 to disable the check. |

View File

@@ -72,7 +72,7 @@
"nodemailer": "^6.4.17",
"path": "^0.12.7",
"restify": "^8.5.1",
"rpki-validator": "^2.2.12",
"rpki-validator": "^2.3.0",
"semver": "^7.3.4",
"syslog-client": "^1.1.1",
"ws": "^7.4.3",

View File

@@ -15,7 +15,7 @@ export default class RpkiUtils {
const defaultMarkDataAsStaleAfterMinutes = 60;
const providers = ["ntt", "ripe", "cloudflare", "external"]; // First provider is the default one
const providers = ["ntt", "ripe", "cloudflare", "rpkiclient", "external"]; // First provider is the default one
if (this.params.vrpFile) {
this.params.vrpProvider = "external";