[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 |
|
---|
[d0151ee] | 7 | <!ENTITY wireshark-download-http "http://www.wireshark.org/download/src/all-versions/wireshark-&wireshark-version;.tar.bz2">
|
---|
[a079e73c] | 8 | <!ENTITY wireshark-download-ftp " ">
|
---|
[e3c48e9] | 9 | <!ENTITY wireshark-md5sum "d8915cf7555e2bbb699020a8736631e7">
|
---|
[6b14cb2] | 10 | <!ENTITY wireshark-size "26 MB">
|
---|
| 11 | <!ENTITY wireshark-buildsize "1.1 GB">
|
---|
[e3c48e9] | 12 | <!ENTITY wireshark-time "6.6 SBU">
|
---|
[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 |
|
---|
[894de226] | 32 | <para>The <application>Wireshark</application> package contains a network
|
---|
[1065a91] | 33 | protocol analyzer, also known as a <quote>sniffer</quote>. This is useful
|
---|
| 34 | for analyzing data captured <quote>off the wire</quote> from a live network
|
---|
| 35 | connection, or data read from a capture file.
|
---|
[6b14cb2] | 36 | <application>Wireshark</application> provides both a graphical and a TTY-mode
|
---|
[c3ee07c] | 37 | front-end for examining captured network packets from over 500 protocols,
|
---|
| 38 | as well as the capability to read capture files from many other popular
|
---|
| 39 | network analyzers.</para>
|
---|
[50b8d8b] | 40 |
|
---|
[283bd88] | 41 | &lfs74_checked;
|
---|
[a079e73c] | 42 |
|
---|
[13659efc] | 43 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 44 | <itemizedlist spacing="compact">
|
---|
| 45 | <listitem>
|
---|
[894de226] | 46 | <para>Download (HTTP): <ulink url="&wireshark-download-http;"/></para>
|
---|
[13659efc] | 47 | </listitem>
|
---|
| 48 | <listitem>
|
---|
[894de226] | 49 | <para>Download (FTP): <ulink url="&wireshark-download-ftp;"/></para>
|
---|
[13659efc] | 50 | </listitem>
|
---|
| 51 | <listitem>
|
---|
[894de226] | 52 | <para>Download MD5 sum: &wireshark-md5sum;</para>
|
---|
[13659efc] | 53 | </listitem>
|
---|
| 54 | <listitem>
|
---|
[894de226] | 55 | <para>Download size: &wireshark-size;</para>
|
---|
[13659efc] | 56 | </listitem>
|
---|
| 57 | <listitem>
|
---|
[894de226] | 58 | <para>Estimated disk space required: &wireshark-buildsize;</para>
|
---|
[13659efc] | 59 | </listitem>
|
---|
| 60 | <listitem>
|
---|
[894de226] | 61 | <para>Estimated build time: &wireshark-time;</para>
|
---|
[2174baa] | 62 | </listitem>
|
---|
[13659efc] | 63 | </itemizedlist>
|
---|
[50b8d8b] | 64 |
|
---|
[3932f297] | 65 | <bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
---|
[9f12e36] | 66 | <itemizedlist spacing="compact">
|
---|
| 67 | <listitem>
|
---|
[0d7900a] | 68 | <para>Additional Documentation:
|
---|
[a079e73c] | 69 | <ulink url="http://www.wireshark.org/download/docs/"/>
|
---|
| 70 | </para>
|
---|
[3932f297] | 71 | </listitem>
|
---|
| 72 | </itemizedlist>
|
---|
| 73 |
|
---|
| 74 | <para>From this page you can download many different docs in a variety
|
---|
| 75 | of formats.</para>
|
---|
| 76 |
|
---|
[894de226] | 77 | <bridgehead renderas="sect3">Wireshark dependencies</bridgehead>
|
---|
[50b8d8b] | 78 |
|
---|
[13659efc] | 79 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
[6b14cb2] | 80 | <para role="required">
|
---|
| 81 | <xref linkend="glib2"/> (to build the TTY-mode front-end only)
|
---|
| 82 | </para>
|
---|
[50b8d8b] | 83 |
|
---|
[894de226] | 84 | <para>Note that if you don't have <application>Gtk+</application>
|
---|
| 85 | installed, you will need to pass <option>--disable-wireshark</option>
|
---|
| 86 | to the <command>configure</command> command.</para>
|
---|
| 87 |
|
---|
[13659efc] | 88 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
[a079e73c] | 89 | <para role="recommended">
|
---|
| 90 | <xref linkend="libpcap"/> (required to capture data)
|
---|
| 91 | </para>
|
---|
[50b8d8b] | 92 |
|
---|
[13659efc] | 93 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[9ef15dba] | 94 | <para role="optional">
|
---|
| 95 | <xref linkend="pkgconfig"/>,
|
---|
[a079e73c] | 96 | <xref linkend="gtk2"/> or <xref linkend="gtk3"/> (to build the GUI front-end),
|
---|
| 97 | <xref linkend="openssl"/>,
|
---|
| 98 | <xref linkend="mitkrb"/>,
|
---|
| 99 | <xref linkend="python2"/>,
|
---|
| 100 | <xref linkend="pcre"/>,
|
---|
| 101 | <xref linkend="gnutls"/>,
|
---|
| 102 | <ulink url="http://www.portaudio.com/download.html">PortAudio</ulink>,
|
---|
| 103 | <ulink url="http://www.maxmind.com/app/c">GeoIP</ulink>,
|
---|
| 104 | <!-- <ulink url="http://www.net-snmp.org/">Net-SNMP</ulink>, -->
|
---|
| 105 | <ulink url="http://www.gnu.org/software/adns/adns.html">adns</ulink>, and
|
---|
[c1a0390] | 106 | <xref linkend="lua"/>
|
---|
[a079e73c] | 107 | </para>
|
---|
[28d83dbc] | 108 |
|
---|
[061ec9d] | 109 | <para condition="html" role="usernotes">User Notes:
|
---|
[894de226] | 110 | <ulink url="&blfs-wiki;/wireshark"/></para>
|
---|
[061ec9d] | 111 |
|
---|
[13659efc] | 112 | </sect2>
|
---|
[50b8d8b] | 113 |
|
---|
[894de226] | 114 | <sect2 role="kernel" id="wireshark-kernel">
|
---|
[13659efc] | 115 | <title>Kernel Configuration</title>
|
---|
[50b8d8b] | 116 |
|
---|
[1065a91] | 117 | <para>The kernel must have the Packet protocol enabled for
|
---|
[894de226] | 118 | <application>Wireshark</application> to capture live packets from the
|
---|
[6b14cb2] | 119 | network.</para>
|
---|
| 120 |
|
---|
| 121 | <screen><literal>Networking support: Y
|
---|
| 122 | Networking options:
|
---|
| 123 | Packet: sockets monitoring interface: M or Y</literal></screen>
|
---|
| 124 |
|
---|
| 125 | <para>If built as a module, the name is
|
---|
| 126 | <filename>af_packet.ko</filename>.</para>
|
---|
[50b8d8b] | 127 |
|
---|
[894de226] | 128 | <indexterm zone="wireshark wireshark-kernel">
|
---|
[1065a91] | 129 | <primary sortas="d-Capturing-network-packets">Capturing network
|
---|
[13659efc] | 130 | packets</primary>
|
---|
| 131 | </indexterm>
|
---|
[50b8d8b] | 132 |
|
---|
[13659efc] | 133 | </sect2>
|
---|
[50b8d8b] | 134 |
|
---|
[13659efc] | 135 | <sect2 role="installation">
|
---|
[894de226] | 136 | <title>Installation of Wireshark</title>
|
---|
[13659efc] | 137 |
|
---|
[0d7900a] | 138 | <para>Optionally, fix the description of the program in the title.
|
---|
[a079e73c] | 139 | The first change overwrites the default "SVN Unknown" in the title
|
---|
| 140 | and the secong overwrites a utility script that resets the version
|
---|
| 141 | to "unknown".</para>
|
---|
| 142 |
|
---|
| 143 | <screen><userinput>cat > svnversion.h << "EOF"
|
---|
| 144 | #define SVNVERSION "BLFS"
|
---|
| 145 | #define SVNPATH "source"
|
---|
| 146 | EOF
|
---|
| 147 |
|
---|
| 148 | cat > make-version.pl << "EOF"
|
---|
| 149 | #!/usr/bin/perl
|
---|
| 150 | EOF</userinput></screen>
|
---|
| 151 |
|
---|
| 152 | <para><application>Wireshark</application> is a very large and complex
|
---|
| 153 | application. These instructions provide additional security measures to
|
---|
| 154 | ensure that only trusted users are allowed to view network traffic. First,
|
---|
[6b14cb2] | 155 | set up a system group for wireshark. As the <systemitem
|
---|
[a079e73c] | 156 | class="username">root</systemitem> user:</para>
|
---|
| 157 |
|
---|
| 158 | <screen role="root"><userinput>groupadd -g 62 wireshark</userinput></screen>
|
---|
| 159 |
|
---|
[283bd88] | 160 | <para>There is one issue that prevents the build from completing
|
---|
[e3c48e9] | 161 | when generating the man pages. Fix it up with:</para>
|
---|
[6b14cb2] | 162 |
|
---|
[e3c48e9] | 163 | <screen><userinput>sed -i '/=item/s/$/\n\n=back/' doc/reordercap.pod</userinput></screen>
|
---|
[6b14cb2] | 164 |
|
---|
[a079e73c] | 165 | <para>Continue to install <application>Wireshark</application> by running
|
---|
| 166 | the following commands:</para>
|
---|
[13659efc] | 167 |
|
---|
[4eaa7c4] | 168 | <screen><userinput>./configure --prefix=/usr --sysconfdir=/etc &&
|
---|
[13659efc] | 169 | make</userinput></screen>
|
---|
[28d83dbc] | 170 |
|
---|
| 171 | <para>This package does not come with a test suite.</para>
|
---|
[50b8d8b] | 172 |
|
---|
[13659efc] | 173 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
[50b8d8b] | 174 |
|
---|
[28d83dbc] | 175 | <screen role="root"><userinput>make install &&
|
---|
[894de226] | 176 |
|
---|
| 177 | install -v -m755 -d /usr/share/doc/wireshark-&wireshark-version; &&
|
---|
[a079e73c] | 178 | install -v -m755 -d /usr/share/pixmaps/wireshark &&
|
---|
| 179 |
|
---|
| 180 | install -v -m644 README{,.linux} doc/README.* doc/*.{pod,txt} \
|
---|
[894de226] | 181 | /usr/share/doc/wireshark-&wireshark-version; &&
|
---|
[a079e73c] | 182 |
|
---|
[894de226] | 183 | pushd /usr/share/doc/wireshark-&wireshark-version; &&
|
---|
[0d7900a] | 184 | for FILENAME in ../../wireshark/*.html; do
|
---|
[a079e73c] | 185 | ln -s -v $FILENAME .
|
---|
| 186 | done &&
|
---|
[894de226] | 187 | popd &&
|
---|
| 188 |
|
---|
| 189 | install -v -m644 -D wireshark.desktop \
|
---|
| 190 | /usr/share/applications/wireshark.desktop &&
|
---|
[a079e73c] | 191 |
|
---|
[894de226] | 192 | install -v -m644 -D image/wsicon48.png \
|
---|
| 193 | /usr/share/pixmaps/wireshark.png &&
|
---|
[a079e73c] | 194 |
|
---|
| 195 | install -v -m644 image/*.{png,ico,xpm,bmp} \
|
---|
| 196 | /usr/share/pixmaps/wireshark</userinput></screen>
|
---|
[3932f297] | 197 |
|
---|
| 198 | <para>If you downloaded any of the documentation files from the page
|
---|
| 199 | listed in the 'Additional Downloads', install them by issuing the following
|
---|
| 200 | commands as the <systemitem class="username">root</systemitem> user:</para>
|
---|
| 201 |
|
---|
[894de226] | 202 | <screen role="root"><userinput>install -v -m644 <replaceable><Downloaded_Files></replaceable> /usr/share/doc/wireshark-&wireshark-version;</userinput></screen>
|
---|
[50b8d8b] | 203 |
|
---|
[e958dbb2] | 204 | <para>Now, set ownership and permissions of sensitive applications to
|
---|
[a079e73c] | 205 | only allow authorized users. As the <systemitem
|
---|
| 206 | class="username">root</systemitem> user:</para>
|
---|
| 207 |
|
---|
| 208 | <screen role="root"><userinput>chown -v root:wireshark /usr/bin/{tshark,dumpcap} &&
|
---|
| 209 | chmod -v 6550 /usr/bin/{tshark,dumpcap}</userinput></screen>
|
---|
| 210 |
|
---|
| 211 | <para>Finally, add any users to the wireshark group with <userinput>usermod -a -G
|
---|
| 212 | wireshark <username></userinput>.</para>
|
---|
| 213 |
|
---|
[13659efc] | 214 | </sect2>
|
---|
[50b8d8b] | 215 |
|
---|
[13659efc] | 216 | <sect2 role="commands">
|
---|
| 217 | <title>Command Explanations</title>
|
---|
[50b8d8b] | 218 |
|
---|
[1065a91] | 219 | <para><parameter>--enable-threads</parameter>: This parameter enables the
|
---|
[894de226] | 220 | use of threads in <command>wireshark</command>.</para>
|
---|
[50b8d8b] | 221 |
|
---|
[894de226] | 222 | <para><option>--with-ssl</option>: This parameter is required if you
|
---|
| 223 | are linking Kerberos libraries into the build so that the
|
---|
[50b8d8b] | 224 | <application>OpenSSL</application>
|
---|
[894de226] | 225 | <filename class='libraryfile'>libcrypto</filename> library is found.</para>
|
---|
[50b8d8b] | 226 |
|
---|
[a079e73c] | 227 | <para><option>--with-python</option>: This parameter is required if you
|
---|
| 228 | want Python bindings built.</para>
|
---|
| 229 |
|
---|
[13659efc] | 230 | </sect2>
|
---|
[50b8d8b] | 231 |
|
---|
[13659efc] | 232 | <sect2 role="configuration">
|
---|
[894de226] | 233 | <title>Configuring Wireshark</title>
|
---|
[13659efc] | 234 |
|
---|
[894de226] | 235 | <sect3 id="wireshark-config">
|
---|
[13659efc] | 236 | <title>Config Files</title>
|
---|
[50b8d8b] | 237 |
|
---|
[894de226] | 238 | <para><filename>/etc/wireshark.conf</filename> and
|
---|
| 239 | <filename>~/.wireshark/*</filename></para>
|
---|
[50b8d8b] | 240 |
|
---|
[894de226] | 241 | <indexterm zone="wireshark wireshark-config">
|
---|
| 242 | <primary sortas="e-AA.wireshark-star">~/.wireshark/*</primary>
|
---|
[13659efc] | 243 | </indexterm>
|
---|
[50b8d8b] | 244 |
|
---|
[894de226] | 245 | <indexterm zone="wireshark wireshark-config">
|
---|
| 246 | <primary sortas="e-etc-wireshark.conf">/etc/wireshark.conf</primary>
|
---|
[13659efc] | 247 | </indexterm>
|
---|
[50b8d8b] | 248 |
|
---|
[13659efc] | 249 | </sect3>
|
---|
[50b8d8b] | 250 |
|
---|
[13659efc] | 251 | <sect3>
|
---|
| 252 | <title>Configuration Information</title>
|
---|
[50b8d8b] | 253 |
|
---|
[1065a91] | 254 | <para>Though the default configuration parameters are very sane,
|
---|
| 255 | reference the configuration section of the
|
---|
[894de226] | 256 | <ulink url="http://www.wireshark.org/docs/wsug_html/">Wireshark User's
|
---|
[1065a91] | 257 | Guide</ulink> for configuration information. Most of
|
---|
[894de226] | 258 | <application>Wireshark</application>'s configuration can be accomplished
|
---|
| 259 | using the menu options of the <command>wireshark</command>
|
---|
[c3ee07c] | 260 | graphical interface.</para>
|
---|
[50b8d8b] | 261 |
|
---|
[13659efc] | 262 | <note>
|
---|
[1065a91] | 263 | <para>If you want to look at packets, make sure you don't filter
|
---|
| 264 | them out with <xref linkend="iptables"/>. If you want to exclude
|
---|
| 265 | certain classes of packets, it is more efficient to do it with
|
---|
[894de226] | 266 | <application>iptables</application> than it is with
|
---|
| 267 | <application>Wireshark</application>.</para>
|
---|
[13659efc] | 268 | </note>
|
---|
[50b8d8b] | 269 |
|
---|
[13659efc] | 270 | </sect3>
|
---|
[50b8d8b] | 271 |
|
---|
[13659efc] | 272 | </sect2>
|
---|
[50b8d8b] | 273 |
|
---|
[13659efc] | 274 | <sect2 role="content">
|
---|
| 275 | <title>Contents</title>
|
---|
| 276 |
|
---|
| 277 | <segmentedlist>
|
---|
| 278 | <segtitle>Installed Programs</segtitle>
|
---|
| 279 | <segtitle>Installed Libraries</segtitle>
|
---|
| 280 | <segtitle>Installed Directories</segtitle>
|
---|
[50b8d8b] | 281 |
|
---|
[13659efc] | 282 | <seglistitem>
|
---|
[894de226] | 283 | <seg>capinfos, dftest, dumpcap, editcap, idl2wrs, mergecap, randpkt,
|
---|
[6b14cb2] | 284 | rawshark, text2pcap, tshark, and wireshark</seg>
|
---|
[0d7900a] | 285 | <seg>libwireshark.so, libwiretap.so, libwsutil.so, and
|
---|
[a079e73c] | 286 | numerous plugin modules</seg>
|
---|
[894de226] | 287 | <seg>/usr/lib/wireshark, /usr/share/doc/wireshark-&wireshark-version;,
|
---|
[6b14cb2] | 288 | /usr/share/pixmaps/wireshark, and /usr/share/wireshark</seg>
|
---|
[13659efc] | 289 | </seglistitem>
|
---|
| 290 | </segmentedlist>
|
---|
[50b8d8b] | 291 |
|
---|
[13659efc] | 292 | <variablelist>
|
---|
| 293 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 294 | <?dbfo list-presentation="list"?>
|
---|
| 295 | <?dbhtml list-presentation="table"?>
|
---|
[50b8d8b] | 296 |
|
---|
[13659efc] | 297 | <varlistentry id="capinfos">
|
---|
| 298 | <term><command>capinfos</command></term>
|
---|
| 299 | <listitem>
|
---|
[1065a91] | 300 | <para>reads a saved capture file and returns any or all of several
|
---|
| 301 | statistics about that file. It is able to detect and read any capture
|
---|
[894de226] | 302 | supported by the <application>Wireshark</application> package.</para>
|
---|
| 303 | <indexterm zone="wireshark capinfos">
|
---|
[13659efc] | 304 | <primary sortas="b-capinfos">capinfos</primary>
|
---|
| 305 | </indexterm>
|
---|
| 306 | </listitem>
|
---|
| 307 | </varlistentry>
|
---|
[50b8d8b] | 308 |
|
---|
[13659efc] | 309 | <varlistentry id="dftest">
|
---|
| 310 | <term><command>dftest</command></term>
|
---|
| 311 | <listitem>
|
---|
| 312 | <para>is a display-filter-compiler test program.</para>
|
---|
[894de226] | 313 | <indexterm zone="wireshark dftest">
|
---|
[13659efc] | 314 | <primary sortas="b-dftest">dftest</primary>
|
---|
| 315 | </indexterm>
|
---|
| 316 | </listitem>
|
---|
| 317 | </varlistentry>
|
---|
[50b8d8b] | 318 |
|
---|
[894de226] | 319 | <varlistentry id="dumpcap">
|
---|
| 320 | <term><command>dumpcap</command></term>
|
---|
| 321 | <listitem>
|
---|
| 322 | <para>is a network traffic dump tool. It lets you capture packet data
|
---|
| 323 | from a live network and write the packets to a file.</para>
|
---|
| 324 | <indexterm zone="wireshark dumpcap">
|
---|
| 325 | <primary sortas="b-dumpcap">dumpcap</primary>
|
---|
| 326 | </indexterm>
|
---|
| 327 | </listitem>
|
---|
| 328 | </varlistentry>
|
---|
| 329 |
|
---|
[13659efc] | 330 | <varlistentry id="editcap">
|
---|
| 331 | <term><command>editcap</command></term>
|
---|
| 332 | <listitem>
|
---|
[1065a91] | 333 | <para>edits and/or translates the format of capture files. It knows
|
---|
| 334 | how to read <application>libpcap</application> capture files,
|
---|
| 335 | including those of <command>tcpdump</command>,
|
---|
[894de226] | 336 | <application>Wireshark</application> and other tools that write
|
---|
[28d83dbc] | 337 | captures in that format.</para>
|
---|
[894de226] | 338 | <indexterm zone="wireshark editcap">
|
---|
[13659efc] | 339 | <primary sortas="b-editcap">editcap</primary>
|
---|
| 340 | </indexterm>
|
---|
| 341 | </listitem>
|
---|
| 342 | </varlistentry>
|
---|
[50b8d8b] | 343 |
|
---|
[894de226] | 344 | <varlistentry id="idl2wrs">
|
---|
| 345 | <term><command>idl2wrs</command></term>
|
---|
[13659efc] | 346 | <listitem>
|
---|
[1065a91] | 347 | <para>takes a user specified CORBA
|
---|
| 348 | IDL file and generates <quote>C</quote> source code that
|
---|
[894de226] | 349 | can be used to create an <application>Wireshark</application>
|
---|
[28d83dbc] | 350 | plugin.</para>
|
---|
[894de226] | 351 | <indexterm zone="wireshark idl2wrs">
|
---|
| 352 | <primary sortas="b-idl2wrs">idl2wrs</primary>
|
---|
[13659efc] | 353 | </indexterm>
|
---|
| 354 | </listitem>
|
---|
| 355 | </varlistentry>
|
---|
[50b8d8b] | 356 |
|
---|
[13659efc] | 357 | <varlistentry id="mergecap">
|
---|
| 358 | <term><command>mergecap</command></term>
|
---|
| 359 | <listitem>
|
---|
[1065a91] | 360 | <para>combines multiple saved capture files into a single output
|
---|
[13659efc] | 361 | file.</para>
|
---|
[894de226] | 362 | <indexterm zone="wireshark mergecap">
|
---|
[13659efc] | 363 | <primary sortas="b-mergecap">mergecap</primary>
|
---|
| 364 | </indexterm>
|
---|
| 365 | </listitem>
|
---|
| 366 | </varlistentry>
|
---|
[50b8d8b] | 367 |
|
---|
[13659efc] | 368 | <varlistentry id="randpkt">
|
---|
| 369 | <term><command>randpkt</command></term>
|
---|
| 370 | <listitem>
|
---|
| 371 | <para>creates random-packet capture files.</para>
|
---|
[894de226] | 372 | <indexterm zone="wireshark randpkt">
|
---|
[13659efc] | 373 | <primary sortas="b-randpkt">randpkt</primary>
|
---|
| 374 | </indexterm>
|
---|
| 375 | </listitem>
|
---|
| 376 | </varlistentry>
|
---|
[50b8d8b] | 377 |
|
---|
[a079e73c] | 378 | <varlistentry id="rawshark">
|
---|
| 379 | <term><command>rawshark</command></term>
|
---|
| 380 | <listitem>
|
---|
| 381 | <para>dump and analyze raw libpcap data.</para>
|
---|
| 382 | <indexterm zone="wireshark rawshark">
|
---|
| 383 | <primary sortas="b-rawshark">rawshark</primary>
|
---|
| 384 | </indexterm>
|
---|
| 385 | </listitem>
|
---|
| 386 | </varlistentry>
|
---|
| 387 |
|
---|
[894de226] | 388 | <varlistentry id="text2pcap">
|
---|
| 389 | <term><command>text2pcap</command></term>
|
---|
| 390 | <listitem>
|
---|
| 391 | <para>reads in an ASCII hex dump and writes the
|
---|
| 392 | data described into a <application>libpcap</application>-style
|
---|
| 393 | capture file.</para>
|
---|
| 394 | <indexterm zone="wireshark text2pcap">
|
---|
| 395 | <primary sortas="b-text2pcap">text2pcap</primary>
|
---|
| 396 | </indexterm>
|
---|
| 397 | </listitem>
|
---|
| 398 | </varlistentry>
|
---|
| 399 |
|
---|
| 400 | <varlistentry id="tshark">
|
---|
| 401 | <term><command>tshark</command></term>
|
---|
[13659efc] | 402 | <listitem>
|
---|
[1065a91] | 403 | <para>is a TTY-mode network protocol analyzer. It lets you capture
|
---|
| 404 | packet data from a live network or read packets from a
|
---|
[13659efc] | 405 | previously saved capture file.</para>
|
---|
[894de226] | 406 | <indexterm zone="wireshark tshark">
|
---|
| 407 | <primary sortas="b-tshark">tshark</primary>
|
---|
[13659efc] | 408 | </indexterm>
|
---|
| 409 | </listitem>
|
---|
| 410 | </varlistentry>
|
---|
[50b8d8b] | 411 |
|
---|
[894de226] | 412 | <varlistentry id="wireshark-prog">
|
---|
| 413 | <term><command>wireshark</command></term>
|
---|
[13659efc] | 414 | <listitem>
|
---|
[894de226] | 415 | <para>is a GUI network protocol analyzer. It lets you interactively
|
---|
| 416 | browse packet data from a live network or from a previously
|
---|
| 417 | saved capture file.</para>
|
---|
| 418 | <indexterm zone="wireshark wireshark-prog">
|
---|
| 419 | <primary sortas="b-wireshark">wireshark</primary>
|
---|
[13659efc] | 420 | </indexterm>
|
---|
| 421 | </listitem>
|
---|
| 422 | </varlistentry>
|
---|
[50b8d8b] | 423 |
|
---|
[894de226] | 424 | <varlistentry id="libwireshark">
|
---|
| 425 | <term><filename class='libraryfile'>libwireshark.so</filename></term>
|
---|
[13659efc] | 426 | <listitem>
|
---|
[1065a91] | 427 | <para>contains functions used by the
|
---|
[894de226] | 428 | <application>Wireshark</application> programs to perform filtering and
|
---|
[13659efc] | 429 | packet capturing.</para>
|
---|
[894de226] | 430 | <indexterm zone="wireshark libwireshark">
|
---|
| 431 | <primary sortas="c-libwireshark">libwireshark.so</primary>
|
---|
[13659efc] | 432 | </indexterm>
|
---|
| 433 | </listitem>
|
---|
| 434 | </varlistentry>
|
---|
[50b8d8b] | 435 |
|
---|
[13659efc] | 436 | <varlistentry id="libwiretap">
|
---|
| 437 | <term><filename class='libraryfile'>libwiretap.so</filename></term>
|
---|
| 438 | <listitem>
|
---|
[1065a91] | 439 | <para>is a library being developed as a future replacement for
|
---|
| 440 | <filename class='libraryfile'>libpcap</filename>, the current
|
---|
| 441 | standard Unix library for packet capturing. For more information,
|
---|
| 442 | see the <filename>README</filename> file in the source
|
---|
[13659efc] | 443 | <filename class='directory'>wiretap</filename> directory.</para>
|
---|
[894de226] | 444 | <indexterm zone="wireshark libwiretap">
|
---|
[13659efc] | 445 | <primary sortas="c-libwiretap">libwiretap.so</primary>
|
---|
| 446 | </indexterm>
|
---|
| 447 | </listitem>
|
---|
| 448 | </varlistentry>
|
---|
[50b8d8b] | 449 |
|
---|
[13659efc] | 450 | </variablelist>
|
---|
| 451 |
|
---|
| 452 | </sect2>
|
---|
[1a3dd316] | 453 |
|
---|
| 454 | </sect1>
|
---|