What does the --max-retries option do, and how does adjusting it affect scan reliability and duration?

Study for the Nmap/ZenMap Switches Test. Prepare with flashcards and multiple choice questions, each question provides hints and explanations. Get ready for your exam!

Multiple Choice

What does the --max-retries option do, and how does adjusting it affect scan reliability and duration?

Explanation:
The option controls how many times Nmap will retransmit each probe to get a definitive answer. Increasing retries means Nmap will make more attempts for every port/host probe, which boosts the chance of catching a valid result when the network is lossy, filtered, or slow. That improves reliability of detection, but it also lengthens the scan because each probe takes more time to be retried. Reducing retries speeds up scans but raises the risk of missing results if responses are occasionally dropped or delayed. This setting affects retries on a per-probe basis, not across hosts, not about how many connections a host will attempt, and not about host-order randomization.

The option controls how many times Nmap will retransmit each probe to get a definitive answer. Increasing retries means Nmap will make more attempts for every port/host probe, which boosts the chance of catching a valid result when the network is lossy, filtered, or slow. That improves reliability of detection, but it also lengthens the scan because each probe takes more time to be retried. Reducing retries speeds up scans but raises the risk of missing results if responses are occasionally dropped or delayed. This setting affects retries on a per-probe basis, not across hosts, not about how many connections a host will attempt, and not about host-order randomization.

Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy