flowreplay.1 5.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172
  1. .TH FLOWREPLAY 1 2007-04-21 "(flowreplay )" "Programmer's Manual"
  2. .\" DO NOT EDIT THIS FILE (flowreplay.1)
  3. .\"
  4. .\" It has been AutoGen-ed Saturday April 21, 2007 at 10:41:06 AM PDT
  5. .\" From the definitions flowreplay_opts.def
  6. .\" and the template file agman1.tpl
  7. .\"
  8. .SH NAME
  9. flowreplay \- Connect to servers based on network traffic stored in pcap files
  10. .SH SYNOPSIS
  11. .B flowreplay
  12. .\" Mixture of short (flag) options and long options
  13. .RB [ \-\fIflag\fP " [\fIvalue\fP]]... [" \--\fIopt-name\fP " [[=| ]\fIvalue\fP]]..."
  14. .br
  15. .in +8
  16. <pcap_file(s)>
  17. .PP
  18. flowreplay is a tool for using network traffic stored in pcap(3) files as
  19. the basis for replaying connections to servers.
  20. .SH "DESCRIPTION"
  21. This manual page documents, briefly, the \fBflowreplay\fP command.
  22. Please note that flowreplay is currently in \fBalpha\fP. As such, it is still
  23. very much a work in progress and currently will not work for most uses. If
  24. you have the skill and interest to help make flowreplay work better, please
  25. contact Aaron Turner.
  26. For more details, please see the Tcpreplay Manual at:
  27. http://tcpreplay.synfin.net/wiki/manual
  28. .SH OPTIONS
  29. .TP
  30. .BR \-d " \fInumber\fP, " \--dbug "=" \fInumber\fP
  31. Enable debugging output.
  32. This option may appear up to 1 times.
  33. This option takes an integer number as its argument.
  34. The value of \fInumber\fP is constrained to being:
  35. .in +4
  36. .nf
  37. .na
  38. in the range 0 through 5
  39. .fi
  40. .in -4
  41. The default \fInumber\fP for this option is:
  42. .ti +4
  43. 0
  44. .sp
  45. If configured with \--enable-debug, then you can specify a verbosity
  46. level for debugging output. Higher numbers increase verbosity.
  47. .TP
  48. .BR \-v ", " \--verbose
  49. Print decoded packets via tcpdump to STDOUT.
  50. This option may appear up to 1 times.
  51. .sp
  52. .TP
  53. .BR \-A " \fIstring\fP, " \--decode "=" \fIstring\fP
  54. Arguments passed to tcpdump decoder.
  55. This option may appear up to 1 times.
  56. This option must appear in combination with the following options:
  57. verbose.
  58. .sp
  59. When enabling verbose mode (\fB-v\fP) you may also specify one or more
  60. additional arguments to pass to \fBtcpdump\fP to modify the way packets
  61. are decoded. By default, \-n and \-l are used. Be sure to
  62. quote the arguments like: \-A "-axxx" so that they are not interpreted
  63. by tcpreplay. The following arguments are vaild:
  64. [ \-aAeNqRStuvxX ]
  65. [ \-E spi@ipaddr algo:secret,... ]
  66. [ \-s snaplen ]
  67. .TP
  68. .BR \-m " \fIstring\fP, " \--mode "=" \fIstring\fP
  69. Replay mode.
  70. This option may appear up to 1 times.
  71. .sp
  72. Flowreplay needs to know handle client/server exchanges to properly time.
  73. The options are:
  74. .sp
  75. .IR "\fBsend\fP"
  76. Replay traffic as fast as possible. Do not wait for server to reply.
  77. .sp
  78. .IR "\fBwait\fP"
  79. Wait \fB--wait\fP sec.usec for the server to reply before sending.
  80. .sp
  81. .IR "\fBbytes\fP"
  82. Wait until the server has sent the number of bytes stored in the pcap file.
  83. .sp
  84. .IR "\fBuser\fP"
  85. Send packets based on user interaction.
  86. .br
  87. .TP
  88. .BR \-w " \fIstring\fP, " \--wait "=" \fIstring\fP
  89. Number of sec.usec to wait between client's turn to send.
  90. This option may appear up to 1 times.
  91. .sp
  92. If \fB--mode\fP is \fBwait\fP, then you can specify the amount of time to
  93. wait for the server to complete it's side of the transaction before starting
  94. to send the client side again.
  95. .TP
  96. .BR \-t " \fIstring\fP, " \--targetip "=" \fIstring\fP
  97. Target host to connect to.
  98. This option may appear up to 1 times.
  99. .sp
  100. This option has not been fully documented.
  101. .TP
  102. .BR \-f " \fIstring\fP, " \--filter "=" \fIstring\fP
  103. BPF filter to limit which flows are replayed.
  104. This option may appear up to 1 times.
  105. .sp
  106. .TP
  107. .BR \-c " \fIstring\fP, " \--clientnet "=" \fIstring\fP
  108. Client network(s).
  109. .sp
  110. This option has not been fully documented.
  111. .TP
  112. .BR \-s " \fIstring\fP, " \--servernet "=" \fIstring\fP
  113. Server network(s).
  114. .sp
  115. This option has not been fully documented.
  116. .TP
  117. .BR \-n ", " \--nosyn
  118. Disable Syn packet requirement to start connections.
  119. .sp
  120. This option has not been fully documented.
  121. .TP
  122. .BR \-l " \fIstring\fP, " \--slimit "=" \fIstring\fP
  123. Service limit to proto/port.
  124. .sp
  125. This option has not been fully documented.
  126. .TP
  127. .BR \-V ", " \--version
  128. Print version information.
  129. .sp
  130. .TP
  131. .BR \-h ", " \--less-help
  132. Display less usage information and exit.
  133. .sp
  134. .TP
  135. .BR \-H , " \--help"
  136. Display usage information and exit.
  137. .TP
  138. .BR \-! , " \--more-help"
  139. Extended usage information passed thru pager.
  140. .TP
  141. .BR \- " [\fIrcfile\fP]," " \--save-opts" "[=\fIrcfile\fP]"
  142. Save the option state to \fIrcfile\fP. The default is the \fIlast\fP
  143. configuration file listed in the \fBOPTION PRESETS\fP section, below.
  144. .TP
  145. .BR \- " \fIrcfile\fP," " \--load-opts" "=\fIrcfile\fP," " \--no-load-opts"
  146. Load options from \fIrcfile\fP.
  147. The \fIno-load-opts\fP form will disable the loading
  148. of earlier RC/INI files. \fI--no-load-opts\fP is handled early,
  149. out of order.
  150. .SH OPTION PRESETS
  151. Any option that is not marked as \fInot presettable\fP may be preset
  152. by loading values from configuration ("RC" or ".INI") file(s).
  153. The \fIhomerc\fP file is "\fI$$/\fP", unless that is a directory.
  154. In that case, the file "\fI.flowreplayrc\fP"
  155. is searched for within that directory.
  156. .SH AUTHOR
  157. Copyright 2000-2007 Aaron Turner
  158. For support please use the tcpreplay-users@lists.sourceforge.net mailing list.
  159. The latest version of this software is always available from:
  160. http://tcpreplay.synfin.net/
  161. .PP
  162. Released under the Free BSD License.
  163. .PP
  164. This manual page was \fIAutoGen\fP-erated from the \fBflowreplay\fP
  165. option definitions.