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