NAME
flowreplay - replay TCP/UDP flows from a pcap capture file
SYNOPSIS
flowreplay[ -h ] -i pcapfile [ -m send | wait | bytes ] [ -t targetip ] [ -p proto/port ] [ -V ] [ -w sec.usec ]
DESCRIPTION
Flowreplay is a tool for replaying client traffic to a server from files saved with tcpdump(8).
The basic operation of flowreplay is to connect to server(s) via the TCP/UDP protocols captured in the pcap file and replay the client side of the connection to the server.
OPTIONS
- -h
-
Help.
- -i
-
Input file (pcap format)
- -m
-
Mode to use to know when the server is done sending. Options are 'send' as fast as you can, 'wait' for -w sec.usec, and send after recieving the previously captured number of 'bytes' from the server.
- -t
-
The server to connect to in lieu of the IP addresses in the pcap file.
- -p
-
The protocol and/or port to limit sending traffic on. Valid protocols are: TCP and UDP; and any port between 0 and 65535.
- -V
-
Print version info and exit.
- -w
-
The number of seconds and micro-seconds represented as a float to wait for the server to finish sending before sending more data. Must be used with "-m wait".
- tcpdump(8), tcpreplay(8), capinfo(1)
SEE ALSO
AUTHOR
Aaron Turner
The current version is packaged with tcpreplay which is available via HTTP:
http://www.sourceforge.net/projects/tcpreplay/
BUGS
Probably a lot. Some features not implimented yet. Considered alpha quality code right now.
Please send bug reports to [email protected].