Skip to main content

Book Exercise Lanes

This module's exercise system is book-driven. Use these local chunks for targeted volume after you have already learned the concept from the guide.

How To Use This Page

  1. Finish the relevant concept page first.
  2. Solve at least one problem of your own from memory (design a subnet, trace a handshake, write a socket skeleton).
  3. Only then open the matching exercise lane.
  4. Keep a mistake log with tags such as wrong layer, wrong subnet, confused TIME_WAIT / CLOSE_WAIT, forgot htons, missing Content-Length, or blocked in event loop.

Lane 1: Layered Model, Addressing, and IP

Use this lane when your main problem is thinking in layers or doing subnet math.

Target outcomes:

  • 10 correctly solved CIDR problems (network, broadcast, usable range, membership)
  • 4 encapsulation diagrams drawn from memory
  • 3 "which layer owns this" classifications of real symptoms

Lane 2: TCP and UDP

Use this lane when you understand the layers but confuse TCP's mechanisms or its state machine.

Target outcomes:

  • 6 full handshake / close walkthroughs from a packet capture you produced yourself
  • 4 state-machine questions answered from memory (CLOSE_WAIT, TIME_WAIT, FIN_WAIT_2, LAST_ACK)
  • 3 UDP-vs-TCP choice defenses written in one paragraph each

Lane 3: HTTP, TLS, and Application Protocols

Use this lane when you can describe TCP but your HTTP or TLS explanations are vague.

Target outcomes:

  • 5 HTTP request/response pairs written from memory for realistic endpoints
  • 4 "pick the right status code" judgments with one-sentence justifications
  • 2 TLS handshake diagrams drawn from scratch

Lane 4: Sockets, Server Architecture, and Debugging

Use this lane when you can discuss protocols but struggle to implement or debug them.

Target outcomes:

  • 3 working echo servers (iterative, threaded, event-driven) you wrote yourself
  • 2 .pcap captures you produced, annotated by hand
  • 1 short benchmark comparing at least two server architectures under load

Self-Curated Problem Set

Build a custom set with these minimums:

  • 5 subnet and CIDR problems
  • 5 TCP state-machine or handshake problems
  • 3 HTTP-on-the-wire reading exercises
  • 2 TLS handshake diagrams
  • 3 socket programming mini-exercises

Completion Checklist

  • Completed at least one lane in full
  • Logged at least 10 real mistakes and corrections
  • Produced at least two .pcap files from programs you wrote or ran yourself
  • Wrote at least one page of prose on a protocol choice you had to defend
  • Re-attempted at least three failed exercises after review