📞 0339-0387701 (WhatsApp) Contact

« Back to Information & Networking (NCCIA)

How do SYN cookies work?

A. They encode connection information in the initial sequence number so no state is stored until the handshake completes ✅
B. They store the connection state in a cookie file on disk
C. They encrypt the SYN packet
D. They block all SYN packets

Correct Answer: A. They encode connection information in the initial sequence number so no state is stored until the handshake completes

Explanation

With SYN cookies the server sends a specially crafted sequence number and only creates state when the client returns the final ACK, saving memory.