Home page logo

nmap-dev logo Nmap Development mailing list archives

Re: Exporting Topology
From: David Fifield <david () bamsoftware com>
Date: Wed, 22 Jul 2009 12:21:56 -0600

On Wed, Jul 22, 2009 at 01:24:14PM -0400, Max wrote:
On Thu, Jul 16, 2009 at 3:03 PM, Patrick Lui<plui31 () yahoo com> wrote:
I'm looking for a way to find all the  network devices.  I
understand that nmap can do this but what I want  to get also is the
associations/relationships between the devices. For example, if it
finds a router/switch, it can tell me which devices  are connected
to it.  This is similar to the Topology view in Zenmap but is there
a way to export it as text?

SNMP discovery might be more what you are looking for as with it you
can query a network devices' ARP cache and vendor-specific peering
tables (for example CDP with Cisco) to let you map out a network.
There are a variety of free and commercial tools that will help you do

If the node with nmap on it is attached to a device implementing a
vendor-specific discovery protocol like CDP then one can just listen
to a network interface in promiscuous mode and intercept discovery
packets from the device (unless the admin has turned off discovery
broadcasts for the interface) to determine which port on the network
device the nmap host is attached to.  but that is just one hop :p.
Would certainly be a neat feature for nmap for it to be able to use
that to tell the person running the scan this information.

Toni Ruottu wrote something like this using Bonjour/Zeroconf service
discovery. It is a program that listens for advertised services and
writes its results to an Nmap XML file.


This is a really great idea, because then you can open the XML file in
Zenmap and aggregate it with normal port scan results. You could
potentially run many different tools that would save XML into a single
directory, then view them all at once with Zenmap's "Open Directory"

David Fifield

Sent through the nmap-dev mailing list
Archived at http://SecLists.Org

  By Date           By Thread  

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