Acknowledgements
Cheat sheet · https://pcornel.dk/topic.php?topic=914
Answer
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.
Remember
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.
First checks
- 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.
Verify in this order
receiver gets contiguous bytes → sends cumulative ACK → ACK crosses the reverse path → sender frees the data and sends more
Where it usually breaks
physical/link dependency → local object state → peer/control state → policy → forwarding/adjacency → end-to-end result
Acknowledgements operational reference
| 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 |
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=914