Добавил:
Upload Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
Скачиваний:
37
Добавлен:
02.04.2015
Размер:
3.35 Mб
Скачать

Chapter 3. Using Ethereal

-S

This option specifies that Ethereal will display packets as it captures them. This is done by capturing in one process and displaying them in a separate process.

-t <time stamp format>

This option sets the format of packet timestamps that are displayed in the packet list window. The format can be one of:

r, which specifies timestamps are displayed relative to the first packet captured.

a, which specifies that actual dates and times be displayed for all packets.

d, which specifies that timestamps are relative to the previous packet.

-T <tree view height>

This option sets the initial height of the tree view pane.

-v

The -v option requests Ethereal to print out its version information and exit.

-w <savefile>

This option sets the name of the savefile to be used when saving a capture file.

The Ethereal menus

The Ethereal menu sits across the top of the Ethereal window. An example is shown in Figure 3-2.

Figure 3-2. The Ethereal Menu

It contains the following items:

File

This menu contains menu-items to open and reread capture files, save capture files, print capture files, print packets, and to quit from Ethereal.

44

Chapter 3. Using Ethereal

Edit

This menu contains menu-items to find a frame and goto a frame,mark one or more frames, set your preferences, create filters, and enable or disable the dissection of protocols (cut, copy, and paste are not presently implemented).

Capture

This menu allows you to start and stop captures.

Display

This menu contains menu-items to modify display options, match selected frames, colorize frames, expand all frames, collapse all frames, show a packet in a separate window, and configure user specified decodes.

Tools

This menu contains menu-items to display loaded plugins, follow a TCP stream, obtain a summary of the packets that have been captured, and display protocol hierarchy statistics.

Help

This menu contains the About Ethereal... menu item and access to some basic Help.

Each of these are described in more detail in the sections that follow.

The Ethereal File menu

The Ethereal file menu contains the fields shown in Table 3-1.

45

Chapter 3. Using Ethereal

Figure 3-3. Ethereal File Menu

 

Table 3-1. File menu

 

Menu Item

Accelerator

Description

Open...

Ctrl-O

This menu item brings up the file open dialog

 

 

box that allows you to load a capture file for

 

 

viewing. It is discussed in more detail in the

 

 

section called The File Open dialog box.

Close

Ctrl-W

This menu item closes the current capture. If

 

 

you have not saved the capture, it is lost.

Save

Ctrl-S

This menu item saves the current capture. If

you have not set a default capture file name (perhaps with the -w <capfile> option), Ethereal pops up the Save Capture File As dialog box (which is discussed further in the section called The Save Capture File As dialog box).

Note!: If you have already saved the current capture, this menu will be greyed out.

Note!: You cannot save a live capture while it is in progress. You must stop the capture in order to save.

46

Chapter 3. Using Ethereal

Menu Item

Accelerator

Description

Save As...

 

This menu item allows you to save the current

 

 

capture file to whatever file you would like. It

 

 

pops up the Save Capture File As dialog box

 

 

(which is discussed further in the section called

 

 

The Save Capture File As dialog box).

Reload

Ctrl-R

This menu item allows you to reload the current

 

 

capture file. This menu item is no longer needed,

 

 

and may be removed in future releases of

 

 

Ethereal

Print...

 

This menu item allows you to print all the

 

 

packets in the capture file. It pops up the

 

 

Ethereal Print dialog box (which is discussed

 

 

further in the section called Printing packets).

Print Packet

Ctrl-P

This menu item allows you to print the current

 

 

packet.

Quit

Ctrl-Q

This menu item allows you to quit from

 

 

Ethereal. In the current release of Ethereal

 

 

(0.8.19), Ethereal silently exits even if you have

 

 

not saved the current capture file. This may be

 

 

changed in a future release of Ethereal.

The Ethereal Edit menu

The Ethereal Edit menu contains the fields shown in Table 3-2.

47

Chapter 3. Using Ethereal

Figure 3-4. Ethereal Edit Menu

 

Table 3-2. Edit menu

 

Menu Item

Accelerator

Description

Find Frame...

Ctrl-F

This menu item brings up a dialog box that

 

 

allows you to find a frame by entering an

 

 

Ethereal display filter. There is further

 

 

information on finding frames in the section

 

 

called Finding frames.

Go to Frame...

Ctrl-G

This menu item brings up a dialog box that

 

 

allows you to specify a frame to goto by frame

 

 

number.

Mark Frame

Ctrl-M

This menu item "marks" the currently selected

 

 

frame. See the section called The Save Capture File

 

 

As dialog box for more information about saving

 

 

marked frames.

Mark All

 

This menu item "marks" all frames. See the

Frames

 

section called The Save Capture File As dialog box

 

 

for more information about saving marked

 

 

frames.

Unmark All

 

This menu item "unmarks" all marked frames.

Frames

 

 

48

Соседние файлы в папке Ethereal