Nmap Development mailing list archives

-6 and -PE or -PN or -PP


From: jah <jah () zadkiel plus com>
Date: Mon, 12 May 2008 02:42:12 +0100

Hi.

Attached is null_device.patch - a draft patch to catch:

nmap -6 -PE 2001::a08

Starting Nmap 4.62 ( http://nmap.org ) at 2008-05-12 02:14 GMT Standard Time
Assertion failed: device != NULL, file ..\tcpip.cc, line 931

which also happens for -PN and -PP.


regards,

jah

--- NmapOps.cc.orig     Mon May  5 10:43:45 2008
+++ NmapOps.cc  Mon May 12 01:29:49 2008
@@ -374,6 +374,10 @@
 
  if (pingscan && (TCPScan() || UDPScan() || ipprotscan || listscan)) {
    fatal("Ping scan is not valid with any other scan types (the other ones all include a ping scan");
+ }
+
+ if (af() == AF_INET6 && (PINGTYPE_ICMP_PING || PINGTYPE_ICMP_MASK || PINGTYPE_ICMP_TS)) {
+   fatal("ICMP Echo, Timestamp and Address Mask pings are only valid for IPv4.");
  }
 
  if (sendpref == PACKET_SEND_NOPREF) {

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

Current thread: