Nmap Development mailing list archives

Re: Libtool, static libraries, and NSE modules


From: David Fifield <david () bamsoftware com>
Date: Mon, 22 Oct 2007 16:19:40 -0600

On Mon, Oct 22, 2007 at 09:52:06PM -0500, Vijay Sankar wrote:
I had the following problem on OpenBSD 4.1.

nmap -sS -P0 -vv 192.168.10.5

OR

nmap -A -P0 -vv 192.168.10.5

gives me:

Starting Nmap 4.22SOC7 ( http://insecure.org ) at 2007-10-22 20:43 CDT
Warning: File ./nmap-services exists, but Nmap is 
using /usr/local/share/nmap/nmap-services for security and consistency 
reasons.  set NMAPDIR=. to give priority to files in your local directory 
(may affect the other data files too).
Initiating ARP Ping Scan at 20:43
Scanning 192.168.10.5 [1 port]
Completed ARP Ping Scan at 20:43, 0.23s elapsed (1 total hosts)
Read data files from: /usr/local/share/nmap
Nmap done: 1 IP address (0 hosts up) scanned in 0.337 seconds
           Raw packets sent: 2 (84B) | Rcvd: 0 (0B)

However the following works

nmap -sT -P0 -vv 192.168.10.5

Nmap does an ARP scan of directly connected Ethernet hosts even if -P0
is used. See http://insecure.org/nmap/man/man-host-discovery.html. But I
don't know why the ARP scan would fail when the connect scan works.
Please send the output of

nmap -sS -P0 -d2 --packet-trace 192.168.10.5

David Fifield

_______________________________________________
Sent through the nmap-dev mailing list
http://cgi.insecure.org/mailman/listinfo/nmap-dev
Archived at http://SecLists.Org


Current thread: