Nmap Development mailing list archives
Re: nmap 3.81 crash on XP with pcap 3.01a
From: Andreas Ericsson <ae () op5 se>
Date: Fri, 11 Feb 2005 10:14:33 +0100
Matthew Oelschlaeger wrote:
Hiya,Found weird crash bug in nmap 3.81 binaries and source for windows with nmap 3.01a.
I suppose you mean pcap 3.01a as in the subject. Fyodor stated that the recommended winpcap release is 3.04a. Would an upgrade take care of the problem for you?
It tries to reference pcap_lib_version in wpcap.dll. However, there isnt a pcap_lib_version in my wpcap.dll so it fails withERROR_PROC_NOT_FOUND. nmap.exe: 045C15F: GetProcAddress(0x390000, "pcap_lib_version") => 0 045C168: GetLastError() => ERROR_PROC_NOT_FOUND Heres what i used to fix the problem. No idea if its correct though :p. <nmapsource>/mswin32/winip/winip.c @ LINE 314, FUNCTION winip_postopt_init //old//printf("***WinIP*** winpcap present, dynamic linked to: %s\n", pcap_lib_version());//newprintf("***WinIP*** winpcap present, dynamic linked to: %s\n", PacketGetVersion());
I'm sure there is a reason for the change of functions called here. I must say that pcap_lib_version() is a much more intuitive and proper name to get the version than PacketGetVersion().
-- Andreas Ericsson andreas.ericsson () op5 se OP5 AB www.op5.se Lead Developer ---------------------------------------------------------------------For help using this (nmap-dev) mailing list, send a blank email to nmap-dev-help () insecure org . List archive: http://seclists.org
Current thread:
- nmap 3.81 crash on XP with pcap 3.01a Matthew Oelschlaeger (Feb 10)
- Re: nmap 3.81 crash on XP with pcap 3.01a Andreas Ericsson (Feb 11)
- Re: nmap 3.81 crash on XP with pcap 3.01a Fyodor (Feb 16)
- Re: nmap 3.81 crash on XP with pcap 3.01a Andreas Ericsson (Feb 11)