%general-entities; ]> $LastChangedBy$ $Date$ Wireshark-&wireshark-version; Wireshark Introduction to Wireshark The Wireshark package contains a network protocol analyzer, also known as a sniffer. This is useful for analyzing data captured off the wire from a live network connection, or data read from a capture file. Wireshark provides both a graphical and TTY-mode front-end for examining captured network packets from over 500 protocols, as well as the capability to read capture files from many other popular network analyzers. Package Information Download (HTTP): Download (FTP): Download MD5 sum: &wireshark-md5sum; Download size: &wireshark-size; Estimated disk space required: &wireshark-buildsize; Estimated build time: &wireshark-time; Additional Downloads Additional Documentation: From this page you can download many different docs in a variety of formats. Wireshark dependencies Required (to build the TTY-mode front-end only) Note that if you don't have Gtk+ installed, you will need to pass to the configure command. Recommended (required to capture data) Optional (to build the GUI front-end), , or , , , , Net-SNMP, adns, and Lua User Notes: Kernel Configuration The kernel must have the Packet protocol enabled for Wireshark to capture live packets from the network. Enable the Packet protocol by choosing Y in the NetworkingPacket socket configuration parameter. Alternatively, build the af_packet.ko module by choosing M in this parameter. Capturing network packets Installation of Wireshark Install Wireshark by running the following commands: ./configure --prefix=/usr \ --sysconfdir=/etc \ --enable-threads && make This package does not come with a test suite. Now, as the root user: make install && install -v -m755 -d /usr/share/doc/wireshark-&wireshark-version; && install -v -m644 FAQ README{,.linux} doc/README.* doc/*.{pod,txt} \ /usr/share/doc/wireshark-&wireshark-version; && pushd /usr/share/doc/wireshark-&wireshark-version; && for FILENAME in ../../wireshark/*.html; do \ ln -s -v $FILENAME . done && popd && install -v -m644 -D wireshark.desktop \ /usr/share/applications/wireshark.desktop && install -v -m644 -D image/wsicon48.png \ /usr/share/pixmaps/wireshark.png && install -v -m755 -d /usr/share/pixmaps/wireshark && install -v -m644 image/*.{png,ico,xpm,bmp} \ /usr/share/pixmaps/wireshark If you downloaded any of the documentation files from the page listed in the 'Additional Downloads', install them by issuing the following commands as the root user: install -v -m644 <Downloaded_Files> /usr/share/doc/wireshark-&wireshark-version; Command Explanations --enable-threads: This parameter enables the use of threads in wireshark. : This parameter is required if you are linking Kerberos libraries into the build so that the OpenSSL libcrypto library is found. Configuring Wireshark Config Files /etc/wireshark.conf and ~/.wireshark/* ~/.wireshark/* /etc/wireshark.conf Configuration Information Though the default configuration parameters are very sane, reference the configuration section of the Wireshark User's Guide for configuration information. Most of Wireshark's configuration can be accomplished using the menu options of the wireshark graphical interface. If you want to look at packets, make sure you don't filter them out with . If you want to exclude certain classes of packets, it is more efficient to do it with iptables than it is with Wireshark. Contents Installed Programs Installed Libraries Installed Directories capinfos, dftest, dumpcap, editcap, idl2wrs, mergecap, randpkt, text2pcap, tshark and wireshark libwireshark.so, libwiretap.so and numerous dissector plugin modules /usr/lib/wireshark, /usr/share/doc/wireshark-&wireshark-version;, /usr/share/pixmaps/wireshark and /usr/share/wireshark Short Descriptions capinfos reads a saved capture file and returns any or all of several statistics about that file. It is able to detect and read any capture supported by the Wireshark package. capinfos dftest is a display-filter-compiler test program. dftest dumpcap is a network traffic dump tool. It lets you capture packet data from a live network and write the packets to a file. dumpcap editcap edits and/or translates the format of capture files. It knows how to read libpcap capture files, including those of tcpdump, Wireshark and other tools that write captures in that format. editcap idl2wrs takes a user specified CORBA IDL file and generates C source code that can be used to create an Wireshark plugin. idl2wrs mergecap combines multiple saved capture files into a single output file. mergecap randpkt creates random-packet capture files. randpkt text2pcap reads in an ASCII hex dump and writes the data described into a libpcap-style capture file. text2pcap tshark is a TTY-mode network protocol analyzer. It lets you capture packet data from a live network or read packets from a previously saved capture file. tshark wireshark is a GUI network protocol analyzer. It lets you interactively browse packet data from a live network or from a previously saved capture file. wireshark libwireshark.so contains functions used by the Wireshark programs to perform filtering and packet capturing. libwireshark.so libwiretap.so is a library being developed as a future replacement for libpcap, the current standard Unix library for packet capturing. For more information, see the README file in the source wiretap directory. libwiretap.so