Mouse over the picture for advice:

USE RFC3517!!!

  • Ethan Blanton, Mark Allman, Kevin Fall, Lili Wang. A Conservative Selective Acknowledgment (SACK)-based Loss Recovery Algorithm for TCP, April 2003. RFC 3517.

    (Pictures from Ethan.)