mailing list archives
Re: [PATCH] NSE ipv4 checks
From: Djalal Harouni <tixxdz () opendz org>
Date: Thu, 7 Apr 2011 11:14:40 +0100
On 2011-04-05 14:29:42 +0200, Henri Doreau wrote:
David and others what do you think about this ? my concern is reducing
scan failures (aborts).
In fact most of these scripts already check that nmap.interface is not
nil, which seems to be enough to discard execution for IPv6 scans (in
my limited testing environment at least). This prevent them for
failing noisily, but it's somewhat "magic" and might change soon. I
think that these IPv4 checks make the things cleaner.
Yes Henri the IPv4 checks for NSE scripts are cleaner and stable
compared to the interface check. IIRC the interface will be nil if Nmap
is not doing an IPv4 && raw scan, however we should not rely on this,
since adding IPv6 raw packets is a TODO task.
Sent through the nmap-dev mailing list
Archived at http://seclists.org/nmap-dev/