K 10 svn:author V 2 kp K 8 svn:date V 27 2021-07-27T11:47:40.690993Z K 7 svn:log V 704 pf: syncookie support 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. Reviewed by: kbowling Obtained from: OpenBSD MFC after: 1 week Sponsored by: Modirum MDPay Differential Revision: https://reviews.freebsd.org/D31138 (cherry picked from commit 8e1864ed07121b479b95d7e3a5931a9e0ffd4713) Git Hash: ba7edb52211a5fcf19ca41dbd5feea1147e03df3 Git Author: kp@FreeBSD.org END