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