Lion Cipher Lab

Trace one HTTPS request end to end: DNS, routing, TCP, TLS, HTTP

Why it matters

Two very different rooms ask you the same question. The first is an interview room: "what happens when you type a URL into your browser and press Enter?" is the most-asked technical question in the industry, and it is asked precisely because it has no bottom — a nervous candidate says "it loads the website," a good one walks calmly from name resolution through routing, TCP, TLS, HTTP and rendering, and pauses at each layer to say what could go wrong there. The second room is on-call at 2am, where someone has just said "the site is slow" or "the site is down," and the only thing standing…

What you'll learn

Steps in this lab

  1. The question everyone gets asked — and the map you need to answer it
  2. Layer 1 — name resolution: watch DNS walk down from the root
  3. Layer 2 — getting there: the hops between you and the address
  4. Layer 3 — the TCP connection: three packets, and two very different failures
  5. Layer 4 — the TLS handshake: agreeing on keys and checking who you are talking to
  6. Layer 5 — the HTTP exchange, and the punchline: curl -v shows you all of it at once
  7. Put a stopwatch on it: which layer actually costs the milliseconds?
  8. The judgment step: "it's slow" / "it's broken" — how a professional bisects it
  9. The defender's view: which layer actually has evidence
  10. What you actually learned — and how to say it out loud

Open the full interactive lab →