Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion Python Script for Colorizing Traceroute Output (apologies for top-post)

Received: by 10.180.87.170 with SMTP id az10mr3731930wib.0.1353487537440;
        Wed, 21 Nov 2012 00:45:37 -0800 (PST)
Path: q13ni3804wii.0!nntp.google.com!feeder3.cambriumusenet.nl!feed.tweaknews.nl!194.109.133.86.MISMATCH!newsfeed.xs4all.nl!newsfeed3.news.xs4all.nl!border4.nntp.ams.giganews.com!border2.nntp.ams.giganews.com!border3.nntp.ams.giganews.com!border1.nntp.ams.giganews.com!backlog1.nntp.dca.giganews.com!border4.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!news.glorb.com!xlned.com!feeder1.xlned.com!newsfeed.xs4all.nl!newsfeed5.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path: <jordan.byls...@gmail.com>
X-Original-To: python-l...@python.org
Delivered-To: python-l...@mail.python.org
X-Spam-Status: OK 0.058
X-Spam-Evidence: '*H*': 0.89; '*S*': 0.00; 'subject:Python': 0.05;
	'to:addr:comp.lang.python': 0.09; 'cc:addr:python-list': 0.10;
	'cases)': 0.16; 'color.': 0.16; 'traverse': 0.16; 'network.':
	0.17; 'cc:2**0': 0.23; 'cc:no real name:2**0': 0.24; 'device':
	0.24; 'script': 0.24; 'cc:addr:python.org': 0.25; 'header:In-
	Reply-To:1': 0.25; 'header:User-Agent:1': 0.26; 'firewall': 0.29;
	'this.': 0.29; "i'm": 0.29; 'basic': 0.30; 'switch': 0.32;
	'received:google.com': 0.34; 'received:209.85': 0.35; 'something':
	0.35; 'too': 0.36; 'subject: (': 0.36; 'received:209': 0.37;
	'subject:: ': 0.38; 'nothing': 0.38; 'easily': 0.39; 'subject:-':
	0.40; 'most': 0.61; 'traffic': 0.61; 'show': 0.63; 'here': 0.65;
	'fancy.': 0.84; 'firewalls': 0.84; 'red.': 0.84
Newsgroups: comp.lang.python
Date: Sat, 17 Nov 2012 11:59:17 -0800 (PST)
In-Reply-To: <mailman.3778.1353177966.27098.python-list@python.org>
Complaints-To: groups-abuse@google.com
Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=67.176.36.216;
	posting-account=J9YxrgoAAADIml7V1lRhg-XA0ccE7dhR
References: <6ea528f6-e4c2-4da9-a011-d81f13b83d28@googlegroups.com>
	<mailman.3774.1353175657.27098.python-list@python.org>
	<roy-EFAEEF.13385317112012@news.panix.com>
	<mailman.3778.1353177966.27098.python-list@python.org>
User-Agent: G2/1.0
MIME-Version: 1.0
Subject: Re: Python Script for Colorizing Traceroute Output (apologies for
	top-post)
From: Jordan Bylsma <jordan.byls...@gmail.com>
To: comp.lang.python@googlegroups.com
Cc: python-l...@python.org
X-BeenThere: python-l...@python.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: General discussion list for the Python programming language
	<python-list.python.org>
List-Unsubscribe: <http://mail.python.org/mailman/options/python-list>,
	<mailto:python-list-requ...@python.org?subject=unsubscribe>
List-Archive: <http://mail.python.org/pipermail/python-list/>
List-Post: <mailto:python-l...@python.org>
List-Help: <mailto:python-list-requ...@python.org?subject=help>
List-Subscribe: <http://mail.python.org/mailman/listinfo/python-list>,
	<mailto:python-list-requ...@python.org?subject=subscribe>
Message-ID: <mailman.3779.1353182360.27098.python-l...@python.org>
Lines: 7
NNTP-Posting-Host: 2001:888:2000:d::a6
X-Trace: 1353182360 news.xs4all.nl 6978 [2001:888:2000:d::a6]:40429
X-Complaints-To: ab...@xs4all.nl
X-Original-Bytes: 3434
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

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 ea=
sily 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 trace=
route they would be printed a particular color. Something like router=3Dgre=
en, layer 3 switch yellow, and firewall red. I'm just looking for a basic s=
cript to accomplish this. Nothing too fancy.