{
  "slug": "tcp-selective-acknowledgment",
  "term": "TCP selective acknowledgment",
  "aliases": [
    "TCP SACK",
    "Selective acknowledgement"
  ],
  "definition": "TCP selective acknowledgment reports received byte ranges beyond the cumulative acknowledgment so a sender can track gaps during recovery.",
  "note": "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. [tcp-sack]\n\nRetention: 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. [tcp-sack]\n\nRecovery: 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. [sack-recovery] RACK-TLP combines local transmit times with ACK/SACK feedback for time-based loss detection and tail probes. [rack-tlp]\n\nDuplicates: D-SACK reports duplicate sequence-space reception. A report alone cannot uniquely identify its cause; interpreting it requires transmission history. [duplicate-sack]\n\nStorage inference: TCP provides an ordered byte stream, not storage-operation semantics. Neither SACK nor cumulative ACK proves application consumption, command execution or durable persistence. [tcp-stream]",
  "status": "shipping",
  "advantages": [],
  "limitations": [
    {
      "text": "SACK does not remove the ordered-delivery constraint of one TCP byte stream.",
      "citationIds": [
        "tcp-stream"
      ]
    }
  ],
  "related": [
    "nvme-tcp",
    "tcp-congestion-window",
    "head-of-line-blocking"
  ],
  "supersedes": [],
  "supersededBy": [],
  "firstSeen": null,
  "lastSeen": null,
  "citations": [
    {
      "id": "tcp-sack",
      "title": "RFC 2018: TCP Selective Acknowledgment Options, sections 2-5 and 8",
      "url": "https://www.rfc-editor.org/rfc/rfc2018.html",
      "accessed": "2026-11-23"
    },
    {
      "id": "sack-recovery",
      "title": "RFC 6675: A Conservative Loss Recovery Algorithm Based on SACK for TCP, sections 1 and 3-5",
      "url": "https://www.rfc-editor.org/rfc/rfc6675.html",
      "accessed": "2026-11-23"
    },
    {
      "id": "duplicate-sack",
      "title": "RFC 2883: An Extension to the SACK Option for TCP, sections 4 and 5.2",
      "url": "https://www.rfc-editor.org/rfc/rfc2883.html",
      "accessed": "2026-11-23"
    },
    {
      "id": "tcp-stream",
      "title": "RFC 9293: Transmission Control Protocol, sections 2.2 and 3.10.3",
      "url": "https://www.rfc-editor.org/rfc/rfc9293.html",
      "accessed": "2026-11-23"
    },
    {
      "id": "rack-tlp",
      "title": "RFC 8985: The RACK-TLP Loss Detection Algorithm for TCP, sections 1, 3 and 6.2",
      "url": "https://www.rfc-editor.org/rfc/rfc8985.html",
      "accessed": "2026-11-23"
    }
  ],
  "provenance": [
    "Primary-source synthesis; no traffic capture, hardware benchmark or durability experiment."
  ],
  "updated": "2026-11-23"
}
