Lesson 6 of 9 · 26m
Windows, Resets, and Application Stalls
Read receive-window pressure, zero windows, connection resets, and the difference between network stalls and application pauses.
Some of the most expensive outages are not loss events. They are perfectly reliable connections where one endpoint simply stops being able — or willing — to accept data. TCP tells you this through windows, acknowledgements, resets, and long silences. If you read only retransmissions, you miss the real failure.
The receive window is a receiver's admission ticket
Every ACK advertises how much buffer space the receiver is willing to accept. Wireshark's tcp.analysis.window_full means the sender has filled the currently advertised window and must wait for more room.
server -> client seq=100000 len=1460
client -> server ack=114600 win=8192
server -> client seq=114600 len=8192 [window full]This does not mean the network is congested. It often means the receiving application is not reading fast enough, the client is CPU-bound, a browser is throttling a background tab, or a proxy is applying backpressure.
Zero window is a hard stop
client -> server ack=200000 win=0The receiver is explicitly saying "stop." Data transfer pauses until a window update opens room; TCP persist probes may test whether it reopened. If the application recovers, a nonzero window update appears and data resumes without a new connection.
Diagnosis depends on direction. A server filling a client window points toward client consumption. A client filling a server upload window points toward server ingestion or application queuing. Never treat zero window as a generic network fault.
Resets have meaning, but only in context
A TCP RST is an abrupt close. It may come from the application, the operating system, a firewall, a load balancer, or an idle timeout device pretending to be an endpoint. Context tells you which is plausible.
client -> server SYN
server -> client RST, ACKThat is immediate refusal: no listener, firewall reject, or service policy. But this is different:
HTTP/1.1 200 OK ...
... 15 minutes idle ...
server -> client RSTThat is more consistent with idle timeout or deliberate teardown. In long-lived flows, note who sends the reset, when it occurs, and whether the sequence number fits the existing stream. Middlebox-generated resets often reveal timing or sequence inconsistencies at endpoint captures.
Long silence is an application signature until proven otherwise
If a request is fully acknowledged and then nothing happens for eight seconds, the network has already done its job for the bytes sent. The next question is what the application was doing.
10.000 client -> server request
10.002 server -> client ack
18.135 server -> client responseThat is not packet loss. It is server think time, database wait, authentication delay, queueing, or application deadlock. Wireshark cannot choose among those by itself, but it can narrow the fault domain enough to stop you from blaming the network.
Half-open and broken connection behavior
When one side disappears without FIN or RST, the other may discover it only after keepalive probes or a write attempt. TCP keepalive defaults are often hours, so application-layer heartbeats matter; a silent peer may be a crashed peer that no longer exists to answer.
Field notes
- Examine
tcp.window_size_valuewith the negotiated window scale; raw packet fields can mislead when scaling is active. - Load balancers often reset rather than forward malformed or timed-out flows; capture both sides of the device if the evidence matters.
- A FIN means orderly close. An RST means abortive close. Applications frequently log both as "connection closed," hiding a critical distinction.
- When transfer speed collapses without loss, plot throughput alongside receive window before touching congestion-control theories.
Was this lesson helpful?