CS FundamentalsHardGATE CS · Security interview
Two sites connect through a router that performs NAT. An IPsec tunnel using AH fails, while one using ESP with NAT traversal works. Why?
- A. AH authenticates the IP header including the addresses, so the NAT rewrite makes the integrity check fail
- B. AH encrypts the IP header, so the NAT cannot read the destination
- C. ESP does not provide authentication, so it ignores the rewrite
- D. NAT cannot forward any protocol other than TCP and UDP
Correct answer: A. AH authenticates the IP header including the addresses, so the NAT rewrite makes the integrity check fail
AH's integrity check covers the immutable IP header fields, including source and destination addresses, which NAT changes. ESP authenticates only its own payload and, wrapped in UDP 4500 by NAT-T, gives the NAT a port to translate. AH encrypts nothing.
More Computer Networks questions
- Asha sends one email with To: Ravi and Bcc: Meena, both at the same domain. How does Meena's server know to deliver a copy to her, given…
- A stateless packet filter at a campus edge allows all outbound TCP, and allows inbound TCP only when the ACK flag is set (so only replies…
- A company wants its bare domain example.com to point at a hosting provider's name, as www.example.com does with a CNAME. Why does standard…
- How many of these are valid IPv6 addresses? 1. 2001:db8::1:0:0:1 2. 2001:db8::1::5 3. fe80::abcd:12345 4. ::ffff:192.0.2.1 5…
- Host 192.168.1.10/24 with gateway 192.168.1.1 has an empty ARP cache. It pings 8.8.8.8, then 1.1.1.1, then 192.168.1.20. How many ARP…
- A client writes a 50-byte header and then a 200-byte body to a TCP socket as two separate write() calls, then waits for the reply. Nagle's…