Re: easy way to scan for issues with path mtu discovery?

2008-06-24 Thread Ingo Flaschberger

Dear Patrick,

Does anyone know of an easy way to scan for issues with path mtu 
discovery along a hop path?  E.g. if you think someone is ICMP 
black-holing along a route, or even on the endpoint host, could you use 
some obscure nmap flag to find out for sure, and also to identify the 
offending hop/router/host?  What tool would you use to test for this, 
and how would you do such a test?  Is there any probing tool that does 
checks like this automatically?


Seems to me this happens often enough that someone has probably already 
figured it out, so I am trying not to reinvent the wheel.  All I can 
think of would be to handcraft packets of steadily increasing sizes and 
look for replies from each hop on the route (which would be laborious at 
best).  Google has not been kind to my researches so far.


If you have a cisco router:
ping
Protocol [ip]:
Target IP address: x.x.x.x
Repeat count [5]:
Datagram size [100]: 1500
Timeout in seconds [2]: 1
Extended commands [n]: y
Source address or interface:
Type of service [0]:
Set DF bit in IP header? [no]: yes
Validate reply data? [no]: yes
Data pattern [0xABCD]:
Loose, Strict, Record, Timestamp, Verbose[none]:
Sweep range of sizes [n]: y
Sweep min size [36]:
Sweep max size [18024]: 1500
Sweep interval [1]:

Kind regards,
Ingo Flaschberger




Re: easy way to scan for issues with path mtu discovery?

2008-06-24 Thread Justin Shore

Darden, Patrick S. wrote:


Hi all,

Does anyone know of an easy way to scan for issues with path mtu discovery 
along a hop path?  E.g. if you think someone is ICMP black-holing along a 
route, or even on the endpoint host, could you use some obscure nmap flag to 
find out for sure, and also to identify the offending hop/router/host?  What 
tool would you use to test for this, and how would you do such a test?  Is 
there any probing tool that does checks like this automatically?

Seems to me this happens often enough that someone has probably already figured 
it out, so I am trying not to reinvent the wheel.  All I can think of would be 
to handcraft packets of steadily increasing sizes and look for replies from 
each hop on the route (which would be laborious at best).  Google has not been 
kind to my researches so far.


Take a look at tracepath.

http://www.google.com/search?hl=enq=tracepathbtnG=Google+Search

I haven't done much of anything with it but it may be of use to you.

Justin



RE: easy way to scan for issues with path mtu discovery?

2008-06-24 Thread Frank Bulk - iNAME
Look at mturoute: http://www.elifulkerson.com/projects/mturoute.php

Frank

-Original Message-
From: Darden, Patrick S. [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, June 24, 2008 9:28 AM
To: nanog@nanog.org
Subject: easy way to scan for issues with path mtu discovery?

Hi all,

Does anyone know of an easy way to scan for issues with path mtu discovery
along a hop path?  E.g. if you think someone is ICMP black-holing along a
route, or even on the endpoint host, could you use some obscure nmap flag to
find out for sure, and also to identify the offending hop/router/host?  What
tool would you use to test for this, and how would you do such a test?  Is
there any probing tool that does checks like this automatically?

Seems to me this happens often enough that someone has probably already
figured it out, so I am trying not to reinvent the wheel.  All I can think
of would be to handcraft packets of steadily increasing sizes and look for
replies from each hop on the route (which would be laborious at best).
Google has not been kind to my researches so far.

I appreciate any help!
--Patrick Darden





Re: easy way to scan for issues with path mtu discovery?

2008-06-24 Thread Bill Owens
On Tue, Jun 24, 2008 at 10:28:12AM -0400, Darden, Patrick S. wrote:
 
 
 Hi all,
 
 Does anyone know of an easy way to scan for issues with path mtu discovery 
 along a hop path?  E.g. if you think someone is ICMP black-holing along a 
 route, or even on the endpoint host, could you use some obscure nmap flag to 
 find out for sure, and also to identify the offending hop/router/host?  What 
 tool would you use to test for this, and how would you do such a test?  Is 
 there any probing tool that does checks like this automatically?
 
 Seems to me this happens often enough that someone has probably already 
 figured it out, so I am trying not to reinvent the wheel.  All I can think of 
 would be to handcraft packets of steadily increasing sizes and look for 
 replies from each hop on the route (which would be laborious at best).  
 Google has not been kind to my researches so far.

scamper is the best tool I've found:

http://www.wand.net.nz/scamper/

Bill.