source: basicnet/netutils/wireshark.xml@ 8250d8e

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 8250d8e was 8250d8e, checked in by Randy McMurchy <randy@…>, 17 years ago

Added new package Libgcrypt-1.2.4

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

  • Property mode set to 100644
File size: 15.0 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"/> (to build the GUI front-end),
91 <xref linkend="openssl"/>,
92 <xref linkend="heimdal"/> or <xref linkend="mitkrb"/>,
93 <xref linkend="python"/>,
94 <xref linkend="pcre"/>,
95 <ulink url="http://www.gnu.org/software/gnutls/">GnuTLS</ulink> (requires
96 <xref linkend="libgcrypt"/>),
97 <ulink url="http://www.net-snmp.org/">Net-SNMP</ulink>,
98 <ulink url="http://www.gnu.org/software/adns/adns.html">adns</ulink>, and
99 <ulink url="http://www.lua.org/">Lua</ulink></para>
100
101 <!-- Though configure looks for all these, and the developers I'm
102 sure use them, the doc sources are not included in the release
103 tarball (they are in SVN, though)
104 <bridgehead renderas="sect4">Optional (to build additional
105 documentation)</bridgehead>
106 <para role="optional"><xref linkend="doxygen"/>,
107 <xref linkend="libxml"/>,
108 <xref linkend="libxslt"/>, and
109 <xref linkend="fop"/></para>
110 -->
111
112 <para condition="html" role="usernotes">User Notes:
113 <ulink url="&blfs-wiki;/wireshark"/></para>
114
115 </sect2>
116
117 <sect2 role="kernel" id="wireshark-kernel">
118 <title>Kernel Configuration</title>
119
120 <para>The kernel must have the Packet protocol enabled for
121 <application>Wireshark</application> to capture live packets from the
122 network. Enable the Packet protocol by choosing <quote>Y</quote> in the
123 <quote>Networking</quote> &ndash; <quote>Packet socket</quote>
124 configuration parameter. Alternatively, build the
125 <filename>af_packet.ko</filename> module by choosing <quote>M</quote> in
126 this parameter.</para>
127
128 <indexterm zone="wireshark wireshark-kernel">
129 <primary sortas="d-Capturing-network-packets">Capturing network
130 packets</primary>
131 </indexterm>
132
133 </sect2>
134
135 <sect2 role="installation">
136 <title>Installation of Wireshark</title>
137
138 <para>Install <application>Wireshark</application> by running the following
139 commands:</para>
140
141<screen><userinput>./configure --prefix=/usr \
142 --sysconfdir=/etc \
143 --enable-threads &amp;&amp;
144make</userinput></screen>
145
146 <para>This package does not come with a test suite.</para>
147
148 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
149
150<screen role="root"><userinput>make install &amp;&amp;
151
152install -v -m755 -d /usr/share/doc/wireshark-&wireshark-version; &amp;&amp;
153install -v -m644 FAQ README{,.linux} doc/README.* doc/*.{pod,txt} \
154 /usr/share/doc/wireshark-&wireshark-version; &amp;&amp;
155pushd /usr/share/doc/wireshark-&wireshark-version; &amp;&amp;
156for FILENAME in ../../wireshark/*.html; do \
157 ln -s -v $FILENAME .
158done &amp;&amp;
159popd &amp;&amp;
160
161install -v -m644 -D wireshark.desktop \
162 /usr/share/applications/wireshark.desktop &amp;&amp;
163install -v -m644 -D image/wsicon48.png \
164 /usr/share/pixmaps/wireshark.png &amp;&amp;
165install -v -m755 -d /usr/share/pixmaps/wireshark &amp;&amp;
166install -v -m644 image/*.{png,ico,xpm,bmp} \
167 /usr/share/pixmaps/wireshark</userinput></screen>
168
169 <para>If you downloaded any of the documentation files from the page
170 listed in the 'Additional Downloads', install them by issuing the following
171 commands as the <systemitem class="username">root</systemitem> user:</para>
172
173<screen role="root"><userinput>install -v -m644 <replaceable>&lt;Downloaded_Files&gt;</replaceable> /usr/share/doc/wireshark-&wireshark-version;</userinput></screen>
174
175 </sect2>
176
177 <sect2 role="commands">
178 <title>Command Explanations</title>
179
180 <para><parameter>--enable-threads</parameter>: This parameter enables the
181 use of threads in <command>wireshark</command>.</para>
182
183 <para><option>--with-ssl</option>: This parameter is required if you
184 are linking Kerberos libraries into the build so that the
185 <application>OpenSSL</application>
186 <filename class='libraryfile'>libcrypto</filename> library is found.</para>
187
188 </sect2>
189
190 <sect2 role="configuration">
191 <title>Configuring Wireshark</title>
192
193 <sect3 id="wireshark-config">
194 <title>Config Files</title>
195
196 <para><filename>/etc/wireshark.conf</filename> and
197 <filename>~/.wireshark/*</filename></para>
198
199 <indexterm zone="wireshark wireshark-config">
200 <primary sortas="e-AA.wireshark-star">~/.wireshark/*</primary>
201 </indexterm>
202
203 <indexterm zone="wireshark wireshark-config">
204 <primary sortas="e-etc-wireshark.conf">/etc/wireshark.conf</primary>
205 </indexterm>
206
207 </sect3>
208
209 <sect3>
210 <title>Configuration Information</title>
211
212 <para>Though the default configuration parameters are very sane,
213 reference the configuration section of the
214 <ulink url="http://www.wireshark.org/docs/wsug_html/">Wireshark User's
215 Guide</ulink> for configuration information. Most of
216 <application>Wireshark</application>'s configuration can be accomplished
217 using the menu options of the <command>wireshark</command>
218 graphical interface.</para>
219
220 <note>
221 <para>If you want to look at packets, make sure you don't filter
222 them out with <xref linkend="iptables"/>. If you want to exclude
223 certain classes of packets, it is more efficient to do it with
224 <application>iptables</application> than it is with
225 <application>Wireshark</application>.</para>
226 </note>
227
228 </sect3>
229
230 </sect2>
231
232 <sect2 role="content">
233 <title>Contents</title>
234
235 <segmentedlist>
236 <segtitle>Installed Programs</segtitle>
237 <segtitle>Installed Libraries</segtitle>
238 <segtitle>Installed Directories</segtitle>
239
240 <seglistitem>
241 <seg>capinfos, dftest, dumpcap, editcap, idl2wrs, mergecap, randpkt,
242 text2pcap, tshark and wireshark</seg>
243 <seg>libwireshark.so, libwiretap.so and numerous dissector plugin
244 modules</seg>
245 <seg>/usr/lib/wireshark, /usr/share/doc/wireshark-&wireshark-version;,
246 /usr/share/pixmaps/wireshark and /usr/share/wireshark</seg>
247 </seglistitem>
248 </segmentedlist>
249
250 <variablelist>
251 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
252 <?dbfo list-presentation="list"?>
253 <?dbhtml list-presentation="table"?>
254
255 <varlistentry id="capinfos">
256 <term><command>capinfos</command></term>
257 <listitem>
258 <para>reads a saved capture file and returns any or all of several
259 statistics about that file. It is able to detect and read any capture
260 supported by the <application>Wireshark</application> package.</para>
261 <indexterm zone="wireshark capinfos">
262 <primary sortas="b-capinfos">capinfos</primary>
263 </indexterm>
264 </listitem>
265 </varlistentry>
266
267 <varlistentry id="dftest">
268 <term><command>dftest</command></term>
269 <listitem>
270 <para>is a display-filter-compiler test program.</para>
271 <indexterm zone="wireshark dftest">
272 <primary sortas="b-dftest">dftest</primary>
273 </indexterm>
274 </listitem>
275 </varlistentry>
276
277 <varlistentry id="dumpcap">
278 <term><command>dumpcap</command></term>
279 <listitem>
280 <para>is a network traffic dump tool. It lets you capture packet data
281 from a live network and write the packets to a file.</para>
282 <indexterm zone="wireshark dumpcap">
283 <primary sortas="b-dumpcap">dumpcap</primary>
284 </indexterm>
285 </listitem>
286 </varlistentry>
287
288 <varlistentry id="editcap">
289 <term><command>editcap</command></term>
290 <listitem>
291 <para>edits and/or translates the format of capture files. It knows
292 how to read <application>libpcap</application> capture files,
293 including those of <command>tcpdump</command>,
294 <application>Wireshark</application> and other tools that write
295 captures in that format.</para>
296 <indexterm zone="wireshark editcap">
297 <primary sortas="b-editcap">editcap</primary>
298 </indexterm>
299 </listitem>
300 </varlistentry>
301
302 <varlistentry id="idl2wrs">
303 <term><command>idl2wrs</command></term>
304 <listitem>
305 <para>takes a user specified CORBA
306 IDL file and generates <quote>C</quote> source code that
307 can be used to create an <application>Wireshark</application>
308 plugin.</para>
309 <indexterm zone="wireshark idl2wrs">
310 <primary sortas="b-idl2wrs">idl2wrs</primary>
311 </indexterm>
312 </listitem>
313 </varlistentry>
314
315 <varlistentry id="mergecap">
316 <term><command>mergecap</command></term>
317 <listitem>
318 <para>combines multiple saved capture files into a single output
319 file.</para>
320 <indexterm zone="wireshark mergecap">
321 <primary sortas="b-mergecap">mergecap</primary>
322 </indexterm>
323 </listitem>
324 </varlistentry>
325
326 <varlistentry id="randpkt">
327 <term><command>randpkt</command></term>
328 <listitem>
329 <para>creates random-packet capture files.</para>
330 <indexterm zone="wireshark randpkt">
331 <primary sortas="b-randpkt">randpkt</primary>
332 </indexterm>
333 </listitem>
334 </varlistentry>
335
336 <varlistentry id="text2pcap">
337 <term><command>text2pcap</command></term>
338 <listitem>
339 <para>reads in an ASCII hex dump and writes the
340 data described into a <application>libpcap</application>-style
341 capture file.</para>
342 <indexterm zone="wireshark text2pcap">
343 <primary sortas="b-text2pcap">text2pcap</primary>
344 </indexterm>
345 </listitem>
346 </varlistentry>
347
348 <varlistentry id="tshark">
349 <term><command>tshark</command></term>
350 <listitem>
351 <para>is a TTY-mode network protocol analyzer. It lets you capture
352 packet data from a live network or read packets from a
353 previously saved capture file.</para>
354 <indexterm zone="wireshark tshark">
355 <primary sortas="b-tshark">tshark</primary>
356 </indexterm>
357 </listitem>
358 </varlistentry>
359
360 <varlistentry id="wireshark-prog">
361 <term><command>wireshark</command></term>
362 <listitem>
363 <para>is a GUI network protocol analyzer. It lets you interactively
364 browse packet data from a live network or from a previously
365 saved capture file.</para>
366 <indexterm zone="wireshark wireshark-prog">
367 <primary sortas="b-wireshark">wireshark</primary>
368 </indexterm>
369 </listitem>
370 </varlistentry>
371
372 <varlistentry id="libwireshark">
373 <term><filename class='libraryfile'>libwireshark.so</filename></term>
374 <listitem>
375 <para>contains functions used by the
376 <application>Wireshark</application> programs to perform filtering and
377 packet capturing.</para>
378 <indexterm zone="wireshark libwireshark">
379 <primary sortas="c-libwireshark">libwireshark.so</primary>
380 </indexterm>
381 </listitem>
382 </varlistentry>
383
384 <varlistentry id="libwiretap">
385 <term><filename class='libraryfile'>libwiretap.so</filename></term>
386 <listitem>
387 <para>is a library being developed as a future replacement for
388 <filename class='libraryfile'>libpcap</filename>, the current
389 standard Unix library for packet capturing. For more information,
390 see the <filename>README</filename> file in the source
391 <filename class='directory'>wiretap</filename> directory.</para>
392 <indexterm zone="wireshark libwiretap">
393 <primary sortas="c-libwiretap">libwiretap.so</primary>
394 </indexterm>
395 </listitem>
396 </varlistentry>
397
398 </variablelist>
399
400 </sect2>
401
402</sect1>
Note: See TracBrowser for help on using the repository browser.