freebsd-skq/usr.sbin/traceroute
peter d489b09360 Fixes from NetBSD:
- inet_ntoa() returns a pointer to a static buffer, dont use it twice
   in the same printf().
 - prevent the possibility of never timing out
 - Report two more ICMP error types (prohibited nets etc)
And some (commented out) enhancements that I use, but some don't like.
1996-08-17 10:37:28 +00:00
..
gnuc.h Bring in LBL traceroute, which has the '-g' option. This is a bugfixed and 1996-03-13 08:04:29 +00:00
Makefile Fixes from NetBSD: 1996-08-17 10:37:28 +00:00
mean.awk BSD 4.4 Lite usr.sbin Sources 1994-05-26 05:23:31 +00:00
median.awk BSD 4.4 Lite usr.sbin Sources 1994-05-26 05:23:31 +00:00
README Bring in LBL traceroute, which has the '-g' option. This is a bugfixed and 1996-03-13 08:04:29 +00:00
traceroute.8 Bring in LBL traceroute, which has the '-g' option. This is a bugfixed and 1996-03-13 08:04:29 +00:00
traceroute.c Fixes from NetBSD: 1996-08-17 10:37:28 +00:00

@(#) $Header: README,v 1.6 95/08/27 16:58:04 leres Exp $ (LBL)

TRACEROUTE 1.2
Lawrence Berkeley National Laboratory
Network Research Group
traceroute@ee.lbl.gov
ftp://ftp.ee.lbl.gov/traceroute-*.tar.Z

Traceroute is a system administrators utility to trace the route
ip packets from the current system take in getting to some
destination system.  See the comments at the front of the
program for a description of its use.

This program uses raw ip sockets and must be run as root (or installed
setuid to root).

A couple of awk programs to massage the traceroute output are
included.  "mean.awk" and "median.awk" compute the mean and median time
to each hop, respectively.  I've found that something like

    traceroute -q 7 foo.somewhere >t
    awk -f median.awk t | graph

can give you a quick picture of the bad spots on a long path (median is
usually a better noise filter than mean).

Problems, bugs, questions, desirable enhancements, source code
contributions, etc., should be sent to the email address
"traceroute@ee.lbl.gov".