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