12 parts · 21 chapters
Computer Networking, Complete
Every distributed system, API and web page rides on a stack of protocols designed decades apart. Knowing what each layer guarantees, and what it does not, explains latency, timeouts, outages and security problems that look mysterious from the application.
Twelve parts: layers, honestly; Ethernet and switching; IP and routing including BGP; TCP in depth; congestion control; UDP and QUIC; DNS; TLS; HTTP from 1.1 to 3; NAT and firewalls; capture and analysis with tcpdump and Wireshark; and a capstone that implements a small TCP stack over a TUN device.
layersWhat each layer adds, and the leaky reality of the OSI model.
IP and routingAddresses, subnets, routing tables, BGP and how the internet is glued together.
TCPHandshakes, sequence numbers, windows, retransmission, congestion control.
modern transportUDP, QUIC and HTTP/3.
naming and securityDNS resolution, caching and attacks; TLS 1.3 handshakes and certificates.
practicetcpdump, Wireshark, and a TCP stack you build.
00
Layers, Honestly
Layers and encapsulation · The end-to-end argument
2 ch · ~12 min01Ethernet and Switching
Frames, ARP and switches
1 ch · ~8 min02IP and Routing
Addresses, subnets and routes · Anycast and path MTU
2 ch · ~12 min03TCP in Depth
Handshake, bytes and close · Retransmission, Nagle and keep-alive
2 ch · ~12 min04Congestion Control
Windows that grow and shrink · Bufferbloat and application design
2 ch · ~12 min05UDP and QUIC
Transport rebuilt · Operating QUIC
2 ch · ~12 min06DNS
Resolution and caching · Records, TTLs and failure modes
2 ch · ~12 min07TLS
The handshake · Certificates in production
2 ch · ~12 min08HTTP from 1.1 to 3
Three wires, one meaning · Where versions are terminated
2 ch · ~12 min09NAT and Firewalls
NAT · Firewalls, security groups and egress
2 ch · ~12 min10tcpdump and Wireshark
Capture and read
1 ch · ~8 min11Capstone: A TCP Stack over a TUN Device
The build
1 ch · ~8 minBuilt on Computers part 5How Computers Work part 5 introduced packets, TCP and sockets; this course goes the full depth. Distributed Systems, Cloud networking and Backend Debugging part 5 build on it.