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


Groups > comp.lang.python > #84128

Re: python traceroute

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed2.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <wrw@mac.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.004
X-Spam-Evidence '*H*': 0.99; '*S*': 0.00; 'python,': 0.02; 'exercise': 0.04; '21,': 0.07; 'hosts': 0.07; 'socket': 0.07; 'measure': 0.09; 'jan': 0.12; 'itself.': 0.14; 'command.': 0.16; 'i\xe2\x80\x99d': 0.16; 'most)': 0.16; 'received:10.0.1.5': 0.16; 'received:mac.com': 0.16; 'throw': 0.16; 'subject:python': 0.16; 'wrote:': 0.18; 'received:10.0.1': 0.19; 'programming': 0.22; 'days,': 0.24; 'tend': 0.24; 'cc:2**0': 0.24; 'am,': 0.29; 'url:mailman': 0.30; 'purely': 0.31; 'url:python': 0.33; 'problem': 0.35; 'add': 0.35; 'url:listinfo': 0.36; 'doing': 0.36; 'received:10.0': 0.36; 'url:org': 0.36; 'application': 0.37; 'received:10': 0.37; 'configured': 0.38; 'received:17': 0.38; 'handle': 0.38; 'to:addr:python-list': 0.38; 'bill': 0.39; 'to:addr:python.org': 0.39; 'url:mail': 0.40; 'new': 0.61; "you're": 0.61; 'further': 0.61; 'email addr:gmail.com': 0.63; 'more': 0.64; '2015': 0.84; 'header:In-reply-to:1': 0.84; 'wheel': 0.84
X-Proofpoint-Virus-Version vendor=fsecure engine=2.50.10432:5.13.68,1.0.33,0.0.0000 definitions=2015-01-21_03:2015-01-21,2015-01-21,1970-01-01 signatures=0
X-Proofpoint-Spam-Details rule=notspam policy=default score=0 spamscore=0 suspectscore=1 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=7.0.1-1412080000 definitions=main-1501210146
Content-type text/plain; charset=utf-8
MIME-version 1.0 (Mac OS X Mail 8.1 \(1993\))
Subject Re: python traceroute
From William Ray Wing <wrw@mac.com>
In-reply-to <m9nc4c$i7h$2@dont-email.me>
Date Wed, 21 Jan 2015 09:41:19 -0500
Content-transfer-encoding quoted-printable
References <dd1c4ee0-a65d-4d0b-915e-b7c306126685@googlegroups.com> <m9nc4c$i7h$2@dont-email.me>
To python-list@python.org
X-Mailer Apple Mail (2.1993)
Cc "William R. Wing" <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 <python-list.python.org>
List-Unsubscribe <https://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 <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.17916.1421854902.18130.python-list@python.org> (permalink)
Lines 30
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1421854902 news.xs4all.nl 2853 [2001:888:2000:d::a6]:37865
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:84128

Show key headers only | View raw


> On Jan 21, 2015, at 12:06 AM, Denis McMahon <denismfmcmahon@gmail.com> wrote:
> 
> On Tue, 20 Jan 2015 19:37:26 -0800, Chandrakant Tiwari wrote:
> 
>> in the program below i want it to make it work  the same way as TRACERT 
>> command.
> 
> As an observation, you're re-inventing a wheel that already works 
> perfectly well, in that any failings of tracert tend to be more down to 
> the way routers are configured to handle icmp than the tracert 
> application itself. Unless you're doing this purely as an exercise in 
> socket programming with python, it might be better to find a new problem 
> to solve.
> 
> -- 
> Denis McMahon, denismfmcmahon@gmail.com
> -- 
> https://mail.python.org/mailman/listinfo/python-list

I’d further add that as a security measure these days, many (soon to be most) hosts are configured to throw icmp packets away without acknowledging them in any way.

Bill

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


Thread

python traceroute Chandrakant Tiwari <chandrakant.tiwari204@gmail.com> - 2015-01-20 19:37 -0800
  Re: python traceroute Steven D'Aprano <steve@pearwood.info> - 2015-01-21 04:02 +0000
  Re: python traceroute Denis McMahon <denismfmcmahon@gmail.com> - 2015-01-21 05:06 +0000
    Re: python traceroute William Ray Wing <wrw@mac.com> - 2015-01-21 09:41 -0500

csiph-web