Nmap Development mailing list archives

Re: Help please thanks


From: "Rob Nicholls" <robert () everythingeverything co uk>
Date: Thu, 31 Jul 2008 10:03:38 +0100 (BST)

Hi Rob.  Did one of these fix the problem of getaddrinfo() mising from
Win2K's ws2_32.dll?  According to the page you linked:

I'm afraid I never managed to get Nmap 4.68 to work on Windows 2000.

But it sounds like you tried this header file approach and recompiled,
and it did not help?

It's been a few weeks since I tried it so I hope I remember this
correctly. I believe I included the additional header and it compiled
okay, but I still got exactly the same error message. I vaguely recall
also trying to remove the partial implementation of getaddrinfo from
Nmap's code, but I think that caused a load of compilation errors. I'll
try and check this later tonight or (more likely) tomorrow.

Did installing SP4 or one of your other patches fix the problem?

No, I even tried a fully patched version of Windows 2000 and it still
didn't like it. I suspect the only way to avoid it (without changing
anything in Nmap) would be to copy across a version of ws2_32.dll from an
XP machine (or possibly install the IPv6 preview that was abandoned on
2000 and Microsoft doesn't officially support), which isn't really an
option for us.

One option might be to detect Win2K (surely there is some define we
can use?) and then undef HAVE_IPV6 in that case.  It seems like Win2K
is still widely used.

I tried setting HAVE_IPV6 and HAVE_AF_INET6 to 0 in an attempt to take out
IPv6 support when compiling (I wasn't entirely sure if I need to do
anything else), but that didn't appear to help either. Has anyone managed
to compile Nmap without IPv6 support ever since we started releasing
Windows binaries with support?


Rob



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


Current thread: