Path: csiph.com!usenet.pasdenom.info!weretis.net!feeder1.news.weretis.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.freenet.ag!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!194.109.133.84.MISMATCH!newsfeed.xs4all.nl!newsfeed5.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.009 X-Spam-Evidence: '*H*': 0.98; '*S*': 0.00; 'output': 0.04; 'subject:Python': 0.05; 'python': 0.09; 'cc:addr:python-list': 0.10; 'accordingly.': 0.13; 'for,': 0.16; 'received:mac.com': 0.16; 'subject: \n ': 0.16; 'wrote:': 0.17; 'basically': 0.17; 'received:10.0.1': 0.17; 'help.': 0.22; 'example': 0.23; 'cc:2**1': 0.24; 'script': 0.24; 'cc:addr:python.org': 0.25; 'am,': 0.27; 'this?': 0.28; 'run': 0.28; 'firewall': 0.29; 'url:mailman': 0.29; "i'm": 0.29; 'code': 0.31; 'url:python': 0.32; 'switch': 0.32; 'url:listinfo': 0.32; 'received:10.0': 0.33; 'anyone': 0.33; 'nov': 0.35; 'received:17': 0.35; 'table': 0.35; 'something': 0.35; 'really': 0.36; 'but': 0.36; 'url:org': 0.36; 'cc:no real name:2**1': 0.36; 'charset:us-ascii': 0.36; 'subject: (': 0.36; 'subject:: ': 0.38; 'some': 0.38; 'received:10': 0.38; 'subject:-': 0.40; 'url:mail': 0.40; 'think': 0.40; 'from:no real name:2**0': 0.60; 'most': 0.61; 'firewalls': 0.84 MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; CHARSET=US-ASCII X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.9.8185,1.0.431,0.0.0000 definitions=2012-11-17_06:2012-11-15, 2012-11-17, 1970-01-01 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 ipscore=0 suspectscore=0 phishscore=0 bulkscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=6.0.2-1203120001 definitions=main-1211170170 Subject: Re: Python Script for Colorizing Traceroute Output (apologies for top-post) From: wrw@mac.com In-reply-to: <6ea528f6-e4c2-4da9-a011-d81f13b83d28@googlegroups.com> Date: Sat, 17 Nov 2012 12:07:27 -0500 References: <6ea528f6-e4c2-4da9-a011-d81f13b83d28@googlegroups.com> To: Jordan Bylsma X-Mailer: Apple Mail (2.1499) Cc: python-list@python.org, wrw@mac.com X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 12 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1353175657 news.xs4all.nl 6919 [2001:888:2000:d::a6]:58734 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:33475 On Nov 17, 2012, at 10:04 AM, Jordan Bylsma wrote: > I'm looking into writing a python script that colorizes particular hops when using traceroute. Anyone run across something like this? I don't think it would be extremely difficult to write but some example code would help. > > Basically particular hops in traceroute output would match a table as either a router, firewall or layer 3 switch and be colorized accordingly. > -- > http://mail.python.org/mailman/listinfo/python-list Don't forget that most firewalls don't decrement) the time-to-live number, and unless you REALLY know what to look for, are invisible. -Bill