Fireship · @fireship

The Internet's most broken protocol

Uploaded September 11, 2024 · Length 4:13

The Internet's most broken protocol

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.

  1. 0:00

    that the White House finally admitted it

  2. 0:01

    our country is under attack and we need

  3. 0:03

    to secure our border no I'm not talking

  4. 0:05

    about the northern border to keep

  5. 0:06

    Canadians out I'm talking about the

  6. 0:08

    Border Gateway protocol one of the

  7. 0:09

    fundamental pillars holding up the

  8. 0:11

    internet and global economy with duct

  9. 0:13

    tape and hope back in 2008 YouTube went

  10. 0:15

    down across the entire world and we were

  11. 0:17

    deprived of Nigahiga for hours all

  12. 0:19

    because some government official in

  13. 0:21

    Pakistan messed up a config value when

  14. 0:23

    trying to censor the internet in 2018

  15. 0:25

    Amazon Route 53 DNS traffic was hijacked

  16. 0:28

    and wiped out the life savings of a

  17. 0:30

    bunch of Crypt Bros then in 2021 yet

  18. 0:32

    another misconfiguration took out

  19. 0:34

    Facebook and insta for multiple hours

  20. 0:36

    the world began to heal but

  21. 0:37

    unfortunately they fixed it and came

  22. 0:39

    back online and on multiple occasions

  23. 0:41

    China and Russia have intercepted us

  24. 0:43

    internet traffic but none of these

  25. 0:44

    incidents should have ever happened in

  26. 0:46

    today's video you'll learn exactly how

  27. 0:48

    the Border Gateway protocol works why

  28. 0:50

    it's broken and the plan to fix it it is

  29. 0:52

    September 11th 2024 and you were

  30. 0:54

    watching the code report if you're a

  31. 0:56

    highly experienced web developer like me

  32. 0:57

    you might be feeling some imposter

  33. 0:59

    syndrome for having no idea what the

  34. 1:01

    Border Gateway protocol is don't feel

  35. 1:03

    bad though it's above our pay grade you

  36. 1:04

    see the internet is like a Jenga Tower

  37. 1:06

    of protocols and one of the most sketchy

  38. 1:08

    pieces in that Tower is something called

  39. 1:10

    The Border Gateway protocol the internet

  40. 1:12

    is made up of a collection of networks

  41. 1:14

    that work like their own autonomous

  42. 1:15

    systems like an ISP big Corporation or

  43. 1:18

    government agency might all have their

  44. 1:20

    own networks and bgp allows them to

  45. 1:22

    announce two things that the network

  46. 1:24

    exists and which networks can be reached

  47. 1:26

    by them allowing routers to

  48. 1:27

    automatically decide the most efficient

  49. 1:29

    path to take it's almost like the post

  50. 1:31

    office of the internet at the global

  51. 1:32

    level individual IP addresses get

  52. 1:34

    grouped together into prefixes and then

  53. 1:36

    routing tables between Anonymous systems

  54. 1:38

    are maintained by the border Gateway

  55. 1:40

    protocol like for example all the

  56. 1:42

    traffic coming out of Verizon routers is

  57. 1:44

    one autonomous system and all the

  58. 1:46

    traffic coming from AT&T is another

  59. 1:48

    these networks are all connected

  60. 1:49

    together by routes and this diagram

  61. 1:51

    shows how bgp helps them find the most

  62. 1:53

    efficient route to take in order to send

  63. 1:54

    packets between these networks that's

  64. 1:56

    all good but the problem is that this

  65. 1:58

    thing was designed 25 years ago go