Skip to content

Lesson 9 of 9 · 24m

The Incident Playbook: From Symptom to Packet-Level Hypothesis

A field workflow for turning vague reports into testable network hypotheses: classify the symptom, choose observability, correlate host and packet evidence, and avoid the common misdiagnoses.

The worst incident question is “is the network down?” It gives you nothing to test. The first job is translating a user symptom into a measurable transport behavior: connect failures, handshake stalls, slow first byte, midstream stalls, resets, or inconsistent latency. Each has a different evidence trail.

Classify before capturing

cannot connect          SYN loss, no listener, firewall, routing, RST
connects then stalls    MTU, zero window, application deadlock, proxy buffering
slow but completes      congestion, small windows, RTT, retransmission, TLS overhead
works intermittently    asymmetric routing, one unhealthy backend, packet loss, DNS rotation
resets after data       middlebox timeout, application close behavior, protocol mismatch

This classification determines where you look first. Do not open a thousand packets because they are available; ask what packet pattern would confirm or reject the current hypothesis.

Combine host state with packet evidence

Packets show what crossed a point. Host state shows why an endpoint behaved that way. Use both.

ss -tinp                         # sockets, cwnd, rtt, retransmits
ip -s link                       # interface errors and drops
nstat -az | grep -E 'TcpRetrans|TcpTimeouts'
conntrack -L | grep 203.0.113.20 # stateful middlebox or NAT view, where applicable

Retransmits in ss plus clean interface counters can push investigation upstream. Interface drops plus no upstream loss may mean the host never transmitted the packet you are blaming the network for losing.

Correlate across layers deliberately

If TCP retransmits but IP connectivity is otherwise stable, test whether loss is flow-specific. If all flows to one backend reset while others succeed, suspect load-balancer pool state or application close behavior. If everything through one tunnel stalls after large packets, return to MTU. The point is not to collect facts; it is to eliminate competing explanations.

Write hypotheses that can fail

Bad: “the network is congested.”

Better: “server-to-client packets are lost after the first full-sized segments; client capture shows no ACK advance and duplicate SYN-independent retransmits, while server capture shows segments leaving.”

That version predicts what the next capture or test should show. If it does not, you learned something instead of defending a vague belief.

The handoff artifact

A useful packet incident note contains:

  • affected four-tuple and time window
  • capture locations and interfaces
  • whether the handshake is present
  • evidence lines or packet numbers
  • what the packet pattern proves
  • what it does not prove
  • next test and owner

Field notes

  • Load-balanced incidents often affect one backend; capture the backend identity before declaring randomness.
  • A successful TCP connection followed by application silence is often not a network problem.
  • Do not normalize “just retry it” before understanding whether retry masks data corruption or user-visible duplication.
  • Packet captures are sensitive evidence; restrict access and retention.
  • The fastest experts are not the ones who know every flag; they are the ones who choose the next discriminating test quickly.

Was this lesson helpful?

Sign in to rate