Nmap Development mailing list archives

Re: Reduce zenmap topology noise (patch)


From: David Fifield <david () bamsoftware com>
Date: Sun, 8 Jan 2012 20:14:57 -0800

On Wed, Dec 14, 2011 at 10:51:28AM +0100, Anders Sundman wrote:
Hi,

When running many traceroutes that traverse the same "anonymous" hop
between two known hosts, zenmap creates a new node in the graph for
each traceroute. This introduces a lot of unnecessary clutter in the
graph. 200 traceroutes passing 2 (physical) anonymous devices
currently generates 400 nodes in the topology graph.

Sure, it might be a new physical anonymous device each time, but it
most likely isn't. Even if it is, I don't think it makes sense to
represent them as two distinct nodes (since there is no way to tell
them apart).

I suggest combining nodes in the graph that represent anonymous hops
between two known devices.

         / anon_1 \
..-> ip_a          ip_b -> ..  => .. -> ip_a -> anon_1 -> ip_b -> ..
         \ anon_2 /


Here is a patch implementing this behavior:

http://www.4zm.org/files/2011/integration.py.diff

I think I see what this is supposed to be doing, but it didn't work when
I tried it. Here's an XML traceroute file and a graphic of what I'm
seeing.

David Fifield

Attachment: trace-anon.xml
Description:

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

Current thread: