Page MenuHomeFreeBSD

pf: syncookie support
ClosedPublic

Authored by kp on Jul 11 2021, 8:18 AM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Jul 11, 4:00 AM
Unknown Object (File)
Wed, Jun 25, 3:35 AM
Unknown Object (File)
Fri, Jun 20, 10:53 AM
Unknown Object (File)
Sun, Jun 15, 8:50 AM
Unknown Object (File)
Jun 6 2025, 5:46 AM
Unknown Object (File)
Jun 1 2025, 12:56 AM
Unknown Object (File)
May 26 2025, 10:08 AM
Unknown Object (File)
May 15 2025, 4:34 PM

Details

Summary

Import OpenBSD's syncookie support for pf. This feature help pf resist
TCP SYN floods by only creating states once the remote host completes
the TCP handshake rather than when the initial SYN packet is received.

This is accomplished by using the initial sequence numbers to encode a
cookie (hence the name) in the SYN+ACK response and verifying this on
receipt of the client ACK.

Obtained from: OpenBSD
MFC after: 1 week
Sponsored by: Modirum MDPay

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable