demikernel
demikernel copied to clipboard
[inetstack] Add Optional TCP Feature - Protection Against Wrapped Sequences (PAWS)
TCP has an optional feature called Protection Against Wrapped Sequences (PAWS) which improves TCP reliability on very high-speed networks by protecting against old duplicate packets arriving for the same connection (which can cause data corruption issues if accepted as valid "new" data). The faster the link, the more likely that the sequence number space will wrap in the time period that a duplicated packet might be delayed. On a 200 Gb/s link, the sequence number space wraps in 160 ms.
This feature depends upon the optional "Timestamps" feature mentioned in Issue demikernel/demikernel#182.
See RFC 7323 for more information.