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