Page MenuHomeFreeBSD

pf: syncookie support
ClosedPublic

Authored by kp on Jul 11 2021, 8:18 AM.
Tags
None
Referenced Files
F101968580: D31138.id92475.diff
Tue, Nov 5, 10:49 PM
F101967637: D31138.id92067.diff
Tue, Nov 5, 10:27 PM
Unknown Object (File)
Sun, Oct 20, 5:24 PM
Unknown Object (File)
Thu, Oct 10, 9:12 PM
Unknown Object (File)
Oct 2 2024, 6:12 PM
Unknown Object (File)
Oct 1 2024, 1:49 AM
Unknown Object (File)
Oct 1 2024, 1:36 AM
Unknown Object (File)
Oct 1 2024, 1:35 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
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable