Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #33483

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

Path csiph.com!usenet.pasdenom.info!aioe.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed5.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <jordan.bylsma1@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@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
X-Google-Web-Client true
X-Google-IP 67.176.36.216
MIME-Version 1.0
Subject Re: Python Script for Colorizing Traceroute Output (apologies for top-post)
From Jordan Bylsma <jordan.bylsma1@gmail.com>
To comp.lang.python@googlegroups.com
Content-Type text/plain; charset=ISO-8859-1
Content-Transfer-Encoding quoted-printable
Cc python-list@python.org
X-BeenThere python-list@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-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Message-ID <mailman.3779.1353182360.27098.python-list@python.org> (permalink)
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 abuse@xs4all.nl
Xref csiph.com comp.lang.python:33483

Show key headers only | View raw


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. 

Back to comp.lang.python | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

Python Script for Colorizing Traceroute Output Jordan Bylsma <jordan.bylsma1@gmail.com> - 2012-11-17 07:04 -0800
  Re: Python Script for Colorizing Traceroute Output garabik-news-2005-05@kassiopeia.juls.savba.sk - 2012-11-17 15:18 +0000
  Re: Python Script for Colorizing Traceroute Output wrw@mac.com - 2012-11-17 12:06 -0500
  Re: Python Script for Colorizing Traceroute Output (apologies for top-post) wrw@mac.com - 2012-11-17 12:07 -0500
    Re: Python Script for Colorizing Traceroute Output (apologies for top-post) Roy Smith <roy@panix.com> - 2012-11-17 13:38 -0500
      Re: Python Script for Colorizing Traceroute Output (apologies for top-post) Chris Angelico <rosuav@gmail.com> - 2012-11-18 05:45 +1100
        Re: Python Script for Colorizing Traceroute Output (apologies for top-post) Jordan Bylsma <jordan.bylsma1@gmail.com> - 2012-11-17 11:59 -0800
          Re: Python Script for Colorizing Traceroute Output (apologies for top-post) Chris Angelico <rosuav@gmail.com> - 2012-11-18 09:00 +1100
            Re: Python Script for Colorizing Traceroute Output (apologies for top-post) Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2012-11-18 01:18 +0000
              Re: Python Script for Colorizing Traceroute Output (apologies for top-post) Chris Angelico <rosuav@gmail.com> - 2012-11-18 12:27 +1100
        Re: Python Script for Colorizing Traceroute Output (apologies for top-post) Jordan Bylsma <jordan.bylsma1@gmail.com> - 2012-11-17 11:59 -0800

csiph-web