source: basicnet/netutils/wireshark.xml@ 61d6f59

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 6.3 6.3-rc1 6.3-rc2 6.3-rc3 7.10 7.4 7.5 7.6 7.6-blfs 7.6-systemd 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind gnome kde5-13430 kde5-14269 kde5-14686 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts krejzi/svn lazarus lxqt nosym perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition systemd-11177 systemd-13485 trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 61d6f59 was 894de226, checked in by Randy McMurchy <randy@…>, 17 years ago

Updated to Wireshark-0.99.6 (formerly named Ethereal)

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@6912 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 15.2 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6
7 <!ENTITY wireshark-download-http "http://www.wireshark.org/download/src/wireshark-&wireshark-version;.tar.bz2">
8 <!ENTITY wireshark-download-ftp "ftp://ftp.uni-kl.de/pub/wireshark/src/wireshark-&wireshark-version;.tar.bz2">
9 <!ENTITY wireshark-md5sum "e57a8c8b364c38df3da97e2ee9f0d0bc">
10 <!ENTITY wireshark-size "11.8 MB">
11 <!ENTITY wireshark-buildsize "449 MB">
12 <!ENTITY wireshark-time "6.4 SBU">
13]>
14
15<sect1 id="wireshark" xreflabel="Wireshark-&wireshark-version;">
16 <?dbhtml filename="wireshark.html"?>
17
18 <sect1info>
19 <othername>$LastChangedBy$</othername>
20 <date>$Date$</date>
21 </sect1info>
22
23 <title>Wireshark-&wireshark-version;</title>
24
25 <indexterm zone="wireshark">
26 <primary sortas="a-Wireshark">Wireshark</primary>
27 </indexterm>
28
29 <sect2 role="package">
30 <title>Introduction to Wireshark</title>
31
32 <para>The <application>Wireshark</application> package contains a network
33 protocol analyzer, also known as a <quote>sniffer</quote>. This is useful
34 for analyzing data captured <quote>off the wire</quote> from a live network
35 connection, or data read from a capture file.
36 <application>Wireshark</application> provides both a graphical and TTY-mode
37 front-end for examining captured network packets from over 500 protocols,
38 as well as the capability to read capture files from many other popular
39 network analyzers.</para>
40
41 <bridgehead renderas="sect3">Package Information</bridgehead>
42 <itemizedlist spacing="compact">
43 <listitem>
44 <para>Download (HTTP): <ulink url="&wireshark-download-http;"/></para>
45 </listitem>
46 <listitem>
47 <para>Download (FTP): <ulink url="&wireshark-download-ftp;"/></para>
48 </listitem>
49 <listitem>
50 <para>Download MD5 sum: &wireshark-md5sum;</para>
51 </listitem>
52 <listitem>
53 <para>Download size: &wireshark-size;</para>
54 </listitem>
55 <listitem>
56 <para>Estimated disk space required: &wireshark-buildsize;</para>
57 </listitem>
58 <listitem>
59 <para>Estimated build time: &wireshark-time;</para>
60 </listitem>
61 </itemizedlist>
62
63 <bridgehead renderas="sect3">Additional Downloads</bridgehead>
64 <itemizedlist spacing="compact">
65 <listitem>
66 <para>Additional Documentation: <ulink
67 url="http://www.wireshark.org/docs/"/></para>
68 </listitem>
69 </itemizedlist>
70
71 <para>From this page you can download many different docs in a variety
72 of formats.</para>
73
74 <bridgehead renderas="sect3">Wireshark dependencies</bridgehead>
75
76 <bridgehead renderas="sect4">Required</bridgehead>
77 <para role="required"><xref linkend="GLib"/> or <xref linkend="glib2"/>
78 (to build the TTY-mode front-end only)</para>
79
80 <para>Note that if you don't have <application>Gtk+</application>
81 installed, you will need to pass <option>--disable-wireshark</option>
82 to the <command>configure</command> command.</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;/wireshark"/></para>
118
119 </sect2>
120
121 <sect2 role="kernel" id="wireshark-kernel">
122 <title>Kernel Configuration</title>
123
124 <para>The kernel must have the Packet protocol enabled for
125 <application>Wireshark</application> to capture live packets from the
126 network. Enable the Packet protocol by choosing <quote>Y</quote> in the
127 <quote>Networking</quote> &ndash; <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="wireshark wireshark-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 Wireshark</title>
141
142 <para>Install <application>Wireshark</application> by running the following
143 commands:</para>
144
145<screen><userinput>./configure --prefix=/usr \
146 --sysconfdir=/etc \
147 --enable-threads &amp;&amp;
148make</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 &amp;&amp;
155
156install -v -m755 -d /usr/share/doc/wireshark-&wireshark-version; &amp;&amp;
157install -v -m644 FAQ README{,.linux} doc/README.* doc/*.{pod,txt} \
158 /usr/share/doc/wireshark-&wireshark-version; &amp;&amp;
159pushd /usr/share/doc/wireshark-&wireshark-version; &amp;&amp;
160for FILENAME in ../../wireshark/*.html; do \
161 ln -s -v $FILENAME .
162done &amp;&amp;
163popd &amp;&amp;
164
165install -v -m644 -D wireshark.desktop \
166 /usr/share/applications/wireshark.desktop &amp;&amp;
167install -v -m644 -D image/wsicon48.png \
168 /usr/share/pixmaps/wireshark.png &amp;&amp;
169install -v -m755 -d /usr/share/pixmaps/wireshark &amp;&amp;
170install -v -m644 image/*.{png,ico,xpm,bmp} \
171 /usr/share/pixmaps/wireshark</userinput></screen>
172
173 <para>If you downloaded any of the documentation files from the page
174 listed in the 'Additional Downloads', install them by issuing the following
175 commands as the <systemitem class="username">root</systemitem> user:</para>
176
177<screen role="root"><userinput>install -v -m644 <replaceable>&lt;Downloaded_Files&gt;</replaceable> /usr/share/doc/wireshark-&wireshark-version;</userinput></screen>
178
179 </sect2>
180
181 <sect2 role="commands">
182 <title>Command Explanations</title>
183
184 <para><parameter>--enable-threads</parameter>: This parameter enables the
185 use of threads in <command>wireshark</command>.</para>
186
187 <para><option>--with-ssl</option>: This parameter is required if you
188 are linking Kerberos libraries into the build so that the
189 <application>OpenSSL</application>
190 <filename class='libraryfile'>libcrypto</filename> library is found.</para>
191
192 </sect2>
193
194 <sect2 role="configuration">
195 <title>Configuring Wireshark</title>
196
197 <sect3 id="wireshark-config">
198 <title>Config Files</title>
199
200 <para><filename>/etc/wireshark.conf</filename> and
201 <filename>~/.wireshark/*</filename></para>
202
203 <indexterm zone="wireshark wireshark-config">
204 <primary sortas="e-AA.wireshark-star">~/.wireshark/*</primary>
205 </indexterm>
206
207 <indexterm zone="wireshark wireshark-config">
208 <primary sortas="e-etc-wireshark.conf">/etc/wireshark.conf</primary>
209 </indexterm>
210
211 </sect3>
212
213 <sect3>
214 <title>Configuration Information</title>
215
216 <para>Though the default configuration parameters are very sane,
217 reference the configuration section of the
218 <ulink url="http://www.wireshark.org/docs/wsug_html/">Wireshark User's
219 Guide</ulink> for configuration information. Most of
220 <application>Wireshark</application>'s configuration can be accomplished
221 using the menu options of the <command>wireshark</command>
222 graphical interface.</para>
223
224 <note>
225 <para>If you want to look at packets, make sure you don't filter
226 them out with <xref linkend="iptables"/>. If you want to exclude
227 certain classes of packets, it is more efficient to do it with
228 <application>iptables</application> than it is with
229 <application>Wireshark</application>.</para>
230 </note>
231
232 </sect3>
233
234 </sect2>
235
236 <sect2 role="content">
237 <title>Contents</title>
238
239 <segmentedlist>
240 <segtitle>Installed Programs</segtitle>
241 <segtitle>Installed Libraries</segtitle>
242 <segtitle>Installed Directories</segtitle>
243
244 <seglistitem>
245 <seg>capinfos, dftest, dumpcap, editcap, idl2wrs, mergecap, randpkt,
246 text2pcap, tshark and wireshark</seg>
247 <seg>libwireshark.so, libwiretap.so and numerous dissector plugin
248 modules</seg>
249 <seg>/usr/lib/wireshark, /usr/share/doc/wireshark-&wireshark-version;,
250 /usr/share/pixmaps/wireshark and /usr/share/wireshark</seg>
251 </seglistitem>
252 </segmentedlist>
253
254 <variablelist>
255 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
256 <?dbfo list-presentation="list"?>
257 <?dbhtml list-presentation="table"?>
258
259 <varlistentry id="capinfos">
260 <term><command>capinfos</command></term>
261 <listitem>
262 <para>reads a saved capture file and returns any or all of several
263 statistics about that file. It is able to detect and read any capture
264 supported by the <application>Wireshark</application> package.</para>
265 <indexterm zone="wireshark capinfos">
266 <primary sortas="b-capinfos">capinfos</primary>
267 </indexterm>
268 </listitem>
269 </varlistentry>
270
271 <varlistentry id="dftest">
272 <term><command>dftest</command></term>
273 <listitem>
274 <para>is a display-filter-compiler test program.</para>
275 <indexterm zone="wireshark dftest">
276 <primary sortas="b-dftest">dftest</primary>
277 </indexterm>
278 </listitem>
279 </varlistentry>
280
281 <varlistentry id="dumpcap">
282 <term><command>dumpcap</command></term>
283 <listitem>
284 <para>is a network traffic dump tool. It lets you capture packet data
285 from a live network and write the packets to a file.</para>
286 <indexterm zone="wireshark dumpcap">
287 <primary sortas="b-dumpcap">dumpcap</primary>
288 </indexterm>
289 </listitem>
290 </varlistentry>
291
292 <varlistentry id="editcap">
293 <term><command>editcap</command></term>
294 <listitem>
295 <para>edits and/or translates the format of capture files. It knows
296 how to read <application>libpcap</application> capture files,
297 including those of <command>tcpdump</command>,
298 <application>Wireshark</application> and other tools that write
299 captures in that format.</para>
300 <indexterm zone="wireshark editcap">
301 <primary sortas="b-editcap">editcap</primary>
302 </indexterm>
303 </listitem>
304 </varlistentry>
305
306 <varlistentry id="idl2wrs">
307 <term><command>idl2wrs</command></term>
308 <listitem>
309 <para>takes a user specified CORBA
310 IDL file and generates <quote>C</quote> source code that
311 can be used to create an <application>Wireshark</application>
312 plugin.</para>
313 <indexterm zone="wireshark idl2wrs">
314 <primary sortas="b-idl2wrs">idl2wrs</primary>
315 </indexterm>
316 </listitem>
317 </varlistentry>
318
319 <varlistentry id="mergecap">
320 <term><command>mergecap</command></term>
321 <listitem>
322 <para>combines multiple saved capture files into a single output
323 file.</para>
324 <indexterm zone="wireshark mergecap">
325 <primary sortas="b-mergecap">mergecap</primary>
326 </indexterm>
327 </listitem>
328 </varlistentry>
329
330 <varlistentry id="randpkt">
331 <term><command>randpkt</command></term>
332 <listitem>
333 <para>creates random-packet capture files.</para>
334 <indexterm zone="wireshark randpkt">
335 <primary sortas="b-randpkt">randpkt</primary>
336 </indexterm>
337 </listitem>
338 </varlistentry>
339
340 <varlistentry id="text2pcap">
341 <term><command>text2pcap</command></term>
342 <listitem>
343 <para>reads in an ASCII hex dump and writes the
344 data described into a <application>libpcap</application>-style
345 capture file.</para>
346 <indexterm zone="wireshark text2pcap">
347 <primary sortas="b-text2pcap">text2pcap</primary>
348 </indexterm>
349 </listitem>
350 </varlistentry>
351
352 <varlistentry id="tshark">
353 <term><command>tshark</command></term>
354 <listitem>
355 <para>is a TTY-mode network protocol analyzer. It lets you capture
356 packet data from a live network or read packets from a
357 previously saved capture file.</para>
358 <indexterm zone="wireshark tshark">
359 <primary sortas="b-tshark">tshark</primary>
360 </indexterm>
361 </listitem>
362 </varlistentry>
363
364 <varlistentry id="wireshark-prog">
365 <term><command>wireshark</command></term>
366 <listitem>
367 <para>is a GUI network protocol analyzer. It lets you interactively
368 browse packet data from a live network or from a previously
369 saved capture file.</para>
370 <indexterm zone="wireshark wireshark-prog">
371 <primary sortas="b-wireshark">wireshark</primary>
372 </indexterm>
373 </listitem>
374 </varlistentry>
375
376 <varlistentry id="libwireshark">
377 <term><filename class='libraryfile'>libwireshark.so</filename></term>
378 <listitem>
379 <para>contains functions used by the
380 <application>Wireshark</application> programs to perform filtering and
381 packet capturing.</para>
382 <indexterm zone="wireshark libwireshark">
383 <primary sortas="c-libwireshark">libwireshark.so</primary>
384 </indexterm>
385 </listitem>
386 </varlistentry>
387
388 <varlistentry id="libwiretap">
389 <term><filename class='libraryfile'>libwiretap.so</filename></term>
390 <listitem>
391 <para>is a library being developed as a future replacement for
392 <filename class='libraryfile'>libpcap</filename>, the current
393 standard Unix library for packet capturing. For more information,
394 see the <filename>README</filename> file in the source
395 <filename class='directory'>wiretap</filename> directory.</para>
396 <indexterm zone="wireshark libwiretap">
397 <primary sortas="c-libwiretap">libwiretap.so</primary>
398 </indexterm>
399 </listitem>
400 </varlistentry>
401
402 </variablelist>
403
404 </sect2>
405
406</sect1>
Note: See TracBrowser for help on using the repository browser.