Home page logo

nmap-dev logo Nmap Development mailing list archives

nmap 4.22S0C7 multiple IP address on one NIC in Win2000
From: preacherandrew () mail ru
Date: Tue, 23 Oct 2007 09:18:52 +0400

Hi, Fyodor.

My config:
Windows 2000; one NIC; in TCP/IP properties set multiple IP addresses

nmap prints out:
"WARNING: Unable to find appropriate interface for system route to ..."

I've downloaded sources of nmap and did some debugging.

It appears nmap uses only one of my IP adresses (first IP from those
returned by GetIpAddrTable).
In my config IP addresses are,, (and first IP returned by GetIpAddrTable is
In my test I ran "nmap". But nmap used only my ip (and
can't reach from this IP).

In source intf-win32.c:
 427: entry->intf_len = sizeof(ebuf);
 428: _ifrow_to_entry(intf, &intf->iftable->table[i], entry);

and then inside function "_ifrow_to_entry":
 memset(entry, 0, sizeof(*entry));

In result field "entry->intf_len" is 0. Threrefore code fragment "set aliases"
(strings 153-158 in "intf-win32.c")  is never executing.


P.S. sorry for my English.

Sent through the nmap-dev mailing list
Archived at http://SecLists.Org

  By Date           By Thread  

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