.\" Automatically generated by Pod::Man 4.07 (Pod::Simple 3.32) .\" .\" Standard preamble: .\" ======================================================================== .de Sp \" Vertical space (when we can't use .PP) .if t .sp .5v .if n .sp .. .de Vb \" Begin verbatim text .ft CW .nf .ne \\$1 .. .de Ve \" End verbatim text .ft R .fi .. .\" Set up some character translations and predefined strings. \*(-- will .\" give an unbreakable dash, \*(PI will give pi, \*(L" will give a left .\" double quote, and \*(R" will give a right double quote. \*(C+ will .\" give a nicer C++. Capital omega is used to do unbreakable dashes and .\" therefore won't be available. \*(C` and \*(C' expand to `' in nroff, .\" nothing in troff, for use with C<>. .tr \(*W- .ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p' .ie n \{\ . ds -- \(*W- . ds PI pi . if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch . if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\" diablo 12 pitch . ds L" "" . ds R" "" . ds C` "" . ds C' "" 'br\} .el\{\ . ds -- \|\(em\| . ds PI \(*p . ds L" `` . ds R" '' . ds C` . ds C' 'br\} .\" .\" Escape single quotes in literal strings from groff's Unicode transform. .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" .\" If the F register is >0, we'll generate index entries on stderr for .\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index .\" entries marked with X<> in POD. Of course, you'll have to process the .\" output yourself in some meaningful fashion. .\" .\" Avoid warning from groff about undefined register 'F'. .de IX .. .if !\nF .nr F 0 .if \nF>0 \{\ . de IX . tm Index:\\$1\t\\n%\t"\\$2" .. . if !\nF==2 \{\ . nr % 0 . nr F 2 . \} .\} .\" .\" Accent mark definitions (@(#)ms.acc 1.5 88/02/08 SMI; from UCB 4.2). .\" Fear. Run. Save yourself. No user-serviceable parts. . \" fudge factors for nroff and troff .if n \{\ . ds #H 0 . ds #V .8m . ds #F .3m . ds #[ \f1 . ds #] \fP .\} .if t \{\ . ds #H ((1u-(\\\\n(.fu%2u))*.13m) . ds #V .6m . ds #F 0 . ds #[ \& . ds #] \& .\} . \" simple accents for nroff and troff .if n \{\ . ds ' \& . ds ` \& . ds ^ \& . ds , \& . ds ~ ~ . ds / .\} .if t \{\ . ds ' \\k:\h'-(\\n(.wu*8/10-\*(#H)'\'\h"|\\n:u" . ds ` \\k:\h'-(\\n(.wu*8/10-\*(#H)'\`\h'|\\n:u' . ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'^\h'|\\n:u' . ds , \\k:\h'-(\\n(.wu*8/10)',\h'|\\n:u' . ds ~ \\k:\h'-(\\n(.wu-\*(#H-.1m)'~\h'|\\n:u' . ds / \\k:\h'-(\\n(.wu*8/10-\*(#H)'\z\(sl\h'|\\n:u' .\} . \" troff and (daisy-wheel) nroff accents .ds : \\k:\h'-(\\n(.wu*8/10-\*(#H+.1m+\*(#F)'\v'-\*(#V'\z.\h'.2m+\*(#F'.\h'|\\n:u'\v'\*(#V' .ds 8 \h'\*(#H'\(*b\h'-\*(#H' .ds o \\k:\h'-(\\n(.wu+\w'\(de'u-\*(#H)/2u'\v'-.3n'\*(#[\z\(de\v'.3n'\h'|\\n:u'\*(#] .ds d- \h'\*(#H'\(pd\h'-\w'~'u'\v'-.25m'\f2\(hy\fP\v'.25m'\h'-\*(#H' .ds D- D\\k:\h'-\w'D'u'\v'-.11m'\z\(hy\v'.11m'\h'|\\n:u' .ds th \*(#[\v'.3m'\s+1I\s-1\v'-.3m'\h'-(\w'I'u*2/3)'\s-1o\s+1\*(#] .ds Th \*(#[\s+2I\s-2\h'-\w'I'u*3/5'\v'-.3m'o\v'.3m'\*(#] .ds ae a\h'-(\w'a'u*4/10)'e .ds Ae A\h'-(\w'A'u*4/10)'E . \" corrections for vroff .if v .ds ~ \\k:\h'-(\\n(.wu*9/10-\*(#H)'\s-2\u~\d\s+2\h'|\\n:u' .if v .ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'\v'-.4m'^\v'.4m'\h'|\\n:u' . \" for low resolution devices (crt and lpr) .if \n(.H>23 .if \n(.V>19 \ \{\ . ds : e . ds 8 ss . ds o a . ds d- d\h'-1'\(ga . ds D- D\h'-1'\(hy . ds th \o'bp' . ds Th \o'LP' . ds ae ae . ds Ae AE .\} .rm #[ #] #H #V #F C .\" ======================================================================== .\" .IX Title "WIRESHARK 1" .TH WIRESHARK 1 "2019-03-23" "2.6.7" "The Wireshark Network Analyzer" .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l .nh .SH "NAME" wireshark \- Interactively dump and analyze network traffic .SH "SYNOPSIS" .IX Header "SYNOPSIS" \&\fBwireshark\fR [\ \fB\-a\fR\ \ ]\ ... [\ \fB\-b\fR\ \ ]\ ... [\ \fB\-B\fR\ \ ]\ [\ \fB\-c\fR\ \ ] [\ \fB\-C\fR\ \ ] [\ \fB\-d\fR\ ==,\ ] [\ \fB\-D\fR\ ] [\ \fB\-\-display=\fR\ ]\ [\ \fB\-f\fR\ \ ] [\ \fB\-\-fullscreen\fR\ ] [\ \fB\-g\fR\ \ ] [\ \fB\-h\fR\ ] [\ \fB\-H\fR\ ] [\ \fB\-i\fR\ |\-\ ] [\ \fB\-I\fR\ ] [\ \fB\-j\fR\ ] [\ \fB\-J\fR\ \ ] [\ \fB\-k\fR\ ] [\ \fB\-K\fR\ \ ] [\ \fB\-l\fR\ ] [\ \fB\-L\fR\ ] [\ \fB\-m\fR\ \ ] [\ \fB\-n\fR\ ] [\ \fB\-N\fR\ \ ]\ [\ \fB\-o\fR\ \ ]\ ... [\ \fB\-p\fR\ ] [\ \fB\-P\fR\ ] [\ \fB\-r\fR\ \ ] [\ \fB\-R\fR\ \ ] [\ \fB\-s\fR\ \ ] [\ \fB\-S\fR\ ] [\ \fB\-t\fR\ a|ad|adoy|d|dd|e|r|u|ud|udoy\ ] [\ \fB\-v\fR\ ] [\ \fB\-w\fR\ \ ] [\ \fB\-X\fR\ \ ] [\ \fB\-y\fR\ \ ] [\ \fB\-Y\fR\ \ ] [\ \fB\-z\fR\ \ ] [\ \fB\-\-enable\-protocol\fR\ \ ] [\ \fB\-\-disable\-protocol\fR\ \ ] [\ \fB\-\-enable\-heuristic\fR\ \ ] [\ \fB\-\-disable\-heuristic\fR\ \ ] [\ \fB\-\-list\-time\-stamp\-types\fR\ ] [\ \fB\-\-time\-stamp\-type\fR\ \ ] [\ \ ] .SH "DESCRIPTION" .IX Header "DESCRIPTION" \&\fBWireshark\fR is a \s-1GUI\s0 network protocol analyzer. It lets you interactively browse packet data from a live network or from a previously saved capture file. \fBWireshark\fR's native capture file format is \fBpcap\fR format, which is also the format used by \fBtcpdump\fR and various other tools. .PP \&\fBWireshark\fR can read / import the following file formats: .IP "\(bu" 4 pcap \- captures from \fBWireshark\fR/\fBTShark\fR/\fBdumpcap\fR, \fBtcpdump\fR, and various other tools using libpcap's/WinPcap's/tcpdump's/WinDump's capture format .IP "\(bu" 4 pcapng \- \*(L"next-generation\*(R" successor to pcap format .IP "\(bu" 4 \&\fBsnoop\fR and \fBatmsnoop\fR captures .IP "\(bu" 4 Shomiti/Finisar \fBSurveyor\fR captures .IP "\(bu" 4 Novell \fBLANalyzer\fR captures .IP "\(bu" 4 Microsoft \fBNetwork Monitor\fR captures .IP "\(bu" 4 \&\s-1AIX\s0's \fBiptrace\fR captures .IP "\(bu" 4 Cinco Networks \fBNetXRay\fR captures .IP "\(bu" 4 Network Associates Windows-based \fBSniffer\fR captures .IP "\(bu" 4 Network General/Network Associates DOS-based \fBSniffer\fR (compressed or uncompressed) captures .IP "\(bu" 4 \&\s-1AG\s0 Group/WildPackets/Savvius \fBEtherPeek\fR/\fBTokenPeek\fR/\fBAiroPeek\fR/\fBEtherHelp\fR/\fBPacketGrabber\fR captures .IP "\(bu" 4 \&\fB\s-1RADCOM\s0\fR's \s-1WAN/LAN\s0 analyzer captures .IP "\(bu" 4 Network Instruments \fBObserver\fR version 9 captures .IP "\(bu" 4 \&\fBLucent/Ascend\fR router debug output .IP "\(bu" 4 files from HP-UX's \fBnettl\fR .IP "\(bu" 4 \&\fBToshiba's\fR \s-1ISDN\s0 routers dump output .IP "\(bu" 4 the output from \fBi4btrace\fR from the \s-1ISDN4BSD\s0 project .IP "\(bu" 4 traces from the \fBEyeSDN\fR \s-1USB S0.\s0 .IP "\(bu" 4 the output in \fBIPLog\fR format from the Cisco Secure Intrusion Detection System .IP "\(bu" 4 \&\fBpppd logs\fR (pppdump format) .IP "\(bu" 4 the output from \s-1VMS\s0's \fBTCPIPtrace\fR/\fBTCPtrace\fR/\fB\s-1UCX$TRACE\s0\fR utilities .IP "\(bu" 4 the text output from the \fB\s-1DBS\s0 Etherwatch\fR \s-1VMS\s0 utility .IP "\(bu" 4 Visual Networks' \fBVisual UpTime\fR traffic capture .IP "\(bu" 4 the output from \fBCoSine\fR L2 debug .IP "\(bu" 4 the output from InfoVista's \fB5View\fR \s-1LAN\s0 agents .IP "\(bu" 4 Endace Measurement Systems' \s-1ERF\s0 format captures .IP "\(bu" 4 Linux Bluez Bluetooth stack \fBhcidump \-w\fR traces .IP "\(bu" 4 Catapult \s-1DCT2000 \s0.out files .IP "\(bu" 4 Gammu generated text output from Nokia \s-1DCT3\s0 phones in Netmonitor mode .IP "\(bu" 4 \&\s-1IBM\s0 Series (\s-1OS/400\s0) Comm traces (\s-1ASCII & UNICODE\s0) .IP "\(bu" 4 Juniper Netscreen snoop files .IP "\(bu" 4 Symbian \s-1OS\s0 btsnoop files .IP "\(bu" 4 TamoSoft CommView files .IP "\(bu" 4 Textronix K12xx 32bit .rf5 format files .IP "\(bu" 4 Textronix K12 text file format captures .IP "\(bu" 4 Apple PacketLogger files .IP "\(bu" 4 Files from Aethra Telecommunications' \s-1PC108\s0 software for their test instruments .IP "\(bu" 4 \&\s-1MPEG\-2\s0 Transport Streams as defined in \s-1ISO/IEC 13818\-1\s0 .IP "\(bu" 4 Rabbit Labs \s-1CAM\s0 Inspector files .IP "\(bu" 4 Colasoft Capsa files .PP There is no need to tell \fBWireshark\fR what type of file you are reading; it will determine the file type by itself. \&\fBWireshark\fR is also capable of reading any of these file formats if they are compressed using gzip. \fBWireshark\fR recognizes this directly from the file; the '.gz' extension is not required for this purpose. .PP Like other protocol analyzers, \fBWireshark\fR's main window shows 3 views of a packet. It shows a summary line, briefly describing what the packet is. A packet details display is shown, allowing you to drill down to exact protocol or field that you interested in. Finally, a hex dump shows you exactly what the packet looks like when it goes over the wire. .PP In addition, \fBWireshark\fR has some features that make it unique. It can assemble all the packets in a \s-1TCP\s0 conversation and show you the \s-1ASCII \&\s0(or \s-1EBCDIC,\s0 or hex) data in that conversation. Display filters in \&\fBWireshark\fR are very powerful; more fields are filterable in \fBWireshark\fR than in other protocol analyzers, and the syntax you can use to create your filters is richer. As \fBWireshark\fR progresses, expect more and more protocol fields to be allowed in display filters. .PP Packet capturing is performed with the pcap library. The capture filter syntax follows the rules of the pcap library. This syntax is different from the display filter syntax. .PP Compressed file support uses (and therefore requires) the zlib library. If the zlib library is not present, \fBWireshark\fR will compile, but will be unable to read compressed files. .PP The pathname of a capture file to be read can be specified with the \&\fB\-r\fR option or can be specified as a command-line argument. .SH "OPTIONS" .IX Header "OPTIONS" Most users will want to start \fBWireshark\fR without options and configure it from the menus instead. Those users may just skip this section. .IP "\-a " 4 .IX Item "-a " Specify a criterion that specifies when \fBWireshark\fR is to stop writing to a capture file. The criterion is of the form \fItest\fR\fB:\fR\fIvalue\fR, where \fItest\fR is one of: .Sp \&\fBduration\fR:\fIvalue\fR Stop writing to a capture file after \fIvalue\fR seconds have elapsed. .Sp \&\fBfilesize\fR:\fIvalue\fR Stop writing to a capture file after it reaches a size of \&\fIvalue\fR kB. If this option is used together with the \-b option, Wireshark will stop writing to the current capture file and switch to the next one if filesize is reached. Note that the filesize is limited to a maximum value of 2 GiB. .Sp \&\fBfiles\fR:\fIvalue\fR Stop writing to capture files after \fIvalue\fR number of files were written. .IP "\-b " 4 .IX Item "-b " Cause \fBWireshark\fR to run in \*(L"multiple files\*(R" mode. In \*(L"multiple files\*(R" mode, \&\fBWireshark\fR will write to several capture files. When the first capture file fills up, \fBWireshark\fR will switch writing to the next file and so on. .Sp The created filenames are based on the filename given with the \fB\-w\fR flag, the number of the file and on the creation date and time, e.g. outfile_00001_20190714120117.pcap, outfile_00002_20190714120523.pcap, ... .Sp With the \fIfiles\fR option it's also possible to form a \*(L"ring buffer\*(R". This will fill up new files until the number of files specified, at which point \fBWireshark\fR will discard the data in the first file and start writing to that file and so on. If the \fIfiles\fR option is not set, new files filled up until one of the capture stop conditions match (or until the disk is full). .Sp The criterion is of the form \fIkey\fR\fB:\fR\fIvalue\fR, where \fIkey\fR is one of: .Sp \&\fBduration\fR:\fIvalue\fR switch to the next file after \fIvalue\fR seconds have elapsed, even if the current file is not completely filled up. .Sp \&\fBinterval\fR:\fIvalue\fR switch to the next file when the time is an exact multiple of \fIvalue\fR seconds .Sp \&\fBfilesize\fR:\fIvalue\fR switch to the next file after it reaches a size of \&\fIvalue\fR kB. Note that the filesize is limited to a maximum value of 2 GiB. .Sp \&\fBfiles\fR:\fIvalue\fR begin again with the first file after \fIvalue\fR number of files were written (form a ring buffer). This value must be less than 100000. Caution should be used when using large numbers of files: some filesystems do not handle many files in a single directory well. The \fBfiles\fR criterion requires either \fBduration\fR, \fBinterval\fR or \fBfilesize\fR to be specified to control when to go to the next file. It should be noted that each \fB\-b\fR parameter takes exactly one criterion; to specify two criterion, each must be preceded by the \fB\-b\fR option. .Sp Example: \fB\-b filesize:1000 \-b files:5\fR results in a ring buffer of five files of size one megabyte each. .IP "\-B " 4 .IX Item "-B " Set capture buffer size (in MiB, default is 2 MiB). This is used by the capture driver to buffer packet data until that data can be written to disk. If you encounter packet drops while capturing, try to increase this size. Note that, while \fBWireshark\fR attempts to set the buffer size to 2 MiB by default, and can be told to set it to a larger value, the system or interface on which you're capturing might silently limit the capture buffer size to a lower value or raise it to a higher value. .Sp This is available on \s-1UNIX\s0 systems with libpcap 1.0.0 or later and on Windows. It is not available on \s-1UNIX\s0 systems with earlier versions of libpcap. .Sp This option can occur multiple times. If used before the first occurrence of the \fB\-i\fR option, it sets the default capture buffer size. If used after an \fB\-i\fR option, it sets the capture buffer size for the interface specified by the last \fB\-i\fR option occurring before this option. If the capture buffer size is not set specifically, the default capture buffer size is used instead. .IP "\-c " 4 .IX Item "-c " Set the maximum number of packets to read when capturing live data. .IP "\-C " 4 .IX Item "-C " Start with the given configuration profile. .IP "\-d ==," 4 .IX Item "-d ==," Like Wireshark's \fBDecode As...\fR feature, this lets you specify how a layer type should be dissected. If the layer type in question (for example, \&\fBtcp.port\fR or \fBudp.port\fR for a \s-1TCP\s0 or \s-1UDP\s0 port number) has the specified selector value, packets should be dissected as the specified protocol. .Sp Example: \fB\-d tcp.port==8888,http\fR will decode any traffic running over \&\s-1TCP\s0 port 8888 as \s-1HTTP.\s0 .Sp See the \fItshark\fR\|(1) manual page for more examples. .IP "\-D" 4 .IX Item "-D" Print a list of the interfaces on which \fBWireshark\fR can capture, and exit. For each network interface, a number and an interface name, possibly followed by a text description of the interface, is printed. The interface name or the number can be supplied to the \fB\-i\fR flag to specify an interface on which to capture. .Sp This can be useful on systems that don't have a command to list them (\s-1UNIX\s0 systems lacking \fBifconfig \-a\fR or Linux systems lacking \&\fBip link show\fR). The number can be useful on Windows systems, where the interface name might be a long name or a \s-1GUID.\s0 .Sp Note that \*(L"can capture\*(R" means that \fBWireshark\fR was able to open that device to do a live capture; if, on your system, a program doing a network capture must be run from an account with special privileges (for example, as root), then, if \fBWireshark\fR is run with the \fB\-D\fR flag and is not run from such an account, it will not list any interfaces. .IP "\-\-display=" 4 .IX Item "--display=" Specifies the X display to use. A hostname and screen (otherhost:0.0) or just a screen (:0.0) can be specified. This option is not available under Windows. .IP "\-f " 4 .IX Item "-f " Set the capture filter expression. .Sp This option can occur multiple times. If used before the first occurrence of the \fB\-i\fR option, it sets the default capture filter expression. If used after an \fB\-i\fR option, it sets the capture filter expression for the interface specified by the last \fB\-i\fR option occurring before this option. If the capture filter expression is not set specifically, the default capture filter expression is used if provided. .Sp Pre-defined capture filter names, as shown in the \s-1GUI\s0 menu item Capture\->Capture Filters, can be used by prefixing the argument with \*(L"predef:\*(R". Example: \fB\-f \*(L"predef:MyPredefinedHostOnlyFilter\*(R"\fR .IP "\-\-fullscreen" 4 .IX Item "--fullscreen" Start Wireshark in full screen mode (kiosk mode). To exit from fullscreen mode, open the View menu and select the Full Screen option. Alternatively, press the F11 key (or Ctrl + Cmd + F for macOS). .IP "\-g " 4 .IX Item "-g " After reading in a capture file using the \fB\-r\fR flag, go to the given \fIpacket number\fR. .IP "\-h" 4 .IX Item "-h" Print the version and options and exit. .IP "\-H" 4 .IX Item "-H" Hide the capture info dialog during live packet capture. .IP "\-i |\-" 4 .IX Item "-i |-" Set the name of the network interface or pipe to use for live packet capture. .Sp Network interface names should match one of the names listed in "\fBwireshark \-D\fR\*(L" (described above); a number, as reported by \&\*(R"\fBwireshark \-D\fR\*(L", can also be used. If you're using \s-1UNIX, \*(R"\s0\fBnetstat \&\-i\fR\*(L" or \*(R"\fBifconfig \-a\fR" might also work to list interface names, although not all versions of \s-1UNIX\s0 support the \fB\-a\fR flag to \fBifconfig\fR. .Sp If no interface is specified, \fBWireshark\fR searches the list of interfaces, choosing the first non-loopback interface if there are any non-loopback interfaces, and choosing the first loopback interface if there are no non-loopback interfaces. If there are no interfaces at all, \&\fBWireshark\fR reports an error and doesn't start the capture. .Sp Pipe names should be either the name of a \s-1FIFO \s0(named pipe) or ``\-'' to read data from the standard input. On Windows systems, pipe names must be of the form ``\e\epipe\e.\e\fBpipename\fR''. Data read from pipes must be in standard pcap format. .Sp This option can occur multiple times. When capturing from multiple interfaces, the capture file will be saved in pcapng format. .IP "\-I" 4 .IX Item "-I" Put the interface in \*(L"monitor mode\*(R"; this is supported only on \s-1IEEE 802.11\s0 Wi-Fi interfaces, and supported only on some operating systems. .Sp Note that in monitor mode the adapter might disassociate from the network with which it's associated, so that you will not be able to use any wireless networks with that adapter. This could prevent accessing files on a network server, or resolving host names or network addresses, if you are capturing in monitor mode and are not connected to another network with another adapter. .Sp This option can occur multiple times. If used before the first occurrence of the \fB\-i\fR option, it enables the monitor mode for all interfaces. If used after an \fB\-i\fR option, it enables the monitor mode for the interface specified by the last \fB\-i\fR option occurring before this option. .IP "\-j" 4 .IX Item "-j" Use after \fB\-J\fR to change the behavior when no exact match is found for the filter. With this option select the first packet before. .IP "\-J " 4 .IX Item "-J " After reading in a capture file using the \fB\-r\fR flag, jump to the packet matching the filter (display filter syntax). If no exact match is found the first packet after that is selected. .IP "\-k" 4 .IX Item "-k" Start the capture session immediately. If the \fB\-i\fR flag was specified, the capture uses the specified interface. Otherwise, \&\fBWireshark\fR searches the list of interfaces, choosing the first non-loopback interface if there are any non-loopback interfaces, and choosing the first loopback interface if there are no non-loopback interfaces; if there are no interfaces, \fBWireshark\fR reports an error and doesn't start the capture. .IP "\-K " 4 .IX Item "-K " Load kerberos crypto keys from the specified keytab file. This option can be used multiple times to load keys from several files. .Sp Example: \fB\-K krb5.keytab\fR .IP "\-l" 4 .IX Item "-l" Turn on automatic scrolling if the packet display is being updated automatically as packets arrive during a capture (as specified by the \&\fB\-S\fR flag). .IP "\-L" 4 .IX Item "-L" List the data link types supported by the interface and exit. .IP "\-n" 4 .IX Item "-n" Disable network object name resolution (such as hostname, \s-1TCP\s0 and \s-1UDP\s0 port names), the \fB\-N\fR flag might override this one. .IP "\-N " 4 .IX Item "-N " Turn on name resolving only for particular types of addresses and port numbers, with name resolving for other types of addresses and port numbers turned off. This flag overrides \fB\-n\fR if both \fB\-N\fR and \fB\-n\fR are present. If both \fB\-N\fR and \fB\-n\fR flags are not present, all name resolutions are turned on. .Sp The argument is a string that may contain the letters: .Sp \&\fBm\fR to enable \s-1MAC\s0 address resolution .Sp \&\fBn\fR to enable network address resolution .Sp \&\fBN\fR to enable using external resolvers (e.g., \s-1DNS\s0) for network address resolution .Sp \&\fBt\fR to enable transport-layer port number resolution .Sp \&\fBd\fR to enable resolution from captured \s-1DNS\s0 packets .Sp \&\fBv\fR to enable \s-1VLAN\s0 IDs to names resolution .IP "\-o " 4 .IX Item "-o " Set a preference or recent value, overriding the default value and any value read from a preference/recent file. The argument to the flag is a string of the form \fIprefname\fR\fB:\fR\fIvalue\fR, where \fIprefname\fR is the name of the preference/recent value (which is the same name that would appear in the preference/recent file), and \fIvalue\fR is the value to which it should be set. Since \fBEthereal\fR 0.10.12, the recent settings replaces the formerly used \&\-B, \-P and \-T flags to manipulate the \s-1GUI\s0 dimensions. .Sp If \fIprefname\fR is \*(L"uat\*(R", you can override settings in various user access tables using the form uat\fB:\fR\fIuat filename\fR:\fIuat record\fR. \fIuat filename\fR must be the name of a \s-1UAT\s0 file, e.g. \fIuser_dlts\fR. \fIuat_record\fR must be in the form of a valid record for that file, including quotes. For instance, to specify a user \s-1DLT\s0 from the command line, you would use .Sp .Vb 1 \& \-o "uat:user_dlts:\e"User 0 (DLT=147)\e",\e"cops\e",\e"0\e",\e"\e",\e"0\e",\e"\e"" .Ve .IP "\-p" 4 .IX Item "-p" \&\fIDon't\fR put the interface into promiscuous mode. Note that the interface might be in promiscuous mode for some other reason; hence, \&\fB\-p\fR cannot be used to ensure that the only traffic that is captured is traffic sent to or from the machine on which \fBWireshark\fR is running, broadcast traffic, and multicast traffic to addresses received by that machine. .Sp This option can occur multiple times. If used before the first occurrence of the \fB\-i\fR option, no interface will be put into the promiscuous mode. If used after an \fB\-i\fR option, the interface specified by the last \fB\-i\fR option occurring before this option will not be put into the promiscuous mode. .IP "\-P " 4 .IX Item "-P " Special path settings usually detected automatically. This is used for special cases, e.g. starting Wireshark from a known location on an \s-1USB\s0 stick. .Sp The criterion is of the form \fIkey\fR\fB:\fR\fIpath\fR, where \fIkey\fR is one of: .Sp \&\fBpersconf\fR:\fIpath\fR path of personal configuration files, like the preferences files. .Sp \&\fBpersdata\fR:\fIpath\fR path of personal data files, it's the folder initially opened. After the very first initialization, the recent file will keep the folder last used. .IP "\-r " 4 .IX Item "-r " Read packet data from \fIinfile\fR, can be any supported capture file format (including gzipped files). It's not possible to use named pipes or stdin here! To capture from a pipe or from stdin use \fB\-i \-\fR .IP "\-R " 4 .IX Item "-R " When reading a capture file specified with the \fB\-r\fR flag, causes the specified filter (which uses the syntax of display filters, rather than that of capture filters) to be applied to all packets read from the capture file; packets not matching the filter are discarded. .IP "\-s " 4 .IX Item "-s " Set the default snapshot length to use when capturing live data. No more than \fIsnaplen\fR bytes of each network packet will be read into memory, or saved to disk. A value of 0 specifies a snapshot length of 262144, so that the full packet is captured; this is the default. .Sp This option can occur multiple times. If used before the first occurrence of the \fB\-i\fR option, it sets the default snapshot length. If used after an \fB\-i\fR option, it sets the snapshot length for the interface specified by the last \fB\-i\fR option occurring before this option. If the snapshot length is not set specifically, the default snapshot length is used if provided. .IP "\-S" 4 .IX Item "-S" Automatically update the packet display as packets are coming in. .IP "\-t a|ad|adoy|d|dd|e|r|u|ud|udoy" 4 .IX Item "-t a|ad|adoy|d|dd|e|r|u|ud|udoy" Set the format of the packet timestamp displayed in the packet list window. The format can be one of: .Sp \&\fBa\fR absolute: The absolute time, as local time in your time zone, is the actual time the packet was captured, with no date displayed .Sp \&\fBad\fR absolute with date: The absolute date, displayed as YYYY-MM-DD, and time, as local time in your time zone, is the actual time and date the packet was captured .Sp \&\fBadoy\fR absolute with date using day of year: The absolute date, displayed as \s-1YYYY/DOY,\s0 and time, as local time in your time zone, is the actual time and date the packet was captured .Sp \&\fBd\fR delta: The delta time is the time since the previous packet was captured .Sp \&\fBdd\fR delta_displayed: The delta_displayed time is the time since the previous displayed packet was captured .Sp \&\fBe\fR epoch: The time in seconds since epoch (Jan 1, 1970 00:00:00) .Sp \&\fBr\fR relative: The relative time is the time elapsed between the first packet and the current packet .Sp \&\fBu\fR \s-1UTC:\s0 The absolute time, as \s-1UTC,\s0 is the actual time the packet was captured, with no date displayed .Sp \&\fBud\fR \s-1UTC\s0 with date: The absolute date, displayed as YYYY-MM-DD, and time, as \s-1UTC,\s0 is the actual time and date the packet was captured .Sp \&\fBudoy\fR \s-1UTC\s0 with date using day of year: The absolute date, displayed as \s-1YYYY/DOY,\s0 and time, as \s-1UTC,\s0 is the actual time and date the packet was captured .Sp The default format is relative. .IP "\-v" 4 .IX Item "-v" Print the version and exit. .IP "\-w " 4 .IX Item "-w " Set the default capture file name. .IP "\-X " 4 .IX Item "-X " Specify an option to be passed to an \fBWireshark\fR module. The eXtension option is in the form \fIextension_key\fR\fB:\fR\fIvalue\fR, where \fIextension_key\fR can be: .Sp \&\fBlua_script\fR:\fIlua_script_filename\fR tells \fBWireshark\fR to load the given script in addition to the default Lua scripts. .Sp \&\fBlua_script\fR\fInum\fR:\fIargument\fR tells \fBWireshark\fR to pass the given argument to the lua script identified by 'num', which is the number indexed order of the 'lua_script' command. For example, if only one script was loaded with '\-X lua_script:my.lua', then '\-X lua_script1:foo' will pass the string 'foo' to the 'my.lua' script. If two scripts were loaded, such as '\-X lua_script:my.lua' and '\-X lua_script:other.lua' in that order, then a '\-X lua_script2:bar' would pass the string 'bar' to the second lua script, namely 'other.lua'. .Sp \&\fBread_format\fR:\fIfile_format\fR tells \fBWireshark\fR to use the given file format to read in the file (the file given in the \fB\-r\fR command option). .Sp \&\fBstdin_descr\fR:\fIdescription\fR tells \fBWireshark\fR to use the given description when capturing from standard input (\fB\-i \-\fR). .IP "\-y " 4 .IX Item "-y " If a capture is started from the command line with \fB\-k\fR, set the data link type to use while capturing packets. The values reported by \fB\-L\fR are the values that can be used. .Sp This option can occur multiple times. If used before the first occurrence of the \fB\-i\fR option, it sets the default capture link type. If used after an \fB\-i\fR option, it sets the capture link type for the interface specified by the last \fB\-i\fR option occurring before this option. If the capture link type is not set specifically, the default capture link type is used if provided. .IP "\-Y " 4 .IX Item "-Y " Start with the given display filter. .IP "\-z " 4 .IX Item "-z " Get \fBWireshark\fR to collect various types of statistics and display the result in a window that updates in semi-real time. .Sp Currently implemented statistics are: .RS 4 .IP "\fB\-z help\fR" 4 .IX Item "-z help" Display all possible values for \fB\-z\fR. .IP "\fB\-z\fR afp,srt[,\fIfilter\fR]" 4 .IX Item "-z afp,srt[,filter]" Show Apple Filing Protocol service response time statistics. .IP "\fB\-z\fR conv,\fItype\fR[,\fIfilter\fR]" 4 .IX Item "-z conv,type[,filter]" Create a table that lists all conversations that could be seen in the capture. \fItype\fR specifies the conversation endpoint types for which we want to generate the statistics; currently the supported ones are: .Sp .Vb 9 \& "eth" Ethernet addresses \& "fc" Fibre Channel addresses \& "fddi" FDDI addresses \& "ip" IPv4 addresses \& "ipv6" IPv6 addresses \& "ipx" IPX addresses \& "tcp" TCP/IP socket pairs Both IPv4 and IPv6 are supported \& "tr" Token Ring addresses \& "udp" UDP/IP socket pairs Both IPv4 and IPv6 are supported .Ve .Sp If the optional \fIfilter\fR is specified, only those packets that match the filter will be used in the calculations. .Sp The table is presented with one line for each conversation and displays the number of packets/bytes in each direction as well as the total number of packets/bytes. By default, the table is sorted according to the total number of packets. .Sp These tables can also be generated at runtime by selecting the appropriate conversation type from the menu \*(L"Tools/Statistics/Conversation List/\*(R". .IP "\fB\-z\fR dcerpc,srt,\fIname-or-uuid\fR,\fImajor\fR.\fIminor\fR[,\fIfilter\fR]" 4 .IX Item "-z dcerpc,srt,name-or-uuid,major.minor[,filter]" Collect call/reply \s-1SRT \s0(Service Response Time) data for \s-1DCERPC\s0 interface \&\fIname\fR or \fIuuid\fR, version \fImajor\fR.\fIminor\fR. Data collected is the number of calls for each procedure, MinSRT, MaxSRT and AvgSRT. Interface \fIname\fR and \fIuuid\fR are case-insensitive. .Sp Example: \fB\-z\ dcerpc,srt,12345778\-1234\-abcd\-ef00\-0123456789ac,1.0\fR will collect data for the \s-1CIFS SAMR\s0 Interface. .Sp This option can be used multiple times on the command line. .Sp If the optional \fIfilter\fR is provided, the stats will only be calculated on those calls that match that filter. .Sp Example: \fB\-z\ dcerpc,srt,12345778\-1234\-abcd\-ef00\-0123456789ac,1.0,ip.addr==1.2.3.4\fR will collect \s-1SAMR SRT\s0 statistics for a specific host. .IP "\fB\-z\fR bootp,stat[,\fIfilter\fR]" 4 .IX Item "-z bootp,stat[,filter]" Show \s-1DHCP \s0(\s-1BOOTP\s0) statistics. .IP "\fB\-z\fR expert" 4 .IX Item "-z expert" Show expert information. .IP "\fB\-z\fR fc,srt[,\fIfilter\fR]" 4 .IX Item "-z fc,srt[,filter]" Collect call/reply \s-1SRT \s0(Service Response Time) data for \s-1FC. \s0 Data collected is the number of calls for each Fibre Channel command, MinSRT, MaxSRT and AvgSRT. .Sp Example: \fB\-z fc,srt\fR will calculate the Service Response Time as the time delta between the First packet of the exchange and the Last packet of the exchange. .Sp The data will be presented as separate tables for all normal \s-1FC\s0 commands, Only those commands that are seen in the capture will have its stats displayed. .Sp This option can be used multiple times on the command line. .Sp If the optional \fIfilter\fR is provided, the stats will only be calculated on those calls that match that filter. .Sp Example: \fB\-z \*(L"fc,srt,fc.id==01.02.03\*(R"\fR will collect stats only for \&\s-1FC\s0 packets exchanged by the host at \s-1FC\s0 address 01.02.03 . .IP "\fB\-z\fR h225,counter[\fI,filter\fR]" 4 .IX Item "-z h225,counter[,filter]" Count ITU-T H.225 messages and their reasons. In the first column you get a list of H.225 messages and H.225 message reasons which occur in the current capture file. The number of occurrences of each message or reason is displayed in the second column. .Sp Example: \fB\-z h225,counter\fR .Sp This option can be used multiple times on the command line. .Sp If the optional \fIfilter\fR is provided, the stats will only be calculated on those calls that match that filter. .Sp Example: \fB\-z \*(L"h225,counter,ip.addr==1.2.3.4\*(R"\fR will collect stats only for H.225 packets exchanged by the host at \s-1IP\s0 address 1.2.3.4 . .IP "\fB\-z\fR h225,srt[\fI,filter\fR]" 4 .IX Item "-z h225,srt[,filter]" Collect request/response \s-1SRT \s0(Service Response Time) data for ITU-T H.225 \s-1RAS.\s0 Data collected is the number of calls of each ITU-T H.225 \s-1RAS\s0 Message Type, Minimum \s-1SRT,\s0 Maximum \s-1SRT,\s0 Average \s-1SRT,\s0 Minimum in Packet, and Maximum in Packet. You will also get the number of Open Requests (Unresponded Requests), Discarded Responses (Responses without matching request) and Duplicate Messages. .Sp Example: \fB\-z h225,srt\fR .Sp This option can be used multiple times on the command line. .Sp If the optional \fIfilter\fR is provided, the stats will only be calculated on those calls that match that filter. .Sp Example: \fB\-z \*(L"h225,srt,ip.addr==1.2.3.4\*(R"\fR will collect stats only for ITU-T H.225 \s-1RAS\s0 packets exchanged by the host at \s-1IP\s0 address 1.2.3.4 . .IP "\fB\-z\fR io,stat" 4 .IX Item "-z io,stat" Collect packet/bytes statistics for the capture in intervals of 1 second. This option will open a window with up to 5 color-coded graphs where number-of-packets-per-second or number-of-bytes-per-second statistics can be calculated and displayed. .Sp This option can be used multiple times on the command line. .Sp This graph window can also be opened from the Analyze:Statistics:Traffic:IO\-Stat menu item. .IP "\fB\-z\fR ldap,srt[,\fIfilter\fR]" 4 .IX Item "-z ldap,srt[,filter]" Collect call/reply \s-1SRT \s0(Service Response Time) data for \s-1LDAP. \s0 Data collected is the number of calls for each implemented \s-1LDAP\s0 command, MinSRT, MaxSRT and AvgSRT. .Sp Example: \fB\-z ldap,srt\fR will calculate the Service Response Time as the time delta between the Request and the Response. .Sp The data will be presented as separate tables for all implemented \s-1LDAP\s0 commands, Only those commands that are seen in the capture will have its stats displayed. .Sp This option can be used multiple times on the command line. .Sp If the optional \fIfilter\fR is provided, the stats will only be calculated on those calls that match that filter. .Sp Example: use \fB\-z \*(L"ldap,srt,ip.addr==10.1.1.1\*(R"\fR will collect stats only for \&\s-1LDAP\s0 packets exchanged by the host at \s-1IP\s0 address 10.1.1.1 . .Sp The only \s-1LDAP\s0 commands that are currently implemented and for which the stats will be available are: \&\s-1BIND SEARCH MODIFY ADD DELETE MODRDN COMPARE EXTENDED\s0 .IP "\fB\-z\fR megaco,srt[\fI,filter\fR]" 4 .IX Item "-z megaco,srt[,filter]" Collect request/response \s-1SRT \s0(Service Response Time) data for \s-1MEGACO. \&\s0(This is similar to \fB\-z smb,srt\fR). Data collected is the number of calls for each known \s-1MEGACO\s0 Command, Minimum \s-1SRT,\s0 Maximum \s-1SRT\s0 and Average \s-1SRT.\s0 .Sp Example: \fB\-z megaco,srt\fR .Sp This option can be used multiple times on the command line. .Sp If the optional \fIfilter\fR is provided, the stats will only be calculated on those calls that match that filter. .Sp Example: \fB\-z \*(L"megaco,srt,ip.addr==1.2.3.4\*(R"\fR will collect stats only for \&\s-1MEGACO\s0 packets exchanged by the host at \s-1IP\s0 address 1.2.3.4 . .IP "\fB\-z\fR mgcp,srt[\fI,filter\fR]" 4 .IX Item "-z mgcp,srt[,filter]" Collect request/response \s-1SRT \s0(Service Response Time) data for \s-1MGCP. \&\s0(This is similar to \fB\-z smb,srt\fR). Data collected is the number of calls for each known \s-1MGCP\s0 Type, Minimum \s-1SRT,\s0 Maximum \s-1SRT\s0 and Average \s-1SRT.\s0 .Sp Example: \fB\-z mgcp,srt\fR .Sp This option can be used multiple times on the command line. .Sp If the optional \fIfilter\fR is provided, the stats will only be calculated on those calls that match that filter. .Sp Example: \fB\-z \*(L"mgcp,srt,ip.addr==1.2.3.4\*(R"\fR will collect stats only for \&\s-1MGCP\s0 packets exchanged by the host at \s-1IP\s0 address 1.2.3.4 . .IP "\fB\-z\fR mtp3,msus[,]" 4 .IX Item "-z mtp3,msus[,]" Show \s-1MTP3 MSU\s0 statistics. .IP "\fB\-z\fR multicast,stat[,]" 4 .IX Item "-z multicast,stat[,]" Show \s-1UDP\s0 multicast stream statistics. .IP "\fB\-z\fR rpc,programs" 4 .IX Item "-z rpc,programs" Collect call/reply \s-1SRT\s0 data for all known ONC-RPC programs/versions. Data collected is the number of calls for each protocol/version, MinSRT, MaxSRT and AvgSRT. .IP "\fB\-z\fR rpc,srt,\fIname-or-number\fR,\fIversion\fR[,]" 4 .IX Item "-z rpc,srt,name-or-number,version[,]" Collect call/reply \s-1SRT \s0(Service Response Time) data for program \&\fIname\fR/\fIversion\fR or \fInumber\fR/\fIversion\fR. Data collected is the number of calls for each procedure, MinSRT, MaxSRT and AvgSRT. Program \fIname\fR is case-insensitive. .Sp Example: \fB\-z rpc,srt,100003,3\fR will collect data for \s-1NFS\s0 v3. .Sp This option can be used multiple times on the command line. .Sp If the optional \fIfilter\fR is provided, the stats will only be calculated on those calls that match that filter. .Sp Example: \fB\-z\ rpc,srt,nfs,3,nfs.fh.hash==0x12345678\fR will collect \s-1NFS\s0 v3 \&\s-1SRT\s0 statistics for a specific file. .IP "\fB\-z\fR scsi,srt,\fIcmdset\fR[,]" 4 .IX Item "-z scsi,srt,cmdset[,]" Collect call/reply \s-1SRT \s0(Service Response Time) data for \s-1SCSI\s0 commandset . .Sp Commandsets are 0:SBC 1:SSC 5:MMC .Sp Data collected is the number of calls for each procedure, MinSRT, MaxSRT and AvgSRT. .Sp Example: \fB\-z scsi,srt,0\fR will collect data for \s-1SCSI BLOCK COMMANDS \s0(\s-1SBC\s0). .Sp This option can be used multiple times on the command line. .Sp If the optional \fIfilter\fR is provided, the stats will only be calculated on those calls that match that filter. .Sp Example: \fB\-z scsi,srt,0,ip.addr==1.2.3.4\fR will collect \s-1SCSI SBC SRT\s0 statistics for a specific iscsi/ifcp/fcip host. .IP "\fB\-z\fR sip,stat[\fI,filter\fR]" 4 .IX Item "-z sip,stat[,filter]" This option will activate a counter for \s-1SIP\s0 messages. You will get the number of occurrences of each \s-1SIP\s0 Method and of each \s-1SIP\s0 Status-Code. Additionally you also get the number of resent \s-1SIP\s0 Messages (only for \s-1SIP\s0 over \s-1UDP\s0). .Sp Example: \fB\-z sip,stat\fR .Sp This option can be used multiple times on the command line. .Sp If the optional \fIfilter\fR is provided, the stats will only be calculated on those calls that match that filter. .Sp Example: \fB\-z \*(L"sip,stat,ip.addr==1.2.3.4\*(R"\fR will collect stats only for \&\s-1SIP\s0 packets exchanged by the host at \s-1IP\s0 address 1.2.3.4 . .IP "\fB\-z\fR smb,srt[,\fIfilter\fR]" 4 .IX Item "-z smb,srt[,filter]" Collect call/reply \s-1SRT \s0(Service Response Time) data for \s-1SMB. \s0 Data collected is the number of calls for each \s-1SMB\s0 command, MinSRT, MaxSRT and AvgSRT. .Sp Example: \fB\-z smb,srt\fR .Sp The data will be presented as separate tables for all normal \s-1SMB\s0 commands, all Transaction2 commands and all \s-1NT\s0 Transaction commands. Only those commands that are seen in the capture will have their stats displayed. Only the first command in a xAndX command chain will be used in the calculation. So for common SessionSetupAndX + TreeConnectAndX chains, only the SessionSetupAndX call will be used in the statistics. This is a flaw that might be fixed in the future. .Sp This option can be used multiple times on the command line. .Sp If the optional \fIfilter\fR is provided, the stats will only be calculated on those calls that match that filter. .Sp Example: \fB\-z \*(L"smb,srt,ip.addr==1.2.3.4\*(R"\fR will collect stats only for \&\s-1SMB\s0 packets exchanged by the host at \s-1IP\s0 address 1.2.3.4 . .IP "\fB\-z\fR voip,calls" 4 .IX Item "-z voip,calls" This option will show a window that shows VoIP calls found in the capture file. This is the same window shown as when you go to the Statistics Menu and choose VoIP Calls. .Sp Example: \fB\-z voip,calls\fR .IP "\fB\-z\fR wlan,stat[,]" 4 .IX Item "-z wlan,stat[,]" Show \s-1IEEE 802.11\s0 network and station statistics. .IP "\fB\-z\fR wsp,stat[,]" 4 .IX Item "-z wsp,stat[,]" Show \s-1WSP\s0 packet counters. .RE .RS 4 .RE .IP "\-\-enable\-protocol " 4 .IX Item "--enable-protocol " Enable dissection of proto_name. .IP "\-\-disable\-protocol " 4 .IX Item "--disable-protocol " Disable dissection of proto_name. .IP "\-\-enable\-heuristic " 4 .IX Item "--enable-heuristic " Enable dissection of heuristic protocol. .IP "\-\-disable\-heuristic " 4 .IX Item "--disable-heuristic " Disable dissection of heuristic protocol. .IP "\-\-list\-time\-stamp\-types" 4 .IX Item "--list-time-stamp-types" List time stamp types supported for the interface. If no time stamp type can be set, no time stamp types are listed. .IP "\-\-time\-stamp\-type " 4 .IX Item "--time-stamp-type " Change the interface's timestamp method. .SH "INTERFACE" .IX Header "INTERFACE" .SS "\s-1MENU ITEMS\s0" .IX Subsection "MENU ITEMS" .IP "File:Open" 4 .IX Item "File:Open" .PD 0 .IP "File:Open Recent" 4 .IX Item "File:Open Recent" .IP "File:Merge" 4 .IX Item "File:Merge" .PD Merge another capture file to the currently loaded one. The \fIFile:Merge\fR dialog box allows the merge \*(L"Prepended\*(R", \*(L"Chronologically\*(R" or \*(L"Appended\*(R", relative to the already loaded one. .IP "File:Close" 4 .IX Item "File:Close" Open or close a capture file. The \fIFile:Open\fR dialog box allows a filter to be specified; when the capture file is read, the filter is applied to all packets read from the file, and packets not matching the filter are discarded. The \fIFile:Open Recent\fR is a submenu and will show a list of previously opened files. .IP "File:Save" 4 .IX Item "File:Save" .PD 0 .IP "File:Save As" 4 .IX Item "File:Save As" .PD Save the current capture, or the packets currently displayed from that capture, to a file. Check boxes let you select whether to save all packets, or just those that have passed the current display filter and/or those that are currently marked, and an option menu lets you select (from a list of file formats in which at particular capture, or the packets currently displayed from that capture, can be saved), a file format in which to save it. .IP "File:File Set:List Files" 4 .IX Item "File:File Set:List Files" Show a dialog box that lists all files of the file set matching the currently loaded file. A file set is a compound of files resulting from a capture using the \*(L"multiple files\*(R" / \*(L"ringbuffer\*(R" mode, recognizable by the filename pattern, e.g.: Filename_00001_20190714101530.pcap. .IP "File:File Set:Next File" 4 .IX Item "File:File Set:Next File" .PD 0 .IP "File:File Set:Previous File" 4 .IX Item "File:File Set:Previous File" .PD If the currently loaded file is part of a file set (see above), open the next / previous file in that set. .IP "File:Export" 4 .IX Item "File:Export" Export captured data into an external format. Note: the data cannot be imported back into Wireshark, so be sure to keep the capture file. .IP "File:Print" 4 .IX Item "File:Print" Print packet data from the current capture. You can select the range of packets to be printed (which packets are printed), and the output format of each packet (how each packet is printed). The output format will be similar to the displayed values, so a summary line, the packet details view, and/or the hex dump of the packet can be printed. .Sp Printing options can be set with the \fIEdit:Preferences\fR menu item, or in the dialog box popped up by this menu item. .IP "File:Quit" 4 .IX Item "File:Quit" Exit the application. .IP "Edit:Copy:Description" 4 .IX Item "Edit:Copy:Description" Copies the description of the selected field in the protocol tree to the clipboard. .IP "Edit:Copy:Fieldname" 4 .IX Item "Edit:Copy:Fieldname" Copies the fieldname of the selected field in the protocol tree to the clipboard. .IP "Edit:Copy:Value" 4 .IX Item "Edit:Copy:Value" Copies the value of the selected field in the protocol tree to the clipboard. .IP "Edit:Copy:As Filter" 4 .IX Item "Edit:Copy:As Filter" Create a display filter based on the data currently highlighted in the packet details and copy that filter to the clipboard. .Sp If that data is a field that can be tested in a display filter expression, the display filter will test that field; otherwise, the display filter will be based on the absolute offset within the packet. Therefore it could be unreliable if the packet contains protocols with variable-length headers, such as a source-routed token-ring packet. .IP "Edit:Find Packet" 4 .IX Item "Edit:Find Packet" Search forward or backward, starting with the currently selected packet (or the most recently selected packet, if no packet is selected). Search criteria can be a display filter expression, a string of hexadecimal digits, or a text string. .Sp When searching for a text string, you can search the packet data, or you can search the text in the Info column in the packet list pane or in the packet details pane. .Sp Hexadecimal digits can be separated by colons, periods, or dashes. Text string searches can be \s-1ASCII\s0 or Unicode (or both), and may be case insensitive. .IP "Edit:Find Next" 4 .IX Item "Edit:Find Next" .PD 0 .IP "Edit:Find Previous" 4 .IX Item "Edit:Find Previous" .PD Search forward / backward for a packet matching the filter from the previous search, starting with the currently selected packet (or the most recently selected packet, if no packet is selected). .IP "Edit:Mark Packet (toggle)" 4 .IX Item "Edit:Mark Packet (toggle)" Mark (or unmark if currently marked) the selected packet. The field \&\*(L"frame.marked\*(R" is set for packets that are marked, so that, for example, a display filters can be used to display only marked packets, and so that the \*(L"Edit:Find Packet\*(R" dialog can be used to find the next or previous marked packet. .IP "Edit:Find Next Mark" 4 .IX Item "Edit:Find Next Mark" .PD 0 .IP "Edit:Find Previous Mark" 4 .IX Item "Edit:Find Previous Mark" .PD Find next/previous marked packet. .IP "Edit:Mark All Packets" 4 .IX Item "Edit:Mark All Packets" .PD 0 .IP "Edit:Unmark All Packets" 4 .IX Item "Edit:Unmark All Packets" .PD Mark / Unmark all packets that are currently displayed. .IP "Edit:Time Reference:Set Time Reference (toggle)" 4 .IX Item "Edit:Time Reference:Set Time Reference (toggle)" Set (or unset if currently set) the selected packet as a Time Reference packet. When a packet is set as a Time Reference packet, the timestamps in the packet list pane will be replaced with the string \*(L"*REF*\*(R". The relative time timestamp in later packets will then be calculated relative to the timestamp of this Time Reference packet and not the first packet in the capture. .Sp Packets that have been selected as Time Reference packets will always be displayed in the packet list pane. Display filters will not affect or hide these packets. .Sp If there is a column displayed for \*(L"Cumulative Bytes\*(R" this counter will be reset at every Time Reference packet. .IP "Edit:Time Reference:Find Next" 4 .IX Item "Edit:Time Reference:Find Next" .PD 0 .IP "Edit:Time Reference:Find Previous" 4 .IX Item "Edit:Time Reference:Find Previous" .PD Search forward / backward for a time referenced packet. .IP "Edit:Configuration Profiles" 4 .IX Item "Edit:Configuration Profiles" Manage configuration profiles to be able to use more than one set of preferences and configurations. .IP "Edit:Preferences" 4 .IX Item "Edit:Preferences" Set the \s-1GUI,\s0 capture, printing and protocol options (see \*(L"Preferences\*(R" dialog below). .IP "View:Main Toolbar" 4 .IX Item "View:Main Toolbar" .PD 0 .IP "View:Filter Toolbar" 4 .IX Item "View:Filter Toolbar" .IP "View:Statusbar" 4 .IX Item "View:Statusbar" .PD Show or hide the main window controls. .IP "View:Packet List" 4 .IX Item "View:Packet List" .PD 0 .IP "View:Packet Details" 4 .IX Item "View:Packet Details" .IP "View:Packet Bytes" 4 .IX Item "View:Packet Bytes" .PD Show or hide the main window panes. .IP "View:Time Display Format" 4 .IX Item "View:Time Display Format" Set the format of the packet timestamp displayed in the packet list window. .IP "View:Name Resolution:Resolve Name" 4 .IX Item "View:Name Resolution:Resolve Name" Try to resolve a name for the currently selected item. .IP "View:Name Resolution:Enable for ... Layer" 4 .IX Item "View:Name Resolution:Enable for ... Layer" Enable or disable translation of addresses to names in the display. .IP "View:Colorize Packet List" 4 .IX Item "View:Colorize Packet List" Enable or disable the coloring rules. Disabling will improve performance. .IP "View:Auto Scroll in Live Capture" 4 .IX Item "View:Auto Scroll in Live Capture" Enable or disable the automatic scrolling of the packet list while a live capture is in progress. .IP "View:Zoom In" 4 .IX Item "View:Zoom In" .PD 0 .IP "View:Zoom Out" 4 .IX Item "View:Zoom Out" .PD Zoom into / out of the main window data (by changing the font size). .IP "View:Normal Size" 4 .IX Item "View:Normal Size" Reset the zoom factor of zoom in / zoom out back to normal font size. .IP "View:Resize All Columns" 4 .IX Item "View:Resize All Columns" Resize all columns to best fit the current packet display. .IP "View:Expand / Collapse Subtrees" 4 .IX Item "View:Expand / Collapse Subtrees" Expands / Collapses the currently selected item and it's subtrees in the packet details. .IP "View:Expand All" 4 .IX Item "View:Expand All" .PD 0 .IP "View:Collapse All" 4 .IX Item "View:Collapse All" .PD Expand / Collapse all branches of the packet details. .IP "View:Colorize Conversation" 4 .IX Item "View:Colorize Conversation" Select color for a conversation. .IP "View:Reset Coloring 1\-10" 4 .IX Item "View:Reset Coloring 1-10" Reset Color for a conversation. .IP "View:Coloring Rules" 4 .IX Item "View:Coloring Rules" Change the foreground and background colors of the packet information in the list of packets, based upon display filters. The list of display filters is applied to each packet sequentially. After the first display filter matches a packet, any additional display filters in the list are ignored. Therefore, if you are filtering on the existence of protocols, you should list the higher-level protocols first, and the lower-level protocols last. .RS 4 .IP "How Colorization Works" 4 .IX Item "How Colorization Works" Packets are colored according to a list of color filters. Each filter consists of a name, a filter expression and a coloration. A packet is colored according to the first filter that it matches. Color filter expressions use exactly the same syntax as display filter expressions. .Sp When Wireshark starts, the color filters are loaded from: .RS 4 .IP "1." 4 The user's personal color filters file or, if that does not exist, .IP "2." 4 The global color filters file. .RE .RS 4 .Sp If neither of these exist then the packets will not be colored. .RE .RE .RS 4 .RE .IP "View:Show Packet In New Window" 4 .IX Item "View:Show Packet In New Window" Create a new window containing a packet details view and a hex dump window of the currently selected packet; this window will continue to display that packet's details and data even if another packet is selected. .IP "View:Reload" 4 .IX Item "View:Reload" Reload a capture file. Same as \fIFile:Close\fR and \fIFile:Open\fR the same file again. .IP "Go:Back" 4 .IX Item "Go:Back" Go back in previously visited packets history. .IP "Go:Forward" 4 .IX Item "Go:Forward" Go forward in previously visited packets history. .IP "Go:Go To Packet" 4 .IX Item "Go:Go To Packet" Go to a particular numbered packet. .IP "Go:Go To Corresponding Packet" 4 .IX Item "Go:Go To Corresponding Packet" If a field in the packet details pane containing a packet number is selected, go to the packet number specified by that field. (This works only if the dissector that put that entry into the packet details put it into the details as a filterable field rather than just as text.) This can be used, for example, to go to the packet for the request corresponding to a reply, or the reply corresponding to a request, if that packet number has been put into the packet details. .IP "Go:Previous Packet" 4 .IX Item "Go:Previous Packet" .PD 0 .IP "Go:Next Packet" 4 .IX Item "Go:Next Packet" .IP "Go:First Packet" 4 .IX Item "Go:First Packet" .IP "Go:Last Packet" 4 .IX Item "Go:Last Packet" .PD Go to the previous / next / first / last packet in the capture. .IP "Go:Previous Packet In Conversation" 4 .IX Item "Go:Previous Packet In Conversation" .PD 0 .IP "Go:Next Packet In Conversation" 4 .IX Item "Go:Next Packet In Conversation" .PD Go to the previous / next packet of the conversation (\s-1TCP, UDP\s0 or \s-1IP\s0) .IP "Capture:Interfaces" 4 .IX Item "Capture:Interfaces" Shows a dialog box with all currently known interfaces and displaying the current network traffic amount. Capture sessions can be started from here. Beware: keeping this box open results in high system load! .IP "Capture:Options" 4 .IX Item "Capture:Options" Initiate a live packet capture (see \*(L"Capture Options Dialog\*(R" below). If no filename is specified, a temporary file will be created to hold the capture. The location of the file can be chosen by setting your \&\s-1TMPDIR\s0 environment variable before starting \fBWireshark\fR. Otherwise, the default \s-1TMPDIR\s0 location is system-dependent, but is likely either \fI/var/tmp\fR or \fI/tmp\fR. .IP "Capture:Start" 4 .IX Item "Capture:Start" Start a live packet capture with the previously selected options. This won't open the options dialog box, and can be convenient for repeatedly capturing with the same options. .IP "Capture:Stop" 4 .IX Item "Capture:Stop" Stop a running live capture. .IP "Capture:Restart" 4 .IX Item "Capture:Restart" While a live capture is running, stop it and restart with the same options again. This can be convenient to remove irrelevant packets, if no valuable packets were captured so far. .IP "Capture:Capture Filters" 4 .IX Item "Capture:Capture Filters" Edit the saved list of capture filters, allowing filters to be added, changed, or deleted. .IP "Analyze:Display Filters" 4 .IX Item "Analyze:Display Filters" Edit the saved list of display filters, allowing filters to be added, changed, or deleted. .IP "Analyze:Display Filter Macros" 4 .IX Item "Analyze:Display Filter Macros" Create shortcuts for complex macros .IP "Analyze:Apply as Filter" 4 .IX Item "Analyze:Apply as Filter" Create a display filter based on the data currently highlighted in the packet details and apply the filter. .Sp If that data is a field that can be tested in a display filter expression, the display filter will test that field; otherwise, the display filter will be based on the absolute offset within the packet. Therefore it could be unreliable if the packet contains protocols with variable-length headers, such as a source-routed token-ring packet. .Sp The \fBSelected\fR option creates a display filter that tests for a match of the data; the \fBNot Selected\fR option creates a display filter that tests for a non-match of the data. The \fBAnd Selected\fR, \fBOr Selected\fR, \&\fBAnd Not Selected\fR, and \fBOr Not Selected\fR options add to the end of the display filter in the strip at the top (or bottom) an \s-1AND\s0 or \s-1OR\s0 operator followed by the new display filter expression. .IP "Analyze:Prepare a Filter" 4 .IX Item "Analyze:Prepare a Filter" Create a display filter based on the data currently highlighted in the packet details. The filter strip at the top (or bottom) is updated but it is not yet applied. .IP "Analyze:Enabled Protocols" 4 .IX Item "Analyze:Enabled Protocols" Allow protocol dissection to be enabled or disabled for a specific protocol. Individual protocols can be enabled or disabled by clicking on them in the list or by highlighting them and pressing the space bar. The entire list can be enabled, disabled, or inverted using the buttons below the list. .Sp When a protocol is disabled, dissection in a particular packet stops when that protocol is reached, and Wireshark moves on to the next packet. Any higher-layer protocols that would otherwise have been processed will not be displayed. For example, disabling \s-1TCP\s0 will prevent the dissection and display of \s-1TCP, HTTP, SMTP,\s0 Telnet, and any other protocol exclusively dependent on \s-1TCP.\s0 .Sp The list of protocols can be saved, so that Wireshark will start up with the protocols in that list disabled. .IP "Analyze:Decode As" 4 .IX Item "Analyze:Decode As" If you have a packet selected, present a dialog allowing you to change which dissectors are used to decode this packet. The dialog has one panel each for the link layer, network layer and transport layer protocol/port numbers, and will allow each of these to be changed independently. For example, if the selected packet is a \s-1TCP\s0 packet to port 12345, using this dialog you can instruct Wireshark to decode all packets to or from that \s-1TCP\s0 port as \s-1HTTP\s0 packets. .IP "Analyze:User Specified Decodes" 4 .IX Item "Analyze:User Specified Decodes" Create a new window showing whether any protocol \s-1ID\s0 to dissector mappings have been changed by the user. This window also allows the user to reset all decodes to their default values. .IP "Analyze:Follow \s-1TCP\s0 Stream" 4 .IX Item "Analyze:Follow TCP Stream" If you have a \s-1TCP\s0 packet selected, display the contents of the data stream for the \s-1TCP\s0 connection to which that packet belongs, as text, in a separate window, and leave the list of packets in a filtered state, with only those packets that are part of that \s-1TCP\s0 connection being displayed. You can revert to your old view by pressing \s-1ENTER\s0 in the display filter text box, thereby invoking your old display filter (or resetting it back to no display filter). .Sp The window in which the data stream is displayed lets you select: .RS 4 .IP "\(bu" 8 whether to display the entire conversation, or one or the other side of it; .IP "\(bu" 8 whether the data being displayed is to be treated as \s-1ASCII\s0 or \s-1EBCDIC\s0 text or as raw hex data; .RE .RS 4 .Sp and lets you print what's currently being displayed, using the same print options that are used for the \fIFile:Print Packet\fR menu item, or save it as text to a file. .RE .IP "Analyze:Follow \s-1UDP\s0 Stream" 4 .IX Item "Analyze:Follow UDP Stream" .PD 0 .IP "Analyze:Follow \s-1SSL\s0 Stream" 4 .IX Item "Analyze:Follow SSL Stream" .PD (Similar to Analyze:Follow \s-1TCP\s0 Stream) .IP "Analyze:Expert Info" 4 .IX Item "Analyze:Expert Info" .PD 0 .IP "Analyze:Expert Info Composite" 4 .IX Item "Analyze:Expert Info Composite" .PD (Kind of) a log of anomalies found by Wireshark in a capture file. .IP "Analyze:Conversation Filter" 4 .IX Item "Analyze:Conversation Filter" .PD 0 .IP "Statistics:Summary" 4 .IX Item "Statistics:Summary" .PD Show summary information about the capture, including elapsed time, packet counts, byte counts, and the like. If a display filter is in effect, summary information will be shown about the capture and about the packets currently being displayed. .IP "Statistics:Protocol Hierarchy" 4 .IX Item "Statistics:Protocol Hierarchy" Show the number of packets, and the number of bytes in those packets, for each protocol in the trace. It organizes the protocols in the same hierarchy in which they were found in the trace. Besides counting the packets in which the protocol exists, a count is also made for packets in which the protocol is the last protocol in the stack. These last-protocol counts show you how many packets (and the byte count associated with those packets) \fBended\fR in a particular protocol. In the table, they are listed under \*(L"End Packets\*(R" and \*(L"End Bytes\*(R". .IP "Statistics:Conversations" 4 .IX Item "Statistics:Conversations" Lists of conversations; selectable by protocol. See Statistics:Conversation List below. .IP "Statistics:End Points" 4 .IX Item "Statistics:End Points" List of End Point Addresses by protocol with packets/bytes/.... counts. .IP "Statistics:Packet Lengths" 4 .IX Item "Statistics:Packet Lengths" Grouped counts of packet lengths (0\-19 bytes, 20\-39 bytes, ...) .IP "Statistics:IO Graphs" 4 .IX Item "Statistics:IO Graphs" Open a window where up to 5 graphs in different colors can be displayed to indicate number of packets or number of bytes per second for all packets matching the specified filter. By default only one graph will be displayed showing number of packets per second. .Sp The top part of the window contains the graphs and scales for the X and Y axis. If the graph is too long to fit inside the window there is a horizontal scrollbar below the drawing area that can scroll the graphs to the left or the right. The horizontal axis displays the time into the capture and the vertical axis will display the measured quantity at that time. .Sp Below the drawing area and the scrollbar are the controls. On the bottom left there will be five similar sets of controls to control each individual graph such as \*(L"Display: