TCP selective acknowledgment
TCP selective acknowledgment reports received byte ranges beyond the cumulative acknowledgment so a sender can track gaps during recovery.
Permission: A sender's SYN SACK-permitted option allows its peer to return SACK reports for that direction. Reverse-direction permission is separate. Blocks use half-open [left, right) sequence ranges; the right edge is excluded. [1]
Retention: SACK does not advance the cumulative ACK. A receiver may discard previously reported data (reneging), so the sender retains bytes until cumulatively acknowledged. Limited option space means an omitted block does not prove missing data. [1]
Recovery: Reporting and loss recovery are distinct. RFC 6675 describes a sender scoreboard, loss inference and retransmission selection; other compliant recovery algorithms exist. A gap alone does not require immediate retransmission. [2] RACK-TLP combines local transmit times with ACK/SACK feedback for time-based loss detection and tail probes. [5]
Duplicates: D-SACK reports duplicate sequence-space reception. A report alone cannot uniquely identify its cause; interpreting it requires transmission history. [3]
Storage inference: TCP provides an ordered byte stream, not storage-operation semantics. Neither SACK nor cumulative ACK proves application consumption, command execution or durable persistence. [4]
Relations
Limitations
- SACK does not remove the ordered-delivery constraint of one TCP byte stream. [4]
Citations
- RFC 2018: TCP Selective Acknowledgment Options, sections 2-5 and 8
- RFC 6675: A Conservative Loss Recovery Algorithm Based on SACK for TCP, sections 1 and 3-5
- RFC 2883: An Extension to the SACK Option for TCP, sections 4 and 5.2
- RFC 9293: Transmission Control Protocol, sections 2.2 and 3.10.3
- RFC 8985: The RACK-TLP Loss Detection Algorithm for TCP, sections 1, 3 and 6.2
Sources & caveats
- Primary-source synthesis; no traffic capture, hardware benchmark or durability experiment.