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

Prepare for the Nmap and ZenMap Tests. Access flashcards and multiple choice questions, with hints and explanations for each question. Ensure success in 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 Passetra

You can unsubscribe at any time. Read our privacy policy