CS FundamentalsHardGATE CS · Product company CS fundamentals
An attacker floods a server with SYNs from spoofed addresses and never completes the handshake. Which defence lets the server keep NO per-connection state until the final ACK arrives?
- A. Increasing the TIME_WAIT duration on the server
- B. Disabling Nagle's algorithm on the listening socket
- C. Advertising a larger receive window in the SYN-ACK
- D. SYN cookies, which encode the state in the server's initial sequence number
Correct answer: D. SYN cookies, which encode the state in the server's initial sequence number
The SYN backlog is what fills up. With SYN cookies the SYN-ACK's ISN is a keyed hash of the 4-tuple, a timestamp and the MSS, so no entry is stored; a genuine client's ACK (ISN + 1) lets the server verify and recreate the state.
More Computer Networks questions
- Which statement about firewalls is correct?
- 192.168.0.0/16 is divided into /26 subnets. In how many of these subnets is an address ending in .255 the BROADCAST address, and in how…
- A host with address 172.16.5.10/23 wants to reach 172.16.4.200. What does it do?
- A TCP connection runs over a 100 Mbps path with one-way propagation delay 10 ms. The window is fixed at 64 KB (65,536 bytes) and segments…
- Which pair correctly matches DNS record types with their purpose? MX, CNAME, NS, AAAA
- Which statement about IPv4 fragmentation is correct?