Octet

How do you secure a BGP session and the router running it?

Show the answer

Say this first

In layers. Authenticate the TCP session (MD5, or TCP-AO where supported). Use GTSM (ttl-security hops 1) so only a directly connected device can reach port 179. Allow 179 only from configured peers with an infrastructure ACL and control plane policing. Filter prefixes both ways: only my space out, bogons and too-specific routes in. Cap each session with maximum-prefix, and validate origins with RPKI. Most real incidents are leaks and hijacks, so route filtering matters more than the password.

Go deeper

Cisco IOS
router bgp 64500
 neighbor 192.0.2.1 remote-as 64496
 neighbor 192.0.2.1 password Example-Key-2026
 neighbor 192.0.2.1 ttl-security hops 1
 neighbor 192.0.2.1 prefix-list FROM-ISP in
 neighbor 192.0.2.1 prefix-list OUR-PREFIXES out
 neighbor 192.0.2.1 maximum-prefix 2000 80
ThreatControl
Spoofed TCP resets or session hijackMD5 or TCP-AO, GTSM
CPU exhaustion through port 179Infrastructure ACL, CoPP
Peer sends junk or a leakInbound prefix filters, maximum-prefix, RPKI
You leak by mistakeOutbound prefix and AS path filters
Someone announces your spaceROAs for your prefixes, monitoring

MANRS

The industry baseline for network operators, MANRS, asks for four actions: filtering, anti-spoofing (BCP 38 source address validation), coordination (up-to-date contacts) and global validation (publishing IRR and RPKI data).

Traps

  • Treating the MD5 password as the main protection. It stops spoofed resets, not bad routes.
How did you do?Book 4.1 Global InternetBook 8.5 Example Systems