123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222 |
- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
- <!--Converted with LaTeX2HTML 2002-2 (1.70)
- original version by: Nikos Drakos, CBLU, University of Leeds
- * revised and updated by: Marcus Hennecke, Ross Moore, Herb Swan
- * with significant contributions from:
- Jens Lippmann, Marek Rouchal, Martin Wilck and others -->
- <HTML>
- <HEAD>
- <TITLE>4 Common Error and Warning Messages</TITLE>
- <META NAME="description" CONTENT="4 Common Error and Warning Messages">
- <META NAME="keywords" CONTENT="FAQ">
- <META NAME="resource-type" CONTENT="document">
- <META NAME="distribution" CONTENT="global">
- <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
- <META NAME="Generator" CONTENT="LaTeX2HTML v2002-2">
- <META HTTP-EQUIV="Content-Style-Type" CONTENT="text/css">
- <LINK REL="STYLESHEET" HREF="FAQ.css">
- <LINK REL="next" HREF="node6.html">
- <LINK REL="previous" HREF="node4.html">
- <LINK REL="up" HREF="FAQ.html">
- <LINK REL="next" HREF="node6.html">
- </HEAD>
- <BODY >
- <DIV CLASS="navigation"><!--Navigation Panel-->
- <A NAME="tex2html194"
- HREF="node6.html">
- <IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next" SRC="next.png"></A>
- <A NAME="tex2html190"
- HREF="FAQ.html">
- <IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up" SRC="up.png"></A>
- <A NAME="tex2html184"
- HREF="node4.html">
- <IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous" SRC="prev.png"></A>
- <A NAME="tex2html192"
- HREF="node1.html">
- <IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents" SRC="contents.png"></A>
- <BR>
- <B> Next:</B> <A NAME="tex2html195"
- HREF="node6.html">5 Common Questions from</A>
- <B> Up:</B> <A NAME="tex2html191"
- HREF="FAQ.html">Tcpreplay 3.x FAQ</A>
- <B> Previous:</B> <A NAME="tex2html185"
- HREF="node4.html">3 Understanding tcpprep</A>
- <B> <A NAME="tex2html193"
- HREF="node1.html">Contents</A></B>
- <BR>
- <BR></DIV>
- <!--End of Navigation Panel-->
- <!--Table of Child-Links-->
- <A NAME="CHILD_LINKS"><STRONG>Subsections</STRONG></A>
- <UL CLASS="ChildLinks">
- <LI><A NAME="tex2html196"
- 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>
- <LI><A NAME="tex2html197"
- 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>
- <LI><A NAME="tex2html198"
- HREF="node5.html#SECTION00053000000000000000"><SPAN CLASS="arabic">4</SPAN>.<SPAN CLASS="arabic">3</SPAN> Can't open eth0: UID != 0</A>
- <LI><A NAME="tex2html199"
- 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>
- <LI><A NAME="tex2html200"
- HREF="node5.html#SECTION00055000000000000000"><SPAN CLASS="arabic">4</SPAN>.<SPAN CLASS="arabic">5</SPAN> Unable to process test.cache: cache file version missmatch</A>
- <LI><A NAME="tex2html201"
- HREF="node5.html#SECTION00056000000000000000"><SPAN CLASS="arabic">4</SPAN>.<SPAN CLASS="arabic">6</SPAN> Skipping SLL loopback packet.</A>
- <LI><A NAME="tex2html202"
- HREF="node5.html#SECTION00057000000000000000"><SPAN CLASS="arabic">4</SPAN>.<SPAN CLASS="arabic">7</SPAN> Packet length (8892) is greater then MTU; skipping packet.</A>
- </UL>
- <!--End of Table of Child-Links-->
- <HR>
- <H1><A NAME="SECTION00050000000000000000">
- <SPAN CLASS="arabic">4</SPAN> Common Error and Warning Messages</A>
- </H1>
- <P>
- <H2><A NAME="SECTION00051000000000000000">
- <SPAN CLASS="arabic">4</SPAN>.<SPAN CLASS="arabic">1</SPAN> Can't open eth0: libnet_select_device(): Can't find interface eth0</A>
- </H2>
- <P>
- Generally this occurs when the interface (eth0 in this example) is
- not up or doesn't have an IP address assigned to it.
- <P>
- <H2><A NAME="SECTION00052000000000000000">
- <SPAN CLASS="arabic">4</SPAN>.<SPAN CLASS="arabic">2</SPAN> Can't open lo: libnet_select_device(): Can't find interface lo</A>
- </H2>
- <P>
- Version 1.1.0 of Libnet is unable to send traffic on the loopback
- device. Upgrade to a later release of the Libnet library to solve
- this problem.
- <P>
- <H2><A NAME="SECTION00053000000000000000">
- <SPAN CLASS="arabic">4</SPAN>.<SPAN CLASS="arabic">3</SPAN> Can't open eth0: UID != 0</A>
- </H2>
- <P>
- Tcpreplay requires that you run it as root.
- <P>
- <H2><A NAME="SECTION00054000000000000000">
- <SPAN CLASS="arabic">4</SPAN>.<SPAN CLASS="arabic">4</SPAN> 100000 write attempts failed from full buffers and were repeated</A>
- </H2>
- <P>
- When tcpreplay displays a message like "100000 write attempts
- failed from full buffers and were repeated", this usually
- means the kernel buffers were full and it had to wait until memory
- was available. This is quite common when replaying files as fast as
- possible with the "-R" option. See the tuning OS
- section in this document for suggestions on solving this problem.
- <P>
- <H2><A NAME="SECTION00055000000000000000">
- <SPAN CLASS="arabic">4</SPAN>.<SPAN CLASS="arabic">5</SPAN> Unable to process test.cache: cache file version missmatch</A>
- </H2>
- <P>
- Cache files generated by tcpprep and read by tcpreplay are versioned
- to allow enhancements to the cache file format. Anytime the cache
- file format changes, the version is incremented. Since this occurs
- on a very rare basis, this is generally not an issue; however anytime
- there is a change, it breaks compatibility with previously created
- cache files. The solution for this problem is to use the same version
- of tcpreplay and tcpprep to read/write the cache files. Cache file
- versions match the following versions of tcpprep/tcpreplay:
- <P>
- <UL>
- <LI>Version 1:
- <BR>
- Prior to 1.3.beta1
- </LI>
- <LI>Version 2:
- <BR>
- 1.3.beta2 to 1.3.1/1.4.beta1
- </LI>
- <LI>Version 3:
- <BR>
- 1.3.2/1.4.beta2 to 2.0.3
- </LI>
- <LI>Version 4:
- <BR>
- 2.1.0 and above. Note that prior to version 2.3.0, tcpprep had a bug
- which broke cache file compatibility between big and little endian
- systems.
- </LI>
- </UL>
- <P>
- <H2><A NAME="SECTION00056000000000000000">
- <SPAN CLASS="arabic">4</SPAN>.<SPAN CLASS="arabic">6</SPAN> Skipping SLL loopback packet.</A>
- </H2>
- <P>
- Your capture file was created on Linux with the 'any' parameter which
- then captured a packet on the loopback interface. However, tcpreplay
- doesn't have enough information to actual send the packet, so it skips
- it. Specifying a destination and source MAC address (-D and -S) will
- allow tcpreplay to send these packets.
- <P>
- <H2><A NAME="SECTION00057000000000000000">
- <SPAN CLASS="arabic">4</SPAN>.<SPAN CLASS="arabic">7</SPAN> Packet length (8892) is greater then MTU; skipping packet.</A>
- </H2>
- <P>
- The packet length (in this case 8892 bytes) is greater then the maximum
- transmition unit (MTU) on the outgoing interface. Tcpreplay must skip
- the packet. Alternatively, you can specify the -T option and tcpreplay
- will truncate the packet to the MTU size, fix the checksums and send
- it. This often occurs with pcaps captured over loopback interfaces
- which have much larger MTU's then ethernet.
- <P>
- <DIV CLASS="navigation"><HR>
- <!--Navigation Panel-->
- <A NAME="tex2html194"
- HREF="node6.html">
- <IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next" SRC="next.png"></A>
- <A NAME="tex2html190"
- HREF="FAQ.html">
- <IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up" SRC="up.png"></A>
- <A NAME="tex2html184"
- HREF="node4.html">
- <IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous" SRC="prev.png"></A>
- <A NAME="tex2html192"
- HREF="node1.html">
- <IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents" SRC="contents.png"></A>
- <BR>
- <B> Next:</B> <A NAME="tex2html195"
- HREF="node6.html">5 Common Questions from</A>
- <B> Up:</B> <A NAME="tex2html191"
- HREF="FAQ.html">Tcpreplay 3.x FAQ</A>
- <B> Previous:</B> <A NAME="tex2html185"
- HREF="node4.html">3 Understanding tcpprep</A>
- <B> <A NAME="tex2html193"
- HREF="node1.html">Contents</A></B> </DIV>
- <!--End of Navigation Panel-->
- <ADDRESS>
- Aaron Turner
- 2006-08-07
- </ADDRESS>
- </BODY>
- </HTML>
|