CS FundamentalsHardNetworking placement · security
A DNS resolver once sent every query from the same source port with a random 16-bit transaction ID. Why did randomising the source port as well make cache-poisoning attacks much harder?
- A. The attacker must guess both ID and port, about 2³² combinations instead of 2¹⁶
- B. Random ports force DNS onto TCP, and spoofed packets cannot complete a TCP handshake
- C. Random ports make the resolver ignore any answer that arrives suspiciously fast
- D. Each port carries a signature that forged responses have no way to reproduce
Correct answer: A. The attacker must guess both ID and port, about 2³² combinations instead of 2¹⁶
A forged answer is accepted only if it matches the query's ID and the destination port. With a fixed port the attacker races just 65,536 IDs (Kaminsky's attack); a random port multiplies the search by up to another 2¹⁶.
More Computer Networks questions
- A company announces 198.51.100.0/22 in BGP. An attacker's AS starts announcing 198.51.101.0/24 without permission. What happens, and what…
- 10GBASE-R carries 10 Gbps of data with 64B/66B line coding. What is the line (baud) rate, and what fraction of line bits is overhead?
- In a DNS response, which flags show that the stub asked for recursion and that the server offers it?
- A server keeps each half-open connection in its SYN backlog for 75 s, and the backlog holds 1024 entries. With spoofed sources that never…
- Three flows on a bottleneck get throughputs of 10, 10 and 40 Mbps. What is Jain's fairness index (Σx)² / (n × Σx²)?
- A traceroute shows replies for hops 1–5, then ' ' for hops 6 and 7, then replies again from hop 8 up to the destination. What is the most…