Use this Topic to distinguish data loss from acknowledgement-path loss, understand duplicate ACKs and SACK blocks, and decide whether the sender, forward path, receiver or reverse path owns the next test.
Acknowledgements
A TCP ACK value is cumulative: it normally means all bytes before that number have been received contiguously. Selective Acknowledgement can advertise additional received byte ranges when a gap remains.
1. Capture the stream; look at the ACK numbers from the receiver.
2. ACK advancing steadily → receiver gets data.
3. Duplicate ACKs → a segment is missing; SACK blocks show what arrived after it.
4. Data arrives but ACKs do not reach the sender → reverse-path problem.
5. Capture at both ends to locate the loss.
receiver gets contiguous bytes → sends cumulative ACK → ACK crosses the reverse path → sender frees the data and sends more
Context & applicabilityCommon mistakes · platform/version boundaries
Operational reference
Fast context before you go deeper.
Verification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
Capture the concrete output, symptom, packet, log or counter before changing anything.
Step 1 Operational verification and known-good state Verify boundary
In healthy operation, cumulative ACKs advance with delivered data at a rate consistent with RTT, delayed-ACK policy and application behavior. A receiver may legitimately ACK every second full-sized segment or follow platform-specific delayed-ACK heuristics, so absence of one-for-one ACKs is not a defect. During a loss event, duplicate ACKs and SACK blocks should identify which data remains missing while later bytes arrived. Validate both directions: if the receiver capture shows data arrival and ACK transmission but the sender capture lacks those ACKs, the reverse path becomes the bounded investigation target. Pair capture with routing, ACL/NAT and interface/member counters only at the relevant timestamp.
Step 2 Verification & troubleshooting Narrow the fault
1. Verify IP path and return path.
2. Confirm destination port is listening.
3. Inspect the three-way handshake.
5. Validate application request/response.
Step 3 Failure signatures and troubleshooting branches Narrow the fault
When ACK progress stops, first determine whether the corresponding data reached the receiver. If it did not, troubleshoot the forward delivery boundary. If it arrived and the receiver generated ACK/SACK, trace the reverse route, VRF, stateful policy, NAT translation and ECMP/LAG path. If duplicate ACKs repeat around one missing range, confirm whether fast retransmit repairs it; if recovery waits for an RTO, check whether sufficient duplicate feedback reached the sender. ACK compression or bursty ACK delivery can distort sender pacing without packet loss. A zero-window advertisement is flow-control state, not an ACK-loss problem. Do not tune congestion or retransmission timers before proving which direction is actually losing state.
Step 4 When the problem is really fixed Narrow the fault
Verification must show that the original workload now has coherent ACK progression and that the former reverse-path or missing-range signature is gone. If the change touched routing, firewall or NAT state, observe the same ACKs at both sides of that boundary and repeat the original flow. Confirm that no adjacent traffic class or return path regressed. Analyzer-generated duplicate-ACK and fast-retransmit labels are useful interpretation aids but not review state, Evidence or root-cause truth. A saved Evidence item should contain the real capture/counter context and explain exactly what the ACK state shows and what remains outside its boundary.
Step 5 Common mistakes Narrow the fault
- Treating duplicate ACKs as normal when they signal loss.
- Ignoring SACK.
Evidence · 1 on this Topic
Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.
ACK traffic uses the reverse direction. A forward path can deliver data while reverse-path loss delays acknowledgement and triggers retransmission. Duplicate ACKs are a symptom of receive-state, not automatic proof of congestion.
- Packet capture:
tcpdump -nn -i <if> host <ip> and port <p>or Wireshark filtertcp.stream eq <n>. ss -tni(Linux) /netstat -ano(Windows) — connection state, RTT, retransmits and windows.Test-NetConnection <host> -Port <p>/nc -vz <host> <p>— does the handshake complete?show tcp brief(IOS) — TCP sessions to the device itself.show interfaces <if> | include drops|errors— drops on the path.
ReferenceImportant terms & boundaries4 sections · depth on demand
Key operational limits
- SYN, SYN-ACK, ACK establish a connection
- Sequence and acknowledgement numbers track bytes
In depth
Acknowledgements
TCP acknowledgements are cumulative. In RFC 9293, an acknowledgement number of X means every byte before X has arrived, so a single ACK can confirm many segments. It also means TCP can't say "I have this later piece" with the basic ACK alone. The selective acknowledgement (SACK) option was added for that. Because a pure ACK takes up no sequence space, acknowledgements can be sent freely and never need to be acknowledged themselves.
ACK patterns
| Pattern | Meaning |
|---|---|
| ACK number rises steadily | Data arriving in order |
| The same ACK number repeated (duplicate ACKs) | A gap: later segments arrived but an earlier one is missing |
| Three duplicate ACKs | The sender's cue for fast retransmit |
| SACK blocks in the ACK | Exactly which later ranges the receiver already has |
| An ACK for every second segment | Delayed ACK, which reduces ACK traffic |
Delayed ACK and interaction with Nagle
Receivers usually delay ACKs briefly in the hope of piggybacking them on data. Senders using the Nagle algorithm wait for an ACK before sending small segments. Together they can add noticeable delay to small request-response exchanges. Applications that need low latency set TCP_NODELAY.
host$ tshark -r capture.pcap -Y "tcp.analysis.duplicate_ack || tcp.options.sack_le" -T fields -e frame.number -e tcp.ack -e tcp.options.sack_le -e tcp.options.sack_re
211 1830500961 1830502409 1830505305
212 1830500961 1830502409 1830506753
213 1830500961 1830502409 1830508201
host$ ss -ti dst 10.30.0.15 | grep -o "rtt:[^ ]*\|retrans:[^ ]*\|sacked:[^ ]*"
Here the receiver keeps acknowledging 1830500961, the first missing byte, while the SACK blocks show the later data has arrived. The sender then needs to resend only the gap.
Troubleshooting with ACKs
| Observation | Check |
|---|---|
| Many duplicate ACKs | Loss on the path: interface drops, queues, errors |
| ACKs but no data growth | The receiver window may be full |
| Retransmissions without duplicate ACKs | Loss of the ACKs themselves, or a lost tail segment |
| SACK never used | A middlebox may strip the option |
Documented example, not captured output.
Quick reference
TCP acknowledgements tell the sender which bytes have arrived: the ACK number is the next byte the receiver expects. Cumulative ACKs confirm everything before that number; Selective ACK (SACK) can also report later blocks received out of order.
| Behaviour | Effect |
|---|---|
| Delayed ACK | Receiver waits briefly to acknowledge two segments at once |
| Duplicate ACKs | Receiver repeats the same ACK when a segment is missing |
| Three duplicate ACKs | Sender retransmits quickly (fast retransmit) |
| SACK | Only missing segments are resent |
A flood of duplicate ACKs in a capture points to packet loss on the path.
Mechanics and state ownership
TCP reliability depends on receiver feedback. The cumulative acknowledgement number advances only when the receiver has a contiguous byte stream through ACK-1; later bytes may be buffered without advancing the cumulative ACK if an earlier gap exists. When SACK is negotiated, the receiver can describe one or more non-contiguous blocks already received so the sender can target recovery more efficiently. ACKs themselves travel on the reverse path and can be delayed, coalesced or lost. Sender retransmission behavior therefore reflects both forward delivery and reverse feedback. The ACK flag also appears on most established-flow segments, so “ACK packet” is not a separate protocol phase; analyze the acknowledgement number, window, SACK options and timing in context.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
Authoritative/upstream documentation reviewed for bounded claims in IP Fundamentals → TCP → Acknowledgements. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://www.rfc-editor.org/rfc/rfc9293.html · confidence 94%Quick lookup tables
Acknowledgements operational reference
Topic-specific bounded interpretation: known-good state, suspicious signatures and the next technical proof boundary.
| ACK state | Bounded interpretation | Not proven | Next boundary |
|---|---|---|---|
| ACK advances | Contiguous data received through ACK-1 | Application consumed data | Receiver/application |
| Repeated same ACK | Next expected byte did not advance | Specific device caused loss | Missing-range path |
| SACK block present | Later byte range reached receiver | Gap was caused by congestion | Gap path + sender recovery |
| ACK seen at receiver only | Reverse feedback left endpoint | Sender path is healthy | Reverse routing/policy |
| ACK reaches sender | Feedback crossed path | Sender acted correctly | Sender TCP state/recovery |