[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 " ">
|
---|
[f161544] | 9 | <!ENTITY wireshark-md5sum "2b6f1f37c72fa15a0a1863016a0abcc0">
|
---|
| 10 | <!ENTITY wireshark-size "28 MB">
|
---|
[444841e] | 11 | <!ENTITY wireshark-buildsize "1.7 GB (with default GUI front-end, and all optional dependencies available in the BLFS book)">
|
---|
[f161544] | 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 |
|
---|
[f161544] | 46 | &lfs82_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"/>,
|
---|
[791e3e7d] | 114 | <xref linkend="sbc"/>,
|
---|
| 115 | <ulink url="http://www.ibr.cs.tu-bs.de/projects/libsmi/">libsmi</ulink>,
|
---|
[3bb415b] | 116 | <ulink url="http://lz4.github.io/lz4/">lz4</ulink>,
|
---|
| 117 | <ulink url="http://www.maxmind.com/app/c">GeoIP</ulink>,
|
---|
| 118 | <ulink url="https://www.libssh.org/">libssh</ulink>,
|
---|
[791e3e7d] | 119 | <ulink url="http://www.portaudio.com/">PortAudio</ulink>
|
---|
[3bb415b] | 120 | (for GTK+ RTP player),
|
---|
| 121 | <ulink url="http://google.github.io/snappy/">Snappy</ulink>, and
|
---|
| 122 | <ulink url="https://www.soft-switch.org/">Spandsp</ulink>
|
---|
[a079e73c] | 123 | </para>
|
---|
[28d83dbc] | 124 |
|
---|
[7014c9d] | 125 | <note>
|
---|
| 126 | <para>
|
---|
[3bb415b] | 127 | The Qt GUI front-end is built by default, if <xref linkend="qt5"/> is
|
---|
| 128 | found. If you want to build the GTK+ GUI front-end, some configure
|
---|
| 129 | switches have to be set (see <quote>Command Explanations</quote>).
|
---|
[7014c9d] | 130 | </para>
|
---|
| 131 | </note>
|
---|
| 132 |
|
---|
| 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 |
|
---|
[3bb415b] | 181 | <screen><userinput>patch -Np1 -i ../wireshark-&wireshark-version;-lua_5_3-1.patch &&
|
---|
[791e3e7d] | 182 |
|
---|
| 183 | ./configure --prefix=/usr --sysconfdir=/etc &&
|
---|
[13659efc] | 184 | make</userinput></screen>
|
---|
[28d83dbc] | 185 |
|
---|
[7014c9d] | 186 | <para>
|
---|
| 187 | This package does not come with a test suite.
|
---|
| 188 | </para>
|
---|
[50b8d8b] | 189 |
|
---|
[7014c9d] | 190 | <para>
|
---|
| 191 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 192 | </para>
|
---|
[50b8d8b] | 193 |
|
---|
[28d83dbc] | 194 | <screen role="root"><userinput>make install &&
|
---|
[894de226] | 195 |
|
---|
| 196 | install -v -m755 -d /usr/share/doc/wireshark-&wireshark-version; &&
|
---|
[a079e73c] | 197 | install -v -m644 README{,.linux} doc/README.* doc/*.{pod,txt} \
|
---|
[894de226] | 198 | /usr/share/doc/wireshark-&wireshark-version; &&
|
---|
[a079e73c] | 199 |
|
---|
[894de226] | 200 | pushd /usr/share/doc/wireshark-&wireshark-version; &&
|
---|
[0d7900a] | 201 | for FILENAME in ../../wireshark/*.html; do
|
---|
[2061231] | 202 | ln -s -v -f $FILENAME .
|
---|
[a079e73c] | 203 | done &&
|
---|
[791e3e7d] | 204 | popd
|
---|
| 205 | unset FILENAME</userinput></screen>
|
---|
[3932f297] | 206 |
|
---|
[7014c9d] | 207 | <para>
|
---|
| 208 | If you downloaded any of the documentation files from the page
|
---|
| 209 | listed in the 'Additional Downloads', install them by issuing the
|
---|
| 210 | following commands as the <systemitem class="username">root</systemitem>
|
---|
| 211 | user:
|
---|
| 212 | </para>
|
---|
[3932f297] | 213 |
|
---|
[6d772cc] | 214 | <screen role="root"><userinput>install -v -m644 <replaceable><Downloaded_Files></replaceable> \
|
---|
| 215 | /usr/share/doc/wireshark-&wireshark-version;</userinput></screen>
|
---|
[50b8d8b] | 216 |
|
---|
[7014c9d] | 217 | <para>
|
---|
| 218 | Now, set ownership and permissions of sensitive applications to only
|
---|
| 219 | allow authorized users. As the <systemitem class="username">root
|
---|
| 220 | </systemitem> user:
|
---|
| 221 | </para>
|
---|
[a079e73c] | 222 |
|
---|
| 223 | <screen role="root"><userinput>chown -v root:wireshark /usr/bin/{tshark,dumpcap} &&
|
---|
| 224 | chmod -v 6550 /usr/bin/{tshark,dumpcap}</userinput></screen>
|
---|
| 225 |
|
---|
[7014c9d] | 226 | <para>
|
---|
| 227 | Finally, add any users to the wireshark group (as <systemitem class=
|
---|
| 228 | "username">root</systemitem> user):
|
---|
| 229 | </para>
|
---|
[b85a77f] | 230 |
|
---|
| 231 | <screen role="root"><userinput>usermod -a -G wireshark <username></userinput></screen>
|
---|
[a079e73c] | 232 |
|
---|
[791e3e7d] | 233 | <para>
|
---|
| 234 | If you are installing wireshark for the first time, it will be necessary
|
---|
| 235 | to leave the session and login again, thus you will now have wireshark
|
---|
| 236 | between your groups, otherwise, it will not run properly.
|
---|
| 237 | </para>
|
---|
| 238 |
|
---|
[13659efc] | 239 | </sect2>
|
---|
[50b8d8b] | 240 |
|
---|
[13659efc] | 241 | <sect2 role="commands">
|
---|
| 242 | <title>Command Explanations</title>
|
---|
[50b8d8b] | 243 |
|
---|
[6d772cc] | 244 | <para>
|
---|
[3bb415b] | 245 | <option>--with-gtk=[yes/no/2/3]</option>: For the Gtk+ GUI. Default is no.
|
---|
| 246 | If both Gtk+2 and 3 are installed, and <quote>yes</quote> is selected,
|
---|
| 247 | default is 3. Obviously, <xref linkend="gtk2"/> or <xref linkend="gtk3"/>
|
---|
| 248 | must have been built for this to work.
|
---|
[6d772cc] | 249 | </para>
|
---|
| 250 |
|
---|
[7014c9d] | 251 | <para>
|
---|
[3bb415b] | 252 | <option>--with-qt=[yes/no/4/5]</option>: For the Qt GUI. Default is yes,
|
---|
| 253 | if <xref linkend="qt5"/> is found on the system.
|
---|
[7014c9d] | 254 | </para>
|
---|
[7f77bc6] | 255 |
|
---|
[7014c9d] | 256 | <para>
|
---|
| 257 | <option>--disable-wireshark</option>: Use this switch if you
|
---|
[3bb415b] | 258 | have <application>Qt</application> installed but do not want to build
|
---|
[7014c9d] | 259 | any of the GUIs.
|
---|
| 260 | </para>
|
---|
[7f77bc6] | 261 |
|
---|
[13659efc] | 262 | </sect2>
|
---|
[50b8d8b] | 263 |
|
---|
[13659efc] | 264 | <sect2 role="configuration">
|
---|
[894de226] | 265 | <title>Configuring Wireshark</title>
|
---|
[13659efc] | 266 |
|
---|
[894de226] | 267 | <sect3 id="wireshark-config">
|
---|
[13659efc] | 268 | <title>Config Files</title>
|
---|
[50b8d8b] | 269 |
|
---|
[894de226] | 270 | <para><filename>/etc/wireshark.conf</filename> and
|
---|
[791e3e7d] | 271 | <filename>~/.config/wireshark/*</filename> (unless there is already
|
---|
| 272 | <filename>~/.wireshark/*</filename> in the system)</para>
|
---|
[50b8d8b] | 273 |
|
---|
[894de226] | 274 | <indexterm zone="wireshark wireshark-config">
|
---|
| 275 | <primary sortas="e-AA.wireshark-star">~/.wireshark/*</primary>
|
---|
[13659efc] | 276 | </indexterm>
|
---|
[50b8d8b] | 277 |
|
---|
[894de226] | 278 | <indexterm zone="wireshark wireshark-config">
|
---|
| 279 | <primary sortas="e-etc-wireshark.conf">/etc/wireshark.conf</primary>
|
---|
[13659efc] | 280 | </indexterm>
|
---|
[50b8d8b] | 281 |
|
---|
[13659efc] | 282 | </sect3>
|
---|
[50b8d8b] | 283 |
|
---|
[13659efc] | 284 | <sect3>
|
---|
| 285 | <title>Configuration Information</title>
|
---|
[50b8d8b] | 286 |
|
---|
[791e3e7d] | 287 | <para>Though the default configuration parameters are very sane, reference
|
---|
| 288 | the configuration section of the <ulink
|
---|
| 289 | url="http://www.wireshark.org/docs/wsug_html/">Wireshark User's
|
---|
[1065a91] | 290 | Guide</ulink> for configuration information. Most of
|
---|
[894de226] | 291 | <application>Wireshark</application>'s configuration can be accomplished
|
---|
[791e3e7d] | 292 | using the menu options of the <command>wireshark</command> graphical
|
---|
| 293 | interfaces.</para>
|
---|
[50b8d8b] | 294 |
|
---|
[13659efc] | 295 | <note>
|
---|
[791e3e7d] | 296 | <para>If you want to look at packets, make sure you don't filter them
|
---|
| 297 | out with <xref linkend="iptables"/>. If you want to exclude certain
|
---|
| 298 | classes of packets, it is more efficient to do it with
|
---|
[894de226] | 299 | <application>iptables</application> than it is with
|
---|
| 300 | <application>Wireshark</application>.</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>
|
---|
[7fd159db] | 317 | capinfos, captype, dftest, dumpcap, editcap, idl2wrs,
|
---|
[3bb415b] | 318 | mergecap, randpkt, rawshark, reordercap, sharkd,
|
---|
| 319 | text2pcap, tshark, wireshark, and wireshark-gtk (optional)
|
---|
[791e3e7d] | 320 | </seg>
|
---|
| 321 | <seg>
|
---|
[7fd159db] | 322 | libwireshark.so, libwiretap.so, libwscodecs.so (optional),
|
---|
| 323 | libwsutil.so, and numerous modules under /usr/lib/wireshark/plugins
|
---|
[791e3e7d] | 324 | </seg>
|
---|
| 325 | <seg>
|
---|
| 326 | /usr/{lib,share}/wireshark and
|
---|
| 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>
|
---|
[1065a91] | 340 | <para>reads a saved capture file and returns any or all of several
|
---|
| 341 | statistics about that file. It is able to detect and read any capture
|
---|
[894de226] | 342 | supported by the <application>Wireshark</application> package.</para>
|
---|
| 343 | <indexterm zone="wireshark capinfos">
|
---|
[13659efc] | 344 | <primary sortas="b-capinfos">capinfos</primary>
|
---|
| 345 | </indexterm>
|
---|
| 346 | </listitem>
|
---|
| 347 | </varlistentry>
|
---|
[50b8d8b] | 348 |
|
---|
[b85a77f] | 349 | <varlistentry id="captype">
|
---|
| 350 | <term><command>captype</command></term>
|
---|
| 351 | <listitem>
|
---|
| 352 | <para>prints the file types of capture files.</para>
|
---|
| 353 | <indexterm zone="wireshark captype">
|
---|
| 354 | <primary sortas="b-captype">captype</primary>
|
---|
| 355 | </indexterm>
|
---|
| 356 | </listitem>
|
---|
| 357 | </varlistentry>
|
---|
| 358 |
|
---|
[13659efc] | 359 | <varlistentry id="dftest">
|
---|
| 360 | <term><command>dftest</command></term>
|
---|
| 361 | <listitem>
|
---|
| 362 | <para>is a display-filter-compiler test program.</para>
|
---|
[894de226] | 363 | <indexterm zone="wireshark dftest">
|
---|
[13659efc] | 364 | <primary sortas="b-dftest">dftest</primary>
|
---|
| 365 | </indexterm>
|
---|
| 366 | </listitem>
|
---|
| 367 | </varlistentry>
|
---|
[50b8d8b] | 368 |
|
---|
[894de226] | 369 | <varlistentry id="dumpcap">
|
---|
| 370 | <term><command>dumpcap</command></term>
|
---|
| 371 | <listitem>
|
---|
| 372 | <para>is a network traffic dump tool. It lets you capture packet data
|
---|
| 373 | from a live network and write the packets to a file.</para>
|
---|
| 374 | <indexterm zone="wireshark dumpcap">
|
---|
| 375 | <primary sortas="b-dumpcap">dumpcap</primary>
|
---|
| 376 | </indexterm>
|
---|
| 377 | </listitem>
|
---|
| 378 | </varlistentry>
|
---|
| 379 |
|
---|
[13659efc] | 380 | <varlistentry id="editcap">
|
---|
| 381 | <term><command>editcap</command></term>
|
---|
| 382 | <listitem>
|
---|
[1065a91] | 383 | <para>edits and/or translates the format of capture files. It knows
|
---|
| 384 | how to read <application>libpcap</application> capture files,
|
---|
| 385 | including those of <command>tcpdump</command>,
|
---|
[894de226] | 386 | <application>Wireshark</application> and other tools that write
|
---|
[28d83dbc] | 387 | captures in that format.</para>
|
---|
[894de226] | 388 | <indexterm zone="wireshark editcap">
|
---|
[13659efc] | 389 | <primary sortas="b-editcap">editcap</primary>
|
---|
| 390 | </indexterm>
|
---|
| 391 | </listitem>
|
---|
| 392 | </varlistentry>
|
---|
[50b8d8b] | 393 |
|
---|
[fa30d84] | 394 | <varlistentry id="idl2wrs">
|
---|
| 395 | <term><command>idl2wrs</command></term>
|
---|
| 396 | <listitem>
|
---|
| 397 | <para>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 relies
|
---|
| 400 | on two Python programs <command>wireshark_be.py</command> and
|
---|
| 401 | <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.
|
---|
| 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>
|
---|
[1065a91] | 415 | <para>combines multiple saved capture files into a single output
|
---|
[13659efc] | 416 | file.</para>
|
---|
[894de226] | 417 | <indexterm zone="wireshark mergecap">
|
---|
[13659efc] | 418 | <primary sortas="b-mergecap">mergecap</primary>
|
---|
| 419 | </indexterm>
|
---|
| 420 | </listitem>
|
---|
| 421 | </varlistentry>
|
---|
[50b8d8b] | 422 |
|
---|
[13659efc] | 423 | <varlistentry id="randpkt">
|
---|
| 424 | <term><command>randpkt</command></term>
|
---|
| 425 | <listitem>
|
---|
| 426 | <para>creates random-packet capture files.</para>
|
---|
[894de226] | 427 | <indexterm zone="wireshark randpkt">
|
---|
[13659efc] | 428 | <primary sortas="b-randpkt">randpkt</primary>
|
---|
| 429 | </indexterm>
|
---|
| 430 | </listitem>
|
---|
| 431 | </varlistentry>
|
---|
[50b8d8b] | 432 |
|
---|
[a079e73c] | 433 | <varlistentry id="rawshark">
|
---|
| 434 | <term><command>rawshark</command></term>
|
---|
| 435 | <listitem>
|
---|
| 436 | <para>dump and analyze raw libpcap data.</para>
|
---|
| 437 | <indexterm zone="wireshark rawshark">
|
---|
| 438 | <primary sortas="b-rawshark">rawshark</primary>
|
---|
| 439 | </indexterm>
|
---|
| 440 | </listitem>
|
---|
| 441 | </varlistentry>
|
---|
| 442 |
|
---|
[2061231] | 443 | <varlistentry id="reordercap">
|
---|
| 444 | <term><command>reordercap</command></term>
|
---|
| 445 | <listitem>
|
---|
| 446 | <para>reorder timestamps of input file frames into output file.</para>
|
---|
| 447 | <indexterm zone="wireshark reordercap">
|
---|
| 448 | <primary sortas="b-reordercap">reordercap</primary>
|
---|
| 449 | </indexterm>
|
---|
| 450 | </listitem>
|
---|
| 451 | </varlistentry>
|
---|
| 452 |
|
---|
[3bb415b] | 453 | <varlistentry id="sharkd">
|
---|
| 454 | <term><command>sharkd</command></term>
|
---|
| 455 | <listitem>
|
---|
| 456 | <para>is a daemon that listens on UNIX sockets.</para>
|
---|
| 457 | <indexterm zone="wireshark sharkd">
|
---|
| 458 | <primary sortas="b-sharkd">sharkd</primary>
|
---|
| 459 | </indexterm>
|
---|
| 460 | </listitem>
|
---|
| 461 | </varlistentry>
|
---|
| 462 |
|
---|
[894de226] | 463 | <varlistentry id="text2pcap">
|
---|
| 464 | <term><command>text2pcap</command></term>
|
---|
| 465 | <listitem>
|
---|
| 466 | <para>reads in an ASCII hex dump and writes the
|
---|
| 467 | data described into a <application>libpcap</application>-style
|
---|
| 468 | capture file.</para>
|
---|
| 469 | <indexterm zone="wireshark text2pcap">
|
---|
| 470 | <primary sortas="b-text2pcap">text2pcap</primary>
|
---|
| 471 | </indexterm>
|
---|
| 472 | </listitem>
|
---|
| 473 | </varlistentry>
|
---|
| 474 |
|
---|
| 475 | <varlistentry id="tshark">
|
---|
| 476 | <term><command>tshark</command></term>
|
---|
[13659efc] | 477 | <listitem>
|
---|
[1065a91] | 478 | <para>is a TTY-mode network protocol analyzer. It lets you capture
|
---|
| 479 | packet data from a live network or read packets from a
|
---|
[13659efc] | 480 | previously saved capture file.</para>
|
---|
[894de226] | 481 | <indexterm zone="wireshark tshark">
|
---|
| 482 | <primary sortas="b-tshark">tshark</primary>
|
---|
[13659efc] | 483 | </indexterm>
|
---|
| 484 | </listitem>
|
---|
| 485 | </varlistentry>
|
---|
[50b8d8b] | 486 |
|
---|
[894de226] | 487 | <varlistentry id="wireshark-prog">
|
---|
| 488 | <term><command>wireshark</command></term>
|
---|
[13659efc] | 489 | <listitem>
|
---|
[791e3e7d] | 490 | <para>
|
---|
| 491 | is the Qt GUI network protocol analyzer. It lets you interactively
|
---|
| 492 | browse packet data from a live network or from a previously saved
|
---|
| 493 | capture file.
|
---|
| 494 | </para>
|
---|
[894de226] | 495 | <indexterm zone="wireshark wireshark-prog">
|
---|
| 496 | <primary sortas="b-wireshark">wireshark</primary>
|
---|
[13659efc] | 497 | </indexterm>
|
---|
| 498 | </listitem>
|
---|
| 499 | </varlistentry>
|
---|
[50b8d8b] | 500 |
|
---|
[791e3e7d] | 501 | <varlistentry id="wireshark-gtk-prog">
|
---|
| 502 | <term><command>wireshark-gtk</command></term>
|
---|
[b85a77f] | 503 | <listitem>
|
---|
[791e3e7d] | 504 | <para>
|
---|
| 505 | is the Gtk+ GUI network protocol analyzer. It lets you interactively
|
---|
| 506 | browse packet data from a live network or from a previously saved
|
---|
[fa30d84] | 507 | capture file (optional).
|
---|
[791e3e7d] | 508 | </para>
|
---|
| 509 | <indexterm zone="wireshark wireshark-gtk-prog">
|
---|
| 510 | <primary sortas="b-wireshark-gtk">wireshark-gtk</primary>
|
---|
[b85a77f] | 511 | </indexterm>
|
---|
| 512 | </listitem>
|
---|
| 513 | </varlistentry>
|
---|
| 514 |
|
---|
[894de226] | 515 | <varlistentry id="libwireshark">
|
---|
| 516 | <term><filename class='libraryfile'>libwireshark.so</filename></term>
|
---|
[13659efc] | 517 | <listitem>
|
---|
[1065a91] | 518 | <para>contains functions used by the
|
---|
[894de226] | 519 | <application>Wireshark</application> programs to perform filtering and
|
---|
[13659efc] | 520 | packet capturing.</para>
|
---|
[894de226] | 521 | <indexterm zone="wireshark libwireshark">
|
---|
| 522 | <primary sortas="c-libwireshark">libwireshark.so</primary>
|
---|
[13659efc] | 523 | </indexterm>
|
---|
| 524 | </listitem>
|
---|
| 525 | </varlistentry>
|
---|
[50b8d8b] | 526 |
|
---|
[13659efc] | 527 | <varlistentry id="libwiretap">
|
---|
| 528 | <term><filename class='libraryfile'>libwiretap.so</filename></term>
|
---|
| 529 | <listitem>
|
---|
[1065a91] | 530 | <para>is a library being developed as a future replacement for
|
---|
| 531 | <filename class='libraryfile'>libpcap</filename>, the current
|
---|
| 532 | standard Unix library for packet capturing. For more information,
|
---|
| 533 | see the <filename>README</filename> file in the source
|
---|
[13659efc] | 534 | <filename class='directory'>wiretap</filename> directory.</para>
|
---|
[894de226] | 535 | <indexterm zone="wireshark libwiretap">
|
---|
[13659efc] | 536 | <primary sortas="c-libwiretap">libwiretap.so</primary>
|
---|
| 537 | </indexterm>
|
---|
| 538 | </listitem>
|
---|
| 539 | </varlistentry>
|
---|
[50b8d8b] | 540 |
|
---|
[13659efc] | 541 | </variablelist>
|
---|
| 542 |
|
---|
| 543 | </sect2>
|
---|
[1a3dd316] | 544 |
|
---|
| 545 | </sect1>
|
---|