← All lessons
Networking
12 lessons you click through step by step
- How hybrid key exchange worksRun X25519 and ML-KEM side by side, mix both secrets into one key, then break one half
- How IP routing worksSend a packet router to router, pick the longest matching prefix and watch the TTL run down
- How UDP worksSend a datagram with no handshake, lose a few on the way and see why games and DNS still pick it
- How HTTP requests workBuild a request from method, path, headers and body, send it and read the status code that comes back
- How QUIC and HTTP/3 workOpen a connection in one round trip, lose a packet without stalling every stream and switch networks mid-download
- How NAT worksSwap a private address for a public one, fill the translation table and see why a packet from outside gets dropped
- How DNS worksFollow a domain lookup to its name server, then cache it
- How TCP delivers dataOpen a connection, drop a packet, and watch it resend
- How a CDN worksFetch a page from far away, then from a nearby edge
- How load balancing worksSpread requests across servers, then take one down
- How WebSockets workTurn one request into a line that talks both ways
- How HTTPS worksSend a password over HTTP and HTTPS, then fake a certificate