Ethereal-dev: [Ethereal-dev] mkcap.c: A program to generate TCP capture files ...

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Richard Sharpe <rsharpe@xxxxxxxxxxxxxxxxx>
Date: Sat, 4 Oct 2003 22:20:40 -0700 (PDT)
Hi,

For a project that some of us are working on we have created a little 
program called mkcap.c.

This program can generate an ascii capture file (which can be converted 
with text2pcap) of reasonable format TCP segments. You can select a bunch 
of parameters associated with the connection, like src IP, dst IP, src 
port, dst port, src ISN, etc.

We are working on allowing you to also specify that packets or acks be 
dropped in various ways and we want the program to generate the sort of 
traffic that a real TCP impl might generate.

If nothing else, it is useful for generating pretty time sequence analysis 
graphs.
 
Regards
-----
Richard Sharpe, rsharpe[at]ns.aus.com, rsharpe[at]samba.org, 
sharpe[at]ethereal.com, http://www.richardsharpe.com