flowreplay.1 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. .\" yo there.
  2. .TH FLOWREPLAY 1 "29 May 2003"
  3. .SH NAME
  4. flowreplay \- replay TCP/UDP flows from a pcap capture file
  5. .SH SYNOPSIS
  6. .na
  7. .B flowreplay\
  8. [
  9. .B \-h
  10. ]
  11. .B \-i
  12. .I pcapfile
  13. [
  14. .B \-m
  15. .I send | wait | bytes
  16. ] [
  17. .B \-t targetip
  18. ] [
  19. .B \-p
  20. .I proto/port
  21. ] [
  22. .B \-V
  23. ] [
  24. .B \-w
  25. .I sec.usec
  26. ]
  27. .br
  28. .ad
  29. .SH DESCRIPTION
  30. .LP
  31. .I Flowreplay
  32. is a tool for replaying client traffic to a server from files saved with
  33. \fItcpdump(8)\fP.
  34. .LP
  35. The basic operation of
  36. .I flowreplay
  37. is to connect to server(s) via the TCP/UDP protocols captured in the pcap file
  38. and replay the client side of the connection to the server.
  39. .SH OPTIONS
  40. .LP
  41. .TP
  42. .B \-h
  43. Help.
  44. .TP
  45. .B \-i
  46. Input file (pcap format)
  47. .TP
  48. .B \-m
  49. Mode to use to know when the server is done sending. Options are 'send'
  50. as fast as you can, 'wait' for -w sec.usec, and send after recieving the
  51. previously captured number of 'bytes' from the server.
  52. .TP
  53. .B \-t
  54. The server to connect to in lieu of the IP addresses in the pcap file.
  55. .TP
  56. .B \-p
  57. The protocol and/or port to limit sending traffic on. Valid protocols are:
  58. TCP and UDP; and any port between 0 and 65535.
  59. .TP
  60. .B \-V
  61. Print version info and exit.
  62. .TP
  63. .B \-w
  64. The number of seconds and micro-seconds represented as a float to wait
  65. for the server to finish sending before sending more data. Must be used
  66. with "-m wait".
  67. .TP
  68. .SH "SEE ALSO"
  69. tcpdump(8), tcpreplay(8), capinfo(1)
  70. .SH AUTHOR
  71. Aaron Turner
  72. .LP
  73. The current version is packaged with tcpreplay which is available via HTTP:
  74. .LP
  75. .RS
  76. .I http://www.sourceforge.net/projects/tcpreplay/
  77. .RE
  78. .SH BUGS
  79. Probably a lot. Some features not implimented yet. Considered alpha quality code right now.
  80. .LP
  81. Please send bug reports to aturner@pobox.com.