node7.html 6.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177
  1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
  2. <!--Converted with LaTeX2HTML 2002-2-1 (1.70)
  3. original version by: Nikos Drakos, CBLU, University of Leeds
  4. * revised and updated by: Marcus Hennecke, Ross Moore, Herb Swan
  5. * with significant contributions from:
  6. Jens Lippmann, Marek Rouchal, Martin Wilck and others -->
  7. <HTML>
  8. <HEAD>
  9. <TITLE>6 Required Libraries and Tools</TITLE>
  10. <META NAME="description" CONTENT="6 Required Libraries and Tools">
  11. <META NAME="keywords" CONTENT="FAQ">
  12. <META NAME="resource-type" CONTENT="document">
  13. <META NAME="distribution" CONTENT="global">
  14. <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
  15. <META NAME="Generator" CONTENT="LaTeX2HTML v2002-2-1">
  16. <META HTTP-EQUIV="Content-Style-Type" CONTENT="text/css">
  17. <LINK REL="STYLESHEET" HREF="FAQ.css">
  18. <LINK REL="next" HREF="node8.html">
  19. <LINK REL="previous" HREF="node6.html">
  20. <LINK REL="up" HREF="FAQ.html">
  21. <LINK REL="next" HREF="node8.html">
  22. </HEAD>
  23. <BODY >
  24. <DIV CLASS="navigation"><!--Navigation Panel-->
  25. <A NAME="tex2html227"
  26. HREF="node8.html">
  27. <IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next" SRC="next.png"></A>
  28. <A NAME="tex2html223"
  29. HREF="FAQ.html">
  30. <IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up" SRC="up.png"></A>
  31. <A NAME="tex2html217"
  32. HREF="node6.html">
  33. <IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous" SRC="prev.png"></A>
  34. <A NAME="tex2html225"
  35. HREF="node1.html">
  36. <IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents" SRC="contents.png"></A>
  37. <BR>
  38. <B> Next:</B> <A NAME="tex2html228"
  39. HREF="node8.html">7 Other pcap tools</A>
  40. <B> Up:</B> <A NAME="tex2html224"
  41. HREF="FAQ.html">Tcpreplay 3.x FAQ</A>
  42. <B> Previous:</B> <A NAME="tex2html218"
  43. HREF="node6.html">5 Common Questions from</A>
  44. &nbsp; <B> <A NAME="tex2html226"
  45. HREF="node1.html">Contents</A></B>
  46. <BR>
  47. <BR></DIV>
  48. <!--End of Navigation Panel-->
  49. <!--Table of Child-Links-->
  50. <A NAME="CHILD_LINKS"><STRONG>Subsections</STRONG></A>
  51. <UL CLASS="ChildLinks">
  52. <LI><A NAME="tex2html229"
  53. HREF="node7.html#SECTION00071000000000000000"><SPAN CLASS="arabic">6</SPAN>.<SPAN CLASS="arabic">1</SPAN> Libpcap</A>
  54. <LI><A NAME="tex2html230"
  55. HREF="node7.html#SECTION00072000000000000000"><SPAN CLASS="arabic">6</SPAN>.<SPAN CLASS="arabic">2</SPAN> Libnet</A>
  56. <LI><A NAME="tex2html231"
  57. HREF="node7.html#SECTION00073000000000000000"><SPAN CLASS="arabic">6</SPAN>.<SPAN CLASS="arabic">3</SPAN> Libpcapnav</A>
  58. <LI><A NAME="tex2html232"
  59. HREF="node7.html#SECTION00074000000000000000"><SPAN CLASS="arabic">6</SPAN>.<SPAN CLASS="arabic">4</SPAN> Tcpdump</A>
  60. </UL>
  61. <!--End of Table of Child-Links-->
  62. <HR>
  63. <H1><A NAME="SECTION00070000000000000000">
  64. <SPAN CLASS="arabic">6</SPAN> Required Libraries and Tools</A>
  65. </H1>
  66. <P>
  67. <H2><A NAME="SECTION00071000000000000000">
  68. <SPAN CLASS="arabic">6</SPAN>.<SPAN CLASS="arabic">1</SPAN> Libpcap</A>
  69. </H2>
  70. <P>
  71. As of tcpreplay v1.4, you'll need to have libpcap installed on your
  72. system. As of v2.0, you'll need at least version 0.6.0 or better,
  73. but I only test our code with the latest version. Libpcap can be obtained
  74. on the tcpdump homepage<A NAME="tex2html6"
  75. HREF="#foot137"><SUP><SPAN CLASS="arabic">6</SPAN></SUP></A>.
  76. <P>
  77. <H2><A NAME="SECTION00072000000000000000">
  78. <SPAN CLASS="arabic">6</SPAN>.<SPAN CLASS="arabic">2</SPAN> Libnet</A>
  79. </H2>
  80. <P>
  81. Tcpreplay v1.3 is the last version to support the old libnet API (everything
  82. before 1.1.x). As of v1.4 you will need to use Libnet 1.1.0 or better
  83. which can be obtained from the Libnet homepage<A NAME="tex2html7"
  84. HREF="#foot138"><SUP><SPAN CLASS="arabic">7</SPAN></SUP></A>.
  85. <P>
  86. <H2><A NAME="SECTION00073000000000000000">
  87. <SPAN CLASS="arabic">6</SPAN>.<SPAN CLASS="arabic">3</SPAN> Libpcapnav</A>
  88. </H2>
  89. <P>
  90. Starting with v2.0, tcpreplay can use libpcapnav to support the jump
  91. offset feature. If libpcapnav is not found on the system, that feature
  92. will be disabled. Libpcapnav can be found on the NetDude homepage<A NAME="tex2html8"
  93. HREF="#foot139"><SUP><SPAN CLASS="arabic">8</SPAN></SUP></A>.
  94. <P>
  95. <H2><A NAME="SECTION00074000000000000000">
  96. <SPAN CLASS="arabic">6</SPAN>.<SPAN CLASS="arabic">4</SPAN> Tcpdump</A>
  97. </H2>
  98. <P>
  99. As of 2.0, tcpreplay uses tcpdump (the binary, not code) to decode
  100. packets to STDOUT in a human readable (with practice) format as it
  101. sends them. If you would like this feature, tcpdump must be installed
  102. on your system.
  103. <P>
  104. N<SMALL>OTE:</SMALL> The location of the tcpdump binary is hardcoded in
  105. tcpreplay at compile time. If tcpdump gets renamed or moved, the feature
  106. will become disabled.
  107. <P>
  108. <BR><HR><H4>Footnotes</H4>
  109. <DL>
  110. <DT><A NAME="foot137">... homepage</A><A
  111. HREF="node7.html#tex2html6"><SUP><SPAN CLASS="arabic">6</SPAN></SUP></A></DT>
  112. <DD>http://www.tcpdump.org/
  113. </DD>
  114. <DT><A NAME="foot138">... homepage</A><A
  115. HREF="node7.html#tex2html7"><SUP><SPAN CLASS="arabic">7</SPAN></SUP></A></DT>
  116. <DD>http://www.packetfactory.net/Projects/Libnet/
  117. </DD>
  118. <DT><A NAME="foot139">... homepage</A><A
  119. HREF="node7.html#tex2html8"><SUP><SPAN CLASS="arabic">8</SPAN></SUP></A></DT>
  120. <DD>http://netdude.sourceforge.net/
  121. </DD>
  122. </DL>
  123. <DIV CLASS="navigation"><HR>
  124. <!--Navigation Panel-->
  125. <A NAME="tex2html227"
  126. HREF="node8.html">
  127. <IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next" SRC="next.png"></A>
  128. <A NAME="tex2html223"
  129. HREF="FAQ.html">
  130. <IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up" SRC="up.png"></A>
  131. <A NAME="tex2html217"
  132. HREF="node6.html">
  133. <IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous" SRC="prev.png"></A>
  134. <A NAME="tex2html225"
  135. HREF="node1.html">
  136. <IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents" SRC="contents.png"></A>
  137. <BR>
  138. <B> Next:</B> <A NAME="tex2html228"
  139. HREF="node8.html">7 Other pcap tools</A>
  140. <B> Up:</B> <A NAME="tex2html224"
  141. HREF="FAQ.html">Tcpreplay 3.x FAQ</A>
  142. <B> Previous:</B> <A NAME="tex2html218"
  143. HREF="node6.html">5 Common Questions from</A>
  144. &nbsp; <B> <A NAME="tex2html226"
  145. HREF="node1.html">Contents</A></B> </DIV>
  146. <!--End of Navigation Panel-->
  147. <ADDRESS>
  148. Aaron Turner
  149. 2005-08-07
  150. </ADDRESS>
  151. </BODY>
  152. </HTML>