Skip to content

BGP/RIPE RIS

BGP routing data from RIPE RIS (Routing Information Service) provides visibility into global routing changes and anomalies.

Overview

Property Value
Type Network incidents
Coverage Global
Update Frequency Real-time
Confidence Score 0.5
Source Identifier bgpstream

Data Provided

  • BGP route withdrawals
  • Prefix announcements
  • AS path changes
  • Routing anomalies

API Endpoints

Country Resources

https://stat.ripe.net/data/country-resource-list/data.json?resource={country_code}

BGP Updates

https://stat.ripe.net/data/bgp-updates/data.json?resource={asn}

Incident Fields

Field Source
id Generated: bgp-{country}-{asn}-{timestamp}
kind Always "network"
asn ASN experiencing the event
region Country code
incidentCause BGP_WITHDRAWAL or BGP_UPDATE

Example Response

{
  "id": "bgp-US-AS12345-1705312800",
  "kind": "network",
  "status": "ongoing",
  "startedAt": "2025-01-15T10:00:00Z",
  "confidence": 0.5,
  "summary": "BGP withdrawal detected for AS12345 in US",
  "region": "US",
  "asn": "AS12345",
  "source": "bgpstream",
  "incidentCause": "BGP_WITHDRAWAL"
}

Detection Logic

  1. Fetch ASNs for monitored countries (US by default)
  2. Query BGP updates for each ASN
  3. Detect significant withdrawals or path changes
  4. Generate incidents for anomalous events

Confidence Score

The lower confidence score (0.5) reflects that:

  • BGP events may be routine maintenance
  • Not all withdrawals indicate outages
  • Requires correlation with other sources for validation

Limitations

  • High volume of normal BGP churn
  • May generate false positives
  • Limited geographic precision
  • No customer impact estimates