Pcornel
Networking · IP Fundamentals › TCP

Acknowledgements

Cheat sheet · https://pcornel.dk/topic.php?topic=914

Back to the Topic

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 filter tcp.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 stateBounded interpretationNot provenNext boundary
ACK advancesContiguous data received through ACK-1Application consumed dataReceiver/application
Repeated same ACKNext expected byte did not advanceSpecific device caused lossMissing-range path
SACK block presentLater byte range reached receiverGap was caused by congestionGap path + sender recovery
ACK seen at receiver onlyReverse feedback left endpointSender path is healthyReverse routing/policy
ACK reaches senderFeedback crossed pathSender acted correctlySender 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

Confirmation

Confirm action

Continue?