Nmap Security Scanner
*Intro
*Ref Guide
*Install Guide
*Download
*Changelog
*Book
*Docs
Security Lists
*Nmap Hackers
*Nmap Dev
*Bugtraq
*Full Disclosure
*Pen Test
*Basics
*More
Security Tools
*Pass crackers
*Sniffers
*Vuln Scanners
*Web scanners
*Wireless
*Exploitation
*Packet crafters
*More
Site News
Site Search:
Exploit World
Advertising
About/Contact
Credits
Sponsors:
edgeos



Nmap Development: Re: Missing getaddrinfo on Windows 2000--almost solved

Re: Missing getaddrinfo on Windows 2000--almost solved

From: Kris Katterjohn <katterjohn_at_gmail.com>
Date: Thu, 28 Aug 2008 01:46:22 +0530

Hey,

On Thu, Aug 28, 2008 at 1:20 AM, David Fifield <david_at_bamsoftware.com> wrote:
> On Thu, Aug 28, 2008 at 01:07:25AM +0530, Kris Katterjohn wrote:
>> I was looking at the "Using the Windows Headers" MSDN page you posted
>> which lists the NTDDI macros and values (including NTDDI_WIN2KSP*).
>> The thing is I was in the mindset of _WIN32_WINNT so I must've just
>> glazed over the NTDDI prefix when looking at this and thought I was
>> looking at something different. There are only 5 _WIN32_WINNT values,
>> corresponding to major versions (2K, XP, Longhorn, etc) and without
>> SPs.
>
> Okay, I see.
>
> I think you can set both. Set _WIN32_WINNT to _WIN32_WINNT_WIN2K and
> then set NTDDI_VERSION to NTDDI_WIN2KSP4, both in nbase_winunix.h. If
> you don't set NTDDI_VERSION it gets set based on the value of
> _WIN32_WINNT in sdkddkver.h. Just look at sdkddkver.h, you'll see the
> logic. I don't know where that file is kept but you can open it by
> right-clicking on _WIN32_WINNT_WIN2K and selecting "Go to definition."
>

Spot on, thanks!

I've built Nmap and Ncat with the change and they both compile and run
fine, so I've committed it.

> David
>

Thanks again,
Kris Katterjohn

_______________________________________________
Sent through the nmap-dev mailing list
http://cgi.insecure.org/mailman/listinfo/nmap-dev
Archived at http://SecLists.Org
Received on Aug 27 2008

[ Nmap | Sec Tools | Mailing Lists | Site News | About/Contact | Advertising | Privacy ]
edgeos