Nmap Development mailing list archives

Re: 6.41SVN and IPv6?


From: Daniel Miller <bonsaiviking () gmail com>
Date: Mon, 16 Dec 2013 15:01:15 -0600

On 12/16/2013 02:28 PM, Jens Link wrote:
nmap -6 2001:db8::80
Jens,

Thanks for this report. Could you try this patch and see if it resolves the issue?

diff --git a/scan_engine.cc b/scan_engine.cc
index 4517e1e..9f06051 100644
--- a/scan_engine.cc
+++ b/scan_engine.cc
@@ -964,7 +964,7 @@ void UltraProbe::setIP(u8 *ippacket, u32 len, const probespec *pspec) {
 }

 u16 UltraProbe::icmpid() const {
-  assert(mypspec.proto == IPPROTO_ICMP);
+  assert(mypspec.proto == IPPROTO_ICMP || mypspec.proto == IPPROTO_ICMPV6);
   return probes.IP.pd.icmp.ident;
 }



Thanks,
Dan
_______________________________________________
Sent through the dev mailing list
http://nmap.org/mailman/listinfo/dev
Archived at http://seclists.org/nmap-dev/


Current thread: