Lion Cipher Lab

Validate BGP route origins with RPKI (stop route hijacks with ROAs and ROV)

Why it matters

Every other defence you build -- firewalls, segmentation, TLS -- assumes your packets actually reach the network you intended. BGP, the protocol that steers traffic between networks across the whole internet, was designed with no way to prove that the AS announcing a block of addresses is allowed to. Any autonomous system can stand up and announce any prefix, and by default its neighbours believe it. That single gap is the root of route hijacking: sometimes an accident (an operator leaks a more-specific prefix and unintentionally black-holes a chunk of a big provider), sometimes deliberate…

What you'll learn

Steps in this lab

  1. The threat: BGP believes whoever speaks up
  2. The defence: the RPKI trust chain, ROAs, VRPs, RTR, and ROV
  3. Lay out the lab: one validator, three routers, no real internet
  4. Seed your own ROAs (SLURM) and run Routinator
  5. Wire the validating router (FRR) to Routinator over RTR
  6. Announce a legit prefix (VALID) and an unsigned one (NOTFOUND)
  7. Write the policy: RPKI classifies, YOU decide (the route-map)
  8. Launch the hijack: same prefix, wrong origin (INVALID, dropped)
  9. The maxLength trap: how a loose ROA re-opens the door
  10. The judgment: what ROV does not do, and how to do routing security right

Open the full interactive lab →