Nmap Development mailing list archives

Re: Reduce zenmap topology noise (patch)


From: David Fifield <david () bamsoftware com>
Date: Fri, 20 Jan 2012 17:41:04 -0800

On Tue, Jan 10, 2012 at 08:42:09AM +0100, Anders Sundman wrote:
Hi David,

On 2012-01-09 05:14, David Fifield wrote:
On Wed, Dec 14, 2011 at 10:51:28AM +0100, Anders Sundman wrote:

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.

Thanks for testing the patch!

It only removes one anonymous hop and your trace contains a chain of two
anonymous hops. That's the reason why it won't work.

It would be great to extend the 'pruning' functionality to cover these
chains of anonymous hops as well. However I won't be able to do it any
time soon.

I added a todo item to finish up this task and handle the case of two or
more consecutive timeouts. However it's not a priority for me, so if
this is important to someone, please send a patch if you want to see it
done quickly.

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


Current thread: