Subject: Re: traceroute termination on ICMP unreachable
To: None <tech-net@NetBSD.ORG>
From: Alan Barrett <apb@iafrica.com>
List: tech-net
Date: 09/05/1997 09:03:18
> Now, normally, traceroute terminates if (nunreachables == nprobes) (per hop).
> This doesn't work for rate-limiting routers.
> 
> Havard proposed to test for (nunreachables && (nunreachables >= (nprobes-1)).
> However, this probably won't work for nprobes much > 3, either.

I suggest testing for something like

     (nunreachables > 0 && ntimeouts + nunreachables == nprobes)

--apb (Alan Barrett)