[1a3dd316] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
| 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
|
---|
| 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 |
|
---|
| 7 | <!ENTITY ethereal-download-http "http://www.ethereal.com/distribution/ethereal-ðereal-version;.tar.bz2">
|
---|
| 8 | <!ENTITY ethereal-download-ftp "ftp://ftp.ethereal.com/pub/ethereal/all-versions/ethereal-ðereal-version;.tar.bz2">
|
---|
[c45a308] | 9 | <!ENTITY ethereal-md5sum "eebd6cc45a45d68332b2c053aac0c484">
|
---|
| 10 | <!ENTITY ethereal-size "5.1 MB">
|
---|
| 11 | <!ENTITY ethereal-buildsize "179 MB">
|
---|
| 12 | <!ENTITY ethereal-time "3.61 SBU">
|
---|
[1a3dd316] | 13 | ]>
|
---|
| 14 |
|
---|
| 15 | <sect1 id="ethereal" xreflabel="Ethereal-ðereal-version;">
|
---|
| 16 | <sect1info>
|
---|
| 17 | <othername>$LastChangedBy$</othername>
|
---|
| 18 | <date>$Date$</date>
|
---|
| 19 | </sect1info>
|
---|
| 20 | <?dbhtml filename="ethereal.html"?>
|
---|
| 21 | <title>Ethereal-ðereal-version;</title>
|
---|
| 22 |
|
---|
| 23 | <sect2>
|
---|
| 24 | <title>Introduction to <application>Ethereal</application></title>
|
---|
| 25 |
|
---|
| 26 | <para>The <application>Ethereal</application> package contains a network
|
---|
| 27 | protocol analyzer, also known as a <quote>sniffer</quote>. This is useful for
|
---|
| 28 | analyzing data captured <quote>off the wire</quote> from a live network
|
---|
| 29 | connection, or data read from a capture file.
|
---|
| 30 | <application>Ethereal</application> provides both <acronym>GUI</acronym> and
|
---|
| 31 | <acronym>TTY</acronym>-mode programs for examining captured network packets
|
---|
| 32 | from over 500 protocols, as well as the capability to read capture files from
|
---|
| 33 | many other popular network analyzers.</para>
|
---|
| 34 |
|
---|
| 35 | <sect3><title>Package information</title>
|
---|
| 36 | <itemizedlist spacing="compact">
|
---|
| 37 | <listitem><para>Download (HTTP):
|
---|
| 38 | <ulink url="ðereal-download-http;"/></para></listitem>
|
---|
| 39 | <listitem><para>Download (FTP):
|
---|
| 40 | <ulink url="ðereal-download-ftp;"/></para></listitem>
|
---|
[c45a308] | 41 | <listitem><para>Download MD5 Sum: ðereal-md5sum;</para></listitem>
|
---|
[1a3dd316] | 42 | <listitem><para>Download size: ðereal-size;</para></listitem>
|
---|
[c45a308] | 43 | <listitem><para>Estimated disk space required:
|
---|
[1a3dd316] | 44 | ðereal-buildsize;</para></listitem>
|
---|
| 45 | <listitem><para>Estimated build time:
|
---|
| 46 | ðereal-time;</para></listitem></itemizedlist>
|
---|
| 47 | </sect3>
|
---|
| 48 |
|
---|
| 49 | <sect3><title><application>Ethereal</application> dependencies</title>
|
---|
[c45a308] | 50 | <sect4><title>Required</title>
|
---|
[7c461b3] | 51 | <para><xref linkend="GLib"/> or <xref linkend="glib2"/> (to build the
|
---|
[c45a308] | 52 | <acronym>TTY</acronym>-mode front-end only)</para>
|
---|
| 53 | </sect4>
|
---|
| 54 |
|
---|
[1a3dd316] | 55 | <sect4><title>Recommended</title>
|
---|
| 56 | <para><xref linkend="libpcap"/> (required to capture data)</para>
|
---|
| 57 | </sect4>
|
---|
| 58 |
|
---|
| 59 | <sect4><title>Optional</title>
|
---|
| 60 | <para><xref linkend="pkgconfig"/>,
|
---|
[a8eba10] | 61 | <xref linkend="GTK"/> or <xref linkend="gtk2"/> (to build the
|
---|
[1a3dd316] | 62 | <acronym>GUI</acronym> front-end),
|
---|
[939cf0da] | 63 | <xref linkend="openssl-package"/>,
|
---|
[1a3dd316] | 64 | <xref linkend="heimdal"/> or <xref linkend="mitkrb"/>,
|
---|
[775c349a] | 65 | <xref linkend="python"/>,
|
---|
[1a3dd316] | 66 | <xref linkend="pcre"/>,
|
---|
[faa80ab] | 67 | <xref linkend="doxygen"/>,
|
---|
| 68 | <ulink url="http://www.net-snmp.org/">Net-SNMP</ulink> and
|
---|
| 69 | <ulink url="http://www.gnu.org/software/adns/adns.html">adns</ulink></para>
|
---|
[1a3dd316] | 70 | </sect4>
|
---|
| 71 | </sect3>
|
---|
| 72 |
|
---|
| 73 | </sect2>
|
---|
| 74 |
|
---|
| 75 | <sect2>
|
---|
| 76 | <title>Installation of <application>Ethereal</application></title>
|
---|
| 77 |
|
---|
| 78 | <para>Install <application>Ethereal</application> by running the following
|
---|
| 79 | commands:</para>
|
---|
| 80 |
|
---|
| 81 | <screen><userinput><command>./configure --prefix=/usr --sysconfdir=/etc \
|
---|
| 82 | --enable-randpkt --enable-threads &&
|
---|
| 83 | make &&
|
---|
| 84 | make install</command></userinput></screen>
|
---|
| 85 |
|
---|
| 86 | </sect2>
|
---|
| 87 |
|
---|
| 88 | <sect2>
|
---|
| 89 | <title>Command explanations</title>
|
---|
| 90 |
|
---|
[c45a308] | 91 | <para><option>--enable-randpkt</option>: This parameter builds the random
|
---|
| 92 | capture program.</para>
|
---|
[1a3dd316] | 93 |
|
---|
[c45a308] | 94 | <para><option>--enable-threads</option>: This parameter enables the use
|
---|
[1a3dd316] | 95 | of threads in <command>ethereal</command>.</para>
|
---|
| 96 |
|
---|
| 97 | </sect2>
|
---|
| 98 |
|
---|
| 99 | <sect2>
|
---|
| 100 | <title>Configuring <application>Ethereal</application></title>
|
---|
| 101 |
|
---|
| 102 | <sect3><title>Config files</title>
|
---|
| 103 | <para><filename>/etc/ethereal.conf</filename> and
|
---|
| 104 | <filename>~/.ethereal/preferences</filename></para>
|
---|
| 105 | </sect3>
|
---|
| 106 |
|
---|
| 107 | <sect3><title>Configuration Information</title>
|
---|
| 108 | <sect4><title>Package configuration</title>
|
---|
| 109 | <para>Though the default configuration parameters are very sane,
|
---|
| 110 | reference the configuration section of the
|
---|
| 111 | <ulink url="http://www.ethereal.com/docs/user-guide/">Ethereal User's
|
---|
| 112 | Guide</ulink> for configuration information. Most of
|
---|
| 113 | <application>Ethereal</application>'s configuration can be accomplished
|
---|
| 114 | using the menu options of the <command>ethereal</command>
|
---|
| 115 | <acronym>GUI</acronym> interface.</para>
|
---|
| 116 | </sect4>
|
---|
| 117 |
|
---|
| 118 | <sect4><title>Kernel configuration</title>
|
---|
| 119 | <para>The kernel must have the Packet protocol enabled for
|
---|
| 120 | <application>Ethereal</application> to capture live packets from the network.
|
---|
| 121 | Enable the Packet protocol by choosing <quote>Y</quote> in the
|
---|
| 122 | <quote>Device Drivers</quote> – <quote>Networking support</quote>
|
---|
| 123 | – <quote>Networking options</quote> – <quote>Packet socket</quote>
|
---|
| 124 | configuration parameter. Alternatively, build the af_packet module by choosing
|
---|
| 125 | <quote>M</quote> in this parameter.</para>
|
---|
| 126 |
|
---|
[1d602a9d] | 127 | <para>Note: If you want to look at packets, make sure you don't filter
|
---|
| 128 | them out with <xref linkend="iptables"/>. If you want to exclude
|
---|
| 129 | certain classes of packets, it is more efficient to do it with
|
---|
| 130 | <application>iptables</application> than
|
---|
| 131 | <application>Ethereal</application>.</para>
|
---|
[1a3dd316] | 132 | </sect4>
|
---|
| 133 | </sect3>
|
---|
| 134 |
|
---|
| 135 | </sect2>
|
---|
| 136 |
|
---|
| 137 | <sect2>
|
---|
| 138 | <title>Contents</title>
|
---|
| 139 |
|
---|
| 140 | <para>The <application>Ethereal</application> package contains
|
---|
[c45a308] | 141 | <command>capinfos</command>,
|
---|
[1a3dd316] | 142 | <command>dftest</command>,
|
---|
| 143 | <command>editcap</command>,
|
---|
| 144 | <command>ethereal</command>,
|
---|
| 145 | <command>idl2eth</command>,
|
---|
| 146 | <command>mergecap</command>,
|
---|
| 147 | <command>randpkt</command>,
|
---|
| 148 | <command>tethereal</command>,
|
---|
| 149 | <command>text2pcap</command>,
|
---|
| 150 | <filename class='libraryfile'>libethereal</filename>,
|
---|
| 151 | <filename class='libraryfile'>libwiretap</filename> and
|
---|
| 152 | many dissector plugin modules.</para>
|
---|
| 153 |
|
---|
| 154 | </sect2>
|
---|
| 155 |
|
---|
| 156 | <sect2><title>Description</title>
|
---|
| 157 |
|
---|
[c45a308] | 158 | <sect3><title>capinfos</title>
|
---|
| 159 | <para><command>capinfos</command> reads a saved capture file and returns any or
|
---|
[1a3dd316] | 160 | all of several statistics about that file. It is able to detect and read any
|
---|
| 161 | capture supported by the <application>Ethereal</application> package.</para>
|
---|
| 162 | </sect3>
|
---|
| 163 |
|
---|
| 164 | <sect3><title>dftest</title>
|
---|
| 165 | <para><command>dftest</command> is a display-filter-compiler test
|
---|
| 166 | program.</para>
|
---|
| 167 | </sect3>
|
---|
| 168 |
|
---|
| 169 | <sect3><title>editcap</title>
|
---|
| 170 | <para><command>editcap</command> edits and/or translates the format of capture
|
---|
| 171 | files. It knows how to read <application>libpcap</application> capture files,
|
---|
| 172 | including those of <command>tcpdump</command>,
|
---|
| 173 | <application>Ethereal</application> and other tools that write captures in that
|
---|
| 174 | format.</para>
|
---|
| 175 | </sect3>
|
---|
| 176 |
|
---|
| 177 | <sect3><title>ethereal</title>
|
---|
| 178 | <para><command>ethereal</command> is a <acronym>GUI</acronym> network protocol
|
---|
| 179 | analyzer. It lets you interactively browse packet data from a live network or
|
---|
| 180 | from a previously saved capture file.</para>
|
---|
| 181 | </sect3>
|
---|
| 182 |
|
---|
| 183 | <sect3><title>idl2eth</title>
|
---|
| 184 | <para><command>idl2eth</command> takes a user specified
|
---|
| 185 | <acronym>CORBA</acronym> <acronym>IDL</acronym> file and generates
|
---|
| 186 | <quote>C</quote> source code that can be used to create an
|
---|
| 187 | <application>Ethereal</application> plugin.</para>
|
---|
| 188 | </sect3>
|
---|
| 189 |
|
---|
| 190 | <sect3><title>mergecap</title>
|
---|
| 191 | <para><command>mergecap</command> combines multiple saved capture files into a
|
---|
| 192 | single output file.</para>
|
---|
| 193 | </sect3>
|
---|
| 194 |
|
---|
| 195 | <sect3><title>randpkt</title>
|
---|
| 196 | <para><command>randpkt</command> creates random-packet capture files.</para>
|
---|
| 197 | </sect3>
|
---|
| 198 |
|
---|
| 199 | <sect3><title>tethereal</title>
|
---|
| 200 | <para><command>tethereal</command> is a <acronym>TTY</acronym>-mode network
|
---|
| 201 | protocol analyzer. It lets you capture packet data from a live network or
|
---|
| 202 | read packets from a previously saved capture file.</para>
|
---|
| 203 | </sect3>
|
---|
| 204 |
|
---|
| 205 | <sect3><title>text2pcap</title>
|
---|
| 206 | <para><command>text2pcap</command> reads in an <acronym>ASCII</acronym> hex
|
---|
| 207 | dump and writes the data described into a
|
---|
| 208 | <application>libpcap</application>-style capture file.</para>
|
---|
| 209 | </sect3>
|
---|
| 210 |
|
---|
| 211 | </sect2>
|
---|
| 212 |
|
---|
| 213 | </sect1>
|
---|
| 214 |
|
---|