Nmap Development mailing list archives

Re: Nmap 5.61TEST2 released - IPv6 OS detection, CPE, 30 more scripts, and more!


From: David Fifield <david () bamsoftware com>
Date: Thu, 6 Oct 2011 10:16:25 -0700

On Thu, Oct 06, 2011 at 02:41:49PM +0200, Vlatko Kosturjak wrote:
On Fri, Sep 30, 2011 at 11:45:18AM -0700, Fyodor wrote:
Hi Folks!  Thanks to your IPv6 OS detection submissions, we've been
able to incorporate them into the new machine learning system and
enable IPv6 OS detection.  So if you scan your submitted machines
again, they should now be properly identified in Nmap output.


Congrats on new release, but I hope I'm not late to report bug. In short,
new nmap version (ncat, to be precise) does not link cleanly:

gcc -o ncat -I/usr/include/openssl/include -march=i686 -mtune=generic -O2 -pipe -fstack-protector 
--param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wall -L../libpcap 
-Wl,-O1,--sort-common,--as-needed,-z,relro,--hash-style=gnu -L/usr/include/openssl/lib ncat_main.o ncat_connect.o 
ncat_core.o ncat_posix.o ncat_listen.o ncat_proxy.o ncat_ssl.o base64.o http.o util.o sys_wrap.o http_digest.o 
../nsock/src/libnsock.a ../nbase/libnbase.a -lssl -lcrypto -lpcap -ldl 
../libpcap/libpcap.a(pcap-linux.o): In function `nl80211_init':
pcap-linux.c:(.text+0x4d7): undefined reference to `nl_handle_alloc'
pcap-linux.c:(.text+0x4e9): undefined reference to `genl_connect'
pcap-linux.c:(.text+0x4f7): undefined reference to `genl_ctrl_alloc_cache'
pcap-linux.c:(.text+0x514): undefined reference to `genl_ctrl_search_by_name'
pcap-linux.c:(.text+0x57a): undefined reference to `nl_handle_destroy'
pcap-linux.c:(.text+0x60d): undefined reference to `nl_cache_free'
../libpcap/libpcap.a(pcap-linux.o): In function `nl80211_cleanup':
pcap-linux.c:(.text+0x63f): undefined reference to `genl_family_put'
pcap-linux.c:(.text+0x64a): undefined reference to `nl_cache_free'
pcap-linux.c:(.text+0x654): undefined reference to `nl_handle_destroy'
../libpcap/libpcap.a(pcap-linux.o): In function `del_mon_if.isra.8':
pcap-linux.c:(.text+0x1f2f): undefined reference to `nlmsg_alloc'
pcap-linux.c:(.text+0x1f47): undefined reference to `genl_family_get_id'
pcap-linux.c:(.text+0x1f83): undefined reference to `genlmsg_put'
pcap-linux.c:(.text+0x1fa7): undefined reference to `nla_put'

Similar problem was last year:
http://seclists.org/nmap-dev/2010/q2/798

Is it on Ubuntu? If not, what is it?

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


Current thread: