traceroute for ultrix/mips?

Harley Privitera harley at gotit.shr.dec.com
Wed Sep 5 10:05:27 AEST 1990


In article <4077 at husc6.harvard.edu> heft at husc9.harvard.edu (Thomas W. Heft) writes:

>   I ftp'd this version of traceroute, and I can't get it to work.  Do
>   I have to modify the kernal?  I thought that someone said that it
>   wasn't necessary, but when I run traceroute, all I get is a bunch
>   of astericks, no hostnames.
>
>   What am I doing wrong?  Any help would be greatly apprecieated.

Here's an extract from traceroute.c:

/*
 * traceroute host  - trace the route ip packets follow going to "host".
 *
 * Attempt to trace the route an ip packet would follow to some
 * internet host.  We find out intermediate hops by launching probe
 * packets with a small ttl (time to live) then listening for an
 * icmp "time exceeded" reply from a gateway.  We start our probes
 * with a ttl of one and increase by one until we get an icmp "port
 * unreachable" (which means we got to "host") or hit a max (which
 * defaults to 30 hops & can be changed with the -m flag).  Three
 * probes (change with -q flag) are sent at each ttl setting and a
 * line is printed showing the ttl, address of the gateway and
 * round trip time of each probe.  If the probe answers come from
 * different gateways, the address of each responding system will
 * be printed.  If there is no response within a 5 sec. timeout
 * interval (changed with the -w flag), a "*" is printed for that
 * probe.
 *
--
Harley Privitera		"No matter what you do, one of our
Digital Equipment Corp.		planes will get thru to the target."
harley at gotit.shr.dec.com	"What is the target?"
...!decwrl!gotit.shr!harley	"Moscow."
				"... I'll call you back."
					from the movie "Failsafe"



More information about the Comp.unix.ultrix mailing list