Skip to content
Network & ISP

RPKI

RPKI is a cryptographic system that records which autonomous system is authorised to announce an IP block, and it is used to reject incorrect or malicious BGP announcements.

Stands for: Resource Public Key Infrastructure

BGP cannot check on its own whether a router announcing an IP block is actually entitled to announce it. That gap lets traffic be diverted to another network, either through misconfiguration or deliberate attack, in what is called prefix hijacking. Traffic for major services has been carried to the wrong networks for hours this way.

RPKI closes the gap with origin validation. Because IP blocks are allocated by the regional internet registries, the chain of authority starts with them. Each registry, including RIPE NCC which covers Türkiye, issues certificates for the blocks it allocates. The holder of a block then creates a ROA (Route Origin Authorization) record stating which autonomous system number may announce that block, and up to what prefix length.

Route Origin Validation (ROV) on the edge router compares every incoming announcement against the ROA records and returns one of three results: valid, invalid or not found. Common practice is to reject invalid announcements and let not-found ones follow normal policy. The router receives ROA data from a local validator over the RTR protocol, so that validator has to stay running.

There are two separate jobs for an operator. The first is to publish ROAs for your own blocks, so that others can detect it when somebody announces your prefix. The second is to validate incoming announcements. Done together, they noticeably reduce the impact of hijacking, and operator initiatives such as MANRS treat both steps as a baseline.

Have a project in mind?

Tell us briefly what you want to set up, or give us a call. We'll pass it to the right team.