mirror of
https://github.com/nmap/nmap.git
synced 2025-12-06 04:31:29 +00:00
Avoid sending NS probe on Npcap Loopback (BSOD on Win7). See #429
This commit is contained in:
@@ -1845,7 +1845,11 @@ int FPHost6::build_probe_list() {
|
||||
this->total_probes++;
|
||||
|
||||
/* ICMP Probe #3: Neighbor Solicitation. (only sent to on-link targets) */
|
||||
if (this->target_host->directlyConnected()) {
|
||||
if (this->target_host->directlyConnected()
|
||||
#ifdef WIN32
|
||||
&& !(g_has_npcap_loopback && this->target_host->ifType() == devt_loopback)
|
||||
#endif
|
||||
) {
|
||||
ip6 = new IPv6Header();
|
||||
icmp6 = new ICMPv6Header();
|
||||
this->target_host->SourceSockAddr(&ss, &slen);
|
||||
|
||||
Reference in New Issue
Block a user