Quote:
C:\Program Files\Nmap>nmap -v -A some_machine
Starting Nmap <-- snip -->
getinterfaces: intf_loop() failed
QUITTING!
I couldn't find a documented fix, though. My fix is to line 20 of libdnet-stripped\src\intf-win32.c in the latest nmap code distribution, based on ipifcons.h from the Vista Platform SDK.
#define MIB_IF_TYPE_MAX MAX_IF_TYPE /* XXX - ipifcons.h */
Without the fix, at runtime, the Vista machine enumerates at least one network interface of a type outside the range of those recognized by nmap, causing the tool to give up. With the fix, plus the above dll, everything seems to work. I've submitted the code change, but I don't know when a patched binary will be made available for download.
Obviously Microsoft don't like Nmap? :rolleyes: