freebsd-nq/contrib/traceroute
Crist J. Clark a719d3b931 Option for setting a fixed destination port. This is useful for tracing
to a host behind a firewall where only specific services are allowed.
For example, to trace the hops to an HTTP server behind a firewall,

  $ traceroute -e -P tcp -p 80 www-firewalled.example.com

MFC after:	1 week
2006-05-11 06:30:18 +00:00
..
lbl
aclocal.m4
acsite.m4
CHANGES
config.guess
config.sub
configure
configure.in
FILES
findsaddr-generic.c
findsaddr-linux.c
findsaddr-mib.c
findsaddr-socket.c Remove an empty default: case to please GCC 3.4.2. 2004-07-28 14:21:25 +00:00
findsaddr.h
FREEBSD-upgrade
ifaddrlist.c
ifaddrlist.h
INSTALL
install-sh
Makefile.in
mean.awk
median.awk
mkdep
README
rip_output.c
strerror.c
traceroute.8 Option for setting a fixed destination port. This is useful for tracing 2006-05-11 06:30:18 +00:00
traceroute.c Option for setting a fixed destination port. This is useful for tracing 2006-05-11 06:30:18 +00:00
traceroute.h
usleep.c
VERSION

@(#) $Id: README,v 1.9 2000/09/16 05:32:01 leres Exp $ (LBL)

TRACEROUTE 1.4
Lawrence Berkeley National Laboratory
Network Research Group
traceroute@ee.lbl.gov
ftp://ftp.ee.lbl.gov/traceroute.tar.gz

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