Page MenuHomeFreeBSD

pf: syncookie support
ClosedPublic

Authored by kp on Jul 11 2021, 8:18 AM.
Tags
None
Referenced Files
F107191914: D31138.diff
Sat, Jan 11, 10:46 AM
Unknown Object (File)
Thu, Jan 9, 12:52 AM
Unknown Object (File)
Fri, Dec 27, 3:17 PM
Unknown Object (File)
Dec 8 2024, 8:22 PM
Unknown Object (File)
Dec 4 2024, 1:55 PM
Unknown Object (File)
Nov 26 2024, 10:25 AM
Unknown Object (File)
Nov 26 2024, 1:10 AM
Unknown Object (File)
Nov 23 2024, 4:06 AM

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
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 40434
Build 37323: arc lint + arc unit