Nmap Development mailing list archives

Bug in nmap -PO, Protocol Ping scan type?


From: i2n2 <i2n2 () telia com>
Date: Tue, 1 Nov 2016 12:50:32 +0100

Hi,

OK, I'm new to the filed of network scanning so it can be a misunderstanding when reading the man page for nmap but...

The "Scan Type" -PO doesn’t do an IP Protocol Ping. It looks like it's doing a default SYN Stealth Scan on 1000 tcp ports ("Scan Type" -sS).

The "Scan Type" -sO do an IP Protocol Ping as expected.



I find the same "bug" on two tested system.

OS X 10.11.6 (15G1108)
Nmap version 7.31

Linux 3.18.0-trunk-rpi #1 PREEMPT Debian 3.18.5-1~exp1+rpi19 (2015-08-08) armv6l GNU/Linux
Nmap version 6.00


The test commands that convinced me that it can be a bug (Probably only in the parse_options function in nmap.cc? )


# sudo nmap -v -PO 192.168.0.1
# sudo nmap -v -sS 192.168.0.1
# sudo nmap -v -sO -p1,2,4 192.168.0.1

/ i2n2
_______________________________________________
Sent through the dev mailing list
https://nmap.org/mailman/listinfo/dev
Archived at http://seclists.org/nmap-dev/

Current thread: