
TCP Generation and Tracing Tool

v2.0 / June 2004

Mark Allman (mallman@icir.org)
ICIR / ICSI


These tools are similar to ttcp and iperf in that they source and
sink TCP traffic.  The key difference is that the tools will also
capture a libpcap packet trace of the transfer, as well.  The
filters built into the code attempt to ensure that only the
synthetically generated (or received) traffic is captured, making
the tool suitable for tracing in environments where the user is not
allowed to do general-purpose packet capture (e.g., running ttcp in
parallel to tcpdump).

The "traffic" tool is used for generating traffic to a given
destination host and port.

The "discardd" tool is used to sink traffic destined for a given
port on the local machine.

Typing "traffic" or "discardd" will show tool usage.  A man page for
each tool is future work.

The tools require libpcap.  The tools have been built on a number of
different Unix platforms, but mostly tested under NetBSD and
FreeBSD.  Under FreeBSD and Linux systems a non default Makefile
should be used (so, "make -f Makefile.{freebsd,linux}").  I love
autoconf when someone else writes it and it just works for me.  But,
I do not yet possess the brain power to use it myself.
Contributions welcome.
