flowreplay.html 5.5 KB

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