NetBSD/usr.sbin/traceroute
mrg 32f519716b - use an array MAXHOSTNAMELEN+1 size to hold hostnames
- ensure hostname from gethostname() is nul-terminated in all cases
- minor KNF
- use MAXHOSTNAMELEN over various other values/defines
- be safe will buffers that hold hostnames
1998-07-06 06:56:06 +00:00
..
CHANGES
Makefile use CPPFLAGS instead of CFLAGS 1997-10-25 06:57:53 +00:00
README
gnuc.h
ifaddrlist.c ensure we do not overrun errbuf. 1998-07-04 20:47:24 +00:00
ifaddrlist.h ensure we do not overrun errbuf. 1998-07-04 20:47:24 +00:00
mean.awk
median.awk
savestr.c Include <string.h> and use proper types for str*() so that this compiles 1997-10-08 20:47:38 +00:00
savestr.h
traceroute.8
traceroute.c - use an array MAXHOSTNAMELEN+1 size to hold hostnames 1998-07-06 06:56:06 +00:00
trrt2netbsd use CPPFLAGS instead of CFLAGS 1997-10-25 06:57:53 +00:00
version.c

README

$NetBSD: README,v 1.1.1.4 1997/10/03 22:25:20 christos Exp $
@(#) Header: README,v 1.8 97/01/05 04:15:36 leres Exp  (LBL)

TRACEROUTE 1.4
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 | xgraph

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".