Subject: [sidr] RIPE NCC RPKI Validator 2.11, with API

From: Alex Band <[email-masked]>
Date: Wed, 26 Jun 2013 20:07:56 +0200

Hi folks,

We just released RPKI Validator 2.11 which has a RESTful API. It allows users to query for validity information about a BGP announcement. They will get a response in JSON format containing the following data:

- The validity state
- The VRPs that caused the state
- In case of an 'Invalid' state, the reason (unauthorised AS or more specific than MaxLength)

So for example, when running this:

$ curl http://localhost:8080/api/v1/validity/AS12654/93.175.147.0/24

The response will be:

{
  "validated_route":{
    "route":{
      "origin_asn":"AS12654",
      "prefix":"93.175.147.0/24"
    },
    "validity":{
      "state":"Invalid",
      "reason":"as",
      "description":"At least one VRP Covers the Route Prefix, but no VRP ASN matches the route origin ASN",
      "VRPs":{
        "matched":[],
        "unmatched_as":[{
        "asn":"AS196615",
        "prefix":"93.175.147.0/24",
        "max_length":24
      }],
      "unmatched_length":[]
    }
  }
}

Full documentation is available here:
https://www.ripe.net/data-tools/developer-documentation/rpki-validator-api

You can download the application here:
http://www.ripe.net/lir-services/resource-management/certification/tools-and-resources

We hope that this is useful for you. Please let us know if you have any feedback, we'd love to know how we can expand on this functionality.

Cheers,

Alex