Forwarding, per attached note from Fyodor.
<<Re: Proposed fix for running nmap on Vista>>
> ______________________________________________
> From: Dan Griffin
> Sent: Tuesday, November 21, 2006 6:23 PM
> To: 'fyodor_at_insecure.org'
> Subject: Proposed fix for running nmap on Vista
>
> Hey - don't know if you've gotten this resolved since the beginning of
> the month (newsgroup thread pasted below). Looks like the error is
> due to new IF_TYPEs added to the Vista version of the ipifcons.h
> Windows SDK header. My change is on line 20 of the attached file. I
> did minimal testing (e.g. nmap.exe -v -A machineX), and only on Vista
> Beta 2 x86, but it fixes the error from the news thread and seems more
> forward-compatible anyway.
>
> Best regards,
> Dan
>
>
> <<intf-win32.c>>
>
>
> == Debug Analysis ==
> 0:000> k
> ChildEBP RetAddr
> 0012a918 0056faab nmap!_refresh_tables+0x12e
> [c:\temp\nmap-4.20rc1\libdnet-stripped\src\intf-win32.c @ 200]
> 0012ae20 0054ce8e nmap!intf_loop+0x3b
> [c:\temp\nmap-4.20rc1\libdnet-stripped\src\intf-win32.c @ 421]
> 0012af88 0054e41e nmap!getinterfaces+0xae
> [c:\temp\nmap-4.20rc1\tcpip.cc @ 2580]
> 0012b170 0053e8e1 nmap!route_dst+0x2be [c:\temp\nmap-4.20rc1\tcpip.cc
> @ 2991]
> 0012b874 004b8f62 nmap!nexthost+0x211 [c:\temp\nmap-4.20rc1\targets.cc
> @ 1737]
> 0012d470 004b419c nmap!nmap_main+0x40f2 [c:\temp\nmap-4.20rc1\nmap.cc
> @ 1419]
>
> 0:000> dv
> ...
> ifrow = 0x026f1a40
> ...
>
> 0:000> dt ifrow
> Local var @ 0x12a910 Type _MIB_IFROW*
> 0x026f1a40
> ...
> +0x204 dwType : 0x83
> ...
> +0x25c bDescr : [256] "WAN Miniport (L2TP)"
>
> 0:000> u
> nmap!_refresh_tables+0x12e
> [c:\temp\nmap-4.20rc1\libdnet-stripped\src\intf-win32.c @ 200]:
> 0056eede 8b45f8 mov eax,[ebp-0x8]
> 0056eee1 83b80402000020 cmp dword ptr [eax+0x204],0x20
>
>
> == News Thread ==
> Nmap Development: Re: Error running nmap on Vista.
> Re: Error running nmap on Vista.
> This message: [ Message body ] [ More options ]
> Related messages: [ Next message ] [ Previous message ] [ In reply to
> ]
> From: Ionreflex <ionreflex_at_gmail.com>
> Date: Thu, 2 Nov 2006 22:13:03 -0500
>
> Thanks for the tip, I had the error with an old nmap version, didn't
> know
> the message had change; since I'm writing this, I would just point out
> to
> Gisle that the MS Loopback driver don't change anything : I personally
> use
> it to access my coLinux when I don't have "normal" network access, and
>
> nmapping its address is just the same as 127.0.0.1!
>
>
>
> End of line.
>
>
> 2006/11/2, Fyodor <fyodor_at_insecure.org>:
> >
> > On Tue, Oct 31, 2006 at 12:00:58PM -0800, Scott Owen ONEIL wrote:
> > >
> > > I've been through the troubleshooting guide, and I've done some
> > Googling,
> > > but I don't see a solution to this one. I'm running Vista (RC2,
> x86),
> > and
> > > I've tried installing 4.11 and 4.20A. I get the same result:
> > >
> > > C:\Program Files\Nmap>nmap -v localhost
> > >
> > > Starting Nmap 4.20ALPHA10 ( http://insecure.org ) at 2006-10-31
> 11:49
> > Pacific Standard Time
> > > getinterfaces: intf_loop() failed
> > > QUITTING!
>
_______________________________________________
Sent through the nmap-dev mailing list
http://cgi.insecure.org/mailman/listinfo/nmap-dev
Archived at http://SecLists.Org
Received on Nov 26 2006