Pcornel
Browse topics
Options
Recent
Favorites
Networking · Technical reference

Acknowledgements

Direct 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.

When to use this

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.

First 30 seconds

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.

Operational verification

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
Platform / version applicability
Protocol standard + deployed implementation
applies
Structured applicability is explicit Topic metadata; it does not infer compatibility beyond the stored rows.
At a glance

Operational reference

Fast context before you go deeper.

PlatformProtocol standard
Scope / prerequisiteUse this Topic to distinguish data loss from acknowledgement-path loss, understand duplicate ACKs and SACK blocks, and …
What next?3 suggested next steps
Evidence1
On this pageJump to a specific section
Operational workflow

Verification & Troubleshooting

Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.

5 steps Observe → verify → isolate → change minimally → repeat the original test.
ObservedRecord what the original test actually shows

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 references

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.

observation · 1
Command lookup Jump straight to Cisco syntax
Key points

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.

Key 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.
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

PatternMeaning
ACK number rises steadilyData arriving in order
The same ACK number repeated (duplicate ACKs)A gap: later segments arrived but an earlier one is missing
Three duplicate ACKsThe sender's cue for fast retransmit
SACK blocks in the ACKExactly which later ranges the receiver already has
An ACK for every second segmentDelayed 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

ObservationCheck
Many duplicate ACKsLoss on the path: interface drops, queues, errors
ACKs but no data growthThe receiver window may be full
Retransmissions without duplicate ACKsLoss of the ACKs themselves, or a lost tail segment
SACK never usedA middlebox may strip the option

Documented example, not captured output.

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.

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.

BehaviourEffect
Delayed ACKReceiver waits briefly to acknowledge two segments at once
Duplicate ACKsReceiver repeats the same ACK when a segment is missing
Three duplicate ACKsSender retransmits quickly (fast retransmit)
SACKOnly 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
Technical verification history

Verification history & basis

When and against what this Topic was checked. Later text edits do not count as a new check.

2026-09-14 · vendor docProtocol standard + deployed implementation RFC 9293

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%
Embedded reference data

Quick lookup tables

Acknowledgements operational reference

Topic-specific bounded interpretation: known-good state, suspicious signatures and the next technical proof boundary.

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
Confirmation

Confirm action

Continue?