[1a3dd316] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
[6732c094] | 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
[1a3dd316] | 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 |
|
---|
[3bb415b] | 7 | <!ENTITY wireshark-download-http "https://www.wireshark.org/download/src/all-versions/wireshark-&wireshark-version;.tar.xz">
|
---|
[7fd159db] | 8 | <!ENTITY wireshark-download-ftp " ">
|
---|
[6542dcc] | 9 | <!ENTITY wireshark-md5sum "5b486f20239545c5af1db614c0d98876">
|
---|
[d72d218] | 10 | <!ENTITY wireshark-size "29 MB">
|
---|
[d7f7232] | 11 | <!ENTITY wireshark-buildsize "554 MB (with all optional dependencies available in the BLFS book)">
|
---|
[a6a4a3d] | 12 | <!ENTITY wireshark-time "2.4 SBU (with parallelism=4 and all optional dependencies available in the BLFS book)">
|
---|
[1a3dd316] | 13 | ]>
|
---|
| 14 |
|
---|
[894de226] | 15 | <sect1 id="wireshark" xreflabel="Wireshark-&wireshark-version;">
|
---|
| 16 | <?dbhtml filename="wireshark.html"?>
|
---|
[50b8d8b] | 17 |
|
---|
[13659efc] | 18 | <sect1info>
|
---|
| 19 | <othername>$LastChangedBy$</othername>
|
---|
| 20 | <date>$Date$</date>
|
---|
| 21 | </sect1info>
|
---|
[50b8d8b] | 22 |
|
---|
[894de226] | 23 | <title>Wireshark-&wireshark-version;</title>
|
---|
[50b8d8b] | 24 |
|
---|
[894de226] | 25 | <indexterm zone="wireshark">
|
---|
| 26 | <primary sortas="a-Wireshark">Wireshark</primary>
|
---|
[13659efc] | 27 | </indexterm>
|
---|
| 28 |
|
---|
| 29 | <sect2 role="package">
|
---|
[894de226] | 30 | <title>Introduction to Wireshark</title>
|
---|
[13659efc] | 31 |
|
---|
[7014c9d] | 32 | <para>
|
---|
| 33 | The <application>Wireshark</application> package contains a network
|
---|
| 34 | protocol analyzer, also known as a <quote>sniffer</quote>. This is useful
|
---|
| 35 | for analyzing data captured <quote>off the wire</quote> from a live
|
---|
| 36 | network connection, or data read from a capture file.
|
---|
| 37 | </para>
|
---|
| 38 |
|
---|
| 39 | <para>
|
---|
| 40 | <application>Wireshark</application> provides both a graphical and a
|
---|
| 41 | TTY-mode front-end for examining captured network packets from over 500
|
---|
| 42 | protocols, as well as the capability to read capture files from many
|
---|
| 43 | other popular network analyzers.
|
---|
| 44 | </para>
|
---|
[50b8d8b] | 45 |
|
---|
[22c3cdd7] | 46 | &lfs90_checked;
|
---|
[a079e73c] | 47 |
|
---|
[13659efc] | 48 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 49 | <itemizedlist spacing="compact">
|
---|
| 50 | <listitem>
|
---|
[894de226] | 51 | <para>Download (HTTP): <ulink url="&wireshark-download-http;"/></para>
|
---|
[13659efc] | 52 | </listitem>
|
---|
| 53 | <listitem>
|
---|
[894de226] | 54 | <para>Download (FTP): <ulink url="&wireshark-download-ftp;"/></para>
|
---|
[13659efc] | 55 | </listitem>
|
---|
| 56 | <listitem>
|
---|
[894de226] | 57 | <para>Download MD5 sum: &wireshark-md5sum;</para>
|
---|
[13659efc] | 58 | </listitem>
|
---|
| 59 | <listitem>
|
---|
[894de226] | 60 | <para>Download size: &wireshark-size;</para>
|
---|
[13659efc] | 61 | </listitem>
|
---|
| 62 | <listitem>
|
---|
[894de226] | 63 | <para>Estimated disk space required: &wireshark-buildsize;</para>
|
---|
[13659efc] | 64 | </listitem>
|
---|
| 65 | <listitem>
|
---|
[894de226] | 66 | <para>Estimated build time: &wireshark-time;</para>
|
---|
[2174baa] | 67 | </listitem>
|
---|
[13659efc] | 68 | </itemizedlist>
|
---|
[50b8d8b] | 69 |
|
---|
[3932f297] | 70 | <bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
---|
[9f12e36] | 71 | <itemizedlist spacing="compact">
|
---|
[b11e915] | 72 | <listitem>
|
---|
[7014c9d] | 73 | <para>
|
---|
| 74 | Additional Documentation:
|
---|
| 75 | <ulink url="https://www.wireshark.org/download/docs/"/>
|
---|
| 76 | (contains links to several different docs in a variety of formats)
|
---|
[b11e915] | 77 | </para>
|
---|
| 78 | </listitem>
|
---|
[3932f297] | 79 | </itemizedlist>
|
---|
| 80 |
|
---|
[894de226] | 81 | <bridgehead renderas="sect3">Wireshark dependencies</bridgehead>
|
---|
[50b8d8b] | 82 |
|
---|
[13659efc] | 83 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
[6b14cb2] | 84 | <para role="required">
|
---|
[a1108958] | 85 | <xref linkend="glib2"/>,
|
---|
| 86 | <xref linkend="libgcrypt"/>, and
|
---|
| 87 | <xref linkend="qt5"/>
|
---|
[6b14cb2] | 88 | </para>
|
---|
[50b8d8b] | 89 |
|
---|
[13659efc] | 90 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
[a079e73c] | 91 | <para role="recommended">
|
---|
[65546bb] | 92 | <xref linkend="libpcap"/> (required to capture data)
|
---|
[a079e73c] | 93 | </para>
|
---|
[50b8d8b] | 94 |
|
---|
[13659efc] | 95 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[9ef15dba] | 96 | <para role="optional">
|
---|
[4464d405] | 97 | <xref linkend="c-ares"/>,
|
---|
[a1108958] | 98 | <xref linkend="doxygen"/>,
|
---|
| 99 | <xref linkend="git"/>,
|
---|
[94e2b39a] | 100 | <xref linkend="gnutls"/>,
|
---|
[791e3e7d] | 101 | <xref linkend="libnl"/>,
|
---|
[5c2345ff] | 102 | <xref linkend="libxslt"/>,
|
---|
[a1108958] | 103 | <xref linkend="libxml2"/>,
|
---|
| 104 | <xref linkend="lua52"/>,
|
---|
[a079e73c] | 105 | <xref linkend="mitkrb"/>,
|
---|
[3bb415b] | 106 | <xref linkend="nghttp2"/>,
|
---|
[791e3e7d] | 107 | <xref linkend="sbc"/>,
|
---|
[a1108958] | 108 | <ulink url="https://asciidoctor.org/">Asciidoctor</ulink>,
|
---|
| 109 | <ulink url="https://www.linphone.org/technical-corner/bcg729">BCG729</ulink>,
|
---|
[791e3e7d] | 110 | <ulink url="http://www.ibr.cs.tu-bs.de/projects/libsmi/">libsmi</ulink>,
|
---|
[3bb415b] | 111 | <ulink url="http://lz4.github.io/lz4/">lz4</ulink>,
|
---|
| 112 | <ulink url="https://www.libssh.org/">libssh</ulink>,
|
---|
[a1108958] | 113 | <ulink url="https://github.com/maxmind/libmaxminddb">MaxMindDB</ulink>,
|
---|
[3bb415b] | 114 | <ulink url="http://google.github.io/snappy/">Snappy</ulink>, and
|
---|
| 115 | <ulink url="https://www.soft-switch.org/">Spandsp</ulink>
|
---|
[a079e73c] | 116 | </para>
|
---|
[28d83dbc] | 117 |
|
---|
[7014c9d] | 118 | <para condition="html" role="usernotes">
|
---|
| 119 | User Notes: <ulink url="&blfs-wiki;/wireshark"/>
|
---|
| 120 | </para>
|
---|
[061ec9d] | 121 |
|
---|
[13659efc] | 122 | </sect2>
|
---|
[50b8d8b] | 123 |
|
---|
[894de226] | 124 | <sect2 role="kernel" id="wireshark-kernel">
|
---|
[13659efc] | 125 | <title>Kernel Configuration</title>
|
---|
[50b8d8b] | 126 |
|
---|
[7014c9d] | 127 | <para>
|
---|
| 128 | The kernel must have the Packet protocol enabled for <application>
|
---|
| 129 | Wireshark</application> to capture live packets from the network:
|
---|
| 130 | </para>
|
---|
[6d772cc] | 131 |
|
---|
[196d393] | 132 | <screen><literal>[*] Networking support ---> [CONFIG_NET]
|
---|
| 133 | Networking options --->
|
---|
| 134 | <*/M> Packet socket [CONFIG_PACKET]</literal></screen>
|
---|
[6b14cb2] | 135 |
|
---|
[7014c9d] | 136 | <para>
|
---|
| 137 | If built as a module, the name is <filename>af_packet.ko</filename>.
|
---|
| 138 | </para>
|
---|
[50b8d8b] | 139 |
|
---|
[7014c9d] | 140 | <indexterm zone="wireshark wireshark-kernel">
|
---|
| 141 | <primary sortas="d-Capturing-network-packets">
|
---|
| 142 | Capturing network packets
|
---|
| 143 | </primary>
|
---|
| 144 | </indexterm>
|
---|
[50b8d8b] | 145 |
|
---|
[13659efc] | 146 | </sect2>
|
---|
[50b8d8b] | 147 |
|
---|
[13659efc] | 148 | <sect2 role="installation">
|
---|
[894de226] | 149 | <title>Installation of Wireshark</title>
|
---|
[13659efc] | 150 |
|
---|
[7014c9d] | 151 | <para>
|
---|
| 152 | <application>Wireshark</application> is a very large and complex
|
---|
| 153 | application. These instructions provide additional security measures to
|
---|
| 154 | ensure that only trusted users are allowed to view network traffic. First,
|
---|
| 155 | set up a system group for wireshark. As the <systemitem
|
---|
| 156 | class="username">root</systemitem> user:
|
---|
| 157 | </para>
|
---|
[a079e73c] | 158 |
|
---|
| 159 | <screen role="root"><userinput>groupadd -g 62 wireshark</userinput></screen>
|
---|
| 160 |
|
---|
[7014c9d] | 161 | <para>
|
---|
| 162 | Continue to install <application>Wireshark</application> by running
|
---|
| 163 | the following commands:
|
---|
| 164 | </para>
|
---|
[13659efc] | 165 |
|
---|
[a1108958] | 166 | <screen><userinput>mkdir build &&
|
---|
| 167 | cd build &&
|
---|
[791e3e7d] | 168 |
|
---|
[a1108958] | 169 | cmake -DCMAKE_INSTALL_PREFIX=/usr \
|
---|
| 170 | -DCMAKE_BUILD_TYPE=Release \
|
---|
[235d561b] | 171 | -DCMAKE_INSTALL_DOCDIR=/usr/share/doc/wireshark-&wireshark-version; \
|
---|
[a1108958] | 172 | -G Ninja \
|
---|
| 173 | .. &&
|
---|
| 174 | ninja</userinput></screen>
|
---|
[28d83dbc] | 175 |
|
---|
[7014c9d] | 176 | <para>
|
---|
| 177 | This package does not come with a test suite.
|
---|
| 178 | </para>
|
---|
[50b8d8b] | 179 |
|
---|
[7014c9d] | 180 | <para>
|
---|
| 181 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 182 | </para>
|
---|
[50b8d8b] | 183 |
|
---|
[a1108958] | 184 | <screen role="root"><userinput>ninja install &&
|
---|
[894de226] | 185 |
|
---|
| 186 | install -v -m755 -d /usr/share/doc/wireshark-&wireshark-version; &&
|
---|
[235d561b] | 187 | install -v -m644 ../README.linux ../doc/README.* ../doc/{*.pod,randpkt.txt} \
|
---|
[894de226] | 188 | /usr/share/doc/wireshark-&wireshark-version; &&
|
---|
[a079e73c] | 189 |
|
---|
[894de226] | 190 | pushd /usr/share/doc/wireshark-&wireshark-version; &&
|
---|
[0d7900a] | 191 | for FILENAME in ../../wireshark/*.html; do
|
---|
[2061231] | 192 | ln -s -v -f $FILENAME .
|
---|
[a079e73c] | 193 | done &&
|
---|
[791e3e7d] | 194 | popd
|
---|
| 195 | unset FILENAME</userinput></screen>
|
---|
[3932f297] | 196 |
|
---|
[7014c9d] | 197 | <para>
|
---|
| 198 | If you downloaded any of the documentation files from the page
|
---|
| 199 | listed in the 'Additional Downloads', install them by issuing the
|
---|
| 200 | following commands as the <systemitem class="username">root</systemitem>
|
---|
| 201 | user:
|
---|
| 202 | </para>
|
---|
[3932f297] | 203 |
|
---|
[06908bf6] | 204 | <screen role="root"
|
---|
| 205 | remap="doc"><userinput>install -v -m644 <replaceable><Downloaded_Files></replaceable> \
|
---|
[6d772cc] | 206 | /usr/share/doc/wireshark-&wireshark-version;</userinput></screen>
|
---|
[50b8d8b] | 207 |
|
---|
[7014c9d] | 208 | <para>
|
---|
| 209 | Now, set ownership and permissions of sensitive applications to only
|
---|
| 210 | allow authorized users. As the <systemitem class="username">root
|
---|
| 211 | </systemitem> user:
|
---|
| 212 | </para>
|
---|
[a079e73c] | 213 |
|
---|
| 214 | <screen role="root"><userinput>chown -v root:wireshark /usr/bin/{tshark,dumpcap} &&
|
---|
| 215 | chmod -v 6550 /usr/bin/{tshark,dumpcap}</userinput></screen>
|
---|
| 216 |
|
---|
[7014c9d] | 217 | <para>
|
---|
| 218 | Finally, add any users to the wireshark group (as <systemitem class=
|
---|
| 219 | "username">root</systemitem> user):
|
---|
| 220 | </para>
|
---|
[b85a77f] | 221 |
|
---|
[4147841] | 222 | <screen role="root"><userinput>usermod -a -G wireshark <replaceable><username></replaceable></userinput></screen>
|
---|
[a079e73c] | 223 |
|
---|
[791e3e7d] | 224 | <para>
|
---|
| 225 | If you are installing wireshark for the first time, it will be necessary
|
---|
| 226 | to leave the session and login again, thus you will now have wireshark
|
---|
| 227 | between your groups, otherwise, it will not run properly.
|
---|
| 228 | </para>
|
---|
| 229 |
|
---|
[13659efc] | 230 | </sect2>
|
---|
[a1108958] | 231 | <!--
|
---|
[13659efc] | 232 | <sect2 role="commands">
|
---|
| 233 | <title>Command Explanations</title>
|
---|
[50b8d8b] | 234 |
|
---|
[6d772cc] | 235 | <para>
|
---|
[a1108958] | 236 | <option>- -disable-wireshark</option>: Use this switch if you
|
---|
[3bb415b] | 237 | have <application>Qt</application> installed but do not want to build
|
---|
[7014c9d] | 238 | any of the GUIs.
|
---|
| 239 | </para>
|
---|
[13659efc] | 240 | </sect2>
|
---|
[a1108958] | 241 | -->
|
---|
[50b8d8b] | 242 |
|
---|
[13659efc] | 243 | <sect2 role="configuration">
|
---|
[894de226] | 244 | <title>Configuring Wireshark</title>
|
---|
[13659efc] | 245 |
|
---|
[894de226] | 246 | <sect3 id="wireshark-config">
|
---|
[13659efc] | 247 | <title>Config Files</title>
|
---|
[50b8d8b] | 248 |
|
---|
[894de226] | 249 | <para><filename>/etc/wireshark.conf</filename> and
|
---|
[791e3e7d] | 250 | <filename>~/.config/wireshark/*</filename> (unless there is already
|
---|
| 251 | <filename>~/.wireshark/*</filename> in the system)</para>
|
---|
[50b8d8b] | 252 |
|
---|
[894de226] | 253 | <indexterm zone="wireshark wireshark-config">
|
---|
| 254 | <primary sortas="e-AA.wireshark-star">~/.wireshark/*</primary>
|
---|
[13659efc] | 255 | </indexterm>
|
---|
[50b8d8b] | 256 |
|
---|
[894de226] | 257 | <indexterm zone="wireshark wireshark-config">
|
---|
| 258 | <primary sortas="e-etc-wireshark.conf">/etc/wireshark.conf</primary>
|
---|
[13659efc] | 259 | </indexterm>
|
---|
[50b8d8b] | 260 |
|
---|
[13659efc] | 261 | </sect3>
|
---|
[50b8d8b] | 262 |
|
---|
[13659efc] | 263 | <sect3>
|
---|
| 264 | <title>Configuration Information</title>
|
---|
[50b8d8b] | 265 |
|
---|
[791e3e7d] | 266 | <para>Though the default configuration parameters are very sane, reference
|
---|
| 267 | the configuration section of the <ulink
|
---|
| 268 | url="http://www.wireshark.org/docs/wsug_html/">Wireshark User's
|
---|
[1065a91] | 269 | Guide</ulink> for configuration information. Most of
|
---|
[894de226] | 270 | <application>Wireshark</application>'s configuration can be accomplished
|
---|
[791e3e7d] | 271 | using the menu options of the <command>wireshark</command> graphical
|
---|
| 272 | interfaces.</para>
|
---|
[50b8d8b] | 273 |
|
---|
[13659efc] | 274 | <note>
|
---|
[791e3e7d] | 275 | <para>If you want to look at packets, make sure you don't filter them
|
---|
| 276 | out with <xref linkend="iptables"/>. If you want to exclude certain
|
---|
| 277 | classes of packets, it is more efficient to do it with
|
---|
[894de226] | 278 | <application>iptables</application> than it is with
|
---|
| 279 | <application>Wireshark</application>.</para>
|
---|
[13659efc] | 280 | </note>
|
---|
[50b8d8b] | 281 |
|
---|
[13659efc] | 282 | </sect3>
|
---|
[50b8d8b] | 283 |
|
---|
[13659efc] | 284 | </sect2>
|
---|
[50b8d8b] | 285 |
|
---|
[13659efc] | 286 | <sect2 role="content">
|
---|
| 287 | <title>Contents</title>
|
---|
| 288 |
|
---|
| 289 | <segmentedlist>
|
---|
| 290 | <segtitle>Installed Programs</segtitle>
|
---|
| 291 | <segtitle>Installed Libraries</segtitle>
|
---|
| 292 | <segtitle>Installed Directories</segtitle>
|
---|
[50b8d8b] | 293 |
|
---|
[13659efc] | 294 | <seglistitem>
|
---|
[791e3e7d] | 295 | <seg>
|
---|
[a1108958] | 296 | capinfos, captype, dumpcap, editcap, idl2wrs,
|
---|
[3bb415b] | 297 | mergecap, randpkt, rawshark, reordercap, sharkd,
|
---|
[a1108958] | 298 | text2pcap, tshark, and wireshark
|
---|
[791e3e7d] | 299 | </seg>
|
---|
| 300 | <seg>
|
---|
[a1108958] | 301 | libwireshark.so, libwiretap.so, libwscodecs.so,
|
---|
[7fd159db] | 302 | libwsutil.so, and numerous modules under /usr/lib/wireshark/plugins
|
---|
[791e3e7d] | 303 | </seg>
|
---|
| 304 | <seg>
|
---|
[a1108958] | 305 | /usr/{include,lib,share}/wireshark and
|
---|
[791e3e7d] | 306 | /usr/share/doc/wireshark-&wireshark-version;
|
---|
| 307 | </seg>
|
---|
[13659efc] | 308 | </seglistitem>
|
---|
| 309 | </segmentedlist>
|
---|
[50b8d8b] | 310 |
|
---|
[13659efc] | 311 | <variablelist>
|
---|
| 312 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 313 | <?dbfo list-presentation="list"?>
|
---|
| 314 | <?dbhtml list-presentation="table"?>
|
---|
[50b8d8b] | 315 |
|
---|
[13659efc] | 316 | <varlistentry id="capinfos">
|
---|
| 317 | <term><command>capinfos</command></term>
|
---|
| 318 | <listitem>
|
---|
[1065a91] | 319 | <para>reads a saved capture file and returns any or all of several
|
---|
| 320 | statistics about that file. It is able to detect and read any capture
|
---|
[894de226] | 321 | supported by the <application>Wireshark</application> package.</para>
|
---|
| 322 | <indexterm zone="wireshark capinfos">
|
---|
[13659efc] | 323 | <primary sortas="b-capinfos">capinfos</primary>
|
---|
| 324 | </indexterm>
|
---|
| 325 | </listitem>
|
---|
| 326 | </varlistentry>
|
---|
[50b8d8b] | 327 |
|
---|
[b85a77f] | 328 | <varlistentry id="captype">
|
---|
| 329 | <term><command>captype</command></term>
|
---|
| 330 | <listitem>
|
---|
| 331 | <para>prints the file types of capture files.</para>
|
---|
| 332 | <indexterm zone="wireshark captype">
|
---|
| 333 | <primary sortas="b-captype">captype</primary>
|
---|
| 334 | </indexterm>
|
---|
| 335 | </listitem>
|
---|
| 336 | </varlistentry>
|
---|
| 337 |
|
---|
[894de226] | 338 | <varlistentry id="dumpcap">
|
---|
| 339 | <term><command>dumpcap</command></term>
|
---|
| 340 | <listitem>
|
---|
| 341 | <para>is a network traffic dump tool. It lets you capture packet data
|
---|
| 342 | from a live network and write the packets to a file.</para>
|
---|
| 343 | <indexterm zone="wireshark dumpcap">
|
---|
| 344 | <primary sortas="b-dumpcap">dumpcap</primary>
|
---|
| 345 | </indexterm>
|
---|
| 346 | </listitem>
|
---|
| 347 | </varlistentry>
|
---|
| 348 |
|
---|
[13659efc] | 349 | <varlistentry id="editcap">
|
---|
| 350 | <term><command>editcap</command></term>
|
---|
| 351 | <listitem>
|
---|
[1065a91] | 352 | <para>edits and/or translates the format of capture files. It knows
|
---|
| 353 | how to read <application>libpcap</application> capture files,
|
---|
| 354 | including those of <command>tcpdump</command>,
|
---|
[894de226] | 355 | <application>Wireshark</application> and other tools that write
|
---|
[28d83dbc] | 356 | captures in that format.</para>
|
---|
[894de226] | 357 | <indexterm zone="wireshark editcap">
|
---|
[13659efc] | 358 | <primary sortas="b-editcap">editcap</primary>
|
---|
| 359 | </indexterm>
|
---|
| 360 | </listitem>
|
---|
| 361 | </varlistentry>
|
---|
[50b8d8b] | 362 |
|
---|
[fa30d84] | 363 | <varlistentry id="idl2wrs">
|
---|
| 364 | <term><command>idl2wrs</command></term>
|
---|
| 365 | <listitem>
|
---|
| 366 | <para>is a program that takes a user specified CORBA IDL file and
|
---|
| 367 | generates <quote>C</quote> source code for a
|
---|
| 368 | <application>Wireshark</application> <quote>plugin</quote>. It relies
|
---|
| 369 | on two Python programs <command>wireshark_be.py</command> and
|
---|
| 370 | <command>wireshark_gen.py</command>, which are not installed
|
---|
| 371 | by default. They have to be copied manually from the <filename
|
---|
| 372 | class="directory">tools</filename> directory to the <filename
|
---|
| 373 | class="directory">$PYTHONPATH/site-packages/</filename> directory.
|
---|
| 374 | </para>
|
---|
| 375 | <indexterm zone="wireshark idl2wrs">
|
---|
| 376 | <primary sortas="b-idl2wrs">idl2wrs</primary>
|
---|
| 377 | </indexterm>
|
---|
| 378 | </listitem>
|
---|
| 379 | </varlistentry>
|
---|
| 380 |
|
---|
[13659efc] | 381 | <varlistentry id="mergecap">
|
---|
| 382 | <term><command>mergecap</command></term>
|
---|
| 383 | <listitem>
|
---|
[1065a91] | 384 | <para>combines multiple saved capture files into a single output
|
---|
[13659efc] | 385 | file.</para>
|
---|
[894de226] | 386 | <indexterm zone="wireshark mergecap">
|
---|
[13659efc] | 387 | <primary sortas="b-mergecap">mergecap</primary>
|
---|
| 388 | </indexterm>
|
---|
| 389 | </listitem>
|
---|
| 390 | </varlistentry>
|
---|
[50b8d8b] | 391 |
|
---|
[13659efc] | 392 | <varlistentry id="randpkt">
|
---|
| 393 | <term><command>randpkt</command></term>
|
---|
| 394 | <listitem>
|
---|
| 395 | <para>creates random-packet capture files.</para>
|
---|
[894de226] | 396 | <indexterm zone="wireshark randpkt">
|
---|
[13659efc] | 397 | <primary sortas="b-randpkt">randpkt</primary>
|
---|
| 398 | </indexterm>
|
---|
| 399 | </listitem>
|
---|
| 400 | </varlistentry>
|
---|
[50b8d8b] | 401 |
|
---|
[a079e73c] | 402 | <varlistentry id="rawshark">
|
---|
| 403 | <term><command>rawshark</command></term>
|
---|
| 404 | <listitem>
|
---|
| 405 | <para>dump and analyze raw libpcap data.</para>
|
---|
| 406 | <indexterm zone="wireshark rawshark">
|
---|
| 407 | <primary sortas="b-rawshark">rawshark</primary>
|
---|
| 408 | </indexterm>
|
---|
| 409 | </listitem>
|
---|
| 410 | </varlistentry>
|
---|
| 411 |
|
---|
[2061231] | 412 | <varlistentry id="reordercap">
|
---|
| 413 | <term><command>reordercap</command></term>
|
---|
| 414 | <listitem>
|
---|
| 415 | <para>reorder timestamps of input file frames into output file.</para>
|
---|
| 416 | <indexterm zone="wireshark reordercap">
|
---|
| 417 | <primary sortas="b-reordercap">reordercap</primary>
|
---|
| 418 | </indexterm>
|
---|
| 419 | </listitem>
|
---|
| 420 | </varlistentry>
|
---|
| 421 |
|
---|
[3bb415b] | 422 | <varlistentry id="sharkd">
|
---|
| 423 | <term><command>sharkd</command></term>
|
---|
| 424 | <listitem>
|
---|
| 425 | <para>is a daemon that listens on UNIX sockets.</para>
|
---|
| 426 | <indexterm zone="wireshark sharkd">
|
---|
| 427 | <primary sortas="b-sharkd">sharkd</primary>
|
---|
| 428 | </indexterm>
|
---|
| 429 | </listitem>
|
---|
| 430 | </varlistentry>
|
---|
| 431 |
|
---|
[894de226] | 432 | <varlistentry id="text2pcap">
|
---|
| 433 | <term><command>text2pcap</command></term>
|
---|
| 434 | <listitem>
|
---|
| 435 | <para>reads in an ASCII hex dump and writes the
|
---|
| 436 | data described into a <application>libpcap</application>-style
|
---|
| 437 | capture file.</para>
|
---|
| 438 | <indexterm zone="wireshark text2pcap">
|
---|
| 439 | <primary sortas="b-text2pcap">text2pcap</primary>
|
---|
| 440 | </indexterm>
|
---|
| 441 | </listitem>
|
---|
| 442 | </varlistentry>
|
---|
| 443 |
|
---|
| 444 | <varlistentry id="tshark">
|
---|
| 445 | <term><command>tshark</command></term>
|
---|
[13659efc] | 446 | <listitem>
|
---|
[1065a91] | 447 | <para>is a TTY-mode network protocol analyzer. It lets you capture
|
---|
| 448 | packet data from a live network or read packets from a
|
---|
[13659efc] | 449 | previously saved capture file.</para>
|
---|
[894de226] | 450 | <indexterm zone="wireshark tshark">
|
---|
| 451 | <primary sortas="b-tshark">tshark</primary>
|
---|
[13659efc] | 452 | </indexterm>
|
---|
| 453 | </listitem>
|
---|
| 454 | </varlistentry>
|
---|
[50b8d8b] | 455 |
|
---|
[894de226] | 456 | <varlistentry id="wireshark-prog">
|
---|
| 457 | <term><command>wireshark</command></term>
|
---|
[13659efc] | 458 | <listitem>
|
---|
[791e3e7d] | 459 | <para>
|
---|
| 460 | is the Qt GUI network protocol analyzer. It lets you interactively
|
---|
| 461 | browse packet data from a live network or from a previously saved
|
---|
| 462 | capture file.
|
---|
| 463 | </para>
|
---|
[894de226] | 464 | <indexterm zone="wireshark wireshark-prog">
|
---|
| 465 | <primary sortas="b-wireshark">wireshark</primary>
|
---|
[13659efc] | 466 | </indexterm>
|
---|
| 467 | </listitem>
|
---|
| 468 | </varlistentry>
|
---|
[50b8d8b] | 469 |
|
---|
[791e3e7d] | 470 | <varlistentry id="wireshark-gtk-prog">
|
---|
| 471 | <term><command>wireshark-gtk</command></term>
|
---|
[b85a77f] | 472 | <listitem>
|
---|
[791e3e7d] | 473 | <para>
|
---|
| 474 | is the Gtk+ GUI network protocol analyzer. It lets you interactively
|
---|
| 475 | browse packet data from a live network or from a previously saved
|
---|
[fa30d84] | 476 | capture file (optional).
|
---|
[791e3e7d] | 477 | </para>
|
---|
| 478 | <indexterm zone="wireshark wireshark-gtk-prog">
|
---|
| 479 | <primary sortas="b-wireshark-gtk">wireshark-gtk</primary>
|
---|
[b85a77f] | 480 | </indexterm>
|
---|
| 481 | </listitem>
|
---|
| 482 | </varlistentry>
|
---|
| 483 |
|
---|
[894de226] | 484 | <varlistentry id="libwireshark">
|
---|
| 485 | <term><filename class='libraryfile'>libwireshark.so</filename></term>
|
---|
[13659efc] | 486 | <listitem>
|
---|
[1065a91] | 487 | <para>contains functions used by the
|
---|
[894de226] | 488 | <application>Wireshark</application> programs to perform filtering and
|
---|
[13659efc] | 489 | packet capturing.</para>
|
---|
[894de226] | 490 | <indexterm zone="wireshark libwireshark">
|
---|
| 491 | <primary sortas="c-libwireshark">libwireshark.so</primary>
|
---|
[13659efc] | 492 | </indexterm>
|
---|
| 493 | </listitem>
|
---|
| 494 | </varlistentry>
|
---|
[50b8d8b] | 495 |
|
---|
[13659efc] | 496 | <varlistentry id="libwiretap">
|
---|
| 497 | <term><filename class='libraryfile'>libwiretap.so</filename></term>
|
---|
| 498 | <listitem>
|
---|
[1065a91] | 499 | <para>is a library being developed as a future replacement for
|
---|
| 500 | <filename class='libraryfile'>libpcap</filename>, the current
|
---|
| 501 | standard Unix library for packet capturing. For more information,
|
---|
| 502 | see the <filename>README</filename> file in the source
|
---|
[13659efc] | 503 | <filename class='directory'>wiretap</filename> directory.</para>
|
---|
[894de226] | 504 | <indexterm zone="wireshark libwiretap">
|
---|
[13659efc] | 505 | <primary sortas="c-libwiretap">libwiretap.so</primary>
|
---|
| 506 | </indexterm>
|
---|
| 507 | </listitem>
|
---|
| 508 | </varlistentry>
|
---|
[50b8d8b] | 509 |
|
---|
[13659efc] | 510 | </variablelist>
|
---|
| 511 |
|
---|
| 512 | </sect2>
|
---|
[1a3dd316] | 513 |
|
---|
| 514 | </sect1>
|
---|