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