Home page logo

nmap-dev logo Nmap Development mailing list archives

Re: Using --top-ports for UDP selection only?
From: David Fifield <david () bamsoftware com>
Date: Wed, 27 Apr 2011 16:04:16 -0700

On Thu, Apr 21, 2011 at 12:59:41PM -0500, Chris Clements wrote:
Hi all,

Is there a way I can tell nmap to scan all TCP ports, but only the top, say,
200 most common UDP ports?  My first thought was to use "‹top-ports 200" and
specifying only TCP ports with ­p (-p T:1-65535), but it seems that
specifying specific TCP ports  overrides the top port selection for UDP.

No, there's not a way to do that, but I have wanted such a capability
before too. We could maybe allow --top-ports and -p to coexist (and
-F -p), doing as you suggest: top ports for anything not overridden by

David Fifield
Sent through the nmap-dev mailing list
Archived at http://seclists.org/nmap-dev/

  By Date           By Thread  

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