[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 " ">
|
---|
[03e61f5] | 9 | <!ENTITY wireshark-md5sum "8dcfe451d8769901129809d2e19c1fb7">
|
---|
| 10 | <!ENTITY wireshark-size "28 MB">
|
---|
[6a66d5e] | 11 | <!ENTITY wireshark-buildsize "875 MB (up to 1.5 GB)">
|
---|
[03e61f5] | 12 | <!ENTITY wireshark-time "5.0 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 |
|
---|
[283854e4] | 41 | &lfs75_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">
|
---|
[b11e915] | 67 | <listitem>
|
---|
| 68 | <para>Additional Documentation:
|
---|
| 69 | <ulink url="http://www.wireshark.org/download/docs/"/>
|
---|
| 70 | </para>
|
---|
| 71 | </listitem>
|
---|
[3932f297] | 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 |
|
---|
[6a66d5e] | 84 | <para>Note that you need <application>GTK+</application> or
|
---|
| 85 | <application>Qt</application> installed, otherwise, pass
|
---|
[2061231] | 86 | <option>--disable-wireshark</option> to the
|
---|
[6a66d5e] | 87 | <command>configure</command> command.</para>
|
---|
[894de226] | 88 |
|
---|
[13659efc] | 89 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
[a079e73c] | 90 | <para role="recommended">
|
---|
[6a66d5e] | 91 | <xref linkend="gtk3"/> (to build the <application>GTK+3</application>
|
---|
[03e61f5] | 92 | GUI) and
|
---|
[a079e73c] | 93 | <xref linkend="libpcap"/> (required to capture data)
|
---|
| 94 | </para>
|
---|
[50b8d8b] | 95 |
|
---|
[13659efc] | 96 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[9ef15dba] | 97 | <para role="optional">
|
---|
[94e2b39a] | 98 | <xref linkend="gnutls"/>,
|
---|
| 99 | <xref linkend="libgcrypt"/>,
|
---|
| 100 | <xref linkend="lua"/>,
|
---|
[a079e73c] | 101 | <xref linkend="mitkrb"/>,
|
---|
[03e61f5] | 102 | <xref linkend="openssl"/>,
|
---|
| 103 | <ulink url="http://www.gnu.org/software/adns/adns.html">adns</ulink>,
|
---|
| 104 | <ulink url="http://www.maxmind.com/app/c">GeoIP</ulink>, and
|
---|
[2061231] | 105 | <ulink url="http://www.portaudio.com/download.html">PortAudio</ulink>
|
---|
| 106 | </para>
|
---|
| 107 |
|
---|
[6a66d5e] | 108 | <bridgehead renderas="sect4">Optional (to build different GUI front-ends)</bridgehead>
|
---|
[2061231] | 109 | <para role="optional">
|
---|
[6a66d5e] | 110 | <xref linkend="gtk2"/> and
|
---|
| 111 | <xref linkend="qt4"/> or
|
---|
[03e61f5] | 112 | <xref linkend="qt5"/>
|
---|
[a079e73c] | 113 | </para>
|
---|
[28d83dbc] | 114 |
|
---|
[061ec9d] | 115 | <para condition="html" role="usernotes">User Notes:
|
---|
[894de226] | 116 | <ulink url="&blfs-wiki;/wireshark"/></para>
|
---|
[061ec9d] | 117 |
|
---|
[13659efc] | 118 | </sect2>
|
---|
[50b8d8b] | 119 |
|
---|
[894de226] | 120 | <sect2 role="kernel" id="wireshark-kernel">
|
---|
[13659efc] | 121 | <title>Kernel Configuration</title>
|
---|
[50b8d8b] | 122 |
|
---|
[1065a91] | 123 | <para>The kernel must have the Packet protocol enabled for
|
---|
[894de226] | 124 | <application>Wireshark</application> to capture live packets from the
|
---|
[6b14cb2] | 125 | network.</para>
|
---|
| 126 |
|
---|
| 127 | <screen><literal>Networking support: Y
|
---|
| 128 | Networking options:
|
---|
| 129 | Packet: sockets monitoring interface: M or Y</literal></screen>
|
---|
| 130 |
|
---|
| 131 | <para>If built as a module, the name is
|
---|
| 132 | <filename>af_packet.ko</filename>.</para>
|
---|
[50b8d8b] | 133 |
|
---|
[894de226] | 134 | <indexterm zone="wireshark wireshark-kernel">
|
---|
[1065a91] | 135 | <primary sortas="d-Capturing-network-packets">Capturing network
|
---|
[13659efc] | 136 | packets</primary>
|
---|
| 137 | </indexterm>
|
---|
[50b8d8b] | 138 |
|
---|
[13659efc] | 139 | </sect2>
|
---|
[50b8d8b] | 140 |
|
---|
[13659efc] | 141 | <sect2 role="installation">
|
---|
[894de226] | 142 | <title>Installation of Wireshark</title>
|
---|
[13659efc] | 143 |
|
---|
[0d7900a] | 144 | <para>Optionally, fix the description of the program in the title.
|
---|
[a079e73c] | 145 | The first change overwrites the default "SVN Unknown" in the title
|
---|
[7365b6c] | 146 | and the second overwrites a utility script that resets the version
|
---|
[a079e73c] | 147 | to "unknown".</para>
|
---|
| 148 |
|
---|
| 149 | <screen><userinput>cat > svnversion.h << "EOF"
|
---|
| 150 | #define SVNVERSION "BLFS"
|
---|
| 151 | #define SVNPATH "source"
|
---|
| 152 | EOF
|
---|
| 153 |
|
---|
| 154 | cat > make-version.pl << "EOF"
|
---|
| 155 | #!/usr/bin/perl
|
---|
| 156 | EOF</userinput></screen>
|
---|
| 157 |
|
---|
| 158 | <para><application>Wireshark</application> is a very large and complex
|
---|
| 159 | application. These instructions provide additional security measures to
|
---|
| 160 | ensure that only trusted users are allowed to view network traffic. First,
|
---|
[6b14cb2] | 161 | set up a system group for wireshark. As the <systemitem
|
---|
[a079e73c] | 162 | class="username">root</systemitem> user:</para>
|
---|
| 163 |
|
---|
| 164 | <screen role="root"><userinput>groupadd -g 62 wireshark</userinput></screen>
|
---|
| 165 |
|
---|
[ef78b5f] | 166 | <para>If you want an unpriviledged user to execute
|
---|
| 167 | <application>wireshark</application>, run the following command as the
|
---|
| 168 | <systemitem class="username">root</systemitem> user:</para>
|
---|
| 169 |
|
---|
| 170 | <screen><userinput>usermod -a -G wireshark <replaceable><username></replaceable></userinput></screen>
|
---|
| 171 |
|
---|
[6a66d5e] | 172 | <para>
|
---|
| 173 | If you have both <application>GTK+2</application> and
|
---|
| 174 | <application>GTK+3</application>, and both <application>Qt4</application>
|
---|
| 175 | and <application>Qt5</application> installed, the
|
---|
| 176 | <application>GTK+</application> GUI will be linked against
|
---|
| 177 | <application>GTK+3</application> and <application>Qt</application> GUI
|
---|
| 178 | will be linked against <application>Qt5</application>. The instructions
|
---|
| 179 | below only cover building of the <application>GTK+3</application> GUI.
|
---|
| 180 | Additional modifications must be made to the commands below if building
|
---|
| 181 | a GUI front-end against different supported toolkits. Examine "Command
|
---|
| 182 | Explanations" section for information on necessary modifications to the
|
---|
| 183 | <command>configure</command> command.
|
---|
| 184 | </para>
|
---|
[03e61f5] | 185 |
|
---|
[6a66d5e] | 186 | <para>
|
---|
| 187 | If you want to build the <application>Qt5</application> GUI and have both
|
---|
| 188 | <application>Qt4</application> and <application>Qt5</application>
|
---|
| 189 | installed, issue:
|
---|
| 190 | </para>
|
---|
[03e61f5] | 191 |
|
---|
[6a66d5e] | 192 | <screen><userinput>export QT_SELECT=qt5</userinput></screen>
|
---|
[03e61f5] | 193 |
|
---|
[6a66d5e] | 194 | <para>
|
---|
| 195 | If you want to build the <application>Qt4</application> GUI and have both
|
---|
| 196 | <application>Qt4</application> and <application>Qt5</application>
|
---|
| 197 | installed, issue:
|
---|
| 198 | </para>
|
---|
[03e61f5] | 199 |
|
---|
[6a66d5e] | 200 | <screen><userinput>sed -i "s:Qt5 Qt:Qt:g" configure</userinput></screen>
|
---|
[03e61f5] | 201 |
|
---|
[6a66d5e] | 202 | <para>
|
---|
| 203 | Install <application>Wireshark</application> by running the following
|
---|
| 204 | commands:
|
---|
| 205 | </para>
|
---|
[13659efc] | 206 |
|
---|
[03e61f5] | 207 | <screen><userinput>./configure --prefix=/usr \
|
---|
[6a66d5e] | 208 | --sysconfdir=/etc \
|
---|
| 209 | --with-gtk3 \
|
---|
| 210 | --without-qt &&
|
---|
[13659efc] | 211 | make</userinput></screen>
|
---|
[28d83dbc] | 212 |
|
---|
| 213 | <para>This package does not come with a test suite.</para>
|
---|
[50b8d8b] | 214 |
|
---|
[13659efc] | 215 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
[50b8d8b] | 216 |
|
---|
[28d83dbc] | 217 | <screen role="root"><userinput>make install &&
|
---|
[894de226] | 218 |
|
---|
[6a66d5e] | 219 | install -v -dm755 /usr/share/doc/wireshark-&wireshark-version; &&
|
---|
| 220 | install -v -m644 README{,.linux} doc/README.* doc/*.{pod,txt} \
|
---|
| 221 | /usr/share/doc/wireshark-&wireshark-version; &&
|
---|
[a079e73c] | 222 |
|
---|
[894de226] | 223 | pushd /usr/share/doc/wireshark-&wireshark-version; &&
|
---|
[0d7900a] | 224 | for FILENAME in ../../wireshark/*.html; do
|
---|
[6a66d5e] | 225 | ln -sfv $FILENAME
|
---|
[a079e73c] | 226 | done &&
|
---|
[894de226] | 227 | popd &&
|
---|
| 228 |
|
---|
[6a66d5e] | 229 | if [ -e /usr/bin/wireshark ]; then
|
---|
| 230 | install -v -Dm644 wireshark.desktop /usr/share/applications/wireshark.desktop
|
---|
| 231 | fi &&
|
---|
[a079e73c] | 232 |
|
---|
[6a66d5e] | 233 | if [ -e /usr/bin/wireshark-qt ]; then
|
---|
| 234 | install -v -Dm644 wireshark.desktop /usr/share/applications/wireshark-qt.desktop &&
|
---|
| 235 | sed -i "/Exec/s:wireshark:&-qt:g" /usr/share/applications/wireshark-qt.desktop
|
---|
| 236 | fi &&
|
---|
[a079e73c] | 237 |
|
---|
[6a66d5e] | 238 | for size in 16 24 32 48 64 128 256 ; do
|
---|
| 239 | install -v -Dm644 image/wsicon${size}.png \
|
---|
| 240 | /usr/share/icons/hicolor/${size}x${size}/apps/wireshark.png &&
|
---|
| 241 | install -v -Dm644 image/WiresharkDoc-${size}.png \
|
---|
| 242 | /usr/share/icons/hicolor/${size}x${size}/mimetypes/application-vnd.tcpdump.pcap.png
|
---|
| 243 | done &&
|
---|
| 244 |
|
---|
| 245 | unset size &&
|
---|
| 246 | unset QT_SELECT</userinput></screen>
|
---|
[3932f297] | 247 |
|
---|
| 248 | <para>If you downloaded any of the documentation files from the page
|
---|
| 249 | listed in the 'Additional Downloads', install them by issuing the following
|
---|
| 250 | commands as the <systemitem class="username">root</systemitem> user:</para>
|
---|
| 251 |
|
---|
[894de226] | 252 | <screen role="root"><userinput>install -v -m644 <replaceable><Downloaded_Files></replaceable> /usr/share/doc/wireshark-&wireshark-version;</userinput></screen>
|
---|
[50b8d8b] | 253 |
|
---|
[e958dbb2] | 254 | <para>Now, set ownership and permissions of sensitive applications to
|
---|
[a079e73c] | 255 | only allow authorized users. As the <systemitem
|
---|
| 256 | class="username">root</systemitem> user:</para>
|
---|
| 257 |
|
---|
| 258 | <screen role="root"><userinput>chown -v root:wireshark /usr/bin/{tshark,dumpcap} &&
|
---|
| 259 | chmod -v 6550 /usr/bin/{tshark,dumpcap}</userinput></screen>
|
---|
| 260 |
|
---|
[03e61f5] | 261 | <para>Finally, add any users to the wireshark group (as root user):</para>
|
---|
| 262 |
|
---|
| 263 | <screen role="root"><userinput>usermod -a -G wireshark <username></userinput></screen>
|
---|
[a079e73c] | 264 |
|
---|
[13659efc] | 265 | </sect2>
|
---|
[50b8d8b] | 266 |
|
---|
[13659efc] | 267 | <sect2 role="commands">
|
---|
| 268 | <title>Command Explanations</title>
|
---|
[50b8d8b] | 269 |
|
---|
[6a66d5e] | 270 | <para>
|
---|
| 271 | <parameter>--with-gtk3</parameter>: This switch enables building
|
---|
| 272 | of the <application>GTK+3</application> GUI front-end. Replace it
|
---|
| 273 | with <parameter>--with-gtk2</parameter> if you have both
|
---|
| 274 | <application>GTK+2</application> and <application>GTK+3</application>
|
---|
| 275 | installed but wish to use <application>GTK+2</application> to build
|
---|
| 276 | the GUI front-end.
|
---|
| 277 | </para>
|
---|
[7f77bc6] | 278 |
|
---|
[6a66d5e] | 279 | <para>
|
---|
| 280 | <parameter>--without-qt</parameter>: This switch disables building
|
---|
| 281 | of the <application>Qt</application> GUI front-end. Replace it with
|
---|
| 282 | <parameter>--with-qt</parameter> if you have installed either
|
---|
| 283 | <application>Qt4</application> or <application>Qt5</application>
|
---|
| 284 | and wish to build the <application>Qt</application> GUI front-end.
|
---|
| 285 | </para>
|
---|
[7f77bc6] | 286 |
|
---|
[6a66d5e] | 287 | <para>
|
---|
| 288 | <option>--disable-wireshark</option>: Use this switch if you don't
|
---|
| 289 | want to build the GUI front-end.
|
---|
| 290 | </para>
|
---|
[50b8d8b] | 291 |
|
---|
[13659efc] | 292 | </sect2>
|
---|
[50b8d8b] | 293 |
|
---|
[13659efc] | 294 | <sect2 role="configuration">
|
---|
[894de226] | 295 | <title>Configuring Wireshark</title>
|
---|
[13659efc] | 296 |
|
---|
[894de226] | 297 | <sect3 id="wireshark-config">
|
---|
[13659efc] | 298 | <title>Config Files</title>
|
---|
[50b8d8b] | 299 |
|
---|
[894de226] | 300 | <para><filename>/etc/wireshark.conf</filename> and
|
---|
| 301 | <filename>~/.wireshark/*</filename></para>
|
---|
[50b8d8b] | 302 |
|
---|
[894de226] | 303 | <indexterm zone="wireshark wireshark-config">
|
---|
| 304 | <primary sortas="e-AA.wireshark-star">~/.wireshark/*</primary>
|
---|
[13659efc] | 305 | </indexterm>
|
---|
[50b8d8b] | 306 |
|
---|
[894de226] | 307 | <indexterm zone="wireshark wireshark-config">
|
---|
| 308 | <primary sortas="e-etc-wireshark.conf">/etc/wireshark.conf</primary>
|
---|
[13659efc] | 309 | </indexterm>
|
---|
[50b8d8b] | 310 |
|
---|
[13659efc] | 311 | </sect3>
|
---|
[50b8d8b] | 312 |
|
---|
[13659efc] | 313 | <sect3>
|
---|
| 314 | <title>Configuration Information</title>
|
---|
[50b8d8b] | 315 |
|
---|
[1065a91] | 316 | <para>Though the default configuration parameters are very sane,
|
---|
| 317 | reference the configuration section of the
|
---|
[894de226] | 318 | <ulink url="http://www.wireshark.org/docs/wsug_html/">Wireshark User's
|
---|
[1065a91] | 319 | Guide</ulink> for configuration information. Most of
|
---|
[894de226] | 320 | <application>Wireshark</application>'s configuration can be accomplished
|
---|
| 321 | using the menu options of the <command>wireshark</command>
|
---|
[03e61f5] | 322 | graphical interfaces.</para>
|
---|
| 323 |
|
---|
[13659efc] | 324 | <note>
|
---|
[1065a91] | 325 | <para>If you want to look at packets, make sure you don't filter
|
---|
| 326 | them out with <xref linkend="iptables"/>. If you want to exclude
|
---|
| 327 | certain classes of packets, it is more efficient to do it with
|
---|
[894de226] | 328 | <application>iptables</application> than it is with
|
---|
| 329 | <application>Wireshark</application>.</para>
|
---|
[13659efc] | 330 | </note>
|
---|
[50b8d8b] | 331 |
|
---|
[13659efc] | 332 | </sect3>
|
---|
[50b8d8b] | 333 |
|
---|
[13659efc] | 334 | </sect2>
|
---|
[50b8d8b] | 335 |
|
---|
[13659efc] | 336 | <sect2 role="content">
|
---|
| 337 | <title>Contents</title>
|
---|
| 338 |
|
---|
| 339 | <segmentedlist>
|
---|
| 340 | <segtitle>Installed Programs</segtitle>
|
---|
| 341 | <segtitle>Installed Libraries</segtitle>
|
---|
| 342 | <segtitle>Installed Directories</segtitle>
|
---|
[50b8d8b] | 343 |
|
---|
[13659efc] | 344 | <seglistitem>
|
---|
[6a66d5e] | 345 | <seg>
|
---|
| 346 | capinfos, captype, dftest, dumpcap, editcap, mergecap,
|
---|
| 347 | randpkt, rawshark, reordercap, text2pcap, tshark,
|
---|
| 348 | wireshark and wireshark-qt
|
---|
| 349 | </seg>
|
---|
| 350 | <seg>
|
---|
| 351 | libfiletap.so, libwireshark.so, libwiretap.so and libwsutil.so
|
---|
| 352 | </seg>
|
---|
| 353 | <seg>
|
---|
| 354 | /usr/lib/wireshark,
|
---|
| 355 | /usr/share/doc/wireshark-&wireshark-version; and
|
---|
| 356 | /usr/share/wireshark
|
---|
| 357 | </seg>
|
---|
[13659efc] | 358 | </seglistitem>
|
---|
| 359 | </segmentedlist>
|
---|
[50b8d8b] | 360 |
|
---|
[13659efc] | 361 | <variablelist>
|
---|
| 362 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 363 | <?dbfo list-presentation="list"?>
|
---|
| 364 | <?dbhtml list-presentation="table"?>
|
---|
[50b8d8b] | 365 |
|
---|
[13659efc] | 366 | <varlistentry id="capinfos">
|
---|
| 367 | <term><command>capinfos</command></term>
|
---|
| 368 | <listitem>
|
---|
[1065a91] | 369 | <para>reads a saved capture file and returns any or all of several
|
---|
| 370 | statistics about that file. It is able to detect and read any capture
|
---|
[894de226] | 371 | supported by the <application>Wireshark</application> package.</para>
|
---|
| 372 | <indexterm zone="wireshark capinfos">
|
---|
[13659efc] | 373 | <primary sortas="b-capinfos">capinfos</primary>
|
---|
| 374 | </indexterm>
|
---|
| 375 | </listitem>
|
---|
| 376 | </varlistentry>
|
---|
[50b8d8b] | 377 |
|
---|
[03e61f5] | 378 | <varlistentry id="captype">
|
---|
| 379 | <term><command>captype</command></term>
|
---|
| 380 | <listitem>
|
---|
| 381 | <para>prints the file types of capture files.</para>
|
---|
| 382 | <indexterm zone="wireshark captype">
|
---|
| 383 | <primary sortas="b-captype">captype</primary>
|
---|
| 384 | </indexterm>
|
---|
| 385 | </listitem>
|
---|
| 386 | </varlistentry>
|
---|
| 387 |
|
---|
[13659efc] | 388 | <varlistentry id="dftest">
|
---|
| 389 | <term><command>dftest</command></term>
|
---|
| 390 | <listitem>
|
---|
| 391 | <para>is a display-filter-compiler test program.</para>
|
---|
[894de226] | 392 | <indexterm zone="wireshark dftest">
|
---|
[13659efc] | 393 | <primary sortas="b-dftest">dftest</primary>
|
---|
| 394 | </indexterm>
|
---|
| 395 | </listitem>
|
---|
| 396 | </varlistentry>
|
---|
[50b8d8b] | 397 |
|
---|
[894de226] | 398 | <varlistentry id="dumpcap">
|
---|
| 399 | <term><command>dumpcap</command></term>
|
---|
| 400 | <listitem>
|
---|
| 401 | <para>is a network traffic dump tool. It lets you capture packet data
|
---|
| 402 | from a live network and write the packets to a file.</para>
|
---|
| 403 | <indexterm zone="wireshark dumpcap">
|
---|
| 404 | <primary sortas="b-dumpcap">dumpcap</primary>
|
---|
| 405 | </indexterm>
|
---|
| 406 | </listitem>
|
---|
| 407 | </varlistentry>
|
---|
| 408 |
|
---|
[13659efc] | 409 | <varlistentry id="editcap">
|
---|
| 410 | <term><command>editcap</command></term>
|
---|
| 411 | <listitem>
|
---|
[1065a91] | 412 | <para>edits and/or translates the format of capture files. It knows
|
---|
| 413 | how to read <application>libpcap</application> capture files,
|
---|
| 414 | including those of <command>tcpdump</command>,
|
---|
[894de226] | 415 | <application>Wireshark</application> and other tools that write
|
---|
[28d83dbc] | 416 | captures in that format.</para>
|
---|
[894de226] | 417 | <indexterm zone="wireshark editcap">
|
---|
[13659efc] | 418 | <primary sortas="b-editcap">editcap</primary>
|
---|
| 419 | </indexterm>
|
---|
| 420 | </listitem>
|
---|
| 421 | </varlistentry>
|
---|
[50b8d8b] | 422 |
|
---|
[13659efc] | 423 | <varlistentry id="mergecap">
|
---|
| 424 | <term><command>mergecap</command></term>
|
---|
| 425 | <listitem>
|
---|
[1065a91] | 426 | <para>combines multiple saved capture files into a single output
|
---|
[13659efc] | 427 | file.</para>
|
---|
[894de226] | 428 | <indexterm zone="wireshark mergecap">
|
---|
[13659efc] | 429 | <primary sortas="b-mergecap">mergecap</primary>
|
---|
| 430 | </indexterm>
|
---|
| 431 | </listitem>
|
---|
| 432 | </varlistentry>
|
---|
[50b8d8b] | 433 |
|
---|
[13659efc] | 434 | <varlistentry id="randpkt">
|
---|
| 435 | <term><command>randpkt</command></term>
|
---|
| 436 | <listitem>
|
---|
| 437 | <para>creates random-packet capture files.</para>
|
---|
[894de226] | 438 | <indexterm zone="wireshark randpkt">
|
---|
[13659efc] | 439 | <primary sortas="b-randpkt">randpkt</primary>
|
---|
| 440 | </indexterm>
|
---|
| 441 | </listitem>
|
---|
| 442 | </varlistentry>
|
---|
[50b8d8b] | 443 |
|
---|
[a079e73c] | 444 | <varlistentry id="rawshark">
|
---|
| 445 | <term><command>rawshark</command></term>
|
---|
| 446 | <listitem>
|
---|
| 447 | <para>dump and analyze raw libpcap data.</para>
|
---|
| 448 | <indexterm zone="wireshark rawshark">
|
---|
| 449 | <primary sortas="b-rawshark">rawshark</primary>
|
---|
| 450 | </indexterm>
|
---|
| 451 | </listitem>
|
---|
| 452 | </varlistentry>
|
---|
| 453 |
|
---|
[2061231] | 454 | <varlistentry id="reordercap">
|
---|
| 455 | <term><command>reordercap</command></term>
|
---|
| 456 | <listitem>
|
---|
| 457 | <para>reorder timestamps of input file frames into output file.</para>
|
---|
| 458 | <indexterm zone="wireshark reordercap">
|
---|
| 459 | <primary sortas="b-reordercap">reordercap</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>
|
---|
[03e61f5] | 491 | <para>is the GTK+ GUI network protocol analyzer. It lets you
|
---|
| 492 | interactively browse packet data from a live network or from a
|
---|
| 493 | previously saved capture file.</para>
|
---|
[894de226] | 494 | <indexterm zone="wireshark wireshark-prog">
|
---|
| 495 | <primary sortas="b-wireshark">wireshark</primary>
|
---|
[13659efc] | 496 | </indexterm>
|
---|
| 497 | </listitem>
|
---|
| 498 | </varlistentry>
|
---|
[50b8d8b] | 499 |
|
---|
[03e61f5] | 500 | <varlistentry id="wireshark-qt-prog">
|
---|
| 501 | <term><command>wireshark-qt</command></term>
|
---|
| 502 | <listitem>
|
---|
| 503 | <para>is the Qt GUI network protocol analyzer. It lets you
|
---|
| 504 | interactively browse packet data from a live network or from a
|
---|
| 505 | previously saved capture file.</para>
|
---|
| 506 | <indexterm zone="wireshark wireshark-qt-prog">
|
---|
| 507 | <primary sortas="b-wireshark-qt">wireshark-qt</primary>
|
---|
| 508 | </indexterm>
|
---|
| 509 | </listitem>
|
---|
| 510 | </varlistentry>
|
---|
| 511 |
|
---|
[894de226] | 512 | <varlistentry id="libwireshark">
|
---|
[6a66d5e] | 513 | <term><filename class="libraryfile">libwireshark.so</filename></term>
|
---|
[13659efc] | 514 | <listitem>
|
---|
[1065a91] | 515 | <para>contains functions used by the
|
---|
[894de226] | 516 | <application>Wireshark</application> programs to perform filtering and
|
---|
[13659efc] | 517 | packet capturing.</para>
|
---|
[894de226] | 518 | <indexterm zone="wireshark libwireshark">
|
---|
| 519 | <primary sortas="c-libwireshark">libwireshark.so</primary>
|
---|
[13659efc] | 520 | </indexterm>
|
---|
| 521 | </listitem>
|
---|
| 522 | </varlistentry>
|
---|
[50b8d8b] | 523 |
|
---|
[13659efc] | 524 | <varlistentry id="libwiretap">
|
---|
[6a66d5e] | 525 | <term><filename class="libraryfile">libwiretap.so</filename></term>
|
---|
[13659efc] | 526 | <listitem>
|
---|
[1065a91] | 527 | <para>is a library being developed as a future replacement for
|
---|
[6a66d5e] | 528 | <filename class="libraryfile">libpcap</filename>, the current
|
---|
[1065a91] | 529 | standard Unix library for packet capturing. For more information,
|
---|
| 530 | see the <filename>README</filename> file in the source
|
---|
[6a66d5e] | 531 | <filename class="directory">wiretap</filename> directory.</para>
|
---|
[894de226] | 532 | <indexterm zone="wireshark libwiretap">
|
---|
[13659efc] | 533 | <primary sortas="c-libwiretap">libwiretap.so</primary>
|
---|
| 534 | </indexterm>
|
---|
| 535 | </listitem>
|
---|
| 536 | </varlistentry>
|
---|
[50b8d8b] | 537 |
|
---|
[13659efc] | 538 | </variablelist>
|
---|
| 539 |
|
---|
| 540 | </sect2>
|
---|
[1a3dd316] | 541 |
|
---|
| 542 | </sect1>
|
---|