node5.html 7.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222
  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>4 Common Error and Warning Messages</TITLE>
  10. <META NAME="description" CONTENT="4 Common Error and Warning Messages">
  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="node6.html">
  19. <LINK REL="previous" HREF="node4.html">
  20. <LINK REL="up" HREF="FAQ.html">
  21. <LINK REL="next" HREF="node6.html">
  22. </HEAD>
  23. <BODY >
  24. <DIV CLASS="navigation"><!--Navigation Panel-->
  25. <A NAME="tex2html194"
  26. HREF="node6.html">
  27. <IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next" SRC="next.png"></A>
  28. <A NAME="tex2html190"
  29. HREF="FAQ.html">
  30. <IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up" SRC="up.png"></A>
  31. <A NAME="tex2html184"
  32. HREF="node4.html">
  33. <IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous" SRC="prev.png"></A>
  34. <A NAME="tex2html192"
  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="tex2html195"
  39. HREF="node6.html">5 Common Questions from</A>
  40. <B> Up:</B> <A NAME="tex2html191"
  41. HREF="FAQ.html">Tcpreplay 3.x FAQ</A>
  42. <B> Previous:</B> <A NAME="tex2html185"
  43. HREF="node4.html">3 Understanding tcpprep</A>
  44. &nbsp; <B> <A NAME="tex2html193"
  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="tex2html196"
  53. HREF="node5.html#SECTION00051000000000000000"><SPAN CLASS="arabic">4</SPAN>.<SPAN CLASS="arabic">1</SPAN> Can't open eth0: libnet_select_device(): Can't find interface eth0</A>
  54. <LI><A NAME="tex2html197"
  55. HREF="node5.html#SECTION00052000000000000000"><SPAN CLASS="arabic">4</SPAN>.<SPAN CLASS="arabic">2</SPAN> Can't open lo: libnet_select_device(): Can't find interface lo</A>
  56. <LI><A NAME="tex2html198"
  57. HREF="node5.html#SECTION00053000000000000000"><SPAN CLASS="arabic">4</SPAN>.<SPAN CLASS="arabic">3</SPAN> Can't open eth0: UID != 0</A>
  58. <LI><A NAME="tex2html199"
  59. HREF="node5.html#SECTION00054000000000000000"><SPAN CLASS="arabic">4</SPAN>.<SPAN CLASS="arabic">4</SPAN> 100000 write attempts failed from full buffers and were repeated</A>
  60. <LI><A NAME="tex2html200"
  61. HREF="node5.html#SECTION00055000000000000000"><SPAN CLASS="arabic">4</SPAN>.<SPAN CLASS="arabic">5</SPAN> Unable to process test.cache: cache file version missmatch</A>
  62. <LI><A NAME="tex2html201"
  63. HREF="node5.html#SECTION00056000000000000000"><SPAN CLASS="arabic">4</SPAN>.<SPAN CLASS="arabic">6</SPAN> Skipping SLL loopback packet.</A>
  64. <LI><A NAME="tex2html202"
  65. HREF="node5.html#SECTION00057000000000000000"><SPAN CLASS="arabic">4</SPAN>.<SPAN CLASS="arabic">7</SPAN> Packet length (8892) is greater then MTU; skipping packet.</A>
  66. </UL>
  67. <!--End of Table of Child-Links-->
  68. <HR>
  69. <H1><A NAME="SECTION00050000000000000000">
  70. <SPAN CLASS="arabic">4</SPAN> Common Error and Warning Messages</A>
  71. </H1>
  72. <P>
  73. <H2><A NAME="SECTION00051000000000000000">
  74. <SPAN CLASS="arabic">4</SPAN>.<SPAN CLASS="arabic">1</SPAN> Can't open eth0: libnet_select_device(): Can't find interface eth0</A>
  75. </H2>
  76. <P>
  77. Generally this occurs when the interface (eth0 in this example) is
  78. not up or doesn't have an IP address assigned to it.
  79. <P>
  80. <H2><A NAME="SECTION00052000000000000000">
  81. <SPAN CLASS="arabic">4</SPAN>.<SPAN CLASS="arabic">2</SPAN> Can't open lo: libnet_select_device(): Can't find interface lo</A>
  82. </H2>
  83. <P>
  84. Version 1.1.0 of Libnet is unable to send traffic on the loopback
  85. device. Upgrade to a later release of the Libnet library to solve
  86. this problem.
  87. <P>
  88. <H2><A NAME="SECTION00053000000000000000">
  89. <SPAN CLASS="arabic">4</SPAN>.<SPAN CLASS="arabic">3</SPAN> Can't open eth0: UID != 0</A>
  90. </H2>
  91. <P>
  92. Tcpreplay requires that you run it as root.
  93. <P>
  94. <H2><A NAME="SECTION00054000000000000000">
  95. <SPAN CLASS="arabic">4</SPAN>.<SPAN CLASS="arabic">4</SPAN> 100000 write attempts failed from full buffers and were repeated</A>
  96. </H2>
  97. <P>
  98. When tcpreplay displays a message like &#34;100000 write attempts
  99. failed from full buffers and were repeated&#34;, this usually
  100. means the kernel buffers were full and it had to wait until memory
  101. was available. This is quite common when replaying files as fast as
  102. possible with the &#34;-R&#34; option. See the tuning OS
  103. section in this document for suggestions on solving this problem.
  104. <P>
  105. <H2><A NAME="SECTION00055000000000000000">
  106. <SPAN CLASS="arabic">4</SPAN>.<SPAN CLASS="arabic">5</SPAN> Unable to process test.cache: cache file version missmatch</A>
  107. </H2>
  108. <P>
  109. Cache files generated by tcpprep and read by tcpreplay are versioned
  110. to allow enhancements to the cache file format. Anytime the cache
  111. file format changes, the version is incremented. Since this occurs
  112. on a very rare basis, this is generally not an issue; however anytime
  113. there is a change, it breaks compatibility with previously created
  114. cache files. The solution for this problem is to use the same version
  115. of tcpreplay and tcpprep to read/write the cache files. Cache file
  116. versions match the following versions of tcpprep/tcpreplay:
  117. <P>
  118. <UL>
  119. <LI>Version 1:
  120. <BR>
  121. Prior to 1.3.beta1
  122. </LI>
  123. <LI>Version 2:
  124. <BR>
  125. 1.3.beta2 to 1.3.1/1.4.beta1
  126. </LI>
  127. <LI>Version 3:
  128. <BR>
  129. 1.3.2/1.4.beta2 to 2.0.3
  130. </LI>
  131. <LI>Version 4:
  132. <BR>
  133. 2.1.0 and above. Note that prior to version 2.3.0, tcpprep had a bug
  134. which broke cache file compatibility between big and little endian
  135. systems.
  136. </LI>
  137. </UL>
  138. <P>
  139. <H2><A NAME="SECTION00056000000000000000">
  140. <SPAN CLASS="arabic">4</SPAN>.<SPAN CLASS="arabic">6</SPAN> Skipping SLL loopback packet.</A>
  141. </H2>
  142. <P>
  143. Your capture file was created on Linux with the 'any' parameter which
  144. then captured a packet on the loopback interface. However, tcpreplay
  145. doesn't have enough information to actual send the packet, so it skips
  146. it. Specifying a destination and source MAC address (-D and -S) will
  147. allow tcpreplay to send these packets.
  148. <P>
  149. <H2><A NAME="SECTION00057000000000000000">
  150. <SPAN CLASS="arabic">4</SPAN>.<SPAN CLASS="arabic">7</SPAN> Packet length (8892) is greater then MTU; skipping packet.</A>
  151. </H2>
  152. <P>
  153. The packet length (in this case 8892 bytes) is greater then the maximum
  154. transmition unit (MTU) on the outgoing interface. Tcpreplay must skip
  155. the packet. Alternatively, you can specify the -T option and tcpreplay
  156. will truncate the packet to the MTU size, fix the checksums and send
  157. it. This often occurs with pcaps captured over loopback interfaces
  158. which have much larger MTU's then ethernet.
  159. <P>
  160. <DIV CLASS="navigation"><HR>
  161. <!--Navigation Panel-->
  162. <A NAME="tex2html194"
  163. HREF="node6.html">
  164. <IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next" SRC="next.png"></A>
  165. <A NAME="tex2html190"
  166. HREF="FAQ.html">
  167. <IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up" SRC="up.png"></A>
  168. <A NAME="tex2html184"
  169. HREF="node4.html">
  170. <IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous" SRC="prev.png"></A>
  171. <A NAME="tex2html192"
  172. HREF="node1.html">
  173. <IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents" SRC="contents.png"></A>
  174. <BR>
  175. <B> Next:</B> <A NAME="tex2html195"
  176. HREF="node6.html">5 Common Questions from</A>
  177. <B> Up:</B> <A NAME="tex2html191"
  178. HREF="FAQ.html">Tcpreplay 3.x FAQ</A>
  179. <B> Previous:</B> <A NAME="tex2html185"
  180. HREF="node4.html">3 Understanding tcpprep</A>
  181. &nbsp; <B> <A NAME="tex2html193"
  182. HREF="node1.html">Contents</A></B> </DIV>
  183. <!--End of Navigation Panel-->
  184. <ADDRESS>
  185. Aaron Turner
  186. 2006-07-17
  187. </ADDRESS>
  188. </BODY>
  189. </HTML>