index.html 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275
  1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
  2. <html>
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  5. <title>Tcpreplay: Pcap editing and replay tools for *NIX</title>
  6. <link rel="stylesheet" type="text/css" title="normal" media="screen" href="web.css" >
  7. </head>
  8. <body>
  9. <table border=0 cellpadding=3 cellspacing=0 width="100%">
  10. <tr>
  11. <td align=center class=title colspan=1>
  12. Tcpreplay: Pcap editing and replay tools for *NIX
  13. </td>
  14. </tr>
  15. <tr>
  16. <td align=right class=menubar>
  17. <!--
  18. <a href="http://sourceforge.net/project/showfiles.php?group_id=48862">Downloads</a> |
  19. <a href="manual.html">Manual</a> |
  20. <a href="faq.html">FAQ</a> |
  21. <a href="http://sourceforge.net/mail/?group_id=48862">Mailing Lists</a> |
  22. <a href="https://www.synfin.net:444/cgi-bin/viewcvs.cgi/tcpreplay/">SVN
  23. Repository</a>
  24. -->
  25. <a href="#about">About</a> |
  26. <a href="#details">Details</a> |
  27. <a href="#news">News</a> |
  28. <a href="#downloads">Downloads</a> |
  29. <a href="#docs">Documentation</a> |
  30. <a href="#support">Support</a>
  31. </td>
  32. </tr>
  33. </table>
  34. <P>&nbsp;<P>
  35. <table border=0 cellpadding=3 cellspacing=0 width="100%" class=fill>
  36. <a name="about"></a>
  37. <tr><td class=sechdr>About</td></tr>
  38. <tr><td class=section>
  39. Tcpreplay is a suite of BSD licensed tools written by Aaron Turner for *NIX
  40. operating systems which gives you the ability to use previously captured
  41. traffic in <a href="http://www.tcpdump.org">libpcap format</a> to test a
  42. variety of network devices. &nbsp;It allows you to classify traffic as
  43. client or server, rewrite Layer 2, 3 and 4 headers and finally replay the
  44. traffic back onto the network and through other devices such as switches,
  45. routers, firewalls, NIDS and IPS's.
  46. <P>
  47. Voted as <a href="http://www.insecure.org/tools.html"> one of the top 75
  48. security tools</a>, tcpreplay is used by numerous firewall, IDS, IPS and
  49. other networking vendors, enterprises, universities, and open source
  50. projects. If your organization uses tcpreplay, please let me know who you
  51. are and what you use it for so that I can continue to add features which are
  52. useful.
  53. </td>
  54. </tr>
  55. <a name="details"></a>
  56. <tr><td>&nbsp;</td></tr>
  57. <tr><td class=sechdr>Details</td></tr>
  58. <tr><td class=section>
  59. Tcpreplay includes the following tools:
  60. <ul>
  61. <li>tcpprep - multi-pass pcap file pre-processor which
  62. determines packets as client or server and creates cache files
  63. used by tcpreplay and tcprewrite</li>
  64. <li>tcprewrite - pcap file
  65. editor which rewrites TCP/IP and Layer 2 packet headers</li>
  66. <li>tcpreplay - replays pcap files at arbitrary speeds onto the
  67. network</li>
  68. <li>tcpbridge - bridge two network segments with
  69. the power of tcprewrite</li>
  70. <li>flowreplay - emulates a network
  71. client using a pcap file as the basis of a TCP or UDP connection
  72. (currently in alpha)</li>
  73. </ul>
  74. <P>
  75. Generally speaking, most people would first run tcpprep against a pcap file
  76. to create a cache file which splits traffic between client and server if
  77. they are testing an inline device like a firewall or IPS. &nbsp;Then
  78. depending on their network setup and where the pcap was captured, they would
  79. use tcprewrite to edit the packets so that the device under test will
  80. examine them properly. &nbsp;Finally, tcpreplay is used to replay the pcap
  81. onto the network to do the test.
  82. </td>
  83. </tr>
  84. <a name="news"></a>
  85. <tr><td>&nbsp;</td></tr>
  86. <tr><td class=sechdr>News</td></tr>
  87. <tr>
  88. <td class=section>
  89. 2005-06-14<br>
  90. Well I got a lot of good feedback on the beta4 release, so
  91. beta5 fixes a number of key bugs and adds a few enhancements
  92. which should help people out. Let me know...
  93. <P>
  94. 2005-06-05<br>
  95. Released 3.0.beta4 and 2.3.4. Both fix problems compiling
  96. under OpenBSD and add support for libpcap 0.5 although some
  97. features may be disabled. 3.0.beta4 also fixes a number of
  98. bugs during both compile and runtime... check the changelog
  99. for details.
  100. <P>
  101. 2005-05-28<br>
  102. Ugh. <a href="http://libnids.sourceforge.net/">libnids</a>
  103. is so close and yet so far away. It handles the basic
  104. functionality of doing IP defragmentation and TCP stream
  105. reassembly which I need for flowreplay, but yet misses the
  106. boat on a number of key requirements... the biggest of which
  107. are no multi-thread support or proper handling of multiple
  108. pcap files.
  109. <P>
  110. Unfortunately, doing proper multi-thread support would
  111. require an API change... something that the libnids author
  112. is unwilling to do. The only option seems to be a fork of
  113. the code, but that's plain ugly... Suggestions?
  114. <P>
  115. 2005-05-12<br>
  116. Oops. I thought I fixed a compile problem with dlt2desc
  117. in 3.0.beta3, but apparently I goofed. If you get an error
  118. complaining about multiple definitions, then go into
  119. src/edit_packet.c and delete the line:<P>
  120. <pre>
  121. #include "dlt_names.h"
  122. </pre>
  123. 2005-05-04<br>
  124. 3.0.beta3 has just been released which fixes some major
  125. configure and compile problems. Users who had problems
  126. building 3.0.beta2 are encouraged to try 3.0.beta3.
  127. <P>
  128. 2005-04-20<br>
  129. Just released tcpreplay 3.0.beta2! A metric ton of bug
  130. fixes and some new features as well. First release with
  131. "tcpbridge" which re-introduces the network bridge
  132. functionality originally added to the 2.x tree.
  133. <P>
  134. 2005-03-09<br>
  135. Just re-posted a <a
  136. href="https://sourceforge.net/people/viewjob.php?group_id=48862&job_id=21661">job
  137. posting for a technical writer/editor</a> to help me
  138. with the tcpreplay documentation. If you are interested in
  139. getting some good tech writing experiance in the
  140. networking/security space, then this might just be the
  141. opportunity for you!
  142. <P>
  143. 2005-02-28<br>
  144. New website design. Not nearly as ugly as the last one.
  145. <P>
  146. 2005-02-27<br>
  147. First 3.0 BETA released!
  148. </td>
  149. </tr>
  150. <a name="download"></a>
  151. <tr><td>&nbsp;</td></tr>
  152. <tr><td class=sechdr>Get It</td></tr>
  153. <tr><td class=section>
  154. Releases:
  155. <ul>
  156. <li>Latest development release:
  157. <a
  158. href="http://prdownloads.sourceforge.net/tcpreplay/tcpreplay-3.0.beta5.tar.gz">tcpreplay-3.0.beta5.tar.gz</a>
  159. (<a
  160. href="CHANGELOG">Changelog</a>)
  161. </li>
  162. <li>
  163. Latest stable release:
  164. <a href="http://prdownloads.sourceforge.net/tcpreplay/tcpreplay-2.3.4.tar.gz">tcpreplay-2.3.4.tar.gz</a>
  165. (<a
  166. href="http://sourceforge.net/project/shownotes.php?release_id=332796">release notes</a>)
  167. </li>
  168. <li>
  169. Last release supporting Libnet 1.0.x:
  170. <a href="http://prdownloads.sourceforge.net/tcpreplay/tcpreplay-1.3.3.tar.gz">tcpreplay-1.3.3.tar.gz</a>
  171. (<a href="http://sourceforge.net/project/shownotes.php?release_id=156906">release notes</a>)
  172. </li>
  173. <li><a
  174. href="http://sourceforge.net/project/showfiles.php?group_id=48862">
  175. Past releases</a>
  176. </li>
  177. </ul>
  178. <P>
  179. Source via Subversion:<br>
  180. svn co https://www.synfin.net:444/svn/tcpreplay/trunk tcpreplay-trunk<br>
  181. or view it online using
  182. <a href="https://www.synfin.net:444/cgi-bin/viewcvs.cgi/tcpreplay/">
  183. the web interface</a>
  184. <P>
  185. Packages:
  186. <ul>
  187. <li>Apple OS X users can try Darian Lanx's Fink package: <i>fink install tcpreplay</i></li>
  188. <li>Debian users can try Noel Koethe's APT package: <i>apt-get install tcpreplay</i></li>
  189. <li>
  190. Win32 users can try
  191. <a
  192. href="http://sourceforge.net/project/showfiles.php?group_id=48862&package_id=144474">this
  193. UNOFFICAL and UNSUPPORTED</a> port. &nbsp;Note: anyone interested in helping with an offical Win32 port of tcpreplay should contact me.
  194. </li>
  195. </td>
  196. <a name="docs"></a>
  197. <tr><td>&nbsp;</td></tr>
  198. <tr><td class=sechdr>Documentation</td></tr>
  199. <tr>
  200. <td><table border=0 cellpadding=0 cellspacing=0 width="100%">
  201. <tr valign=top>
  202. <td class=section width="50%">
  203. 3.x Docs:
  204. <ul>
  205. <li><a href="manual/index.html">Manual</a></li>
  206. <li><a href="FAQ/index.html">Frequently Asked Questions</a></li>
  207. </ul>
  208. 3.x Man Pages:
  209. <ul>
  210. <li><a href="man/tcpreplay.html">tcpreplay</a></li>
  211. <li><a href="man/tcpprep.html">tcpprep</a></li>
  212. <li><a href="man/tcprewrite.html">tcprewrite</a></li>
  213. <li><a href="man/flowreplay.html">flowreplay</a></li>
  214. <li><a href="man/tcpbridge.html">tcpbridge</a></li>
  215. </ul>
  216. </td>
  217. <td class=section>
  218. 2.x Docs:
  219. <ul>
  220. <li><a href="tcpreplay-2-faq.html">Frequently Asked
  221. Questions</a></li>
  222. </uL>
  223. </td>
  224. </tr>
  225. </table>
  226. </td>
  227. </tr>
  228. <a name="support"></a>
  229. <tr><td>&nbsp;</td></tr>
  230. <tr><td class=sechdr>Support</td></tr>
  231. <tr><td class=section>
  232. Sourceforge has a support, bug and patch ticket tracking system which we <b>do not use</b>.
  233. &nbsp;So if you submit a ticket into any of those systems, it will likely be ignored for a few
  234. months, if not longer. &nbsp;Hence, you should be using the
  235. <a href="http://sourceforge.net/mail/?group_id=48862">tcpreplay-users mailing
  236. list</a> for support. (Note, due to spam, the
  237. tcpreplay-users list is a closed list, so you will need to
  238. subscribe in order to post.)
  239. <P>
  240. Please note that tcpreplay has a lot of documentation.
  241. &nbsp;Please read the documentation before asking for help.
  242. <P>
  243. You may also be interested in checking out
  244. <a href="http://www.sourceforge.net/projects/tcpreplay/">
  245. tcpreplay's SourceForge project page</a>.
  246. </ul>
  247. </td>
  248. </tr>
  249. <tr>
  250. <td align=center>
  251. <a href="http://sourceforge.net"><img
  252. src="http://sourceforge.net/sflogo.php?group_id=48862&type=1"
  253. width="88" height="31" border="0" alt="SourceForge.net
  254. Logo" /></a>
  255. </td>
  256. </tr>
  257. </table>
  258. </body>
  259. </html>