Computer Hacking Forensic Investigator (CHFI) — Question 145
Netstat is a tool for collecting information regarding network connections. It provides a simple view of TCP and UDP connections, and their state and network traffic statistics. Which of the following commands shows you the TCP and UDP network connections, listening ports, and the identifiers?
Answer options
- A. netstat "" r
- B. netstat "" ano
- C. netstat "" b
- D. netstat "" s
Correct answer: B
Explanation
The correct answer is B because the 'ano' option with netstat shows active TCP and UDP connections along with their corresponding identifiers. Option A ('r') displays the routing table, while option C ('b') shows the executable involved in creating each connection, and option D ('s') provides statistics for protocols, not the connections themselves.