Skip to main content
ExplainerInternet RoutingTrade-Off Analysis· 3 min read· in Guides

The Mechanics of BGP Security: Comparing RPKI, BGPsec, and Traditional Route Filtering

As internet routing faces persistent hijacking threats, network operators must weigh the cryptographic security of BGPsec against the lighter, widely adopted RPKI framework.

By Juliette Monroe

RPKI Pragmatists 60%BGPsec Maximalists 20%Traditional Operators 20%
RPKI Pragmatists
Advocate for immediate, widespread deployment of origin validation as the most practical defense.
BGPsec Maximalists
Argue that only full cryptographic path validation can secure the internet against state-sponsored attacks.
Traditional Operators
Rely on legacy route filtering and local trust relationships due to hardware limitations.

Perspectives this story doesn't cover

  • Hardware manufacturers designing BGPsec-capable ASICs
  • End-users whose data is intercepted during hijacks

The internet is a network of networks, and the Border Gateway Protocol (BGP) serves as its global postal service. Every time a user requests a webpage, sends an email, or streams a video, BGP determines the most efficient path across the globe's tens of thousands of Autonomous Systems (AS).[3][8]

However, BGP was designed in 1989 on a foundation of absolute trust. It inherently assumes that when a network claims it owns a specific block of IP addresses, it is telling the truth. There is no built-in mechanism to verify identity or authorization in the base protocol.[5]

This trust-by-default architecture creates a massive vulnerability known as BGP hijacking. If a malicious actor—or simply a misconfigured router—announces a false route, traffic intended for a legitimate destination is silently redirected to the hijacker's network.[4][7]

Real-world examples span from accidental outages to state-sponsored espionage. Between 2017 and 2026, major traffic misdirections have repeatedly exposed the fragility of global routing, sending European traffic through foreign telecom providers or blackholing major cloud services entirely.[2][6]

BGP hijacking occurs when a network falsely announces ownership of an IP prefix, redirecting traffic away from its legitimate destination.

To secure this infrastructure, network operators face a choice between three primary paradigms: traditional route filtering, Resource Public Key Infrastructure (RPKI), and the cryptographically rigorous BGPsec protocol.[1][3]

Traditional route filtering relies on manual or automated lists of trusted peers. Network administrators explicitly define which IP prefixes they will accept from specific neighboring networks, dropping any announcements that fall outside those parameters.[7]

While filtering is computationally cheap and requires no global coordination, it scales poorly. Maintaining accurate filter lists across tens of thousands of dynamic global routes is administratively impossible for Tier 1 transit providers, making it a localized band-aid rather than a systemic cure.[2]

While filtering is computationally cheap and requires no global coordination, it scales poorly.

Enter RPKI, which shifts the internet from assumed trust to cryptographic verification of the origin. RPKI uses Route Origin Authorizations (ROAs) to cryptographically bind an IP prefix to a specific AS number.[3][8]

When a router receives a BGP announcement, it checks the RPKI database. If the AS announcing the route does not match the cryptographic signature in the ROA, the route is flagged as invalid and dropped before traffic can be misdirected.[4]

RPKI adoption has surged globally, effectively eliminating accidental misconfigurations and simple origin hijacks. It provides a high return on investment for moderate computational overhead, making it the current industry standard for routing security.[5][6]

Yet, RPKI has a critical blind spot: it only validates the origin of the route, not the entire path. A sophisticated attacker can still forge the intermediate hops in the AS path, bypassing RPKI's origin validation entirely.[2][4]

While RPKI secures the origin of a route with moderate overhead, BGPsec secures the entire path at a much higher computational cost.

This is where BGPsec, formalized in RFC 8205, enters the equation. BGPsec is an extension to BGP that requires every single router along a path to cryptographically sign the route before passing it to the next hop.[1]

Under BGPsec, a router validates the entire chain of signatures. If any hop is forged or modified, the cryptographic validation fails, rendering path-based hijacking mathematically infeasible.[1][5]

The trade-off is severe hardware strain. BGPsec requires routers to perform complex cryptographic operations in real-time for hundreds of thousands of routes, demanding significant CPU and memory upgrades across the global backbone.[1][7]

Furthermore, BGPsec requires contiguous adoption. If even one router in a path does not support BGPsec, the chain of signatures breaks, and the protocol falls back to standard, unverified BGP.[1][3]

Global RPKI adoption has surged as network operators prioritize origin validation to prevent accidental route leaks.

For network operators today, the decision is not about finding a perfect silver bullet, but layering defenses. The industry consensus heavily favors aggressive RPKI deployment now, while treating BGPsec as a long-term architectural goal for when hardware capabilities catch up.[4][8]

Competing readings

Traditional Route Filtering

Manual and automated prefix lists based on local trust and peering agreements.

For: Requires zero cryptographic overhead, functions perfectly on legacy hardware, and gives operators absolute local control over peering relationships. Against: Administratively unscalable for global transit, highly prone to human error, and entirely useless against distant hijacks occurring multiple hops away. Evidence: Academic case studies demonstrate that manual filtering consistently fails to prevent transit AS hijacking on a global scale. Fits well when: Managing direct peering with known, local partners at an Internet Exchange Point (IXP). Does not fit when: Operating a Tier 1 backbone routing global traffic.

RPKI Route Origin Validation

Cryptographic validation of the route's originating network to prevent unauthorized announcements.

For: Stops the vast majority of accidental route leaks and simple hijacks, requires only moderate hardware resources, and provides immediate security benefits even with partial global adoption. Against: Does not validate the AS path, leaving networks vulnerable to sophisticated path-forgery attacks where a malicious actor appends their AS to a legitimate route. Evidence: Data from major transit providers shows RPKI successfully drops thousands of invalid routes daily without degrading network performance. Fits well when: Securing outbound announcements and filtering inbound traffic at the edge of enterprise or ISP networks. Does not fit when: Defending against highly resourced, state-sponsored path manipulation.

BGPsec Path Validation

Cryptographic signing of every hop in the routing path to ensure end-to-end integrity.

For: Provides mathematically rigorous protection against both origin and path hijacking, ensuring the exact route traffic takes is verified and untampered. Against: Imposes massive CPU and memory overhead on routers due to real-time cryptographic signature generation, and requires universal, contiguous adoption to function effectively. Evidence: IETF RFC 8205 outlines cryptographic requirements that currently exceed the processing capabilities of standard edge routers. Fits well when: Future hardware acceleration becomes ubiquitous and regulatory mandates force global compliance. Does not fit when: Deploying on current-generation edge routers with limited processing power.

70,000+
Autonomous Systems (AS) globally
RFC 8205
IETF specification for BGPsec
50%+
Estimated global RPKI adoption

Sources

Source coverage

9 outlets

3 viewpoints surfaced

RPKI Pragmatists 60%BGPsec Maximalists 20%Traditional Operators 20%
  1. [1]IETFBGPsec Maximalists

    RFC 8205: BGPsec Protocol Specification

    Read on IETF
  2. [2]ResearchGateTraditional Operators

    Case Studies Analysis on BGP : Prefix Hijacking and Transit AS

    Read on ResearchGate
  3. [3]Internet SocietyRPKI Pragmatists

    What is BGP Hijacking, Anyway?

    Read on Internet Society
  4. [4]KentikRPKI Pragmatists

    BGP Hijacking: Understanding Threats to Internet Routing

    Read on Kentik
  5. [5]SentinelOneBGPsec Maximalists

    Border Gateway Protocol (BGP): A Security-First Guide

    Read on SentinelOne
  6. [6]Anapaya Systems

    BGP hijacking examples: a timeline of real-world attacks (2017–2026)

    Read on Anapaya Systems
  7. [7]CiscoTraditional Operators

    Understanding the Risks of Traffic Hijacking

    Read on Cisco
  8. [8]CloudflareRPKI Pragmatists

    What Is BGP Hijacking?

    Read on Cloudflare
  9. [9]Factlen Editorial Team

    Synthesis by Factlen editorial team

    Read on Factlen Editorial Team

Comments

Stay informed

Every angle. Every day.

Get Guides stories with full source coverage and perspective breakdowns delivered to your inbox.