1
0

node8.html 6.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177
  1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
  2. <!--Converted with LaTeX2HTML 2002-2 (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>7 Required Libraries and Tools</TITLE>
  10. <META NAME="description" CONTENT="7 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">
  16. <META HTTP-EQUIV="Content-Style-Type" CONTENT="text/css">
  17. <LINK REL="STYLESHEET" HREF="FAQ.css">
  18. <LINK REL="next" HREF="node9.html">
  19. <LINK REL="previous" HREF="node7.html">
  20. <LINK REL="up" HREF="FAQ.html">
  21. <LINK REL="next" HREF="node9.html">
  22. </HEAD>
  23. <BODY >
  24. <DIV CLASS="navigation"><!--Navigation Panel-->
  25. <A NAME="tex2html241"
  26. HREF="node9.html">
  27. <IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next" SRC="next.png"></A>
  28. <A NAME="tex2html237"
  29. HREF="FAQ.html">
  30. <IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up" SRC="up.png"></A>
  31. <A NAME="tex2html231"
  32. HREF="node7.html">
  33. <IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous" SRC="prev.png"></A>
  34. <A NAME="tex2html239"
  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="tex2html242"
  39. HREF="node9.html">8 Other pcap tools</A>
  40. <B> Up:</B> <A NAME="tex2html238"
  41. HREF="FAQ.html">Tcpreplay 3.x FAQ</A>
  42. <B> Previous:</B> <A NAME="tex2html232"
  43. HREF="node7.html">6 Testing Methodologies</A>
  44. &nbsp; <B> <A NAME="tex2html240"
  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="tex2html243"
  53. HREF="node8.html#SECTION00081000000000000000"><SPAN CLASS="arabic">7</SPAN>.<SPAN CLASS="arabic">1</SPAN> Libpcap</A>
  54. <LI><A NAME="tex2html244"
  55. HREF="node8.html#SECTION00082000000000000000"><SPAN CLASS="arabic">7</SPAN>.<SPAN CLASS="arabic">2</SPAN> Libnet</A>
  56. <LI><A NAME="tex2html245"
  57. HREF="node8.html#SECTION00083000000000000000"><SPAN CLASS="arabic">7</SPAN>.<SPAN CLASS="arabic">3</SPAN> Libpcapnav</A>
  58. <LI><A NAME="tex2html246"
  59. HREF="node8.html#SECTION00084000000000000000"><SPAN CLASS="arabic">7</SPAN>.<SPAN CLASS="arabic">4</SPAN> Tcpdump</A>
  60. </UL>
  61. <!--End of Table of Child-Links-->
  62. <HR>
  63. <H1><A NAME="SECTION00080000000000000000">
  64. <SPAN CLASS="arabic">7</SPAN> Required Libraries and Tools</A>
  65. </H1>
  66. <P>
  67. <H2><A NAME="SECTION00081000000000000000">
  68. <SPAN CLASS="arabic">7</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="#foot154"><SUP><SPAN CLASS="arabic">6</SPAN></SUP></A>.
  76. <P>
  77. <H2><A NAME="SECTION00082000000000000000">
  78. <SPAN CLASS="arabic">7</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="#foot155"><SUP><SPAN CLASS="arabic">7</SPAN></SUP></A>.
  85. <P>
  86. <H2><A NAME="SECTION00083000000000000000">
  87. <SPAN CLASS="arabic">7</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="#foot156"><SUP><SPAN CLASS="arabic">8</SPAN></SUP></A>.
  94. <P>
  95. <H2><A NAME="SECTION00084000000000000000">
  96. <SPAN CLASS="arabic">7</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 tcpreplay
  105. at compile time. If tcpdump gets renamed or moved, the feature will
  106. become disabled.
  107. <P>
  108. <BR><HR><H4>Footnotes</H4>
  109. <DL>
  110. <DT><A NAME="foot154">... homepage</A><A
  111. HREF="node8.html#tex2html6"><SUP><SPAN CLASS="arabic">6</SPAN></SUP></A></DT>
  112. <DD>http://www.tcpdump.org/
  113. </DD>
  114. <DT><A NAME="foot155">... homepage</A><A
  115. HREF="node8.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="foot156">... homepage</A><A
  119. HREF="node8.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="tex2html241"
  126. HREF="node9.html">
  127. <IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next" SRC="next.png"></A>
  128. <A NAME="tex2html237"
  129. HREF="FAQ.html">
  130. <IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up" SRC="up.png"></A>
  131. <A NAME="tex2html231"
  132. HREF="node7.html">
  133. <IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous" SRC="prev.png"></A>
  134. <A NAME="tex2html239"
  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="tex2html242"
  139. HREF="node9.html">8 Other pcap tools</A>
  140. <B> Up:</B> <A NAME="tex2html238"
  141. HREF="FAQ.html">Tcpreplay 3.x FAQ</A>
  142. <B> Previous:</B> <A NAME="tex2html232"
  143. HREF="node7.html">6 Testing Methodologies</A>
  144. &nbsp; <B> <A NAME="tex2html240"
  145. HREF="node1.html">Contents</A></B> </DIV>
  146. <!--End of Navigation Panel-->
  147. <ADDRESS>
  148. Aaron Turner
  149. 2006-07-17
  150. </ADDRESS>
  151. </BODY>
  152. </HTML>