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