add the number of autostop files to the command line parameters, e.g.:
[obnox/wireshark/wip.git] / doc / ethereal.pod
1
2 =head1 NAME
3
4 ethereal - Interactively browse network traffic
5
6 =head1 SYNOPSYS
7
8 B<ethereal>
9 S<[ B<-a> capture autostop condition ] ...>
10 S<[ B<-b> number of ring buffer files [:duration] ]>
11 S<[ B<-B> byte view height ]>
12 S<[ B<-c> count ]>
13 S<[ B<-f> capture filter expression ]>
14 S<[ B<-h> ]>
15 S<[ B<-i> interface ]> 
16 S<[ B<-k> ]>
17 S<[ B<-l> ]>
18 S<[ B<-L> ]>
19 S<[ B<-m> font ]>
20 S<[ B<-n> ]>
21 S<[ B<-N> resolving flags ] >
22 S<[ B<-o> preference setting ] ...>
23 S<[ B<-p> ]>
24 S<[ B<-P> packet list height ]>
25 S<[ B<-Q> ]>
26 S<[ B<-r> infile ]>
27 S<[ B<-R> display filter expression ]>
28 S<[ B<-S> ]>
29 S<[ B<-s> snaplen ]>
30 S<[ B<-T> details view height ]>
31 S<[ B<-t> time stamp format ]>
32 S<[ B<-v> ]>
33 S<[ B<-w> savefile]>
34 S<[ B<-y> link type ]>
35 S<[ B<-z> statistics-string ]>
36 S<[ infile ]>
37
38 =head1 DESCRIPTION
39
40 B<Ethereal> is a GUI network protocol analyzer.  It lets you
41 interactively browse packet data from a live network or from a
42 previously saved capture file.  B<Ethereal>'s native capture file format
43 is B<libpcap> format, which is also the format used by B<tcpdump> and
44 various other tools.
45
46 B<Ethereal> can read / import the following file formats:
47
48 =over 4
49
50 =item *
51 libpcap, tcpdump and various other tools using tcpdump's capture format
52
53 =item *
54 B<snoop> and B<atmsnoop>
55
56 =item *
57 Shomiti/Finisar B<Surveyor> captures
58
59 =item *
60 Novell B<LANalyzer> captures
61
62 =item *
63 Microsoft B<Network Monitor> captures
64
65 =item *
66 AIX's B<iptrace> captures
67
68 =item *
69 Cinco Networks B<NetXRay> captures
70
71 =item *
72 Network Associates Windows-based B<Sniffer> captures
73
74 =item *
75 Network General/Network Associates DOS-based B<Sniffer> (compressed or uncompressed) captures
76
77 =item *
78 AG Group/WildPackets B<EtherPeek>/B<TokenPeek>/B<AiroPeek>/B<EtherHelp>/B<PacketGrabber> captures
79
80 =item *
81 B<RADCOM>'s WAN/LAN analyzer captures
82
83 =item *
84 Network Instruments B<Observer> version 9 captures
85
86 =item *
87 B<Lucent/Ascend> router debug output
88
89 =item *
90 files from HP-UX's B<nettl>
91
92 =item *
93 B<Toshiba's> ISDN routers dump output
94
95 =item *
96 the output from B<i4btrace> from the ISDN4BSD project
97
98 =item *
99 traces from the B<EyeSDN> USB S0.
100
101 =item *
102 the output in B<IPLog> format from the Cisco Secure Intrusion Detection System
103
104 =item *
105 B<pppd logs> (pppdump format)
106
107 =item *
108 the output from VMS's B<TCPIPtrace>/B<TCPtrace>/B<UCX$TRACE> utilities
109
110 =item *
111 the text output from the B<DBS Etherwatch> VMS utility
112
113 =item *
114 Visual Networks' B<Visual UpTime> traffic capture
115
116 =item *
117 the output from B<CoSine> L2 debug
118
119 =item *
120 the output from Accellent's B<5Views> LAN agents
121
122 =item *
123 Endace Measurement Systems' ERF format captures 
124
125 =item *
126 Linux Bluez Bluetooth stack B<hcidump -w> traces
127
128 =back 4
129
130 There is no need to tell B<Ethereal> what type of
131 file you are reading; it will determine the file type by itself. 
132 B<Ethereal> is also capable of reading any of these file formats if they
133 are compressed using gzip.  B<Ethereal> recognizes this directly from
134 the file; the '.gz' extension is not required for this purpose.
135
136 Like other protocol analyzers, B<Ethereal>'s main window shows 3 views
137 of a packet.  It shows a summary line, briefly describing what the
138 packet is.  A packet details display is shown, allowing you to drill
139 down to exact protocol or field that you interested in.  Finally, a hex
140 dump shows you exactly what the packet looks like when it goes over the
141 wire.
142
143 In addition, B<Ethereal> has some features that make it unique.  It can
144 assemble all the packets in a TCP conversation and show you the ASCII
145 (or EBCDIC, or hex) data in that conversation.  Display filters in
146 B<Ethereal> are very powerful; more fields are filterable in B<Ethereal>
147 than in other protocol analyzers, and the syntax you can use to create
148 your filters is richer.  As B<Ethereal> progresses, expect more and more
149 protocol fields to be allowed in display filters.
150
151 Packet capturing is performed with the pcap library.  The capture filter
152 syntax follows the rules of the pcap library.  This syntax is different
153 from the display filter syntax.
154
155 Compressed file support uses (and therefore requires) the zlib library. 
156 If the zlib library is not present, B<Ethereal> will compile, but will
157 be unable to read compressed files.
158
159 The pathname of a capture file to be read can be specified with the
160 B<-r> option or can be specified as a command-line argument.
161
162 =head1 OPTIONS
163
164 =over 4
165
166 Most users will want to start B<Ethereal> without options and configure
167 it from the menus instead. Those users may just skip this section.
168
169 =item -a
170
171 Specify a criterion that specifies when B<Ethereal> is to stop writing
172 to a capture file.  The criterion is of the form I<test>B<:>I<value>,
173 where I<test> is one of:
174
175 =for man .RS
176
177 =for html <P><DL>
178
179 =item duration
180
181 Stop writing to a capture file after I<value> seconds have elapsed.
182
183 =item filesize
184
185 Stop writing to a capture file after it reaches a size of I<value>
186 kilobytes (where a kilobyte is 1000 bytes, not 1024 bytes). If this option 
187 is used together with the -b option, Ethereal will stop writing to the 
188 current capture file and switch to the next one if filesize is reached.
189
190 =item files
191
192 Stop writing to capture files after I<value> number of files were written.
193
194 =for man .RE
195
196 =for html </DL>
197
198 =item -b
199
200 If a maximum capture file size was specified, cause B<Ethereal> to run
201 in "ring buffer" mode, with the specified number of files.  In "ring
202 buffer" mode, B<Ethereal> will write to several capture files. 
203 Their name is based on the number of the file and on the creation date 
204 and time.
205
206 When the first capture file fills up, B<Ethereal> will switch to writing
207 to the next file, until it fills up the last file, at which point it'll
208 discard the data in the first file (unless 0 is specified, in which case,
209 the number of files is unlimited) and start writing to that file and so on.
210
211 If the optional duration is specified, B<Ethereal> will switch also 
212 to the next file when the specified number of seconds has elapsed even
213 if the current file is not completely fills up.
214
215 =item -B
216
217 Set the initial height of the byte view (bottom) pane.
218
219 =item -c
220
221 Set the default number of packets to read when capturing live
222 data.
223
224 =item -f
225
226 Set the capture filter expression.
227
228 =item -h
229
230 Print the version and options and exit.
231
232 =item -i
233
234 Set the name of the network interface or pipe to use for live packet
235 capture.
236
237 Network interface names should match one of the names listed in
238 "B<tethereal -D>".  If you're using Unix, "B<netstat -i>" or "B<ifconfig
239 -a>" might also work to list interface names, although not all versions
240 of Unix support the B<-a> flag to B<ifconfig>.
241
242 Pipe names should be either the name of a FIFO (named pipe) or ``-'' to
243 read data from the standard input.  Data read from pipes must be in
244 standard libpcap format.
245
246 =item -k
247
248 Start the capture session immediately.  If the B<-i> flag was
249 specified, the capture uses the specified interface.  Otherwise,
250 B<Ethereal> searches the list of interfaces, choosing the first
251 non-loopback interface if there are any non-loopback interfaces, and
252 choosing the first loopback interface if there are no non-loopback
253 interfaces; if there are no interfaces, B<Ethereal> reports an error and
254 doesn't start the capture.
255
256 =item -l
257
258 Turn on automatic scrolling if the packet display is being updated
259 automatically as packets arrive during a capture (as specified by the
260 B<-S> flag).
261
262 =item -L
263
264 List the data link types supported by the interface and exit.
265
266 =item -m
267
268 Set the name of the font used by B<Ethereal> for most text.  B<Ethereal>
269 will construct the name of the bold font used for the data in the byte
270 view pane that corresponds to the field selected in the packet details
271 pane from the name of the main text font.
272
273 =item -n
274
275 Disable network object name resolution (such as hostname, TCP and UDP port
276 names).
277
278 =item -N
279
280 Turn on name resolving for particular types of addresses and port
281 numbers, with name resolving for other types of addresses and port
282 numbers turned off; the argument is a string that may contain the
283 letters B<m> to enable MAC address resolution, B<n> to enable network
284 address resolution, and B<t> to enable transport-layer port number
285 resolution.  This overrides B<-n> if both B<-N> and B<-n> are present.
286 The letter B<C> enables concurrent (asynchronous) DNS lookups.
287
288 =item -o
289
290 Set a preference value, overriding the default value and any value read
291 from a preference file.  The argument to the flag is a string of the
292 form I<prefname>B<:>I<value>, where I<prefname> is the name of the
293 preference (which is the same name that would appear in the preference
294 file), and I<value> is the value to which it should be set.
295
296 =item -p
297
298 I<Don't> put the interface into promiscuous mode.  Note that the
299 interface might be in promiscuous mode for some other reason; hence,
300 B<-p> cannot be used to ensure that the only traffic that is captured is
301 traffic sent to or from the machine on which B<Ethereal> is running,
302 broadcast traffic, and multicast traffic to addresses received by that
303 machine.
304
305 =item -P
306
307 Set the initial height of the packet list (top) pane.
308
309 =item -Q
310
311 Cause B<Ethereal> to exit after the end of capture session (useful in
312 batch mode with B<-c> option for instance); this option requires the
313 B<-i> and B<-w> parameters.
314
315 =item -r
316
317 Read packet data from I<infile>.
318
319 =item -R
320
321 When reading a capture file specified with the B<-r> flag, causes the
322 specified filter (which uses the syntax of display filters, rather than
323 that of capture filters) to be applied to all packets read from the
324 capture file; packets not matching the filter are discarded.
325
326 =item -S
327
328 Perform the live packet capture in a separate process, and automatically
329 update the packet display as packets are seen.
330
331 =item -s
332
333 Set the default snapshot length to use when capturing live data. 
334 No more than I<snaplen> bytes of each network packet will be read into
335 memory, or saved to disk.
336
337 =item -T
338
339 Set the initial height of the packet details (middle) pane.
340
341 =item -t
342
343 Set the format of the packet timestamp displayed in the packet list
344 window.  The format can be one of 'r' (relative), 'a' (absolute), 'ad'
345 (absolute with date), or 'd' (delta).  The relative time is the time
346 elapsed between the first packet and the current packet.  The absolute
347 time is the actual time the packet was captured, with no date displayed;
348 the absolute date and time is the actual time and date the packet was
349 captured.  The delta time is the time since the previous packet was
350 captured.  The default is relative.
351
352 =item -v
353
354 Print the version and exit.
355
356 =item -w
357
358 Set the default capture file name.
359
360 =item -y
361
362 If a capture is started from the command line with B<-k>, set the data
363 link type to use while capturing packets.  The values reported by B<-L>
364 are the values that can be used.
365
366 =item -z
367
368 Get B<Ethereal> to collect various types of statistics and display the result
369 in a window that updates in semi-real time.
370 Currently implemented statistics are:
371
372 B<-z> dcerpc,srt,I<uuid>,I<major>.I<minor>[,I<filter>]
373
374 Collect call/reply SRT (Service Response Time) data for DCERPC interface I<uuid>, 
375 version I<major>.I<minor>.
376 Data collected is number of calls for each procedure, MinSRT, MaxSRT 
377 and AvgSRT. 
378 Example: use B<-z dcerpc,srt,12345778-1234-abcd-ef00-0123456789ac,1.0> to collect data for CIFS SAMR Interface.  
379 This option can be used multiple times on the command line. 
380
381 If the optional filterstring is provided, the stats will only be calculated
382 on those calls that match that filter.
383 Example: use B<-z dcerpc,srt,12345778-1234-abcd-ef00-0123456789ac,1.0,ip.addr==1.2.3.4> to collect SAMR
384 SRT statistics for a specific host.
385
386 B<-z> io,stat
387
388 Collect packet/bytes statistics for the capture in intervals of 1 seconds.
389 This option will open a window with up to 5 color-coded graphs where
390 number-of-packets-per-second or number-of-bytes-per-second statistics
391 can be calculated and displayed.
392
393 This option can be used multiple times on the command line. 
394
395 This graph window can also be opened from the Analyze:Statistics:Traffic:IO-Stat
396 menu item.
397
398
399 B<-z> rpc,srt,I<program>,I<version>[,<filter>]
400
401 Collect call/reply SRT (Service Response Time) data for I<program>/I<version>.  Data collected
402 is number of calls for each procedure, MinSRT, MaxSRT and AvgSRT. 
403 Example: use B<-z rpc,srt,100003,3> to collect data for NFS v3.  This
404 option can be used multiple times on the command line. 
405
406 If the optional filter string is provided, the stats will only be calculated
407 on those calls that match that filter.
408 Example: use B<-z rpc,srt,100003,3,nfs.fh.hash==0x12345678> to collect NFS v3
409 SRT statistics for a specific file.
410
411 B<-z> rpc,programs
412
413 Collect call/reply RTT data for all known ONC-RPC programs/versions.  
414 Data collected is number of calls for each protocol/version, MinRTT, 
415 MaxRTT and AvgRTT. 
416
417 B<-z> smb,srt[,I<filter>]
418
419 Collect call/reply SRT (Service Response Time) data for SMB.  Data collected
420 is number of calls for each SMB command, MinSRT, MaxSRT and AvgSRT. 
421 Example: use B<-z smb,srt>.
422
423 The data will be presented as separate tables for all normal SMB commands,
424 all Transaction2 commands and all NT Transaction commands.
425 Only those commands that are seen in the capture will have its stats
426 displayed.
427 Only the first command in a xAndX command chain will be used in the
428 calculation.  So for common SessionSetupAndX + TreeConnectAndX chains,
429 only the SessionSetupAndX call will be used in the statistics.
430 This is a flaw that might be fixed in the future.
431
432 This option can be used multiple times on the command line. 
433
434 If the optional filterstring is provided, the stats will only be calculated
435 on those calls that match that filter.
436 Example: use B<-z "smb,srt,ip.addr==1.2.3.4"> to only collect stats for
437 SMB packets echanged by the host at IP address 1.2.3.4 .
438
439 B<-z> fc,srt[,I<filter>]
440
441 Collect call/reply SRT (Service Response Time) data for FC.  Data collected
442 is number of calls for each Fibre Channel command, MinSRT, MaxSRT and AvgSRT. 
443 Example: use B<-z fc,srt>.
444 The Service Response Time is calculated as the time delta between the
445 First packet of the exchange and the Last packet of the exchange.
446
447 The data will be presented as separate tables for all normal FC commands,
448 Only those commands that are seen in the capture will have its stats
449 displayed.
450
451 This option can be used multiple times on the command line. 
452
453 If the optional filterstring is provided, the stats will only be calculated
454 on those calls that match that filter.
455 Example: use B<-z "fc,srt,fc.id==01.02.03"> to only collect stats for
456 FC packets echanged by the host at FC address 01.02.03 .
457
458 B<-z> ldap,srt[,I<filter>]
459
460 Collect call/reply SRT (Service Response Time) data for LDAP.  Data collected
461 is number of calls for each implemented LDAP command, MinSRT, MaxSRT and AvgSRT. 
462 Example: use B<-z ldap,srt>.
463 The Service Response Time is calculated as the time delta between the
464 Request and the Response.
465
466 The data will be presented as separate tables for all implemented LDAP commands,
467 Only those commands that are seen in the capture will have its stats
468 displayed.
469
470 This option can be used multiple times on the command line. 
471
472 If the optional filterstring is provided, the stats will only be calculated
473 on those calls that match that filter.
474 Example: use B<-z "ldap,srt,ip.addr==10.1.1.1"> to only collect stats for
475 LDAP packets echanged by the host at IP address 10.1.1.1 .
476
477 The only LDAP command that are currently implemented and the stats will be available for are:
478 BIND
479 SEARCH
480 MODIFY
481 ADD
482 DELETE
483 MODRDN
484 COMPARE
485 EXTENDED
486
487
488 B<-z> mgcp,srt[I<,filter>]
489
490 Collect requests/response SRT (Service Response Time) data for MGCP. 
491 This is similar to B<-z smb,srt>). Data collected is number of calls
492 for each known MGCP Type, Minimum SRT, Maximum SRT and Average SRT.
493 Example: use B<-z mgcp,srt>.
494
495 This option can be used multiple times on the command line. 
496
497 If the optional filterstring is provided, the stats will only be calculated
498 on those calls that match that filter.
499 Example: use B<-z "mgcp,srt,ip.addr==1.2.3.4"> to only collect stats for
500 MGCP packets exchanged by the host at IP address 1.2.3.4 .
501
502 B<-z> conv,I<type>[,I<filter>]
503
504 Create a table that lists all conversations that could be seen in the
505 capture.  I<type> specifies for which type of conversation we want to
506 generate the statistics; currently the supported ones are
507
508   "eth"   Ethernet
509   "fc"    Fibre Channel addresses
510   "fddi"  FDDI addresses
511   "ip"    IP addresses
512   "ipx"   IPX addresses
513   "tcp"   TCP/IP socket pairs   Both IPv4 and IPv6 are supported
514   "tr"    TokenRing
515   "udp"   UDP/IP socket pairs   Both IPv4 and IPv6 are supported
516
517 If the optional filter string is specified, only those packets that match the
518 filter will be used in the calculations.
519
520 The table is presented with one line for each conversation and displays
521 number of packets/bytes in each direction as well as total number of
522 packets/bytes.  By default, the table is sorted according to total number
523 of packets.
524
525 These tables can also be generated at runtime by selecting the appropriate
526 conversation type from the menu "Tools/Statistics/Conversation List/".
527
528 B<-z> h225,counter[I<,filter>]
529
530 Count ITU-T H.225 messages and their reasons. In the first column you get a 
531 list of H.225 messages and H.225 message reasons, which occur in the current
532 capture file. The number of occurences of each message or reason is displayed 
533 in the second column.
534
535 Example: use B<-z h225,counter>.
536
537 This option can be used multiple times on the command line. 
538
539 If the optional filterstring is provided, the stats will only be calculated
540 on those calls that match that filter.
541 Example: use B<-z "h225,counter,ip.addr==1.2.3.4"> to only collect stats for
542 H.225 packets exchanged by the host at IP address 1.2.3.4 .
543
544
545 B<-z> h225,srt[I<,filter>]
546
547 Collect requests/response SRT (Service Response Time) data for ITU-T H.225 RAS. 
548 Data collected is number of calls of each ITU-T H.225 RAS Message Type,
549 Minimum SRT, Maximum SRT, Average SRT, Minimum in Packet, and Maximum in Packet. 
550 You will also get the number of Open Requests (Unresponded Requests), 
551 Discarded Responses (Responses without matching request) and Duplicate Messages.
552 Example: use B<-z h225,srt>.
553
554 This option can be used multiple times on the command line. 
555
556 If the optional filterstring is provided, the stats will only be calculated
557 on those calls that match that filter.
558 Example: use B<-z "h225,srt,ip.addr==1.2.3.4"> to only collect stats for
559 ITU-T H.225 RAS packets exchanged by the host at IP address 1.2.3.4 .
560
561 B<-z> sip,stat[I<,filter>]
562
563 This option will activate a counter for SIP messages. You will get the number 
564 of occurences of each SIP Method and of each SIP Status-Code. Additionally you 
565 also get the number of resent SIP Messages (only for SIP over UDP).  
566
567 Example: use B<-z sip,stat>.
568
569 This option can be used multiple times on the command line. 
570
571 If the optional filter string is provided, the stats will only be calculated
572 on those calls that match that filter.
573 Example: use B<-z "sip,stat,ip.addr==1.2.3.4"> to only collect stats for
574 SIP packets exchanged by the host at IP address 1.2.3.4 .
575
576 =back
577
578 =head1 INTERFACE
579
580 =head2 MENU ITEMS
581
582 =over 4
583
584 =item File:Open
585
586 =item File:Open Recent
587
588 =item File:Close
589
590 Open or close a capture file.  The I<File:Open> dialog box
591 allows a filter to be specified; when the capture file is read, the
592 filter is applied to all packets read from the file, and packets not
593 matching the filter are discarded. The I<File:Open Recent> is a submenu 
594 and will show a list of previously opened files.
595
596 =item File:Save
597
598 =item File:Save As
599
600 Save the current capture, or the packets currently displayed from that
601 capture, to a file.  Check boxes let you select whether to save all
602 packets, or just those that have passed the current display filter and/or
603 those that are currently marked, and an option menu lets you select (from 
604 a list of file formats in which at particular capture, or the packets 
605 currently displayed from that capture, can be saved), a file format in 
606 which to save it.
607
608 =item File:Export
609
610 Export captured data into an external format. Note: the data cannot be 
611 imported back into Ethereal, so be sure to keep the capture file.
612
613 =item File:Print
614
615 Print packet data from the current capture. You can select the range of 
616 packets to be printed (which packets are printed), and the output format of 
617 each packet (how each packet is printed). The output format will be similar 
618 to the displayed values, so a summary line, the packet details view, and/or 
619 the hex dump of the packet can be printed. 
620
621 Printing options can be set with the I<Edit:Preferences> menu item, or in the 
622 dialog box popped up by this menu item.
623
624 =item File:Quit
625
626 Exit the application.
627
628 =item Edit:Find Packet
629
630 Search forward or backward, starting with the currently selected packet
631 (or the most recently selected packet, if no packet is selected).  Search
632 criteria can be a display filter expression, a string of hexadecimal 
633 digits, or a text string.
634
635 When searching for a text string, you can search the packet data, or you
636 can search the text in the Info column in the packet list pane or in the
637 packet details pane.
638
639 Hexadecimal digits can be separated by colons, periods, or dashes.
640 Text string searches can be ASCII or Unicode (or both), and may be
641 case insensitive.
642
643 =item Edit:Find Next
644
645 =item Edit:Find Previous
646
647 Search forward / backward for a packet matching the filter from the previous 
648 search, starting with the currently selected packet (or the most recently 
649 selected packet, if no packet is selected).
650
651 =item Edit:Time Reference:Set Time Reference
652
653 Set (or unset if currently set) the selected packet as a Time Reference packet.
654 When a packet is set as a Time Reference packet, the timestamps in the packet
655 list pane will be replaced with the string "*REF*".
656 The relative time timestamp in later packets will then be calculated relative
657 to the timestamp of this Time Reference packet and not the first packet in 
658 the capture.
659
660 Packets that have been selected as Time Reference packets will always be
661 displayed in the packet list pane.  Display filters will not affect or
662 hide these packets.
663
664 If there is a column displayed for "Culmulative Bytes" this counter will 
665 be reset at every Time Reference packet.
666
667 =item Edit:Time Reference:Find Next
668
669 =item Edit:Time Reference:Find Previous
670
671 Search forward / backward for a time referenced packet.
672
673 =item Edit:Mark Packet
674
675 Mark (or unmark if currently marked) the selected packet.  The field
676 "frame.marked" is set for packets that are marked, so that, for example,
677 a display filters can be used to display only marked packets, and so that
678 the L<Edit:Find Packet|/item_edit_3afind_packet> dialog can be used to find the next or previous
679 marked packet.
680
681 =item Edit:Mark All Packets
682
683 =item Edit:Unmark All Packets
684
685 Mark / Unmark all packets that are currently displayed.
686
687 =item Edit:Preferences
688
689 Set the packet printing, column display, TCP stream coloring, and GUI
690 options (see L<Preferences|/item_preferences> dialog below).
691
692 =item View:Main Toolbar
693
694 =item View:Filter Toolbar
695
696 =item View:Statusbar
697
698 Show or hide the main window controls.
699
700 =item View:Packet List
701
702 =item View:Packet Details
703
704 =item View:Packet Bytes
705
706 Show or hide the main window panes.
707
708 =item View:Time Display Format
709
710 Set the format of the packet timestamp displayed in the packet list window 
711 to relative, absolute, absolute date and time, or delta.
712
713 =item View:Name Resolution
714
715 Enable or disable translation of addresses to names in the display.
716
717 =item View:Auto Scroll in Live Capture
718
719 Enable or disable the automatic scrolling of the
720 packet list while a live capture is in progress.
721
722 =item View:Zoom In
723
724 =item View:Zoom Out
725
726 Zoom into / out of the main window data (by changing the font size).
727
728 =item View:Normal Size
729
730 Reset the zoom factor of zoom in / zoom out back to normal font size.
731
732 =item View:Collapse All
733
734 =item View:Expand All
735
736 Collapse / Expand all branches of the packet details.
737
738 =item View:Expand Tree
739
740 Expands the currently selected item in the packet details.
741
742 =item View:Coloring Rules
743
744 Change the foreground and background colors of the packet information in
745 the list of packets, based upon display filters.  The list of display
746 filters is applied to each packet sequentially.  After the first display
747 filter matches a packet, any additional display filters in the list are
748 ignored.  Therefore, if you are filtering on the existence of protocols,
749 you should list the higher-level protocols first, and the lower-level
750 protocols last.
751
752 =over
753
754 =item How Colorization Works
755
756 Packets are colored according to a list of color filters. Each filter
757 consists of a name, a filter expression and a coloration. A packet is
758 colored according to the first filter that it matches, Color filter
759 expressions use exactly the same syntax as display filter expressions.
760
761 When Ethereal starts, the color filters are loaded from:
762
763 =over
764
765 1. The user's personal color filters file or, if that does not exist,
766
767 2. The global color filters file.
768
769 =back
770
771 If neither of these exist then the packets will not be colored.
772
773 =back
774
775 =item View:Show Packet In New Window
776
777 Create a new window containing a packet details view and a hex dump
778 window of the currently selected packet; this window will continue to
779 display that packet's details and data even if another packet is
780 selected.
781
782 =item View:Reload
783
784 Reload a capture file.  Same as I<File:Close> and I<File:Open> the same 
785 file again.
786
787 =item Go:Go To Packet
788
789 Go to a particular numbered packet.
790
791 =item Go:Go To Corresponding Packet
792
793 If a field in the packet details pane containing a packet number is
794 selected, go to the packet number specified by that field.  (This works
795 only if the dissector that put that entry into the packet details put it
796 into the details as a filterable field rather than just as text.) This
797 can be used, for example, to go to the packet for the request
798 corresponding to a reply, or the reply corresponding to a request, if
799 that packet number has been put into the packet details.
800
801 =item Go:First Packet
802
803 =item Go:Last Packet
804
805 Go to the first / last packet in the capture.
806
807 =item Capture:Start
808
809 Initiate a live packet capture (see L<Capture Options|/item_capture_options> dialog below).  A
810 temporary file will be created to hold the capture.  The location of the
811 file can be chosen by setting your TMPDIR environment variable before
812 starting B<Ethereal>.  Otherwise, the default TMPDIR location is
813 system-dependent, but is likely either F</var/tmp> or F</tmp>.
814
815 =item Capture:Stop
816
817 In a capture that updates the packet display as packets arrive (so that
818 Ethereal responds to user input other than pressing the "Stop" button in
819 the capture packet statistics dialog box), stop the capture.
820
821 =item Capture:Capture Filters
822
823 Edit the saved list of capture filters, allowing filters to be added,
824 changed, or deleted.
825
826 =item Analyze:Display Filters
827
828 Edit the saved list of display filters, allowing filters to be added,
829 changed, or deleted.
830
831 =item Analyze:Apply as Filter
832
833 Create a display filter, or add to the display filter strip at the
834 bottom, a display filter based on the data currently highlighted in the
835 packe details, and apply the filter.
836
837 If that data is a field that can be tested in a display filter
838 expression, the display filter will test that field; otherwise, the
839 display filter will be based on absolute offset within the packet, and
840 so could be unreliable if the packet contains protocols with
841 variable-length headers, such as a source-routed token-ring packet.
842
843 The B<Selected> option creates a display filter that tests for a match
844 of the data; the B<Not Selected> option creates a display filter that
845 tests for a non-match of the data.  The B<And Selected>, B<Or Selected>,
846 B<And Not Selected>, and B<Or Not Selected> options add to the end of
847 the display filter in the strip at the bottom an AND or OR operator
848 followed by the new display filter expression.
849
850 =item Analyze:Prepare a Filter
851
852 Create a display filter, or add to the display filter strip at the
853 bottom, a display filter based on the data currently highlighted in the
854 packet details, but don't apply the filter.
855
856 =item Analyze:Enabled Protocols
857
858 Allow protocol dissection to be enabled or disabled for a specific
859 protocol.  Individual protocols can be enabled or disabled by clicking
860 on them in the list or by highlighting them and pressing the space bar.
861 The entire list can be enabled, disabled, or inverted using the buttons
862 below the list.
863
864 When a protocol is disabled, dissection in a particular packet stops
865 when that protocol is reached, and Ethereal moves on to the next packet.
866 Any higher-layer protocols that would otherwise have been processed will
867 not be displayed.  For example, disabling TCP will prevent the dissection
868 and display of TCP, HTTP, SMTP, Telnet, and any other protocol exclusively
869 dependent on TCP.
870
871 The list of protocols can be saved, so that Ethereal will start up with
872 the protocols in that list disabled.
873
874 =item Analyze:Decode As
875
876 If you have a packet selected, present a dialog allowing you to change
877 which dissectors are used to decode this packet.  The dialog has one
878 panel each for the link layer, network layer and transport layer
879 protocol/port numbers, and will allow each of these to be changed
880 independently.  For example, if the selected packet is a TCP packet to
881 port 12345, using this dialog you can instruct Ethereal to decode all
882 packets to or from that TCP port as HTTP packets.
883
884 =item Analyze:User Specified Decodes
885
886 Create a new window showing whether any protocol ID to dissector
887 mappings have been changed by the user.  This window also allows the
888 user to reset all decodes to their default values.
889
890 =item Analyze:Follow TCP Stream
891
892 If you have a TCP packet selected, display the contents of the data
893 stream for the TCP connection to which that packet belongs, as text, in
894 a separate window, and leave the list of packets in a filtered state,
895 with only those packets that are part of that TCP connection being
896 displayed.  You can revert to your old view by pressing ENTER in the
897 display filter text box, thereby invoking your old display filter (or
898 resetting it back to no display filter).
899
900 The window in which the data stream is displayed lets you select:
901
902 =over 8
903
904 =item *
905
906 whether to display the entire conversation, or one or the other side of
907 it;
908
909 =item *
910
911 whether the data being displayed is to be treated as ASCII or EBCDIC
912 text or as raw hex data;
913
914 =back 4
915
916 and lets you print what's currently being displayed, using the same
917 print options that are used for the I<File:Print Packet> menu item, or
918 save it as text to a file.
919
920 =item Statistics:Summary
921
922 Show summary information about the capture, including elapsed time,
923 packet counts, byte counts, and the like.  If a display filter is in
924 effect, summary information will be shown about the capture and about
925 the packets currently being displayed.
926
927 =item Statistics:Protocol Hierarchy
928
929 Show the number of packets, and the number of bytes in those packets,
930 for each protocol in the trace.  It organizes the protocols in the same
931 hierarchy in which they were found in the trace.  Besides counting the
932 packets in which the protocol exists, a count is also made for packets
933 in which the protocol is the last protocol in the stack.  These
934 last-protocol counts show you how many packets (and the byte count
935 associated with those packets) B<ended> in a particular protocol.  In
936 the table, they are listed under "End Packets" and "End Bytes".
937
938 =item Statistics:IO Graphs
939
940 Open a window where up to 5 graphs in different colors can be displayed
941 to indicate number of packets or number of bytes per second for all packets
942 matching the specified filter.
943 By default only one graph will be displayed showing number of packets per second.
944
945 The top part of the window contains the graphs and scales for the X and
946 Y axis.  If the graph is too long to fit inside the window there is a
947 horizontal scrollbar below the drawing area that can scroll the graphs
948 to the left or the right.  The horizontal axis displays the time into
949 the capture and the vertical axis will display the measured quantity at
950 that time.
951
952 Below the drawing area and the scrollbar are the controls.  On the
953 bottom left there will be five similar sets of controls to control each
954 induvidual graph such as "Display:<button>" which button will toggle
955 that individual graph on/off.  If <button> is ticked, the graph will be
956 displayed.  "Color:<color>" which is just a button to show which color
957 will be used to draw that graph (color is only available in Gtk2
958 version) and finally "Filter:<filter-text>" which can be used to specify
959 a display filter for that particular graph.
960
961 If filter-text is empty then all packets will be used to calculate the
962 quantity for that graph.  If filter-text is specified only those packets
963 that match that display filter will be considered in the calculation of
964 quantity.
965
966 To the right of the 5 graph controls there are four menus to control
967 global aspects of the draw area and graphs.  The "Unit:" menu is used to
968 control what to measure; "packets/tick", "bytes/tick" or "advanced..."
969
970 packets/tick will measure the number of packets matching the (if
971 specified) display filter for the graph in each measurement interval. 
972
973 bytes/tick will measure the total number of bytes in all packets matching
974 the (if specified) display filter for the graph in each measurement
975 interval.
976
977 advanced... see below
978
979 "Tick interval:" specifies what measurement intervals to use.  The
980 default is 1 second and means that the data will be counted over 1
981 second intervals. 
982
983 "Pixels per tick:" specifies how many pixels wide each measurement
984 interval will be in the drawing area.  The default is 5 pixels per tick. 
985
986 "Y-scale:" controls the max value for the y-axis.  Default value is
987 "auto" which means that B<Ethereal> will try to adjust the maxvalue
988 automatically.
989
990 "advanced..." If Unit:advanced...  is selected the window will display
991 two more controls for each of the five graphs.  One control will be a
992 menu where the type of calculation can be selected from
993 SUM,COUNT,MAX,MIN,AVG and LOAD, and one control, textbox, where the name of a
994 single display filter field can be specified.
995
996 The following restrictions apply to type and field combinations:
997
998 SUM: available for all types of integers and will calculate the SUM of
999 all occurences of this field in the measurement interval.  Note that
1000 some field can occur multiple times in the same packet and then all
1001 instances will be summed up.  Example: 'tcp.len' which will count the
1002 amount of payload data transferred across TCP in each interval.
1003
1004 COUNT: available for all field types. This will COUNT the number of times
1005 certain field occurs in each interval. Note that some fields
1006 may occur multiple times in each packet and if that is the case
1007 then each instance will be counted independently and COUNT
1008 will be greater than the number of packets.
1009
1010 MAX: available for all integer and relative time fields. This will calculate
1011 the max seen integer/time value seen for the field during the interval.
1012 Example: 'smb.time' which will plot the maximum SMB response time.
1013
1014 MIN: available for all integer and relative time fields. This will calculate
1015 the min seen integer/time value seen for the field during the interval.
1016 Example: 'smb.time' which will plot the minimum SMB response time.
1017
1018 AVG: available for all integer and relative time fields.This will
1019 calculate the average seen integer/time value seen for the field during
1020 the interval.  Example: 'smb.time' which will plot the average SMB
1021 response time.
1022
1023 LOAD: available only for relative time fields (response times).
1024
1025 Example of advanced:
1026 Display how NFS response time MAX/MIN/AVG changes over time:
1027
1028 Set first graph to:
1029
1030    filter:nfs&&rpc.time
1031    Calc:MAX rpc.time
1032
1033 Set second graph to
1034
1035    filter:nfs&&rpc.time
1036    Calc:AVG rpc.time
1037
1038 Set third graph to
1039
1040    filter:nfs&&rpc.time
1041    Calc:MIN rpc.time
1042
1043 Example of advanced:
1044 Display how the average packet size from host a.b.c.d changes over time.
1045
1046 Set first graph to
1047
1048    filter:ip.addr==a.b.c.d&&frame.pkt_len
1049    Calc:AVG frame.pkt_len
1050
1051 LOAD:
1052 The LOAD io-stat type is very different from anything you have ever seen 
1053 before! While the response times themself as plotted by MIN,MAX,AVG are 
1054 indications on the Server load (which affects the Server response time),  
1055 the LOAD measurement measures the Client LOAD.
1056 What this measures is how much workload the client generates, 
1057 i.e. how fast will the client issue new commands when the previous ones 
1058 completed.
1059 i.e. the level of concurrency the client can maintain.
1060 The higher the number, the more and faster is the client issuing new
1061 commands. When the LOAD goes down, it may be due to client load making
1062 the client slower in issuing new commands (there may be other reasons as
1063 well, maybe the client just doesn't have any commands it wants to issue
1064 right then).
1065
1066 Load is measured in concurrency/number of overlapping i/o and the value
1067 1000 means there is a constant load of one i/o.
1068
1069 In each tick interval the amount of overlap is measured.
1070 See the graph below containing three commands:
1071 Below the graph are the LOAD values for each interval that would be calculated.
1072
1073   |     |     |     |     |     |     |     |     |
1074   |     |     |     |     |     |     |     |     |
1075   |     |  o=====*  |     |     |     |     |     |
1076   |     |     |     |     |     |     |     |     |
1077   |  o========*     | o============*  |     |     |
1078   |     |     |     |     |     |     |     |     |
1079   --------------------------------------------------> Time
1080    500   1500   500  750   1000   500    0     0
1081
1082 =item Statistics:Conversation List
1083
1084 This option will open a new window that displays a list of all
1085 conversations between two endpoints.  The list has one row for each
1086 unique conversation and displays total number of packets/bytes seen as
1087 well as number of packets/bytes in each direction.
1088
1089 By default the list is sorted according to the number of packets but by
1090 clicking on the column header; it is possible to re-sort the list in
1091 ascending or descending order by any column.
1092
1093 By first selecting a conversation by clicking on it and then using the 
1094 right mouse button (on those platforms that have a right
1095 mouse button) ethereal will display a popup menu offering several different 
1096 filter operations to apply to the capture.
1097
1098 These statistics windows can also be invoked from the Ethereal command
1099 line using the B<-z conv> argument. 
1100
1101 =item Statistics:Service Response Time:DCE-RPC
1102
1103 Open a window to display Service Response Time statistics for an 
1104 arbitrary DCE-RPC program
1105 interface and display B<Procedure>, B<Number of Calls>, B<Minimum SRT>,
1106 B<Maximum SRT> and B<Average SRT> for all procedures for that
1107 program/version.  These windows opened will update in semi-real time to
1108 reflect changes when doing live captures or when reading new capture
1109 files into B<Ethereal>.
1110
1111 This dialog will also allow an optional filter string to be used.
1112 If an optional filter string is used only such DCE-RPC request/response pairs 
1113 that match that filter will be used to calculate the statistics. If no filter 
1114 string is specified all request/response pairs will be used.
1115
1116 =item Statistics:Service Response Time:Fibre Channel
1117
1118 Open a window to display Service Response Time statistics for Fibre Channel
1119 and display B<FC Type>, B<Number of Calls>, B<Minimum SRT>,
1120 B<Maximum SRT> and B<Average SRT> for all FC types.
1121 These windows opened will update in semi-real time to
1122 reflect changes when doing live captures or when reading new capture
1123 files into B<Ethereal>.
1124 The Service Response Time is calculated as the time delta between the
1125 First packet of the exchange and the Last packet of the exchange.
1126
1127 This dialog will also allow an optional filter string to be used.
1128 If an optional filter string is used only such FC first/last exchange pairs 
1129 that match that filter will be used to calculate the statistics. If no filter 
1130 string is specified all request/response pairs will be used.
1131
1132 =item Statistics:Service Response Time:ONC-RPC
1133
1134 Open a window to display statistics for an arbitrary ONC-RPC program interface
1135 and display B<Procedure>, B<Number of Calls>, B<Minimum SRT>, B<Maximum SRT> and B<Average SRT> for all procedures for that program/version.
1136 These windows opened will update in semi-real time to reflect changes when
1137 doing live captures or when reading new capture files into B<Ethereal>.
1138
1139 This dialog will also allow an optional filter string to be used.
1140 If an optional filter string is used only such ONC-RPC request/response pairs 
1141 that match that filter will be used to calculate the statistics. If no filter 
1142 string is specified all request/response pairs will be used.
1143
1144 By first selecting a conversation by clicking on it and then using the 
1145 right mouse button (on those platforms that have a right
1146 mouse button) ethereal will display a popup menu offering several different 
1147 filter operations to apply to the capture.
1148
1149 =item Statistics:Service Response Time:SMB
1150
1151 Collect call/reply SRT (Service Response Time) data for SMB.  Data collected
1152 is number of calls for each SMB command, MinSRT, MaxSRT and AvgSRT. 
1153
1154 The data will be presented as separate tables for all normal SMB commands,
1155 all Transaction2 commands and all NT Transaction commands.
1156 Only those commands that are seen in the capture will have its stats
1157 displayed.
1158 Only the first command in a xAndX command chain will be used in the
1159 calculation.  So for common SessionSetupAndX + TreeConnectAndX chains,
1160 only the SessionSetupAndX call will be used in the statistics.
1161 This is a flaw that might be fixed in the future.
1162
1163 You can apply an optional filter string in a dialog box, before starting
1164 the calculation. The stats will only be calculated 
1165 on those calls matching that filter.
1166
1167 By first selecting a conversation by clicking on it and then using the 
1168 right mouse button (on those platforms that have a right
1169 mouse button) ethereal will display a popup menu offering several different 
1170 filter operations to apply to the capture.
1171
1172 =item Statistics:Service Response Time:MGCP
1173
1174 Collect requests/response SRT (Service Response Time) data for MGCP. 
1175 Data collected is B<number of calls> for each known MGCP Type, 
1176 B<Minimum SRT>, B<Maximum SRT>, B<Average SRT>, B<Minimum in Packet>, and B<Maximum in Packet>. 
1177 These windows opened will update in semi-real time to reflect changes when
1178 doing live captures or when reading new capture files into B<Ethereal>.
1179
1180 You can apply an optional filter string in a dialog box, before starting
1181 the calculation. The statistics will only be calculated 
1182 on those calls matching that filter.
1183
1184 =item Statistics:Service Response Time:ITU-T H.225 RAS
1185
1186 Collect requests/response SRT (Service Response Time) data for ITU-T H.225 RAS. 
1187 Data collected is B<number of calls> for each known ITU-T H.225 RAS Message Type,
1188 B<Minimum SRT>, B<Maximum SRT>, B<Average SRT>, B<Minimum in Packet>, and B<Maximum in Packet>.
1189 You will also get the number of B<Open Requests> (Unresponded Requests), 
1190 B<Discarded Responses> (Responses without matching request) and Duplicate Messages.
1191 These windows opened will update in semi-real time to reflect changes when
1192 doing live captures or when reading new capture files into B<Ethereal>.
1193
1194 You can apply an optional filter string in a dialog box, before starting
1195 the calculation. The statistics will only be calculated 
1196 on those calls matching that filter.
1197
1198 =item Statistics:ITU-T H.225
1199
1200 Count ITU-T H.225 messages and their reasons. In the first column you get a 
1201 list of H.225 messages and H.225 message reasons, which occur in the current
1202 capture file. The number of occurences of each message or reason will be displayed 
1203 in the second column.
1204 This window opened will update in semi-real time to reflect changes when
1205 doing live captures or when reading new capture files into B<Ethereal>.
1206
1207 You can apply an optional filter string in a dialog box, before starting
1208 the counter. The statistics will only be calculated 
1209 on those calls matching that filter.
1210
1211 =item Statistics:SIP
1212
1213 Activate a counter for SIP messages. You will get the number of occurences of each
1214 SIP Method and of each SIP Status-Code. Additionally you also get the number of
1215 resent SIP Messages (only for SIP over UDP).  
1216
1217 This window opened will update in semi-real time to reflect changes when
1218 doing live captures or when reading new capture files into B<Ethereal>.
1219
1220 You can apply an optional filter string in a dialog box, before starting
1221 the counter. The statistics will only be calculated 
1222 on those calls matching that filter.
1223
1224 =item Statistics:ONC-RPC Programs
1225
1226 This dialog will open a window showing aggregated RTT statistics for all
1227 ONC-RPC Programs/versions that exist in the capture file.
1228
1229 =item Help:Contents
1230
1231 Some help texts.
1232
1233 =item Help:Supported Protocols
1234
1235 List of supported protocols and display filter protocol fields.
1236
1237 =item Help:About Ethereal
1238
1239 See various information about Ethereal (see L<About|/item_about> dialog below), like the 
1240 version, the folders used, the available plugins, ...
1241
1242 =back
1243
1244 =head2 WINDOWS
1245
1246 =over 4
1247
1248 =item Main Window
1249
1250 The main window contains the usual things like the menu, some toolbars, the 
1251 main area and a statusbar. The main area is split into three panes, you can 
1252 resize each pane using a "thumb" at the right end of each divider line.
1253
1254 The main window is much more flexible than before. The layout of the main
1255 window can be customized by the I<Layout> page in the dialog box popped
1256 up by I<Edit:Preferences>, the following will describe the layout with the 
1257 default settings.
1258
1259 =over 6
1260
1261 =item Main Toolbar
1262
1263 Some menu items are available for quick access here. There is no way to 
1264 customize the items in the toolbar, however the toolbar can be hidden by 
1265 I<View:Main Toolbar>.
1266
1267 =item Filter Toolbar
1268
1269 A display filter can be entered into the filter toolbar. 
1270 A filter for HTTP, HTTPS, and DNS traffic might look like this:
1271
1272   tcp.port == 80 || tcp.port == 443 || tcp.port == 53
1273
1274 Selecting the I<Filter:> button lets you choose from a list of named
1275 filters that you can optionally save.  Pressing the Return or Enter
1276 keys, or selecting the I<Apply> button, will cause the filter to be
1277 applied to the current list of packets.  Selecting the I<Reset> button
1278 clears the display filter so that all packets are displayed (again).
1279
1280 There is no way to customize the items in the toolbar, however the toolbar 
1281 can be hidden by I<View:Filter Toolbar>.
1282
1283 =item Packet List Pane
1284
1285 The top pane contains the list of network packets that you can scroll
1286 through and select.  By default, the packet number, packet timestamp,
1287 source and destination addresses, protocol, and description are
1288 displayed for each packet; the I<Columns> page in the dialog box popped
1289 up by I<Edit:Preferences> lets you change this (although, unfortunately,
1290 you currently have to save the preferences, and exit and restart
1291 Ethereal, for those changes to take effect).
1292
1293 If you click on the heading for a column, the display will be sorted by
1294 that column; clicking on the heading again will reverse the sort order
1295 for that column.
1296
1297 An effort is made to display information as high up the protocol stack
1298 as possible, e.g. IP addresses are displayed for IP packets, but the
1299 MAC layer address is displayed for unknown packet types.
1300
1301 The right mouse button can be used to pop up a menu of operations.
1302
1303 The middle mouse button can be used to mark a packet.
1304
1305 =item Packet Details Pane
1306
1307 The middle pane contains a display of the details of the
1308 currently-selected packet.  The display shows each field and its value
1309 in each protocol header in the stack.  The right mouse button can be
1310 used to pop up a menu of operations.
1311
1312 =item Packet Bytes Pane
1313
1314 The lowest pane contains a hex and ASCII dump of the actual packet data. 
1315 Selecting a field in the packet details highlights the corresponding
1316 bytes in this section.
1317
1318 The right mouse button can be used to pop up a menu of operations.
1319
1320 =item Statusbar
1321
1322 The statusbar is divided into two parts, on the left some context dependant 
1323 things are shown, like information about the loaded file, on the right the 
1324 number of packets are displayed: P = Packets captured/loaded, D = Displayed 
1325 in packet list (after filtering), M = Marked by user.
1326
1327 The statusbar can be hidden by I<View:Statusbar>.
1328
1329 =back
1330
1331 =item Preferences
1332
1333 The I<Preferences> dialog lets you control various personal preferences
1334 for the behavior of B<Ethereal>.
1335
1336 =over 6
1337
1338 =item User Interface Preferences
1339
1340 The I<User Interface> page is used to modify small aspects of the GUI to
1341 your own personal taste:
1342
1343 =over 6
1344
1345 =item Scrollbars
1346
1347 The vertical scrollbars in the three panes can be set to be either on
1348 the left or the right. 
1349
1350 =item Selection Bars
1351
1352 The selection bar in the packet list and packet details can have either
1353 a "browse" or "select" behavior.  If the selection bar has a "browse"
1354 behavior, the arrow keys will move an outline of the selection bar,
1355 allowing you to browse the rest of the list or details without changing
1356 the selection until you press the space bar.  If the selection bar has a
1357 "select" behavior, the arrow keys will move the selection bar and change
1358 the selection to the new item in the packet list or packet details.
1359
1360 =item Tree Line Style
1361
1362 Trees can be drawn with no lines, solid lines, or dotted lines between
1363 items, or can be drawn with "tab" headings.
1364
1365 =item Tree Expander Style
1366
1367 The expander item that can be clicked to show or hide items under a tree
1368 item can be omitted (note that this will prevent you from changing
1369 whether those items are shown or hidden!), or can be drawn as squares,
1370 triangles, or circles.
1371
1372 =item Hex Display
1373
1374 The highlight method in the hex dump display for the selected protocol
1375 item can be set to use either inverse video, or bold characters.
1376
1377 =item Save Window Position
1378
1379 If this item is selected, the position of the main Ethereal window will
1380 be saved when Ethereal exits, and used when Ethereal is started again.
1381
1382 =item Save Window Size
1383
1384 If this item is selected, the size of the main Ethereal window will
1385 be saved when Ethereal exits, and used when Ethereal is started again.
1386
1387 =item File Open Dialog Behavior
1388
1389 This item allows the user to select how Ethereal handles the listing
1390 of the "File Open" Dialog when opening trace files.  "Remember Last
1391 Directory" causes Ethereal to automatically position the dialog in the
1392 directory of the most recently opened file, even between launches of Ethereal.
1393 "Always Open in Directory" allows the user to define a persistent directory
1394 that the dialog will always default to.
1395
1396 =item Directory
1397
1398 Allows the user to specify a persistent File Open directory.  Trailing
1399 slashes or backslashes will automatically be added.
1400
1401 =back
1402
1403 =item Layout Preferences
1404
1405 The I<Layout> page lets you specify the general layout of the main window.
1406 You can choose from six different layouts and fill the three panes with the 
1407 contents you like.
1408
1409 =item Column Preferences
1410
1411 The I<Columns> page lets you specify the number, title, and format
1412 of each column in the packet list.
1413
1414 The I<Column title> entry is used to specify the title of the column
1415 displayed at the top of the packet list.  The type of data that the column
1416 displays can be specified using the I<Column format> option menu.
1417 The row of buttons on the left perform the following actions:
1418
1419 =over 6
1420
1421 =item New
1422
1423 Adds a new column to the list.
1424
1425 =item Delete
1426
1427 Deletes the currently selected list item.
1428
1429 =item Up / Down
1430
1431 Moves the selected list item up or down one position.
1432
1433 =back
1434
1435 =item Font Preferences
1436
1437 The I<Font> page lets you select the font to be used for most text.
1438
1439 =item Color Preferences
1440
1441 The I<Colors> page can be used to change the color of the text
1442 displayed in the TCP stream window and for marked packets. To change a color,
1443 simply select an attribute from the "Set:" menu and use the color selector to 
1444 get the desired color.  The new text colors are displayed as a sample text.
1445
1446 =item Capture Preferences
1447
1448 The I<Capture> page lets you specify various parameters for capturing
1449 live packet data; these are used the first time a capture is started.
1450
1451 The I<Interface:> combo box lets you specify the interface from which to
1452 capture packet data, or the name of a FIFO from which to get the packet
1453 data.
1454
1455 The I<Data link type:> option menu lets you, for some interfaces, select
1456 the data link header you want to see on the packets you capture.  For
1457 example, in some OSes and with some versions of libpcap, you can choose,
1458 on an 802.11 interface, whether the packets should appear as Ethernet
1459 packets (with a fake Ethernet header) or as 802.11 packets.
1460
1461 The I<Limit each packet to ... bytes> check box lets you set the
1462 snapshot length to use when capturing live data; turn on the check box,
1463 and then set the number of bytes to use as the snapshot length.
1464
1465 The I<Filter:> text entry lets you set a capture filter expression to be
1466 used when capturing.
1467
1468 If any of the environment variables SSH_CONNECTION, SSH_CLIENT,
1469 REMOTEHOST, DISPLAY, or CLIENTNAME are set, Ethereal will create a
1470 default capture filter that excludes traffic from the hosts and ports
1471 defined in those variables.
1472
1473 The I<Capture packets in promiscuous mode> check box lets you specify
1474 whether to put the interface in promiscuous mode when capturing.
1475
1476 The I<Update list of packets in real time> check box lets you specify
1477 that the display should be updated as packets are seen.
1478
1479 The I<Automatic scrolling in live capture> check box lets you specify
1480 whether, in an "Update list of packets in real time" capture, the packet
1481 list pane should automatically scroll to show the most recently captured
1482 packets.
1483
1484 =item Printing Preferences
1485
1486 The radio buttons at the top of the I<Printing> page allow you choose
1487 between printing packets with the I<File:Print Packet> menu item as text
1488 or PostScript, and sending the output directly to a command or saving it
1489 to a file.  The I<Command:> text entry box, on UNIX-compatible systems,
1490 is the command to send files to (usually B<lpr>), and the I<File:> entry
1491 box lets you enter the name of the file you wish to save to. 
1492 Additionally, you can select the I<File:> button to browse the file
1493 system for a particular save file.
1494
1495 =item Protocol Preferences
1496
1497 There are also pages for various protocols that Ethereal dissects,
1498 controlling the way Ethereal handles those protocols.
1499
1500 =back
1501
1502 =item Edit Capture Filter List
1503
1504 =item Edit Display Filter List
1505
1506 =item Capture Filter
1507
1508 =item Display Filter
1509
1510 =item Read Filter
1511
1512 =item Search Filter
1513
1514 The I<Edit Capture Filter List> dialog lets you create, modify, and
1515 delete capture filters, and the I<Edit Display Filter List> dialog lets
1516 you create, modify, and delete display filters.
1517
1518 The I<Capture Filter> dialog lets you do all of the editing operations
1519 listed, and also lets you choose or construct a filter to be used when
1520 capturing packets.
1521
1522 The I<Display Filter> dialog lets you do all of the editing operations
1523 listed, and also lets you choose or construct a filter to be used to
1524 filter the current capture being viewed.
1525
1526 The I<Read Filter> dialog lets you do all of the editing operations
1527 listed, and also lets you choose or construct a filter to be used to
1528 as a read filter for a capture file you open.
1529
1530 The I<Search Filter> dialog lets you do all of the editing operations
1531 listed, and also lets you choose or construct a filter expression to be
1532 used in a find operation.
1533
1534 In all of those dialogs, the I<Filter name> entry specifies a
1535 descriptive name for a filter, e.g.  B<Web and DNS traffic>.  The
1536 I<Filter string> entry is the text that actually describes the filtering
1537 action to take, as described above.The dialog buttons perform the
1538 following actions:
1539
1540 =over 6
1541
1542 =item New
1543
1544 If there is text in the two entry boxes, creates a new associated list
1545 item.
1546
1547 =item Edit
1548
1549 Modifies the currently selected list item to match what's in the entry
1550 boxes.
1551
1552 =item Delete
1553
1554 Deletes the currently selected list item.
1555
1556 =item Add Expression...
1557
1558 For display filter expressions, pops up a dialog box to allow you to
1559 construct a filter expression to test a particular field; it offers
1560 lists of field names, and, when appropriate, lists from which to select
1561 tests to perform on the field and values with which to compare it.  In
1562 that dialog box, the OK button will cause the filter expression you
1563 constructed to be entered into the I<Filter string> entry at the current
1564 cursor position.
1565
1566 =item OK
1567
1568 In the I<Capture Filter> dialog, closes the dialog box and makes the
1569 filter in the I<Filter string> entry the filter in the I<Capture
1570 Preferences> dialog.  In the I<Display Filter> dialog, closes the dialog
1571 box and makes the filter in the I<Filter string> entry the current
1572 display filter, and applies it to the current capture.  In the I<Read
1573 Filter> dialog, closes the dialog box and makes the filter in the
1574 I<Filter string> entry the filter in the I<Open Capture File> dialog. 
1575 In the I<Search Filter> dialog, closes the dialog box and makes the
1576 filter in the I<Filter string> entry the filter in the I<Find Packet>
1577 dialog.
1578
1579 =item Apply
1580
1581 Makes the filter in the I<Filter string> entry the current display
1582 filter, and applies it to the current capture.
1583
1584 =item Save
1585
1586 If the list of filters being edited is the list of
1587 capture filters, saves the current filter list to the personal capture
1588 filters file, and if the list of filters being edited is the list of
1589 display filters, saves the current filter list to the personal display
1590 filters file.
1591
1592 =item Close
1593
1594 Closes the dialog without doing anything with the filter in the I<Filter
1595 string> entry.
1596
1597 =back
1598
1599 =item The Color Filters Dialog
1600
1601 This dialog displays a list of color filters and allows it to be
1602 modified.
1603
1604 =over
1605
1606 =item THE FILTER LIST
1607
1608 Single rows may be selected by clicking. Multiple rows may be selected
1609 by using the ctrl and shift keys in combination with the mouse button.
1610
1611 =item NEW
1612
1613 Adds a new filter at the bottom of the list and opens the Edit Color
1614 Filter dialog box. You will have to alter the filter expression at
1615 least before the filter will be accepted. The format of color filter
1616 expressions is identical to that of display filters. The new filter is
1617 selected, so it may immediately be moved up and down, deleted or edited.
1618 To avoid confusion all filters are unselected before the new filter is
1619 created.
1620
1621 =item EDIT
1622
1623 Opens the Edit Color Filter dialog box for the selected filter. (If this
1624 button is disabled you may have more than one filter selected, making it
1625 ambiguous which is to be edited.)
1626
1627 =item DELETE
1628
1629 Deletes the selected color filter(s).
1630
1631 =item EXPORT
1632
1633 Allows you to choose a file in which to save the current list of color
1634 filters. You may also choose to save only the selected filters. A
1635 button is provided to save the filters in the global color filters file
1636 (you must have sufficient permissions to write this file, of course).
1637
1638 =item IMPORT
1639
1640 Allows you to choose a file containing color filters which are then
1641 added to the bottom of the current list. All the added filters are
1642 selected, so they may be moved to the correct position in the list as a
1643 group. To avoid confusion, all filters are unselected before the new
1644 filters are imported. A button is provided to load the filters from the
1645 global color filters file.
1646
1647 =item CLEAR
1648
1649 Deletes your personal color filters file, reloads the global
1650 color filters file, if any, and closes the dialog.
1651
1652 =item UP
1653
1654 Moves the selected filter(s) up the list, making it more likely that
1655 they will be used to color packets.
1656
1657 =item DOWN
1658
1659 Moves the selected filter(s) down the list, making it less likely that
1660 they will be used to color packets.
1661
1662 =item OK
1663
1664 Closes the dialog and uses the color filters as they stand.
1665
1666 =item APPLY
1667
1668 Colors the packets according to the current list of color filters, but
1669 does not close the dialog.
1670
1671 =item SAVE
1672
1673 Saves the current list of color filters in your personal color filters
1674 file. Unless you do this they will not be used the next time you start
1675 Ethereal.
1676
1677 =item CLOSE
1678
1679 Closes the dialog without changing the coloration of the packets. Note
1680 that changes you have made to the current list of color filters are not
1681 undone.
1682
1683 =back
1684
1685 =item Capture Options
1686
1687 The I<Capture Options> dialog lets you specify various parameters for
1688 capturing live packet data.
1689
1690 The I<Interface:> field lets you specify the interface from which to
1691 capture packet data or a command from which to get the packet data via a
1692 pipe.
1693
1694 The I<Link layer header type:> field lets you specify the interfaces link
1695 layer header type. This field is usually disabled, as most interface have 
1696 only one header type.
1697
1698 The I<Capture packets in promiscuous mode> check box lets you specify
1699 whether the interface should be put into promiscuous mode when
1700 capturing.
1701
1702 The I<Limit each packet to ... bytes> check box and field lets you
1703 specify a maximum number of bytes per packet to capture and save; if the
1704 check box is not checked, the limit will be 65535 bytes.
1705
1706 The I<Capture Filter:> entry lets you specify the capture filter using a
1707 tcpdump-style filter string as described above.
1708
1709 The I<File:> entry lets you specify the file into which captured packets
1710 should be saved, as in the I<Printer Options> dialog above.  If not
1711 specified, the captured packets will be saved in a temporary file; you
1712 can save those packets to a file with the I<File:Save As> menu item.
1713
1714 The I<Use multiple files> check box lets you specify that the capture
1715 should be done in "multiple files" mode. This option is disabled, if the 
1716 I<Update list of packets in real time> option is checked.
1717
1718 The I<Next file every ...  megabyte(s)> check box and fields lets
1719 you specify that a switch to a next file should be done
1720 if the specified filesize is reached. You can also select the appriate 
1721 unit, but beware that the filesize has a maximum of 2 GB.
1722 The check box is forced to be checked, as "multiple files" mode requires a 
1723 file size to be specified.
1724
1725 The I<Next file every ... minute(s)> check box and fields lets 
1726 you specify that the switch to a next file should be done after the specified
1727 time has elapsed, even if the specified capture size is not reached.
1728
1729 The I<Ring buffer with ... files> field lets you specify the number 
1730 of files of a ring buffer. This feature will capture into to the first file
1731 again, after the specified amount of files were used.
1732
1733 The I<Stop capture after ... files> field lets you specify the number 
1734 of capture files used, until the capture is stopped.
1735
1736 The I<Stop capture after ... packet(s)> check box and field let
1737 you specify that Ethereal should stop capturing after having captured
1738 some number of packets; if the check box is not checked, Ethereal will
1739 not stop capturing at some fixed number of captured packets.
1740
1741 The I<Stop capture after ... megabyte(s)> check box and field lets 
1742 you specify that Ethereal should stop capturing after the file to which 
1743 captured packets are being saved grows as large as or larger than some 
1744 specified number of megabytes. If the check box is not checked, Ethereal 
1745 will not stop capturing at some capture file size (although the operating 
1746 system on which Ethereal is running, or the available disk space, may still 
1747 limit the maximum size of a capture file). This option is disabled, if 
1748 "multiple files" mode is used, 
1749
1750 The I<Stop capture after ...  second(s)> check box and field let you
1751 specify that Ethereal should stop capturing after it has been capturing
1752 for some number of seconds; if the check box is not checked, Ethereal
1753 will not stop capturing after some fixed time has elapsed.
1754
1755 The I<Update list of packets in real time> check box lets you specify
1756 whether the display should be updated as packets are captured and, if
1757 you specify that, the I<Automatic scrolling in live capture> check box
1758 lets you specify the packet list pane should automatically scroll to
1759 show the most recently captured packets as new packets arrive.
1760
1761 The I<Enable MAC name resolution>, I<Enable network name resolution> and
1762 I<Enable transport name resolution> check boxes let you specify whether
1763 MAC addresses, network addresses, and transport-layer port numbers
1764 should be translated to names.
1765
1766 =item About
1767
1768 The I<About> dialog lets you view various information about Ethereal.
1769
1770 =item About:Ethereal
1771
1772 The I<Ethereal> page lets you view general information about Ethereal, 
1773 like the installed version, licensing information and such.
1774
1775 =item About:Authors
1776
1777 The I<Authors> page shows the author and all contributors.
1778
1779 =item About:Folders
1780
1781 The I<Folders> page lets you view the directory names where Ethereal is
1782 searching it's various configuration and other files.
1783
1784 =item About:Plugins
1785
1786 The I<Plugins> page lets you view the dissector plugin modules
1787 available on your system.
1788
1789 The I<Plugins List> shows the name and version of each dissector plugin
1790 module found on your system.  The plugins are searched in the following
1791 directories: the F<lib/ethereal/plugins/$VERSION> directory under the
1792 main installation directory (for example,
1793 F</usr/local/lib/ethereal/plugins/$VERSION>),
1794 F</usr/lib/ethereal/plugins/$VERSION>,
1795 F</usr/local/lib/ethereal/plugins/$VERSION>, and
1796 F<$HOME/.ethereal/plugins> on UNIX-compatible systems, and in the
1797 F<plugins\$VERSION> directory under the main installation directory (for
1798 example, F<C:\Program Files\Ethereal\plugins\$VERSION>) and
1799 F<%APPDATA%\Ethereal\plugins\$VERSION> (or, if %APPDATA% isn't defined,
1800 F<%USERPROFILE%\Application Data\Ethereal\plugins\$VERSION>) on Windows
1801 systems; $VERSION is the version number of the plugin interface, which
1802 is typically the version number of Ethereal.  Note that a dissector
1803 plugin module may support more than one protocol; there is not
1804 necessarily a one-to-one correspondence between dissector plugin modules
1805 and protocols.  Protocols supported by a dissector plugin module are
1806 enabled and disabled using the I<Edit:Protocols> dialog box, just as
1807 protocols built into Ethereal are.
1808
1809 =back
1810
1811 =head1 CAPTURE FILTER SYNTAX
1812
1813 See the tcpdump(8) manual page.
1814
1815 =head1 DISPLAY FILTER SYNTAX
1816
1817 For a complete table of protocol and protocol fields that are filterable
1818 in B<Ethereal> see ethereal-filter(4).
1819
1820 =head1 FILES
1821
1822 The F<ethereal.conf> file, which is installed in the F<etc> directory
1823 under the main installation directory (for example, F</usr/local/etc>)
1824 on UNIX-compatible systems, and in the main installation directory (for
1825 example, F<C:\Program Files\Ethereal>) on Windows systems, and the
1826 personal preferences file, which is F<$HOME/.ethereal/preferences> on
1827 UNIX-compatible systems and F<%APPDATA%\Ethereal\preferences> (or, if
1828 %APPDATA% isn't defined,
1829 F<%USERPROFILE%\Application Data\Ethereal\preferences>) on
1830 Windows systems, contain system-wide and personal preference settings,
1831 respectively.  The file contains preference settings of the form
1832 I<prefname>B<:>I<value>, one per line, where I<prefname> is the name of
1833 the preference (which is the same name that would appear in the
1834 preference file), and I<value> is the value to which it should be set;
1835 white space is allowed between B<:> and I<value>.  A preference setting
1836 can be continued on subsequent lines by indenting the continuation lines
1837 with white space.  A B<#> character starts a comment that runs to the
1838 end of the line.
1839
1840 The system-wide preference file is read first, if it exists, overriding
1841 B<Ethereal>'s default values; the personal preferences file is then
1842 read, if it exists, overriding default values and values read from the
1843 system-wide preference file.
1844
1845 Note that whenever the preferences are saved by using the I<Save> button
1846 in the I<Edit:Preferences> dialog box, your personal preferences file
1847 will be overwritten with the new settings, destroying any comments that
1848 were in the file.
1849
1850 The disabled protocols file, which is F<$HOME/.ethereal/disabled_protos>
1851 on UNIX-compatible systems and F<%APPDATA%\Ethereal\disabled_protos>
1852 (or, if %APPDATA% isn't defined, F<%USERPROFILE%\Application
1853 Data\Ethereal\disabled_protos>) on Windows systems, contain a list of
1854 protocols that have been disabled, so that their dissectors are never
1855 called.  The file contains protocol names, one per line, where the
1856 protocol name is the same name that would be used in a display filter
1857 for the protocol.  A B<#> character starts a comment that runs to the
1858 end of the line.
1859
1860 Note that whenever the disabled protocols list is saved by using the
1861 I<Save> button in the I<Edit:Protocols> dialog box, your disabled
1862 protocols file will be overwritten with the new settings, destroying any
1863 comments that were in the file.
1864
1865 If the personal F<hosts> file, in F<$HOME/.ethereal/hosts> file on
1866 UNIX-compatible systems, or the F<%APPDATA%\Ethereal\hosts> file (or, if
1867 %APPDATA% isn't defined, the F<%USERPROFILE%\Application
1868 Data\Ethereal\hosts> file) on Windows systems, exists, the entries in
1869 that file are used to resolve IPv4 and IPv6 addresses before any other
1870 attempts are made to resolve them.  That file has the standard F<hosts>
1871 file syntax; each line contains one IP address and name, separated by
1872 whitespace.
1873
1874 The global F<ethers> file, which is found in the F</etc> directory on
1875 UNIX-compatible systems, and in the main installation directory (for
1876 example, F<C:\Program Files\Ethereal>) on Windows systems, is consulted
1877 to correlate 6-byte hardware addresses to names.  If an address is not
1878 found in the global F<ethers> file, the personal F<ethers> file, in
1879 F<$HOME/.ethereal/ethers> on UNIX-compatible systems, and in
1880 F<%APPDATA%\Ethereal\ethers> (or, if %APPDATA% isn't defined, the
1881 F<%USERPROFILE%\Application Data\Ethereal\ethers> file) on Windows
1882 systems is consulted next.  Each line contains one hardware address and
1883 name, separated by whitespace.  The digits of the hardware address are
1884 separated by either a colon (:), a dash (-), or a period (.).  The
1885 following three lines are valid lines of an F<ethers> file:
1886
1887   ff:ff:ff:ff:ff:ff          Broadcast
1888   c0-00-ff-ff-ff-ff          TR_broadcast
1889   00.00.00.00.00.00          Zero_broadcast
1890
1891 The F<manuf> file, which is installed in the F<etc> directory under the
1892 main installation directory (for example, F</usr/local/etc>) on
1893 UNIX-compatible systems, and in the main installation directory (for
1894 example, F<C:\Program Files\Ethereal>) on Windows systems, matches the
1895 3-byte vendor portion of a 6-byte hardware address with the
1896 manufacturer's name; it can also contain well-known MAC addresses and
1897 address ranges specified with a netmask.  The format of the file is the
1898 same as the F<ethers> file, except that entries of the form
1899
1900   00:00:0C      Cisco
1901
1902 can be provided, with the 3-byte OUI and the name for a vendor, and
1903 entries of the form
1904
1905   00-00-0C-07-AC/40     All-HSRP-routers
1906
1907 can be specified, with a MAC address and a mask indicating how many bits
1908 of the address must match.  Trailing zero bytes can be omitted from
1909 address ranges.  That entry, for example, will match addresses from
1910 00-00-0C-07-AC-00 through 00-00-0C-07-AC-FF.  The mask need not be a
1911 multiple of 8.
1912
1913 The global F<ipxnets> file, which is found in the F</etc> directory on
1914 UNIX-compatible systems, and in the main installation directory (for
1915 example, F<C:\Program Files\Ethereal>) on Windows systems, correlates
1916 4-byte IPX network numbers to names.  If a network number is not found
1917 in the global F<ipxnets> file, the personal F<ipxnets> file, in
1918 F<$HOME/.ethereal/ipxnets> on UNIX-compatible systems, and in
1919 F<%APPDATA%\Ethereal\ipxnets> (or, if %APPDATA% isn't defined, the
1920 F<%USERPROFILE%\Application Data\Ethereal\ipxnets> file) on Windows
1921 systems, is consulted next.  The format is the same as the F<ethers>
1922 file, except that each address if four bytes instead of six. 
1923 Additionally, the address can be represented a single hexadecimal
1924 number, as is more common in the IPX world, rather than four hex octets. 
1925 For example, these four lines are valid lines of an F<ipxnets> file:
1926
1927   C0.A8.2C.00              HR
1928   c0-a8-1c-00              CEO
1929   00:00:BE:EF              IT_Server1
1930   110f                     FileServer3
1931
1932 The personal capture filters file, in F<$HOME/.ethereal/cfilters> on
1933 UNIX-compatible systems, and F<%APPDATA%\Ethereal\cfilters> (or, if
1934 %APPDATA% isn't defined, F<%USERPROFILE%\Application
1935 Data\Ethereal\cfilters>) on Windows systems, and the personal display
1936 filters file, in F<$HOME/.ethereal/dfilters> on UNIX-compatible systems,
1937 and F<%APPDATA%\Ethereal\dfilters> (or, if %APPDATA% isn't defined,
1938 F<%USERPROFILE%\Application Data\Ethereal\dfilters>) on Windows systems,
1939 contain personal capture and display filters, respectively.
1940
1941 The global color filters file, F<colorfilters>, which is installed in
1942 the F<etc> directory under the main installation directory (for example,
1943 F</usr/local/etc>) on UNIX-compatible systems, and in the main
1944 installation directory (for example, F<C:\Program Files\Ethereal>) on
1945 Windows systems, and the personal color filters file, which is
1946 F<$HOME/.ethereal/colorfilters> on UNIX-compatible systems and
1947 F<%APPDATA%\Ethereal\colorfilters> (or, if %APPDATA% isn't defined,
1948 F<%USERPROFILE%\Application Data\Ethereal\color filters>) on Windows
1949 systems, contain system-wide and personal color filters,
1950 respectively.
1951
1952 =head1 SEE ALSO
1953
1954 I<ethereal-filter(4)> I<tethereal(1)>, I<editcap(1)>, I<tcpdump(8)>, I<pcap(3)>
1955
1956 =head1 NOTES
1957
1958 The latest version of B<Ethereal> can be found at
1959 B<http://www.ethereal.com>.
1960
1961 =head1 AUTHORS
1962