SlideShare a Scribd company logo
A Simple BGP
Alexander Azimov
Qrator Labs
BGP Policy is made by…
• Local Pref
• Prepends
• RPSL
• RPKI
• Communities
And other XX config options
Ha! Easy! Love flexibility!
But is it simple?
140 RFC have already been written!
388 RFC drafts
Numerous BCPs…
KISS is not for BGP?
It could be quite simple…
protocol bgp IAMOPERATOR {
local as MY_AS;
neighbor X.X.X.X as AS_PROVIDER;
}
The Great Gap
Expectation BGP Configuration
A Simple Result
A simple route leak!
Internal Session
local as MY_AS;
neighbor X.X.X.X as AS_UPSTREAM_X;
local as MY_AS;
neighbor Y.Y.Y.Y as AS_UPSTREAM_Y;
Route Leak: stats
0
100000
200000
300000
400000
500000
600000
August September October November*
Who is the leaker?
About ~1000 leakers affect… Everybody!
Newcomers
0
10000
20000
30000
40000
50000
60000
2010 2011 2012 2013 2014 2015
Imagine yourself on a highway…
Option 1: Regulation
bgpbusters!
Are you afraid of leaks?
Option 2: A new BGP extension
Meet The Neighbor Role
4 Roles: customer, provider, peer, internal
Optional non-transit attribute – Role Marker
Role
Import Marker
Internal Session
No role marker change
Role
Export Filter
Idle state: No role set
Notification: The Wrong Role
OPEN with
customer role
OPEN with
peer role
Capabilities
NotificationNotification
3 pairs of non-conflict roles:
1. Peer <---> Peer
2. Customer <---> Provider
3. Internal <---> Internal
Strict Mode
OPEN with
no role
OPEN with
peer role
Notification
Notification if the role is not set in OPEN from the
neighbor
A Simple Config
protocol bgp IAMOPERATOR {
local as MY_AS;
neighbor X.X.X.X as AS_PROVIDER;
role provider
}
Benefits
Backward compatibility
• Unknown optional non-transit attributes are
just ignored
• Unknown capabilities should be just ignored!
Route leak extinction:
• No mistake leaks
• Opportunity to control neighbor configuration
Useful Links
Overview of protocol change:
radar.qrator.net/tools/simple-bgp/
Fork of BIRD routing daemon:
github.com/QratorLabs/bird/
Alexander Azimov
<aa@qrator.net>

More Related Content

PDF
ISP Border Definition
PDF
How to measure global reachability
PPTX
Comunicacion e imformacion
PDF
Тренды 2015 года в области интернет-безопасности в россии и в мире
PDF
Network Security in 2016
PDF
Border Gateway Protocol BGP Info abot dynamic
PPTX
Border Gateway Protocol
ISP Border Definition
How to measure global reachability
Comunicacion e imformacion
Тренды 2015 года в области интернет-безопасности в россии и в мире
Network Security in 2016
Border Gateway Protocol BGP Info abot dynamic
Border Gateway Protocol

Similar to A Simple BGP (20)

PDF
BGP (border gateway routing protocol)
PDF
bgp_attributes_202uyuyuyuyuyuyuyu00124.pdf
PPT
BGP Overview
PPTX
PPT
PDF
The benefit of BGP for every service provider
PDF
BGP Techniques for Network Operators
PPTX
Border Gateway Protocol (BGP)
PPT
BSCI30S06 border gateway protocol BG ppt
PPTX
ENCOR_Chapter_11 - ‌BGP implementation.pptx
DOCX
BGP Protocol Makes the Internet Work
PPTX
BGP Protocol 2024 boarder gateway protocol.pptx
PDF
BGP
PDF
Redes Avanzado Sdwan proyecto autoestudio
PPTX
An Overview of Border Gateway Protocol (BGP)
PDF
Protecting Your Internet Route Integrity
PPTX
bgp protocol
PPTX
BGP Ebook: Everything you need to know about Border Gateway Protocol
PDF
Apnic_bgp_training_cisco_ciscosaicoc.pdf
PPTX
15 coms 525 tcpip - border gateway protocols
BGP (border gateway routing protocol)
bgp_attributes_202uyuyuyuyuyuyuyu00124.pdf
BGP Overview
The benefit of BGP for every service provider
BGP Techniques for Network Operators
Border Gateway Protocol (BGP)
BSCI30S06 border gateway protocol BG ppt
ENCOR_Chapter_11 - ‌BGP implementation.pptx
BGP Protocol Makes the Internet Work
BGP Protocol 2024 boarder gateway protocol.pptx
BGP
Redes Avanzado Sdwan proyecto autoestudio
An Overview of Border Gateway Protocol (BGP)
Protecting Your Internet Route Integrity
bgp protocol
BGP Ebook: Everything you need to know about Border Gateway Protocol
Apnic_bgp_training_cisco_ciscosaicoc.pdf
15 coms 525 tcpip - border gateway protocols
Ad

More from Qrator Labs (20)

PDF
Годовой отчет Qrator Labs об угрозах интернета 2017
PDF
Qrator Labs annual report 2017
PDF
Memcached amplification DDoS: a 2018 threat.
PDF
DNS Survival Guide.
PDF
BGP Flexibility and its Consequences.
PDF
BGP Route Leaks at Ripe74
PDF
IoT: реальная угроза или маркетинг?
PDF
Состояние сетевой безопасности в 2016 году
PDF
Сколько стоит доступ в память, и что с этим делать
PDF
Анализ количества посетителей на сайте [Считаем уникальные элементы]
PDF
Caution i pv6 is here
PPTX
Масштабируя TLS
PDF
DDoS Attacks in 2017: Beyond Packet Filtering
PDF
Internet Roads of Caucasus
PDF
Latency i pv4 vs ipv6
PDF
Особенности использования машинного обучения при защите от DDoS-атак
PDF
Финансовый сектор. Аспекты информационной безопасности 2016
PDF
White Paper. Эволюция DDoS-атак и средств противодействия данной угрозе
PDF
Russian and Worldwide Internet Security Trends 2015
PDF
Lightning talk on connection between research and production code
Годовой отчет Qrator Labs об угрозах интернета 2017
Qrator Labs annual report 2017
Memcached amplification DDoS: a 2018 threat.
DNS Survival Guide.
BGP Flexibility and its Consequences.
BGP Route Leaks at Ripe74
IoT: реальная угроза или маркетинг?
Состояние сетевой безопасности в 2016 году
Сколько стоит доступ в память, и что с этим делать
Анализ количества посетителей на сайте [Считаем уникальные элементы]
Caution i pv6 is here
Масштабируя TLS
DDoS Attacks in 2017: Beyond Packet Filtering
Internet Roads of Caucasus
Latency i pv4 vs ipv6
Особенности использования машинного обучения при защите от DDoS-атак
Финансовый сектор. Аспекты информационной безопасности 2016
White Paper. Эволюция DDoS-атак и средств противодействия данной угрозе
Russian and Worldwide Internet Security Trends 2015
Lightning talk on connection between research and production code
Ad

Recently uploaded (20)

PPTX
Mathew Digital SEO Checklist Guidlines 2025
PDF
📍 LABUAN4D EXCLUSIVE SERVER STAR GAMING ASIA NO.1 TERPOPULER DI INDONESIA ! 🌟
PDF
Session 1 (Week 1)fghjmgfdsfgthyjkhfdsadfghjkhgfdsa
PPTX
IPCNA VIRTUAL CLASSES INTERMEDIATE 6 PROJECT.pptx
PPTX
artificialintelligenceai1-copy-210604123353.pptx
PPTX
1402_iCSC_-_RESTful_Web_APIs_--_Josef_Hammer.pptx
PDF
Slides PDF: The World Game (s) Eco Economic Epochs.pdf
PDF
Uptota Investor Deck - Where Africa Meets Blockchain
PPTX
Layers_of_the_Earth_Grade7.pptx class by
PDF
SlidesGDGoCxRAIS about Google Dialogflow and NotebookLM.pdf
PPTX
artificial intelligence overview of it and more
PPTX
Funds Management Learning Material for Beg
PPT
250152213-Excitation-SystemWERRT (1).ppt
PPT
Design_with_Watersergyerge45hrbgre4top (1).ppt
PPTX
Database Information System - Management Information System
PPTX
June-4-Sermon-Powerpoint.pptx USE THIS FOR YOUR MOTIVATION
PPTX
t_and_OpenAI_Combined_two_pressentations
PDF
SASE Traffic Flow - ZTNA Connector-1.pdf
PPT
415456121-Jiwratrwecdtwfdsfwgdwedvwe dbwsdjsadca-EVN.ppt
PPT
isotopes_sddsadsaadasdasdasdasdsa1213.ppt
Mathew Digital SEO Checklist Guidlines 2025
📍 LABUAN4D EXCLUSIVE SERVER STAR GAMING ASIA NO.1 TERPOPULER DI INDONESIA ! 🌟
Session 1 (Week 1)fghjmgfdsfgthyjkhfdsadfghjkhgfdsa
IPCNA VIRTUAL CLASSES INTERMEDIATE 6 PROJECT.pptx
artificialintelligenceai1-copy-210604123353.pptx
1402_iCSC_-_RESTful_Web_APIs_--_Josef_Hammer.pptx
Slides PDF: The World Game (s) Eco Economic Epochs.pdf
Uptota Investor Deck - Where Africa Meets Blockchain
Layers_of_the_Earth_Grade7.pptx class by
SlidesGDGoCxRAIS about Google Dialogflow and NotebookLM.pdf
artificial intelligence overview of it and more
Funds Management Learning Material for Beg
250152213-Excitation-SystemWERRT (1).ppt
Design_with_Watersergyerge45hrbgre4top (1).ppt
Database Information System - Management Information System
June-4-Sermon-Powerpoint.pptx USE THIS FOR YOUR MOTIVATION
t_and_OpenAI_Combined_two_pressentations
SASE Traffic Flow - ZTNA Connector-1.pdf
415456121-Jiwratrwecdtwfdsfwgdwedvwe dbwsdjsadca-EVN.ppt
isotopes_sddsadsaadasdasdasdasdsa1213.ppt

A Simple BGP