1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-13 03:09:02 +00:00
Files
nmap/targets.h
david 0b20c18f90 Limit the number of HostGroupState targets we will defer.
This prevents potentially reading (and buffering) every input host while
looking for more targets to fill up the current hostgroup. One of the
criteria that can split hostgroups is interface. Suppose you have an
input list of targets whose interfaces are
	eth0 eth0 eth0 wlan0 wlan0 wlan0 wlan0 wlan0 wlan0...
The first three eth0 will go in the first group, and then the following
wlan0 will start to be buffered while we look for more eth0. But we will
only look ahead 64 targets, then go ahead and scan the three eth0.
2013-02-26 03:39:25 +00:00

11 KiB