Nmap Development mailing list archives

Scanning loopback net on Win-XP


From: "Gisle Vanem" <giva () bgnett no>
Date: Wed, 1 Sep 2004 17:01:21 +0200

AFAICS, the winip code doesn't consider the netmask when searching
the iface-table. So this doesn't work:

nmap -sT -p1-113 127.0.0.2

Starting nmap 3.70 ( http://www.insecure.org/nmap ) at 2004-09-01 15:22 GMT
Unable to determine what interface to route packets through to 127.0.0.2
QUITTING!

------

Not that it matter much. But, scanning 127.0.0.1 is handy. That doesn't
work without -P0 option on Windows because of the SIO_RCVALL option
in rawrecv.c. After disabling the SIO_RCVALL it worked, but this funny thing 
occured:

nmap -d4 -sP -S127.0.0.1 127.0.0.1
...
SENT (0.0780s) ICMP 128.0.0.1 > 127.0.0.1 Echo request (type=8/code=0) ttl=42 id=7505 iplen=28

Where does the 128.0.0.1 comes from?

--gv


---------------------------------------------------------------------
For help using this (nmap-dev) mailing list, send a blank email to 
nmap-dev-help () insecure org . List archive: http://seclists.org



Current thread: