Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I was using nmap 5.21 with the -PN, -F and --reason flags in version 5.21. I was outputting the results to an XML file. It would list ALL hosts (say I gave it a /24 subnet to scan. I then updated to 5.51 and ran the exact same command, but it no longer lists down hosts, just ones that are up. Is there a new flag to list down hosts? OR did this get removed in 5.51?

My full options are:

-sS -n -PN -SV -F --reason

I've also used and removed --open but it will not list down hosts in my XML output.

share|improve this question
version 5.21 on RHEL 4 showed up and down hosts when -v verbose was used. – Felipe Alvarez May 3 at 0:06

I checked the Nmap changelog found this in changelog for the Nmap 5.30BETA1 release of March 2010:

o XML output now only includes host elements for down hosts in verbose mode. This makes it consistent with the other output formats.

So to get the XML output for down hosts like you had before, you should use verbose mode (-v) in Nmap 5.30 and newer.

share|improve this answer
The -v option is not listing hosts that are down. I also tried -vvv as well and I'm only getting hosts that are responding. – Wild Bill Jul 10 '12 at 14:51
Using --open will suppress down hosts, too. Use -v, don't use --open – bonsaiviking Jul 10 '12 at 16:52
I used -v with and without --open and both did not list down hosts.... – Wild Bill Jul 10 '12 at 21:18

You can list all hosts by using the -v option. Also, the latest version of Nmap is 6.01, which you can download from

share|improve this answer
up vote 0 down vote accepted

None of the above suggestions worked. I had to end up upgrading to 6.01. Upon doing so the xml output lists ALL hosts: those that are down and those that are up.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.