Nmap Development mailing list archives
Re: Nmap unable to perform full host discovery
From: Daniel Miller <bonsaiviking () gmail com>
Date: Sun, 14 Feb 2016 22:51:18 -0600
Sahib, Thanks for this bug report. Would you please give us some more information so we can diagnose the problem? 1. Output of "nmap --version" 2. Details about your network: wireless, Ethernet, interface type (nmap --iflist), etc. 3. output of "nmap -sn -d --packet-trace -n 192.168.1.0/24" 4. Preferably a packet capture during the above command. If you choose to not provide the pcap file, at least tell us whether any packets were sent to or received from the "missing" target. Thanks, Dan On Sun, Feb 7, 2016 at 1:29 AM, Sahib Jakhar <sahib.jakhar () gmail com> wrote:
Hi, Sorry if I am missing something obvious. I am trying to find all the hosts that are up on local intranet using nmap -sP 192.168.1.0/24. I expect around 10 hosts to be reported but I get anywhere between 4 to 6 hosts (this number varies with each run). I can ping 9 hosts using ping command but nmap still reports 4 to 6 hosts. What's more, if I do nmap -sP <ip-address> to individual host, nmap is able to detect it as up. The problem only comes when I use CIDR notation. Please see the following sequence of commands and their corresponding output which were executed in (immediate) succession: # nmap -sP 192.168.1.22 Starting Nmap 7.01 ( https://nmap.org ) at 2016-02-07 11:59 IST Nmap scan report for 192.168.1.22 Host is up (0.089s latency). MAC Address: E0:DB:10:--:--:-- (Samsung Electronics) Nmap done: 1 IP address (1 host up) scanned in 0.38 seconds # nmap -sP 192.168.1.0/24 Starting Nmap 7.01 ( https://nmap.org ) at 2016-02-07 11:59 IST Nmap scan report for 192.168.1.1 Host is up (0.00035s latency). MAC Address: 0C:D2:B5:--:--:-- (Binatone Telecommunication Pvt.) Nmap scan report for 192.168.1.16 Host is up (0.00019s latency). MAC Address: 00:1B:24:--:--:-- (Quanta Computer) Nmap scan report for 192.168.1.27 Host is up (0.071s latency). MAC Address: 60:A4:4C:--:--:-- (Asustek Computer) Nmap scan report for 192.168.1.11 Host is up. Nmap done: 256 IP addresses (4 hosts up) scanned in 1.94 seconds # nmap -sP 192.168.1.22 Starting Nmap 7.01 ( https://nmap.org ) at 2016-02-07 11:59 IST Nmap scan report for 192.168.1.22 Host is up (0.096s latency). MAC Address: E0:DB:10:--:--:-- (Samsung Electronics) Nmap done: 1 IP address (1 host up) scanned in 0.39 seconds As can be seen both before and after running nmap for all targets, nmap is able to identify this host as up. Am I doing something wrong, or is it some defect? BTW I understand document mentions equivalent -sn instead of -sP, but I get identical results with -sn as well. Thanks for any help, Sahib _______________________________________________ Sent through the dev mailing list https://nmap.org/mailman/listinfo/dev Archived at http://seclists.org/nmap-dev/
_______________________________________________ Sent through the dev mailing list https://nmap.org/mailman/listinfo/dev Archived at http://seclists.org/nmap-dev/
Current thread:
- Nmap unable to perform full host discovery Sahib Jakhar (Feb 10)
- Re: Nmap unable to perform full host discovery Daniel Miller (Feb 14)