Nmap Development mailing list archives
Re: optional ipv6 support
From: David Fifield <david () bamsoftware com>
Date: Tue, 29 Jan 2013 22:06:42 -0800
On Tue, Jan 29, 2013 at 10:24:12PM -0500, Rick "Zero_Chaos" Farina wrote:
Currently the only ipv6 related things happening in configure.ac is this: dnl Check IPv6 raw sending flavor. CHECK_IPV6_IPPROTO_RAW This means that when configure runs it checks libpcap for ipv6 support and enables if it finds support. For many reasons, this is not a great thing. So call "automagic dependencies" [1] cause a great deal of heartache when things are rebuilt or binaries are transfered to other systems. Would it be possible to add --enable-ipv6 --disable-ipv6 flags like in nbase? # Check for IPv6 support -- modified from Apache 2.0.40: AC_ARG_ENABLE(ipv6, [ --disable-ipv6 Disable IPv6 support ], [ if test "$enableval" = "no"; then user_disabled_ipv6=1 fi ], [ user_disabled_ipv6=0 ] ) Thanks for your consideration,
Nmap gets its value for HAVE_IPV6 from nbase, so it should already work as you wish. It's possible that there is code referring to IPv6 that is not protected by HAVE_IPV6 guards, but that would be a separate bug. I just tried configuring Nmap with ./configure --disable-ipv6 and HAVE_IPV6 is disabled in nbase_config.h, as expected. David Fifield _______________________________________________ Sent through the dev mailing list http://nmap.org/mailman/listinfo/dev Archived at http://seclists.org/nmap-dev/
Current thread:
- optional ipv6 support Rick "Zero_Chaos" Farina (Jan 29)
- Re: optional ipv6 support David Fifield (Jan 29)
- Re: optional ipv6 support Rick "Zero_Chaos" Farina (Feb 02)
- Re: optional ipv6 support David Fifield (Jan 29)