Home page logo
/

nmap-dev logo Nmap Development 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.

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


  By Date           By Thread  

Current thread:
[ Nmap | Sec Tools | Mailing Lists | Site News | About/Contact | Advertising | Privacy ]