[1a3dd316] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
[ff769b8c] | 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
|
---|
[1a3dd316] | 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">
|
---|
[a56c29d] | 9 | <!ENTITY ethereal-md5sum "f8b7a2c2dcf273e7fd755f972167dacb">
|
---|
| 10 | <!ENTITY ethereal-size "5.4 MB">
|
---|
| 11 | <!ENTITY ethereal-buildsize "194 MB">
|
---|
| 12 | <!ENTITY ethereal-time "3.78 SBU">
|
---|
[1a3dd316] | 13 | ]>
|
---|
| 14 |
|
---|
| 15 | <sect1 id="ethereal" xreflabel="Ethereal-ðereal-version;">
|
---|
[13659efc] | 16 | <?dbhtml filename="ethereal.html"?>
|
---|
| 17 |
|
---|
| 18 | <sect1info>
|
---|
| 19 | <othername>$LastChangedBy$</othername>
|
---|
| 20 | <date>$Date$</date>
|
---|
| 21 | </sect1info>
|
---|
| 22 |
|
---|
| 23 | <title>Ethereal-ðereal-version;</title>
|
---|
| 24 |
|
---|
| 25 | <indexterm zone="ethereal">
|
---|
| 26 | <primary sortas="a-Ethereal">Ethereal</primary>
|
---|
| 27 | </indexterm>
|
---|
| 28 |
|
---|
| 29 | <sect2 role="package">
|
---|
| 30 | <title>Introduction to Ethereal</title>
|
---|
| 31 |
|
---|
| 32 | <para>The <application>Ethereal</application> package contains a network
|
---|
| 33 | protocol analyzer, also known as a <quote>sniffer</quote>. This is useful for
|
---|
| 34 | analyzing data captured <quote>off the wire</quote> from a live network
|
---|
| 35 | connection, or data read from a capture file. <application>Ethereal</application>
|
---|
| 36 | provides both GUI and TTY-mode programs for examining captured network packets
|
---|
| 37 | from over 500 protocols, as well as the capability to read capture files from
|
---|
| 38 | many other popular network analyzers.</para>
|
---|
| 39 |
|
---|
| 40 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 41 | <itemizedlist spacing="compact">
|
---|
| 42 | <listitem>
|
---|
| 43 | <para>Download (HTTP): <ulink url="ðereal-download-http;"/></para>
|
---|
| 44 | </listitem>
|
---|
| 45 | <listitem>
|
---|
| 46 | <para>Download (FTP): <ulink url="ðereal-download-ftp;"/></para>
|
---|
| 47 | </listitem>
|
---|
| 48 | <listitem>
|
---|
| 49 | <para>Download MD5 sum: ðereal-md5sum;</para>
|
---|
| 50 | </listitem>
|
---|
| 51 | <listitem>
|
---|
| 52 | <para>Download size: ðereal-size;</para>
|
---|
| 53 | </listitem>
|
---|
| 54 | <listitem>
|
---|
| 55 | <para>Estimated disk space required: ðereal-buildsize;</para>
|
---|
| 56 | </listitem>
|
---|
| 57 | <listitem>
|
---|
[2174baa] | 58 | <para>Estimated build time: ðereal-time;</para>
|
---|
| 59 | </listitem>
|
---|
[13659efc] | 60 | </itemizedlist>
|
---|
| 61 |
|
---|
| 62 | <bridgehead renderas="sect3">Ethereal dependencies</bridgehead>
|
---|
| 63 |
|
---|
| 64 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
| 65 | <para><xref linkend="GLib"/> or <xref linkend="glib2"/> (to build the
|
---|
| 66 | TTY-mode front-end only)</para>
|
---|
| 67 |
|
---|
| 68 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
| 69 | <para><xref linkend="libpcap"/> (required to capture data)</para>
|
---|
| 70 |
|
---|
| 71 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
| 72 | <para><xref linkend="pkgconfig"/>,
|
---|
| 73 | <xref linkend="GTK"/> or <xref linkend="gtk2"/> (to build the
|
---|
| 74 | GUI front-end),
|
---|
| 75 | <xref linkend="openssl"/>,
|
---|
| 76 | <xref linkend="heimdal"/> or <xref linkend="mitkrb"/>,
|
---|
| 77 | <xref linkend="python"/>,
|
---|
| 78 | <xref linkend="pcre"/>,
|
---|
| 79 | <xref linkend="doxygen"/>,
|
---|
| 80 | <ulink url="http://www.net-snmp.org/">Net-SNMP</ulink> and
|
---|
| 81 | <ulink url="http://www.gnu.org/software/adns/adns.html">adns</ulink></para>
|
---|
| 82 |
|
---|
| 83 | </sect2>
|
---|
| 84 |
|
---|
| 85 | <sect2 role="kernel" id="ethereal-kernel">
|
---|
| 86 | <title>Kernel Configuration</title>
|
---|
| 87 |
|
---|
| 88 | <para>The kernel must have the Packet protocol enabled for
|
---|
| 89 | <application>Ethereal</application> to capture live packets from the network.
|
---|
| 90 | Enable the Packet protocol by choosing <quote>Y</quote> in the
|
---|
| 91 | <quote>Device Drivers</quote> – <quote>Networking support</quote>
|
---|
| 92 | – <quote>Networking options</quote> – <quote>Packet socket</quote>
|
---|
| 93 | configuration parameter. Alternatively, build the af_packet module by choosing
|
---|
| 94 | <quote>M</quote> in this parameter.</para>
|
---|
| 95 |
|
---|
| 96 | <indexterm zone="ethereal ethereal-kernel">
|
---|
| 97 | <primary sortas="d-Capturing-network-packets">Capturing network
|
---|
| 98 | packets</primary>
|
---|
| 99 | </indexterm>
|
---|
| 100 |
|
---|
| 101 | </sect2>
|
---|
| 102 |
|
---|
| 103 | <sect2 role="installation">
|
---|
| 104 | <title>Installation of Ethereal</title>
|
---|
| 105 |
|
---|
| 106 | <para>Install <application>Ethereal</application> by running the following
|
---|
| 107 | commands:</para>
|
---|
| 108 |
|
---|
| 109 | <screen><userinput>./configure --prefix=/usr --sysconfdir=/etc \
|
---|
[1a3dd316] | 110 | --enable-randpkt --enable-threads &&
|
---|
[13659efc] | 111 | make</userinput></screen>
|
---|
| 112 |
|
---|
| 113 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
| 114 |
|
---|
| 115 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 116 |
|
---|
| 117 | </sect2>
|
---|
| 118 |
|
---|
| 119 | <sect2 role="commands">
|
---|
| 120 | <title>Command Explanations</title>
|
---|
| 121 |
|
---|
| 122 | <para><parameter>--enable-randpkt</parameter>: This parameter builds the random
|
---|
| 123 | capture program.</para>
|
---|
| 124 |
|
---|
| 125 | <para><parameter>--enable-threads</parameter>: This parameter enables the use
|
---|
| 126 | of threads in <command>ethereal</command>.</para>
|
---|
| 127 |
|
---|
| 128 | <para><option>--with-ssl</option>: This parameter enables the use of the
|
---|
| 129 | <application>OpenSSL</application>
|
---|
| 130 | <filename class='libraryfile'>libcrypto</filename> library.</para>
|
---|
| 131 |
|
---|
| 132 | </sect2>
|
---|
| 133 |
|
---|
| 134 | <sect2 role="configuration">
|
---|
| 135 | <title>Configuring Ethereal</title>
|
---|
| 136 |
|
---|
| 137 | <sect3 id="ethereal-config">
|
---|
| 138 | <title>Config Files</title>
|
---|
| 139 |
|
---|
| 140 | <para><filename>/etc/ethereal.conf</filename> and
|
---|
| 141 | <filename>~/.ethereal/preferences</filename></para>
|
---|
| 142 |
|
---|
| 143 | <indexterm zone="ethereal ethereal-config">
|
---|
| 144 | <primary sortas="e-AA.ethereal-preferences">~/.ethereal/preferences</primary>
|
---|
| 145 | </indexterm>
|
---|
| 146 |
|
---|
| 147 | <indexterm zone="ethereal ethereal-config">
|
---|
| 148 | <primary sortas="e-etc-ethereal.conf">/etc/ethereal.conf</primary>
|
---|
| 149 | </indexterm>
|
---|
| 150 |
|
---|
| 151 | </sect3>
|
---|
| 152 |
|
---|
| 153 | <sect3>
|
---|
| 154 | <title>Configuration Information</title>
|
---|
| 155 |
|
---|
| 156 | <para>Though the default configuration parameters are very sane,
|
---|
| 157 | reference the configuration section of the
|
---|
| 158 | <ulink url="http://www.ethereal.com/docs/user-guide/">Ethereal User's
|
---|
| 159 | Guide</ulink> for configuration information. Most of
|
---|
| 160 | <application>Ethereal</application>'s configuration can be accomplished
|
---|
| 161 | using the menu options of the <command>ethereal</command>
|
---|
| 162 | GUI interface.</para>
|
---|
| 163 |
|
---|
| 164 | <note>
|
---|
| 165 | <para>If you want to look at packets, make sure you don't filter
|
---|
| 166 | them out with <xref linkend="iptables"/>. If you want to exclude
|
---|
| 167 | certain classes of packets, it is more efficient to do it with
|
---|
| 168 | <application>iptables</application> than
|
---|
| 169 | <application>Ethereal</application>.</para>
|
---|
| 170 | </note>
|
---|
| 171 |
|
---|
| 172 | </sect3>
|
---|
| 173 |
|
---|
| 174 | </sect2>
|
---|
| 175 |
|
---|
| 176 | <sect2 role="content">
|
---|
| 177 | <title>Contents</title>
|
---|
| 178 |
|
---|
| 179 | <segmentedlist>
|
---|
| 180 | <segtitle>Installed Programs</segtitle>
|
---|
| 181 | <segtitle>Installed Libraries</segtitle>
|
---|
| 182 | <segtitle>Installed Directories</segtitle>
|
---|
| 183 |
|
---|
| 184 | <seglistitem>
|
---|
| 185 | <seg>capinfos, dftest, editcap, ethereal, idl2eth, mergecap, randpkt,
|
---|
| 186 | tethereal and text2pcap</seg>
|
---|
| 187 | <seg>libethereal.so, libwiretap.so and numerous dissector plugin modules</seg>
|
---|
| 188 | <seg>/usr/lib/ethereal and /usr/share/ethereal</seg>
|
---|
| 189 | </seglistitem>
|
---|
| 190 | </segmentedlist>
|
---|
| 191 |
|
---|
| 192 | <variablelist>
|
---|
| 193 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 194 | <?dbfo list-presentation="list"?>
|
---|
| 195 | <?dbhtml list-presentation="table"?>
|
---|
| 196 |
|
---|
| 197 | <varlistentry id="capinfos">
|
---|
| 198 | <term><command>capinfos</command></term>
|
---|
| 199 | <listitem>
|
---|
| 200 | <para>reads a saved capture file and returns any or all of several
|
---|
| 201 | statistics about that file. It is able to detect and read any capture
|
---|
| 202 | supported by the <application>Ethereal</application> package.</para>
|
---|
| 203 | <indexterm zone="ethereal capinfos">
|
---|
| 204 | <primary sortas="b-capinfos">capinfos</primary>
|
---|
| 205 | </indexterm>
|
---|
| 206 | </listitem>
|
---|
| 207 | </varlistentry>
|
---|
| 208 |
|
---|
| 209 | <varlistentry id="dftest">
|
---|
| 210 | <term><command>dftest</command></term>
|
---|
| 211 | <listitem>
|
---|
| 212 | <para>is a display-filter-compiler test program.</para>
|
---|
| 213 | <indexterm zone="ethereal dftest">
|
---|
| 214 | <primary sortas="b-dftest">dftest</primary>
|
---|
| 215 | </indexterm>
|
---|
| 216 | </listitem>
|
---|
| 217 | </varlistentry>
|
---|
| 218 |
|
---|
| 219 | <varlistentry id="editcap">
|
---|
| 220 | <term><command>editcap</command></term>
|
---|
| 221 | <listitem>
|
---|
| 222 | <para>edits and/or translates the format of capture files. It knows
|
---|
| 223 | how to read <application>libpcap</application> capture files, including those
|
---|
| 224 | of <command>tcpdump</command>, <application>Ethereal</application> and other
|
---|
| 225 | tools that write captures in that format.</para>
|
---|
| 226 | <indexterm zone="ethereal editcap">
|
---|
| 227 | <primary sortas="b-editcap">editcap</primary>
|
---|
| 228 | </indexterm>
|
---|
| 229 | </listitem>
|
---|
| 230 | </varlistentry>
|
---|
| 231 |
|
---|
| 232 | <varlistentry id="ethereal-prog">
|
---|
| 233 | <term><command>ethereal</command></term>
|
---|
| 234 | <listitem>
|
---|
| 235 | <para>is a GUI network protocol analyzer. It lets
|
---|
| 236 | you interactively browse packet data from a live network or from a previously
|
---|
| 237 | saved capture file.</para>
|
---|
| 238 | <indexterm zone="ethereal ethereal-prog">
|
---|
| 239 | <primary sortas="b-ethereal">ethereal</primary>
|
---|
| 240 | </indexterm>
|
---|
| 241 | </listitem>
|
---|
| 242 | </varlistentry>
|
---|
| 243 |
|
---|
| 244 | <varlistentry id="idl2eth">
|
---|
| 245 | <term><command>idl2eth</command></term>
|
---|
| 246 | <listitem>
|
---|
| 247 | <para>takes a user specified CORBA
|
---|
| 248 | IDL file and generates <quote>C</quote> source code that
|
---|
| 249 | can be used to create an <application>Ethereal</application> plugin.</para>
|
---|
| 250 | <indexterm zone="ethereal idl2eth">
|
---|
| 251 | <primary sortas="b-idl2eth">idl2eth</primary>
|
---|
| 252 | </indexterm>
|
---|
| 253 | </listitem>
|
---|
| 254 | </varlistentry>
|
---|
| 255 |
|
---|
| 256 | <varlistentry id="mergecap">
|
---|
| 257 | <term><command>mergecap</command></term>
|
---|
| 258 | <listitem>
|
---|
| 259 | <para>combines multiple saved capture files into a single output
|
---|
| 260 | file.</para>
|
---|
| 261 | <indexterm zone="ethereal mergecap">
|
---|
| 262 | <primary sortas="b-mergecap">mergecap</primary>
|
---|
| 263 | </indexterm>
|
---|
| 264 | </listitem>
|
---|
| 265 | </varlistentry>
|
---|
| 266 |
|
---|
| 267 | <varlistentry id="randpkt">
|
---|
| 268 | <term><command>randpkt</command></term>
|
---|
| 269 | <listitem>
|
---|
| 270 | <para>creates random-packet capture files.</para>
|
---|
| 271 | <indexterm zone="ethereal randpkt">
|
---|
| 272 | <primary sortas="b-randpkt">randpkt</primary>
|
---|
| 273 | </indexterm>
|
---|
| 274 | </listitem>
|
---|
| 275 | </varlistentry>
|
---|
| 276 |
|
---|
| 277 | <varlistentry id="tethereal">
|
---|
| 278 | <term><command>tethereal</command></term>
|
---|
| 279 | <listitem>
|
---|
| 280 | <para>is a TTY-mode network protocol analyzer.
|
---|
| 281 | It lets you capture packet data from a live network or read packets from a
|
---|
| 282 | previously saved capture file.</para>
|
---|
| 283 | <indexterm zone="ethereal tethereal">
|
---|
| 284 | <primary sortas="b-tethereal">tethereal</primary>
|
---|
| 285 | </indexterm>
|
---|
| 286 | </listitem>
|
---|
| 287 | </varlistentry>
|
---|
| 288 |
|
---|
| 289 | <varlistentry id="text2pcap">
|
---|
| 290 | <term><command>text2pcap</command></term>
|
---|
| 291 | <listitem>
|
---|
| 292 | <para>reads in an ASCII hex dump and writes the
|
---|
| 293 | data described into a <application>libpcap</application>-style capture
|
---|
| 294 | file.</para>
|
---|
| 295 | <indexterm zone="ethereal text2pcap">
|
---|
| 296 | <primary sortas="b-text2pcap">text2pcap</primary>
|
---|
| 297 | </indexterm>
|
---|
| 298 | </listitem>
|
---|
| 299 | </varlistentry>
|
---|
| 300 |
|
---|
| 301 | <varlistentry id="libethereal">
|
---|
| 302 | <term><filename class='libraryfile'>libethereal.so</filename></term>
|
---|
| 303 | <listitem>
|
---|
| 304 | <para>contains functions used by the
|
---|
| 305 | <application>Ethereal</application> programs to perform filtering and
|
---|
| 306 | packet capturing.</para>
|
---|
| 307 | <indexterm zone="ethereal libethereal">
|
---|
| 308 | <primary sortas="c-libethereal">libethereal.so</primary>
|
---|
| 309 | </indexterm>
|
---|
| 310 | </listitem>
|
---|
| 311 | </varlistentry>
|
---|
| 312 |
|
---|
| 313 | <varlistentry id="libwiretap">
|
---|
| 314 | <term><filename class='libraryfile'>libwiretap.so</filename></term>
|
---|
| 315 | <listitem>
|
---|
| 316 | <para>is a library being developed as a future replacement for
|
---|
| 317 | <filename class='libraryfile'>libpcap</filename>, the current standard Unix
|
---|
| 318 | library for packet capturing. For more information, see the
|
---|
| 319 | <filename>README</filename> file in the source
|
---|
| 320 | <filename class='directory'>wiretap</filename> directory.</para>
|
---|
| 321 | <indexterm zone="ethereal libwiretap">
|
---|
| 322 | <primary sortas="c-libwiretap">libwiretap.so</primary>
|
---|
| 323 | </indexterm>
|
---|
| 324 | </listitem>
|
---|
| 325 | </varlistentry>
|
---|
| 326 |
|
---|
| 327 | </variablelist>
|
---|
| 328 |
|
---|
| 329 | </sect2>
|
---|
[1a3dd316] | 330 |
|
---|
| 331 | </sect1>
|
---|
| 332 |
|
---|