1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-12 10:49:02 +00:00
Files
nmap/nmap.cc
dmiller 8605dea33a Fall back to TCP connect ping on Windows without pcap
While Windows raw sockets can send and receive ICMP packets, Nmap relies on
libpcap packet capture to spot responses, so if pcap isn't available
(--unprivileged or Npcap not installed), we need to fall back to TCP connect for
host discovery, just like we do for unprivileged users on other operating
systems. Previous behavior was a fatal error suggesting unhelpfully to use
--unprivileged.
2018-11-08 15:28:13 +00:00

110 KiB