Home page logo

nmap-dev logo Nmap Development mailing list archives

Re: Scans failing on Win32 - failures differ depending on args len (maybe)
From: jah <jah () zadkiel plus com>
Date: Fri, 07 Oct 2011 14:13:08 +0100

On 07/10/2011 13:59, Gisle Vanem wrote:
nmap -F -v -d -n
VC++   - FAIL - route_dst_generic: Failed to obtain system routes:
               getsysroutes_dnet: sysroutes_dnet_find_interfaces()
Cygwin - FAIL - pcap_open_live(eth0, 256, 0, 2) FAILED.
               Reported error: Error opening adapter:
               The system cannot find the device specified. (20).
               Will wait 5 seconds then retry.
               ... Call to pcap_open_live() failed three times.

Just curious; what DOS platform/compiler did you use? I cannot see
any way to build nmap on MS-DOS. Re. the failures, have you studied
the itnerface/routing table? "nmap --iflist".

Hi Gilse,

I built the Release binary under Cygwin using the mswin32/makefile
with Visual Studio Express VC++ 2010 on XP SP3.
The results of the scans were from the Release binary executed from
the MS-DOS and Cygwin shells and the Debug binary was executed from
within VC++.

The output of nmap --iflist looks fine to me and is as follows:
DEV  (SHORT) IP/MASK                     TYPE        UP   MTU  MAC
eth0 (eth0)             ethernet    up   1500 00:19:21:3D:3F:CE
eth0 (eth0)  fe80::219:21ff:fe3d:3fce/64 ethernet    up   1500 00:19:21:3D:3F:CE
lo0  (lo0)                 loopback    up   1520
tun0 (tun0)  fe80::ffff:ffff:fffd/64     point2point down 1280
tun1 (tun1)  (null)/0                    point2point up   1280
tun2 (tun2)  fe80::5efe:c0a8:10f/64      point2point up   1280
lo1  (lo1)   ::1/64                      loopback    up   1500
lo1  (lo1)   fe80::1/64                  loopback    up   1500

eth0   \Device\NPF_{3F5D3A0C-7937-48BD-B9FD-B8B36D8884DD}
eth0   \Device\NPF_{3F5D3A0C-7937-48BD-B9FD-B8B36D8884DD}
lo0    <none>
tun0   \Device\NPF_{A4AA2BB0-17C2-48D0-B92D-2C2C7F577DD0}
tun1   <none>
tun2   <none>
lo1    <none>
lo1    <none>
<none> \Device\NPF_GenericDialupAdapter

DST/MASK           DEV  GATEWAY eth0   eth0    lo0     eth0        lo0        eth0          eth0


Sent through the nmap-dev mailing list
Archived at http://seclists.org/nmap-dev/

  By Date           By Thread  

Current thread:
[ Nmap | Sec Tools | Mailing Lists | Site News | About/Contact | Advertising | Privacy ]