CNSP practice question 2 of 15
What is the response from a closed UDP port which is not behind a firewall?
Full set: 60 questionsDomain Network Security Protocols
UDP has no built-in session control. When a host receives a UDP datagram addressed to a port on which no application is listening and the host is not filtering traffic, it MUST send an ICMP “Destination Unreachable – Port Unreachable” (Type 3, Code 3) message back to the sender. This behaviour is mandated by the Internet standards (RFC 1122 §3.2.2.1, repeating RFC 792). Therefore the visible response from a closed, un-firewalled UDP port is an ICMP Destination Unreachable message.
B. RST packet – RST is a TCP-only control flag; UDP has no RST mechanism.
C. No response – “No response” occurs when a firewall silently drops the packet; an unfiltered host must reply with ICMP.
D. None of the above – Option A is correct per protocol standards, so this choice is invalid.
1. RFC 1122: “Requirements for Internet Hosts – Communication Layers”
§3.2.2.1
p. 34 (ICMP Port Unreachable requirement).
2. RFC 792: “Internet Control Message Protocol”
pp. 7-9 (Type 3
Code 3 definition).
3. MIT OpenCourseWare 6.033 “Computer Systems Engineering”
Lecture notes: “Transport Protocols”
slide “UDP Scanning—ICMP Port Unreachable from Closed Ports”.
4. Stanford CS244 Lecture 4
Transport Protocols
section “UDP behaviour on closed ports” (course handout
p. 6).
Keep practicing
Take the free CNSP practice test
Ten exam-style questions with answers and explanations, plus the exam facts and study guides.
More questions
Other CNSP practice questions
- Question 1Which Kerberos ticket is required to generate a Silver Ticket?
- Question 3Which of the following techniques can be used to bypass network segmentation during infra…
- Question 4What RID is given to an Administrator account on a Microsoft Windows machine?
- Question 6On a Microsoft Windows Operating System, what does the following command do? net localgro…
- Question 7The Management Information Base (MIB) is a collection of object groups that is managed by…
- Question 8What is the response from an open TCP port which is not behind a firewall?
