[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">
|
---|
| 9 | <!ENTITY ethereal-md5sum "722a2529c3a19b5b81c825bca444baea">
|
---|
| 10 | <!ENTITY ethereal-size "5.0 MB">
|
---|
| 11 | <!ENTITY ethereal-buildsize "172 MB">
|
---|
| 12 | <!ENTITY ethereal-time "3.09 SBU">
|
---|
| 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>
|
---|
| 41 | <listitem><para>MD5 Sum: ðereal-md5sum;</para></listitem>
|
---|
| 42 | <listitem><para>Download size: ðereal-size;</para></listitem>
|
---|
| 43 | <listitem><para>Estimated Disk space required:
|
---|
| 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>
|
---|
| 50 | <sect4><title>Recommended</title>
|
---|
| 51 | <para><xref linkend="libpcap"/> (required to capture data)</para>
|
---|
| 52 | </sect4>
|
---|
| 53 |
|
---|
| 54 | <sect4><title>Optional</title>
|
---|
| 55 | <para><xref linkend="pkgconfig"/>,
|
---|
| 56 | <xref linkend="GTK"/> or <xref linkend="GTK2"/> (to build the
|
---|
| 57 | <acronym>GUI</acronym> front-end),
|
---|
| 58 | <xref linkend="GLib"/> or <xref linkend="GLib2"/> (to build the
|
---|
| 59 | <acronym>TTY</acronym>-mode front-end only),
|
---|
| 60 | <xref linkend="openssl"/>,
|
---|
| 61 | <xref linkend="heimdal"/> or <xref linkend="mitkrb"/>,
|
---|
| 62 | <xref linkend="Python"/>,
|
---|
| 63 | <xref linkend="pcre"/>,
|
---|
| 64 | <ulink url="http://www.net-snmp.org/">Net-SNMP</ulink>,
|
---|
| 65 | <ulink url="http://www.gnu.org/software/adns/adns.html">adns</ulink> and
|
---|
| 66 | <ulink url="http://www.stack.nl/~dimitri/doxygen/">doxygen</ulink></para>
|
---|
| 67 | </sect4>
|
---|
| 68 |
|
---|
| 69 | </sect3>
|
---|
| 70 |
|
---|
| 71 | </sect2>
|
---|
| 72 |
|
---|
| 73 | <sect2>
|
---|
| 74 | <title>Installation of <application>Ethereal</application></title>
|
---|
| 75 |
|
---|
| 76 | <para>Install <application>Ethereal</application> by running the following
|
---|
| 77 | commands:</para>
|
---|
| 78 |
|
---|
| 79 | <screen><userinput><command>./configure --prefix=/usr --sysconfdir=/etc \
|
---|
| 80 | --enable-randpkt --enable-threads &&
|
---|
| 81 | make &&
|
---|
| 82 | make install</command></userinput></screen>
|
---|
| 83 |
|
---|
| 84 | </sect2>
|
---|
| 85 |
|
---|
| 86 | <sect2>
|
---|
| 87 | <title>Command explanations</title>
|
---|
| 88 |
|
---|
| 89 | <para><option>--enable-randpkt</option>: Adding this parameter will
|
---|
| 90 | build the random capture program.</para>
|
---|
| 91 |
|
---|
| 92 | <para><option>--enable-threads</option>: Adding this parameter enables the use
|
---|
| 93 | of threads in <command>ethereal</command>.</para>
|
---|
| 94 |
|
---|
| 95 | </sect2>
|
---|
| 96 |
|
---|
| 97 | <sect2>
|
---|
| 98 | <title>Configuring <application>Ethereal</application></title>
|
---|
| 99 |
|
---|
| 100 | <sect3><title>Config files</title>
|
---|
| 101 | <para><filename>/etc/ethereal.conf</filename> and
|
---|
| 102 | <filename>~/.ethereal/preferences</filename></para>
|
---|
| 103 | </sect3>
|
---|
| 104 |
|
---|
| 105 | <sect3><title>Configuration Information</title>
|
---|
| 106 | <sect4><title>Package configuration</title>
|
---|
| 107 | <para>Though the default configuration parameters are very sane,
|
---|
| 108 | reference the configuration section of the
|
---|
| 109 | <ulink url="http://www.ethereal.com/docs/user-guide/">Ethereal User's
|
---|
| 110 | Guide</ulink> for configuration information. Most of
|
---|
| 111 | <application>Ethereal</application>'s configuration can be accomplished
|
---|
| 112 | using the menu options of the <command>ethereal</command>
|
---|
| 113 | <acronym>GUI</acronym> interface.</para>
|
---|
| 114 | </sect4>
|
---|
| 115 |
|
---|
| 116 | <sect4><title>Kernel configuration</title>
|
---|
| 117 | <para>The kernel must have the Packet protocol enabled for
|
---|
| 118 | <application>Ethereal</application> to capture live packets from the network.
|
---|
| 119 | Enable the Packet protocol by choosing <quote>Y</quote> in the
|
---|
| 120 | <quote>Device Drivers</quote> – <quote>Networking support</quote>
|
---|
| 121 | – <quote>Networking options</quote> – <quote>Packet socket</quote>
|
---|
| 122 | configuration parameter. Alternatively, build the af_packet module by choosing
|
---|
| 123 | <quote>M</quote> in this parameter.</para>
|
---|
| 124 |
|
---|
[1d602a9d] | 125 | <para>Note: If you want to look at packets, make sure you don't filter
|
---|
| 126 | them out with <xref linkend="iptables"/>. If you want to exclude
|
---|
| 127 | certain classes of packets, it is more efficient to do it with
|
---|
| 128 | <application>iptables</application> than
|
---|
| 129 | <application>Ethereal</application>.</para>
|
---|
[1a3dd316] | 130 | </sect4>
|
---|
| 131 |
|
---|
| 132 | </sect3>
|
---|
| 133 |
|
---|
| 134 | </sect2>
|
---|
| 135 |
|
---|
| 136 | <sect2>
|
---|
| 137 | <title>Contents</title>
|
---|
| 138 |
|
---|
| 139 | <para>The <application>Ethereal</application> package contains
|
---|
| 140 | <command>capinfo</command>,
|
---|
| 141 | <command>dftest</command>,
|
---|
| 142 | <command>editcap</command>,
|
---|
| 143 | <command>ethereal</command>,
|
---|
| 144 | <command>idl2eth</command>,
|
---|
| 145 | <command>mergecap</command>,
|
---|
| 146 | <command>randpkt</command>,
|
---|
| 147 | <command>tethereal</command>,
|
---|
| 148 | <command>text2pcap</command>,
|
---|
| 149 | <filename class='libraryfile'>libethereal</filename>,
|
---|
| 150 | <filename class='libraryfile'>libwiretap</filename> and
|
---|
| 151 | many dissector plugin modules.</para>
|
---|
| 152 |
|
---|
| 153 | </sect2>
|
---|
| 154 |
|
---|
| 155 | <sect2><title>Description</title>
|
---|
| 156 |
|
---|
| 157 | <sect3><title>capinfo</title>
|
---|
| 158 | <para><command>capinfo</command> reads a saved capture file and returns any or
|
---|
| 159 | all of several statistics about that file. It is able to detect and read any
|
---|
| 160 | capture supported by the <application>Ethereal</application> package.</para>
|
---|
| 161 | </sect3>
|
---|
| 162 |
|
---|
| 163 | <sect3><title>dftest</title>
|
---|
| 164 | <para><command>dftest</command> is a display-filter-compiler test
|
---|
| 165 | program.</para>
|
---|
| 166 | </sect3>
|
---|
| 167 |
|
---|
| 168 | <sect3><title>editcap</title>
|
---|
| 169 | <para><command>editcap</command> edits and/or translates the format of capture
|
---|
| 170 | files. It knows how to read <application>libpcap</application> capture files,
|
---|
| 171 | including those of <command>tcpdump</command>,
|
---|
| 172 | <application>Ethereal</application> and other tools that write captures in that
|
---|
| 173 | format.</para>
|
---|
| 174 | </sect3>
|
---|
| 175 |
|
---|
| 176 | <sect3><title>ethereal</title>
|
---|
| 177 | <para><command>ethereal</command> is a <acronym>GUI</acronym> network protocol
|
---|
| 178 | analyzer. It lets you interactively browse packet data from a live network or
|
---|
| 179 | from a previously saved capture file.</para>
|
---|
| 180 | </sect3>
|
---|
| 181 |
|
---|
| 182 | <sect3><title>idl2eth</title>
|
---|
| 183 | <para><command>idl2eth</command> takes a user specified
|
---|
| 184 | <acronym>CORBA</acronym> <acronym>IDL</acronym> file and generates
|
---|
| 185 | <quote>C</quote> source code that can be used to create an
|
---|
| 186 | <application>Ethereal</application> plugin.</para>
|
---|
| 187 | </sect3>
|
---|
| 188 |
|
---|
| 189 | <sect3><title>mergecap</title>
|
---|
| 190 | <para><command>mergecap</command> combines multiple saved capture files into a
|
---|
| 191 | single output file.</para>
|
---|
| 192 | </sect3>
|
---|
| 193 |
|
---|
| 194 | <sect3><title>randpkt</title>
|
---|
| 195 | <para><command>randpkt</command> creates random-packet capture files.</para>
|
---|
| 196 | </sect3>
|
---|
| 197 |
|
---|
| 198 | <sect3><title>tethereal</title>
|
---|
| 199 | <para><command>tethereal</command> is a <acronym>TTY</acronym>-mode network
|
---|
| 200 | protocol analyzer. It lets you capture packet data from a live network or
|
---|
| 201 | read packets from a previously saved capture file.</para>
|
---|
| 202 | </sect3>
|
---|
| 203 |
|
---|
| 204 | <sect3><title>text2pcap</title>
|
---|
| 205 | <para><command>text2pcap</command> reads in an <acronym>ASCII</acronym> hex
|
---|
| 206 | dump and writes the data described into a
|
---|
| 207 | <application>libpcap</application>-style capture file.</para>
|
---|
| 208 | </sect3>
|
---|
| 209 |
|
---|
| 210 | </sect2>
|
---|
| 211 |
|
---|
| 212 | </sect1>
|
---|
| 213 |
|
---|