Home page logo

nmap-dev logo Nmap Development mailing list archives

verbose option not showing "down" hosts on regular scans
From: "Nielsen, Steve" <SNielsen () comscore com>
Date: Mon, 25 Apr 2005 09:52:00 -0400


I just was testing out the new newest version of nmap (3.81) and noticed that it does not report hosts that are down 
for "normal" portscans in verbose mode.

This is the behaviour I am talking about. This worked as of nmap 3.00 (which we currently use in production):

nmap 2.3 BETA21:
o Added "Host: [machinename] (ip) Status: Down" to machine logs when
  the verbose option is given (just like down hosts are reported to
  stdout when verbose is given).  Suggested by Alek Komarnitsky.

Here is a possible patch to remedy the problem for 3.81:

diff -u -r nmap-3.81/nmap.cc nmap-3.81.orig/nmap.cc
--- nmap-3.81/nmap.cc   2005-04-25 07:00:22.711349256 -0500
+++ nmap-3.81.orig/nmap.cc  2005-02-07 02:52:52.000000000 -0600
@@ -1035,7 +1035,7 @@

-      if (o.verbose || o.pingscan || o.listscan) {
+      if (o.pingscan || o.listscan) {
    /* We're done with the hosts */
    log_write(LOG_XML, "<host>");
    write_host_status(currenths, resolve_all);


Sent through the nmap-dev mailing list

  By Date           By Thread  

Current thread:
  • verbose option not showing "down" hosts on regular scans Nielsen, Steve (Apr 25)
[ Nmap | Sec Tools | Mailing Lists | Site News | About/Contact | Advertising | Privacy ]