source: basicnet/netutils/wireshark.xml@ ae0887f

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 12.2 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 gimp3 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/for-12.3 xry111/intltool xry111/llvm18 xry111/soup3 xry111/spidermonkey128 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since ae0887f was ae0887f, checked in by Randy McMurchy <randy@…>, 17 years ago

Added new package Libgpg-error-1.5

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

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