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