Page MenuHomeFreeBSD

Add PAWS check for ACK segments in the syncache code
ClosedPublic

Authored by tuexen on May 23 2019, 12:26 PM.

Details

Summary

When an ACK segment as the third message of the three way handshake is received and support for time stamps was negotiated in the SYN/SYNACK exchange perform the PAWS check and only expand the syn cache entry if the check is passed.
Without this check, endpoints my get stuck on the incomplete queue.

Diff Detail

Repository
rS FreeBSD src repository
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

tuexen created this revision.May 23 2019, 12:26 PM
jtl accepted this revision.May 23 2019, 3:01 PM
This revision is now accepted and ready to land.May 23 2019, 3:01 PM
This revision was automatically updated to reflect the committed changes.