Python Script for Colorizing Traceroute Output (apologies for top-post)

Jordan Bylsma jordan.bylsma1 at
Sat Nov 17 20:59:17 CET 2012

For this case the firewalls DO respond to TTL(in most cases) and will show in a traceroute. The objective here is to colorize particular devices to easily see what type of devices traffic would traverse across the network. I would be using a database of device hostnames that when they match in traceroute they would be printed a particular color. Something like router=green, layer 3 switch yellow, and firewall red. I'm just looking for a basic script to accomplish this. Nothing too fancy. 

More information about the Python-list mailing list