Fireship · @fireship
The Internet's most broken protocol
Uploaded September 11, 2024 · Length 4:13
Summary
The video explains how the Border Gateway Protocol (BGP) works, its security issues, and the plan to fix it.
- border gateway protocol
- bgp security issues
- internet security
- routing protocols
- network security
Transcript preview
The first 2 minutes of the transcript. Select a timestamp to watch that moment on YouTube.
- 0:00
that the White House finally admitted it
- 0:01
our country is under attack and we need
- 0:03
to secure our border no I'm not talking
- 0:05
about the northern border to keep
- 0:06
Canadians out I'm talking about the
- 0:08
Border Gateway protocol one of the
- 0:09
fundamental pillars holding up the
- 0:11
internet and global economy with duct
- 0:13
tape and hope back in 2008 YouTube went
- 0:15
down across the entire world and we were
- 0:17
deprived of Nigahiga for hours all
- 0:19
because some government official in
- 0:21
Pakistan messed up a config value when
- 0:23
trying to censor the internet in 2018
- 0:25
Amazon Route 53 DNS traffic was hijacked
- 0:28
and wiped out the life savings of a
- 0:30
bunch of Crypt Bros then in 2021 yet
- 0:32
another misconfiguration took out
- 0:34
Facebook and insta for multiple hours
- 0:36
the world began to heal but
- 0:37
unfortunately they fixed it and came
- 0:39
back online and on multiple occasions
- 0:41
China and Russia have intercepted us
- 0:43
internet traffic but none of these
- 0:44
incidents should have ever happened in
- 0:46
today's video you'll learn exactly how
- 0:48
the Border Gateway protocol works why
- 0:50
it's broken and the plan to fix it it is
- 0:52
September 11th 2024 and you were
- 0:54
watching the code report if you're a
- 0:56
highly experienced web developer like me
- 0:57
you might be feeling some imposter
- 0:59
syndrome for having no idea what the
- 1:01
Border Gateway protocol is don't feel
- 1:03
bad though it's above our pay grade you
- 1:04
see the internet is like a Jenga Tower
- 1:06
of protocols and one of the most sketchy
- 1:08
pieces in that Tower is something called
- 1:10
The Border Gateway protocol the internet
- 1:12
is made up of a collection of networks
- 1:14
that work like their own autonomous
- 1:15
systems like an ISP big Corporation or
- 1:18
government agency might all have their
- 1:20
own networks and bgp allows them to
- 1:22
announce two things that the network
- 1:24
exists and which networks can be reached
- 1:26
by them allowing routers to
- 1:27
automatically decide the most efficient
- 1:29
path to take it's almost like the post
- 1:31
office of the internet at the global
- 1:32
level individual IP addresses get
- 1:34
grouped together into prefixes and then
- 1:36
routing tables between Anonymous systems
- 1:38
are maintained by the border Gateway
- 1:40
protocol like for example all the
- 1:42
traffic coming out of Verizon routers is
- 1:44
one autonomous system and all the
- 1:46
traffic coming from AT&T is another
- 1:48
these networks are all connected
- 1:49
together by routes and this diagram
- 1:51
shows how bgp helps them find the most
- 1:53
efficient route to take in order to send
- 1:54
packets between these networks that's
- 1:56
all good but the problem is that this
- 1:58
thing was designed 25 years ago go


