NetBSD/usr.sbin/traceroute
peter 960f4edd01 The default hops is not 30, but is taken from the net.inet.ip.ttl sysctl
variable.  Fixes PR/30209 from Jed Davis.
2005-06-14 13:55:59 +00:00
..
CHANGES
Makefile assume getifaddrs(3) 2003-05-15 14:47:49 +00:00
README
as.c Add support for printing the AS number associated with the address at 2001-11-04 23:14:35 +00:00
as.h Remove __P(). 2002-07-06 21:52:05 +00:00
gnuc.h Remove some unnecessary cruft. 2002-07-06 21:51:49 +00:00
ifaddrlist.c assume getifaddrs(3) 2003-05-15 14:47:49 +00:00
ifaddrlist.h
mean.awk
median.awk
traceroute.8 The default hops is not 30, but is taken from the net.inet.ip.ttl sysctl 2005-06-14 13:55:59 +00:00
traceroute.c do not disclose endian/pid. henning@openbsd 2004-04-22 01:41:22 +00:00
trrt2netbsd
version.c Don't forget the trailing newline. 2001-01-16 02:34:34 +00:00

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