Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Detect network disconnection and stop scanning. #1394
When the network is disconnected (for instance, by unplugging the Ethernet cord or disconnecting from WiFi), Nmap continues to scan, but none of the probes will succeed. In fact, Nmap will detect its timing probes as being dropped and will continuously slow down, prolonging the scan indefinitely. We would rather have Nmap stop immediately.
Some thoughts on possible implementations: