[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">
|
---|
[13d0d6f0] | 9 | <!ENTITY wireshark-md5sum "c1610ab2238965363b811e5188750fb1">
|
---|
[791e3e7d] | 10 | <!ENTITY wireshark-size "30 MB">
|
---|
[13d0d6f0] | 11 | <!ENTITY wireshark-buildsize "2 GB, with default GUI front-ends">
|
---|
[791e3e7d] | 12 | <!ENTITY wireshark-time "8.1 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 |
|
---|
[dc20ce3] | 46 | &lfs78_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">
|
---|
[791e3e7d] | 125 | <xref linkend="gtk2"/>, or
|
---|
| 126 | <xref linkend="qt4"/>,
|
---|
[a079e73c] | 127 | </para>
|
---|
[28d83dbc] | 128 |
|
---|
[7014c9d] | 129 | <note>
|
---|
| 130 | <para>
|
---|
| 131 | The <application>GTK+</application> GUI needs one of <xref linkend=
|
---|
| 132 | "gtk2"/> or <xref linkend="gtk3"/>. If both are installed, GTK+3
|
---|
| 133 | is used by default.
|
---|
| 134 | </para>
|
---|
| 135 |
|
---|
| 136 | <para>
|
---|
| 137 | The <application>Qt</application> GUI needs one of <xref linkend=
|
---|
| 138 | "qt4"/> or <xref linkend="qt5"/>. If both are installed, Qt5
|
---|
| 139 | is used by default.
|
---|
| 140 | </para>
|
---|
| 141 |
|
---|
| 142 | <para>
|
---|
[791e3e7d] | 143 | Both GTK+ and Qt GUI front-ends are built, as recommended by the
|
---|
| 144 | upstream developers. If you want to override the defaults, some
|
---|
| 145 | configure switches have to be set (see <quote>Command
|
---|
| 146 | Explanations</quote>).
|
---|
[7014c9d] | 147 | </para>
|
---|
| 148 | </note>
|
---|
| 149 |
|
---|
| 150 | <para condition="html" role="usernotes">
|
---|
| 151 | User Notes: <ulink url="&blfs-wiki;/wireshark"/>
|
---|
| 152 | </para>
|
---|
[061ec9d] | 153 |
|
---|
[13659efc] | 154 | </sect2>
|
---|
[50b8d8b] | 155 |
|
---|
[894de226] | 156 | <sect2 role="kernel" id="wireshark-kernel">
|
---|
[13659efc] | 157 | <title>Kernel Configuration</title>
|
---|
[50b8d8b] | 158 |
|
---|
[7014c9d] | 159 | <para>
|
---|
| 160 | The kernel must have the Packet protocol enabled for <application>
|
---|
| 161 | Wireshark</application> to capture live packets from the network:
|
---|
| 162 | </para>
|
---|
[6d772cc] | 163 |
|
---|
[196d393] | 164 | <screen><literal>[*] Networking support ---> [CONFIG_NET]
|
---|
| 165 | Networking options --->
|
---|
| 166 | <*/M> Packet socket [CONFIG_PACKET]</literal></screen>
|
---|
[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>
|
---|
| 192 |
|
---|
[7014c9d] | 193 | <para>
|
---|
| 194 | Continue to install <application>Wireshark</application> by running
|
---|
| 195 | the following commands:
|
---|
| 196 | </para>
|
---|
[13659efc] | 197 |
|
---|
[791e3e7d] | 198 | <screen><userinput>patch -Np1 -i ../wireshark-&wireshark-version;-lua_5_3_1-1.patch &&
|
---|
| 199 |
|
---|
| 200 | ./configure --prefix=/usr --sysconfdir=/etc &&
|
---|
[646a42e] | 201 |
|
---|
[13659efc] | 202 | make</userinput></screen>
|
---|
[28d83dbc] | 203 |
|
---|
[7014c9d] | 204 | <para>
|
---|
| 205 | This package does not come with a test suite.
|
---|
| 206 | </para>
|
---|
[50b8d8b] | 207 |
|
---|
[7014c9d] | 208 | <para>
|
---|
| 209 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 210 | </para>
|
---|
[50b8d8b] | 211 |
|
---|
[28d83dbc] | 212 | <screen role="root"><userinput>make install &&
|
---|
[894de226] | 213 |
|
---|
| 214 | install -v -m755 -d /usr/share/doc/wireshark-&wireshark-version; &&
|
---|
[a079e73c] | 215 | install -v -m644 README{,.linux} doc/README.* doc/*.{pod,txt} \
|
---|
[894de226] | 216 | /usr/share/doc/wireshark-&wireshark-version; &&
|
---|
[a079e73c] | 217 |
|
---|
[894de226] | 218 | pushd /usr/share/doc/wireshark-&wireshark-version; &&
|
---|
[0d7900a] | 219 | for FILENAME in ../../wireshark/*.html; do
|
---|
[2061231] | 220 | ln -s -v -f $FILENAME .
|
---|
[a079e73c] | 221 | done &&
|
---|
[791e3e7d] | 222 | popd
|
---|
| 223 | unset FILENAME</userinput></screen>
|
---|
[3932f297] | 224 |
|
---|
[7014c9d] | 225 | <para>
|
---|
| 226 | If you downloaded any of the documentation files from the page
|
---|
| 227 | listed in the 'Additional Downloads', install them by issuing the
|
---|
| 228 | following commands as the <systemitem class="username">root</systemitem>
|
---|
| 229 | user:
|
---|
| 230 | </para>
|
---|
[3932f297] | 231 |
|
---|
[6d772cc] | 232 | <screen role="root"><userinput>install -v -m644 <replaceable><Downloaded_Files></replaceable> \
|
---|
| 233 | /usr/share/doc/wireshark-&wireshark-version;</userinput></screen>
|
---|
[50b8d8b] | 234 |
|
---|
[7014c9d] | 235 | <para>
|
---|
| 236 | Now, set ownership and permissions of sensitive applications to only
|
---|
| 237 | allow authorized users. As the <systemitem class="username">root
|
---|
| 238 | </systemitem> user:
|
---|
| 239 | </para>
|
---|
[a079e73c] | 240 |
|
---|
| 241 | <screen role="root"><userinput>chown -v root:wireshark /usr/bin/{tshark,dumpcap} &&
|
---|
| 242 | chmod -v 6550 /usr/bin/{tshark,dumpcap}</userinput></screen>
|
---|
| 243 |
|
---|
[7014c9d] | 244 | <para>
|
---|
| 245 | Finally, add any users to the wireshark group (as <systemitem class=
|
---|
| 246 | "username">root</systemitem> user):
|
---|
| 247 | </para>
|
---|
[b85a77f] | 248 |
|
---|
| 249 | <screen role="root"><userinput>usermod -a -G wireshark <username></userinput></screen>
|
---|
[a079e73c] | 250 |
|
---|
[791e3e7d] | 251 | <para>
|
---|
| 252 | If you are installing wireshark for the first time, it will be necessary
|
---|
| 253 | to leave the session and login again, thus you will now have wireshark
|
---|
| 254 | between your groups, otherwise, it will not run properly.
|
---|
| 255 | </para>
|
---|
| 256 |
|
---|
[13659efc] | 257 | </sect2>
|
---|
[50b8d8b] | 258 |
|
---|
[13659efc] | 259 | <sect2 role="commands">
|
---|
| 260 | <title>Command Explanations</title>
|
---|
[50b8d8b] | 261 |
|
---|
[6d772cc] | 262 | <para>
|
---|
[791e3e7d] | 263 | <option>--with-gtk2=[yes/no]</option>: For the Gtk+2 GUI. If both Gtk+2
|
---|
| 264 | and 3 are installed, default is no. Notice that the GUI for only one Gtk+
|
---|
| 265 | version (either 2 or 3) can be built.
|
---|
[6d772cc] | 266 | </para>
|
---|
| 267 |
|
---|
[7014c9d] | 268 | <para>
|
---|
[791e3e7d] | 269 | <option>--with-gtk3=[yes/no]</option>: For the Gtk+3 GUI. If both Gtk+2
|
---|
| 270 | and 3 are installed, default is yes.
|
---|
[7014c9d] | 271 | </para>
|
---|
[50b8d8b] | 272 |
|
---|
[7014c9d] | 273 | <para>
|
---|
[791e3e7d] | 274 | <option>--with-qt=[yes/no/4/5]</option>: For the Qt GUI. Default is yes.
|
---|
| 275 | If both Qt4 and 5 are installed, Qt5 is chosen by default. Notice that the
|
---|
| 276 | GUI for only one Qt version (either 4 or 5) can be built.
|
---|
[7014c9d] | 277 | </para>
|
---|
[7f77bc6] | 278 |
|
---|
[7014c9d] | 279 | <para>
|
---|
| 280 | <option>--disable-wireshark</option>: Use this switch if you
|
---|
| 281 | have <application>GTK+</application> installed but do not want to build
|
---|
| 282 | any of the GUIs.
|
---|
| 283 | </para>
|
---|
[7f77bc6] | 284 |
|
---|
[13659efc] | 285 | </sect2>
|
---|
[50b8d8b] | 286 |
|
---|
[13659efc] | 287 | <sect2 role="configuration">
|
---|
[894de226] | 288 | <title>Configuring Wireshark</title>
|
---|
[13659efc] | 289 |
|
---|
[894de226] | 290 | <sect3 id="wireshark-config">
|
---|
[13659efc] | 291 | <title>Config Files</title>
|
---|
[50b8d8b] | 292 |
|
---|
[894de226] | 293 | <para><filename>/etc/wireshark.conf</filename> and
|
---|
[791e3e7d] | 294 | <filename>~/.config/wireshark/*</filename> (unless there is already
|
---|
| 295 | <filename>~/.wireshark/*</filename> in the system)</para>
|
---|
[50b8d8b] | 296 |
|
---|
[894de226] | 297 | <indexterm zone="wireshark wireshark-config">
|
---|
| 298 | <primary sortas="e-AA.wireshark-star">~/.wireshark/*</primary>
|
---|
[13659efc] | 299 | </indexterm>
|
---|
[50b8d8b] | 300 |
|
---|
[894de226] | 301 | <indexterm zone="wireshark wireshark-config">
|
---|
| 302 | <primary sortas="e-etc-wireshark.conf">/etc/wireshark.conf</primary>
|
---|
[13659efc] | 303 | </indexterm>
|
---|
[50b8d8b] | 304 |
|
---|
[13659efc] | 305 | </sect3>
|
---|
[50b8d8b] | 306 |
|
---|
[13659efc] | 307 | <sect3>
|
---|
| 308 | <title>Configuration Information</title>
|
---|
[50b8d8b] | 309 |
|
---|
[791e3e7d] | 310 | <para>Though the default configuration parameters are very sane, reference
|
---|
| 311 | the configuration section of the <ulink
|
---|
| 312 | url="http://www.wireshark.org/docs/wsug_html/">Wireshark User's
|
---|
[1065a91] | 313 | Guide</ulink> for configuration information. Most of
|
---|
[894de226] | 314 | <application>Wireshark</application>'s configuration can be accomplished
|
---|
[791e3e7d] | 315 | using the menu options of the <command>wireshark</command> graphical
|
---|
| 316 | interfaces.</para>
|
---|
[50b8d8b] | 317 |
|
---|
[13659efc] | 318 | <note>
|
---|
[791e3e7d] | 319 | <para>If you want to look at packets, make sure you don't filter them
|
---|
| 320 | out with <xref linkend="iptables"/>. If you want to exclude certain
|
---|
| 321 | classes of packets, it is more efficient to do it with
|
---|
[894de226] | 322 | <application>iptables</application> than it is with
|
---|
| 323 | <application>Wireshark</application>.</para>
|
---|
[13659efc] | 324 | </note>
|
---|
[50b8d8b] | 325 |
|
---|
[13659efc] | 326 | </sect3>
|
---|
[50b8d8b] | 327 |
|
---|
[13659efc] | 328 | </sect2>
|
---|
[50b8d8b] | 329 |
|
---|
[13659efc] | 330 | <sect2 role="content">
|
---|
| 331 | <title>Contents</title>
|
---|
| 332 |
|
---|
| 333 | <segmentedlist>
|
---|
| 334 | <segtitle>Installed Programs</segtitle>
|
---|
| 335 | <segtitle>Installed Libraries</segtitle>
|
---|
| 336 | <segtitle>Installed Directories</segtitle>
|
---|
[50b8d8b] | 337 |
|
---|
[13659efc] | 338 | <seglistitem>
|
---|
[791e3e7d] | 339 | <seg>
|
---|
| 340 | androiddump, capinfos, captype, dftest, dumpcap, editcap, idl2wrs,
|
---|
| 341 | mergecap, randpkt, rawshark, reordercap, text2pcap, tshark, wireshark,
|
---|
| 342 | and wireshark-gtk
|
---|
| 343 | </seg>
|
---|
| 344 | <seg>
|
---|
| 345 | libwireshark.so, libwiretap.so, libwsutil.so, and numerous modules
|
---|
| 346 | under /usr/lib/wireshark/plugins
|
---|
| 347 | </seg>
|
---|
| 348 | <seg>
|
---|
| 349 | /usr/{lib,share}/wireshark and
|
---|
| 350 | /usr/share/doc/wireshark-&wireshark-version;
|
---|
| 351 | </seg>
|
---|
[13659efc] | 352 | </seglistitem>
|
---|
| 353 | </segmentedlist>
|
---|
[50b8d8b] | 354 |
|
---|
[13659efc] | 355 | <variablelist>
|
---|
| 356 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 357 | <?dbfo list-presentation="list"?>
|
---|
| 358 | <?dbhtml list-presentation="table"?>
|
---|
[50b8d8b] | 359 |
|
---|
[13659efc] | 360 | <varlistentry id="capinfos">
|
---|
| 361 | <term><command>capinfos</command></term>
|
---|
| 362 | <listitem>
|
---|
[1065a91] | 363 | <para>reads a saved capture file and returns any or all of several
|
---|
| 364 | statistics about that file. It is able to detect and read any capture
|
---|
[894de226] | 365 | supported by the <application>Wireshark</application> package.</para>
|
---|
| 366 | <indexterm zone="wireshark capinfos">
|
---|
[13659efc] | 367 | <primary sortas="b-capinfos">capinfos</primary>
|
---|
| 368 | </indexterm>
|
---|
| 369 | </listitem>
|
---|
| 370 | </varlistentry>
|
---|
[50b8d8b] | 371 |
|
---|
[b85a77f] | 372 | <varlistentry id="captype">
|
---|
| 373 | <term><command>captype</command></term>
|
---|
| 374 | <listitem>
|
---|
| 375 | <para>prints the file types of capture files.</para>
|
---|
| 376 | <indexterm zone="wireshark captype">
|
---|
| 377 | <primary sortas="b-captype">captype</primary>
|
---|
| 378 | </indexterm>
|
---|
| 379 | </listitem>
|
---|
| 380 | </varlistentry>
|
---|
| 381 |
|
---|
[13659efc] | 382 | <varlistentry id="dftest">
|
---|
| 383 | <term><command>dftest</command></term>
|
---|
| 384 | <listitem>
|
---|
| 385 | <para>is a display-filter-compiler test program.</para>
|
---|
[894de226] | 386 | <indexterm zone="wireshark dftest">
|
---|
[13659efc] | 387 | <primary sortas="b-dftest">dftest</primary>
|
---|
| 388 | </indexterm>
|
---|
| 389 | </listitem>
|
---|
| 390 | </varlistentry>
|
---|
[50b8d8b] | 391 |
|
---|
[894de226] | 392 | <varlistentry id="dumpcap">
|
---|
| 393 | <term><command>dumpcap</command></term>
|
---|
| 394 | <listitem>
|
---|
| 395 | <para>is a network traffic dump tool. It lets you capture packet data
|
---|
| 396 | from a live network and write the packets to a file.</para>
|
---|
| 397 | <indexterm zone="wireshark dumpcap">
|
---|
| 398 | <primary sortas="b-dumpcap">dumpcap</primary>
|
---|
| 399 | </indexterm>
|
---|
| 400 | </listitem>
|
---|
| 401 | </varlistentry>
|
---|
| 402 |
|
---|
[13659efc] | 403 | <varlistentry id="editcap">
|
---|
| 404 | <term><command>editcap</command></term>
|
---|
| 405 | <listitem>
|
---|
[1065a91] | 406 | <para>edits and/or translates the format of capture files. It knows
|
---|
| 407 | how to read <application>libpcap</application> capture files,
|
---|
| 408 | including those of <command>tcpdump</command>,
|
---|
[894de226] | 409 | <application>Wireshark</application> and other tools that write
|
---|
[28d83dbc] | 410 | captures in that format.</para>
|
---|
[894de226] | 411 | <indexterm zone="wireshark editcap">
|
---|
[13659efc] | 412 | <primary sortas="b-editcap">editcap</primary>
|
---|
| 413 | </indexterm>
|
---|
| 414 | </listitem>
|
---|
| 415 | </varlistentry>
|
---|
[50b8d8b] | 416 |
|
---|
[13659efc] | 417 | <varlistentry id="mergecap">
|
---|
| 418 | <term><command>mergecap</command></term>
|
---|
| 419 | <listitem>
|
---|
[1065a91] | 420 | <para>combines multiple saved capture files into a single output
|
---|
[13659efc] | 421 | file.</para>
|
---|
[894de226] | 422 | <indexterm zone="wireshark mergecap">
|
---|
[13659efc] | 423 | <primary sortas="b-mergecap">mergecap</primary>
|
---|
| 424 | </indexterm>
|
---|
| 425 | </listitem>
|
---|
| 426 | </varlistentry>
|
---|
[50b8d8b] | 427 |
|
---|
[13659efc] | 428 | <varlistentry id="randpkt">
|
---|
| 429 | <term><command>randpkt</command></term>
|
---|
| 430 | <listitem>
|
---|
| 431 | <para>creates random-packet capture files.</para>
|
---|
[894de226] | 432 | <indexterm zone="wireshark randpkt">
|
---|
[13659efc] | 433 | <primary sortas="b-randpkt">randpkt</primary>
|
---|
| 434 | </indexterm>
|
---|
| 435 | </listitem>
|
---|
| 436 | </varlistentry>
|
---|
[50b8d8b] | 437 |
|
---|
[a079e73c] | 438 | <varlistentry id="rawshark">
|
---|
| 439 | <term><command>rawshark</command></term>
|
---|
| 440 | <listitem>
|
---|
| 441 | <para>dump and analyze raw libpcap data.</para>
|
---|
| 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>
|
---|
| 451 | <para>reorder timestamps of input file frames into output file.</para>
|
---|
| 452 | <indexterm zone="wireshark reordercap">
|
---|
| 453 | <primary sortas="b-reordercap">reordercap</primary>
|
---|
| 454 | </indexterm>
|
---|
| 455 | </listitem>
|
---|
| 456 | </varlistentry>
|
---|
| 457 |
|
---|
[894de226] | 458 | <varlistentry id="text2pcap">
|
---|
| 459 | <term><command>text2pcap</command></term>
|
---|
| 460 | <listitem>
|
---|
| 461 | <para>reads in an ASCII hex dump and writes the
|
---|
| 462 | data described into a <application>libpcap</application>-style
|
---|
| 463 | capture file.</para>
|
---|
| 464 | <indexterm zone="wireshark text2pcap">
|
---|
| 465 | <primary sortas="b-text2pcap">text2pcap</primary>
|
---|
| 466 | </indexterm>
|
---|
| 467 | </listitem>
|
---|
| 468 | </varlistentry>
|
---|
| 469 |
|
---|
| 470 | <varlistentry id="tshark">
|
---|
| 471 | <term><command>tshark</command></term>
|
---|
[13659efc] | 472 | <listitem>
|
---|
[1065a91] | 473 | <para>is a TTY-mode network protocol analyzer. It lets you capture
|
---|
| 474 | packet data from a live network or read packets from a
|
---|
[13659efc] | 475 | previously saved capture file.</para>
|
---|
[894de226] | 476 | <indexterm zone="wireshark tshark">
|
---|
| 477 | <primary sortas="b-tshark">tshark</primary>
|
---|
[13659efc] | 478 | </indexterm>
|
---|
| 479 | </listitem>
|
---|
| 480 | </varlistentry>
|
---|
[50b8d8b] | 481 |
|
---|
[894de226] | 482 | <varlistentry id="wireshark-prog">
|
---|
| 483 | <term><command>wireshark</command></term>
|
---|
[13659efc] | 484 | <listitem>
|
---|
[791e3e7d] | 485 | <para>
|
---|
| 486 | is the Qt GUI network protocol analyzer. It lets you interactively
|
---|
| 487 | browse packet data from a live network or from a previously saved
|
---|
| 488 | capture file.
|
---|
| 489 | </para>
|
---|
[894de226] | 490 | <indexterm zone="wireshark wireshark-prog">
|
---|
| 491 | <primary sortas="b-wireshark">wireshark</primary>
|
---|
[13659efc] | 492 | </indexterm>
|
---|
| 493 | </listitem>
|
---|
| 494 | </varlistentry>
|
---|
[50b8d8b] | 495 |
|
---|
[791e3e7d] | 496 | <varlistentry id="wireshark-gtk-prog">
|
---|
| 497 | <term><command>wireshark-gtk</command></term>
|
---|
[b85a77f] | 498 | <listitem>
|
---|
[791e3e7d] | 499 | <para>
|
---|
| 500 | is the Gtk+ GUI network protocol analyzer. It lets you interactively
|
---|
| 501 | browse packet data from a live network or from a previously saved
|
---|
| 502 | capture file.
|
---|
| 503 | </para>
|
---|
| 504 | <indexterm zone="wireshark wireshark-gtk-prog">
|
---|
| 505 | <primary sortas="b-wireshark-gtk">wireshark-gtk</primary>
|
---|
[b85a77f] | 506 | </indexterm>
|
---|
| 507 | </listitem>
|
---|
| 508 | </varlistentry>
|
---|
| 509 |
|
---|
[894de226] | 510 | <varlistentry id="libwireshark">
|
---|
| 511 | <term><filename class='libraryfile'>libwireshark.so</filename></term>
|
---|
[13659efc] | 512 | <listitem>
|
---|
[1065a91] | 513 | <para>contains functions used by the
|
---|
[894de226] | 514 | <application>Wireshark</application> programs to perform filtering and
|
---|
[13659efc] | 515 | packet capturing.</para>
|
---|
[894de226] | 516 | <indexterm zone="wireshark libwireshark">
|
---|
| 517 | <primary sortas="c-libwireshark">libwireshark.so</primary>
|
---|
[13659efc] | 518 | </indexterm>
|
---|
| 519 | </listitem>
|
---|
| 520 | </varlistentry>
|
---|
[50b8d8b] | 521 |
|
---|
[13659efc] | 522 | <varlistentry id="libwiretap">
|
---|
| 523 | <term><filename class='libraryfile'>libwiretap.so</filename></term>
|
---|
| 524 | <listitem>
|
---|
[1065a91] | 525 | <para>is a library being developed as a future replacement for
|
---|
| 526 | <filename class='libraryfile'>libpcap</filename>, the current
|
---|
| 527 | standard Unix library for packet capturing. For more information,
|
---|
| 528 | see the <filename>README</filename> file in the source
|
---|
[13659efc] | 529 | <filename class='directory'>wiretap</filename> directory.</para>
|
---|
[894de226] | 530 | <indexterm zone="wireshark libwiretap">
|
---|
[13659efc] | 531 | <primary sortas="c-libwiretap">libwiretap.so</primary>
|
---|
| 532 | </indexterm>
|
---|
| 533 | </listitem>
|
---|
| 534 | </varlistentry>
|
---|
[50b8d8b] | 535 |
|
---|
[13659efc] | 536 | </variablelist>
|
---|
| 537 |
|
---|
| 538 | </sect2>
|
---|
[1a3dd316] | 539 |
|
---|
| 540 | </sect1>
|
---|