Nmap Development mailing list archives

Problem with Windows version of nmap


From: ~Kevin Davis³ <computerguy () cfl rr com>
Date: Fri, 21 Feb 2003 12:49:46 -0500

It appears that there is a problem with the Windows port of nmap.  It has not been compiling for me for the last 
several versions.  I have found that in this last version if wintcpip.cc is modified, it will build.  The following 
lines needed to be changed:

line 522 needs to be changed to

int readudppacket(const u8 *packet, int readdata) 

and line 527 needs to be changed to

 const u8 *data = packet +  sizeof(struct ip) + sizeof(udphdr_bsd);

I don't know if the original intent was to change the u8 data type to unsigned char or not.  If it was, then the above 
fix obviously is not the correct one and the real fix lies somewhere else.

~Kevin Davis³

What could possibly go wrong?

Current thread: