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

Ethereal User’s Guide

V1.1 for Ethereal 0.8.19

Richard Sharpe

NS Computer Software and Services P/L

Ed Warnicke

Ethereal User’s Guide: V1.1 for Ethereal 0.8.19 by Richard Sharpe and Ed Warnicke

Copyright © 2001 by Richard SharpeEd Warnicke

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.1 or any later version published by the Free Software Foundation; with no Invariant Sections, with no Front-Cover Texts, and with no Back-Cover Texts. A copy of the license is included in Appendix C

Table of Contents

 

Foreword.............................................................................................................................

xiii

Acknowledgments.............................................................................................................

xv

1. Introduction .....................................................................................................................

17

About this manual......................................................................................................

17

What is Ethereal?.....................................................................................................

17

The status of Ethereal ................................................................................................

26

Development and maintenance of Ethereal.........................................................

27

A rose by any other name .........................................................................................

27

A brief history of Ethereal.........................................................................................

27

Platforms Ethereal runs on .......................................................................................

28

Where to get Ethereal.................................................................................................

28

Reporting problems and getting help .....................................................................

28

Where to get the latest copy of this document.......................................................

29

Providing feedback ....................................................................................................

30

2. Building and Installing Ethereal .................................................................................

31

Introduction ................................................................................................................

31

Obtaining the source and binary distributions......................................................

31

Before you build Ethereal.......................................................................................

32

Building from Source under UNIX..........................................................................

34

Installing the binaries under UNIX .........................................................................

35

Installing from RPMs under Linux..........................................................................

35

Installing from debs under Debian..........................................................................

36

Building from source under Windows....................................................................

36

Installing Ethereal under Windows.........................................................................

36

Troubleshooting during the install ..........................................................................

36

3. Using Ethereal ...............................................................................................................

39

Introduction ................................................................................................................

39

Starting Ethereal ......................................................................................................

39

The Ethereal menus....................................................................................................

44

The Ethereal File menu..............................................................................................

45

The Ethereal Edit menu.............................................................................................

47

The Ethereal Capture menu......................................................................................

49

The Ethereal Display menu ......................................................................................

50

The Ethereal Tools menu...........................................................................................

52

The Ethereal Help menu ...........................................................................................

53

Capturing packets with Ethereal...........................................................................

54

The Capture Preferences dialog box ..............................................................

54

Filtering while capturing...........................................................................................

57

Viewing packets you have captured .......................................................................

59

Display Options..........................................................................................................

64

Saving captured packets............................................................................................

65

The Save Capture File As dialog box.............................................................

66

Reading capture files .................................................................................................

67

The File Open dialog box.................................................................................

68

Filtering packets while viewing ...............................................................................

70

Building filter expressions...............................................................................

72

Packet colorization .....................................................................................................

76

Finding frames............................................................................................................

78

Following TCP streams .............................................................................................

79

Defining and saving filters........................................................................................

80

v

The Add Expression Dialog......................................................................................

82

Printing packets..........................................................................................................

84

Ethereal preferences...................................................................................................

86

Files used by Ethereal ................................................................................................

87

4. Troubleshooting with Ethereal ..................................................................................

91

An approach to troubleshooting with Ethereal .....................................................

91

Capturing in the presence of switches and routers...............................................

91

Examples of troubleshooting....................................................................................

91

5. Related tools ....................................................................................................................

93

Capturing with tcpdump for viewing with Ethereal............................................

93

Tethereal, for terminal-based capturing..................................................................

93

Using editcap ..............................................................................................................

93

Merging multiple capture files into a single capture file with mergecap..........

95

Converting ASCII hexdumps to network captures with text2pcap ...................

97

Creating dissectors from Corba IDL files with idl2eth ......................................

100

What is it? ........................................................................................................

100

Why do this?....................................................................................................

100

How to use idl2eth .........................................................................................

100

TODO ...............................................................................................................

101

Limitations.......................................................................................................

102

Notes.................................................................................................................

102

A. Ethereal Display Filter Fields....................................................................................

103

802.1q Virtual LAN (vlan).......................................................................................

103

802.1x Authentication (eapol).................................................................................

103

AOL Instant Messenger (aim) ................................................................................

103

ATM (atm) .................................................................................................................

104

ATM LAN Emulation (lane) ...................................................................................

104

Ad hoc On-demand Distance Vector Routing Protocol (aodv) .........................

104

Ad hoc On-demand Distance Vector Routing Protocol v6 (aodv6) ..................

105

Address Resolution Protocol (arp) ........................................................................

106

Aggregate Server Access Protocol (asap) .............................................................

107

Andrew File System (AFS) (afs) .............................................................................

108

Apache JServ Protocol v1.3 (ajp13) ........................................................................

115

AppleTalk Filing Protocol (afp)..............................................................................

116

AppleTalk Session Protocol (asp)...........................................................................

123

AppleTalk Transaction Protocol packet (atp) .......................................................

124

Appletalk Address Resolution Protocol (aarp)....................................................

124

Async data over ISDN (V.120) (v120) ....................................................................

125

Authentication Header (ah)....................................................................................

125

BACnet Virtual Link Control (bvlc).......................................................................

125

Banyan Vines (vines)................................................................................................

126

Banyan Vines Fragmentation Protocol (vines_frp) .............................................

126

Banyan Vines SPP (vines_spp) ...............................................................................

126

Blocks Extensible Exchange Protocol (beep) ........................................................

126

Boot Parameters (bootparams)...............................................................................

127

Bootstrap Protocol (bootp)......................................................................................

127

Border Gateway Protocol (bgp)..............................................................................

128

Building Automation and Control Network APDU (bacapp) ..........................

128

Building Automation and Control Network NPDU (bacnet)............................

129

Checkpoint FW-1 (fw1)............................................................................................

130

Cisco Auto-RP (auto_rp) .........................................................................................

130

Cisco Discovery Protocol (cdp) ..............................................................................

130

vi

Cisco Group Management Protocol (cgmp).........................................................

131

Cisco HDLC (chdlc) .................................................................................................

131

Cisco Hot Standby Router Protocol (hsrp) ...........................................................

131

Cisco ISL (isl) ............................................................................................................

132

Cisco Interior Gateway Routing Protocol (igrp)..................................................

132

Cisco SLARP (slarp).................................................................................................

133

CoSine IPNOS L2 debug output (cosine) .............................................................

133

Common Open Policy Service (cops)....................................................................

133

Common Unix Printing System (CUPS) Browsing Protocol (cups) .................

135

DCE RPC (dcerpc)....................................................................................................

135

DCE/RPC Conversation Manager (conv) ............................................................

138

DCE/RPC Endpoint Mapper (epm)......................................................................

138

DCE/RPC Remote Management (mgmt).............................................................

139

DCOM OXID Resolver (oxid).................................................................................

139

DCOM Remote Activation (remact) ......................................................................

140

DEC Spanning Tree Protocol (dec_stp) .................................................................

140

DHCPv6 (dhcpv6)....................................................................................................

141

Data (data).................................................................................................................

141

Data Link SWitching (dlsw)....................................................................................

141

Data Stream Interface (dsi) .....................................................................................

141

Datagram Delivery Protocol (ddp)........................................................................

142

Diameter Protocol (diameter).................................................................................

143

Distance Vector Multicast Routing Protocol (dvmrp).........................................

144

Distributed Checksum Clearinghouse Prototocl (dccp).....................................

145

Domain Name Service (dns)...................................................................................

146

Dynamic DNS Tools Protocol (ddtp).....................................................................

147

Encapsulating Security Payload (esp)...................................................................

147

Enhanced Interior Gateway Routing Protocol (eigrp)........................................

148

Ethernet (eth) ............................................................................................................

148

Extensible Authentication Protocol (eap) .............................................................

148

FTP Data (ftp-data) ..................................................................................................

149

Fiber Distributed Data Interface (fddi) .................................................................

149

File Transfer Protocol (FTP) (ftp)............................................................................

149

Frame (frame) ...........................................................................................................

150

Frame Relay (fr)........................................................................................................

150

GARP Multicast Registration Protocol (gmrp) ....................................................

151

GARP VLAN Registration Protocol (gvrp) ..........................................................

151

GPRS Tunneling Protocol (gtp) ..............................................................................

151

GPRS Tunnelling Protocol v0 (gtpv0)....................................................................

152

GPRS Tunnelling Protocol v1 (gtpv1)....................................................................

153

General Inter-ORB Protocol (giop) ........................................................................

156

Generic Routing Encapsulation (gre) ....................................................................

158

Gnutella Protocol (gnutella) ...................................................................................

158

Hummingbird NFS Daemon (hclnfsd) .................................................................

159

Hypertext Transfer Protocol (http) ........................................................................

160

ICQ Protocol (icq).....................................................................................................

161

IEEE 802.11 wireless LAN (wlan) ..........................................................................

161

IEEE 802.11 wireless LAN management frame (wlan_mgt)..............................

162

ILMI (ilmi) .................................................................................................................

163

IP Payload Compression (ipcomp)........................................................................

164

IPX Message (ipxmsg) .............................................................................................

164

IPX Routing Information Protocol (ipxrip)...........................................................

164

ISDN Q.921-User Adaptation Layer (iua) ............................................................

164

vii

ISDN User Part (isup)..............................................................................................

165

ISO 10589 ISIS InTRA Domain Routeing Information Exchange Protocol (isis)

169

 

ISO 8073 COTP Connection-Oriented Transport Protocol (cotp)......................

170

ISO 8473 CLNP ConnectionLess Network Protocol (clnp) ................................

170

ISO 8602 CLTP ConnectionLess Transport Protocol (cltp).................................

171

ISO 9542 ESIS Routeing Information Exchange Protocol (esis).........................

171

ITU-T Recommendation H.261 (h261) ..................................................................

172

Inter-Access-Point Protocol (iapp).........................................................................

172

Internet Cache Protocol (icp) ..................................................................................

173

Internet Content Adaptation Protocol (icap)........................................................

173

Internet Control Message Protocol (icmp)............................................................

173

Internet Control Message Protocol v6 (icmpv6) ..................................................

174

Internet Group Management Protocol (igmp) .....................................................

174

Internet Message Access Protocol (imap) .............................................................

175

Internet Printing Protocol (ipp)..............................................................................

176

Internet Protocol (ip)................................................................................................

176

Internet Protocol Version 6 (ipv6) ..........................................................................

177

Internet Relay Chat (irc) ..........................................................................................

178

Internet Security Association and Key Management Protocol (isakmp) .........

179

Internetwork Packet eXchange (ipx) .....................................................................

179

Java RMI (rmi) ..........................................................................................................

179

Java Serialization (serialization).............................................................................

180

Kerberos (kerberos)..................................................................................................

180

Kernel Lock Manager (klm)....................................................................................

180

Label Distribution Protocol (ldp)...........................................................................

181

Layer 2 Tunneling Protocol (l2tp) ..........................................................................

185

Lightweight Directory Access Protocol (ldap).....................................................

185

Line Printer Daemon Protocol (lpd) ......................................................................

186

Link Access Procedure Balanced (LAPB) (lapb)..................................................

187

Link Access Procedure Balanced Ethernet (LAPBETHER) (lapbether) ...........

187

Link Access Procedure, Channel D (LAPD) (lapd) .............................................

187

Link Aggregation Control Protocol (lacp) ............................................................

187

Link Management Protocol (LMP) (lmp) .............................................................

189

Linux cooked-mode capture (sll) ...........................................................................

193

Local Management Interface (lmi).........................................................................

193

LocalTalk Link Access Protocol (llap) ...................................................................

194

Logical-Link Control (llc)........................................................................................

194

Lucent/Ascend debug output (ascend)................................................................

194

MMS Message Encapsulation (mmse) ..................................................................

195

MS Proxy Protocol (msproxy) ................................................................................

196

MSNIP: Multicast Source Notification of Interest Protocol (msnip).................

196

MTP 2 Transparent Proxy (m2tp)...........................................................................

197

MTP 2 User Adaptation Layer (m2ua)..................................................................

197

MTP 3 User Adaptation Layer (m3ua)..................................................................

199

MTP2 Peer Adaptation Layer (m2pa) ...................................................................

201

Malformed Packet (malformed).............................................................................

201

Message Transfer Part Level 2 (mtp2) ...................................................................

201

Message Transfer Part Level 3 (mtp3) ...................................................................

202

Microsoft Distributed File System (dfs) ................................................................

202

Microsoft Exchange MAPI (mapi) .........................................................................

202

Microsoft Local Security Architecture (lsa) ..........................................................

203

Microsoft Network Logon (rpc_netlogon) ...........................................................

205

viii

Microsoft Registry (winreg)....................................................................................

210

Microsoft Security Account Manager (samr) .......................................................

211

Microsoft Server Service (srvsvc)...........................................................................

213

Microsoft Spool Subsystem (spoolss)....................................................................

219

Microsoft Telephony API Service (tapi) ................................................................

225

Microsoft Windows Browser Protocol (browser) ................................................

225

Microsoft Windows Lanman Remote API Protocol (lanman) ...........................

227

Microsoft Windows Logon Protocol (netlogon) ..................................................

230

Microsoft Workstation Service (wkssvc)...............................................................

231

Mobile IP (mip).........................................................................................................

231

Modbus/TCP (mbtcp).............................................................................................

232

Mount Service (mount)............................................................................................

233

MultiProtocol Label Switching Header (mpls) ....................................................

234

Multicast Router DISCovery protocol (mrdisc) ...................................................

234

Multicast Source Discovery Protocol (msdp).......................................................

235

NFSACL (nfsacl).......................................................................................................

235

NFSAUTH (nfsauth) ................................................................................................

235

NIS+ (nisplus)...........................................................................................................

236

NIS+ Callback (nispluscb).......................................................................................

239

NSPI (nspi) ................................................................................................................

240

NTLM Secure Service Provider (ntlmssp) ............................................................

240

Name Binding Protocol (nbp).................................................................................

243

Name Management Protocol over IPX (nmpi) ....................................................

243

NetBIOS (netbios).....................................................................................................

244

NetBIOS Datagram Service (nbdgm) ....................................................................

244

NetBIOS Name Service (nbns) ...............................................................................

245

NetBIOS Session Service (nbss)..............................................................................

245

NetBIOS over IPX (nbipx).......................................................................................

246

NetWare Core Protocol (ncp)..................................................................................

246

Network Data Management Protocol (ndmp) .....................................................

307

Network File System (nfs).......................................................................................

311

Network Lock Manager Protocol (nlm)................................................................

318

Network News Transfer Protocol (nntp) ..............................................................

319

Network Status Monitor CallBack Protocol (statnotify).....................................

319

Network Status Monitor Protocol (stat)................................................................

319

Network Time Protocol (ntp)..................................................................................

320

Null/Loopback (null) ..............................................................................................

320

Open Shortest Path First (ospf) ..............................................................................

321

OpenBSD Packet Filter log file (pflog) ..................................................................

322

PC NFS (pcnfsd) .......................................................................................................

322

PPP Bandwidth Allocation Control Protocol (bacp) ...........................................

323

PPP Bandwidth Allocation Protocol (bap) ...........................................................

323

PPP Callback Control Protocol (cbcp) ...................................................................

323

PPP Challenge Handshake Authentication Protocol (chap)..............................

323

PPP Compressed Datagram (comp_data) ............................................................

323

PPP Compression Control Protocol (ccp) .............................................................

324

PPP IP Control Protocol (ipcp) ...............................................................................

324

PPP Link Control Protocol (lcp) .............................................................................

324

PPP Multilink Protocol (mp) ..................................................................................

324

PPP Multiplexing (pppmux) ..................................................................................

324

PPP Password Authentication Protocol (pap) .....................................................

325

PPP VJ Compression (vj).........................................................................................

325

PPP-over-Ethernet Discovery (pppoed) ...............................................................

325

ix

PPP-over-Ethernet Session (pppoes) .....................................................................

326

PPPMux Control Protocol (pppmuxcp)................................................................

326

Point-to-Point Protocol (ppp) .................................................................................

326

Point-to-Point Tunnelling Protocol (pptp)............................................................

326

Portmap (portmap) ..................................................................................................

326

Post Office Protocol (pop) .......................................................................................

327

Pragmatic General Multicast (pgm) ......................................................................

327

Prism (prism) ............................................................................................................

329

Protocol Independent Multicast (pim)..................................................................

329

Q.2931 (q2931)...........................................................................................................

330

Q.931 (q931)...............................................................................................................

330

Quake II Network Protocol (quake2) ....................................................................

330

Quake III Arena Network Protocol (quake3) .......................................................

331

Quake Network Protocol (quake)..........................................................................

332

QuakeWorld Network Protocol (quakeworld) ....................................................

333

Qualified Logical Link Control (qllc) ....................................................................

334

RFC 2250 MPEG1 (mpeg1)......................................................................................

335

RIPng (ripng) ............................................................................................................

335

RPC Browser (rpc_browser) ...................................................................................

335

RSTAT (rstat).............................................................................................................

336

RX Protocol (rx) ........................................................................................................

336

Radio Access Network Application Part (ranap) ................................................

337

Radius Protocol (radius)..........................................................................................

342

Raw packet data (raw).............................................................................................

342

Real Time Streaming Protocol (rtsp)......................................................................

342

Real-Time Transport Protocol (rtp)........................................................................

343

Real-time Transport Control Protocol (rtcp).........................................................

343

Remote Procedure Call (rpc)...................................................................................

345

Remote Quota (rquota)............................................................................................

346

Remote Shell (rsh) ....................................................................................................

347

Remote Wall protocol (rwall)..................................................................................

347

Resource ReserVation Protocol (RSVP) (rsvp) .....................................................

347

Rlogin Protocol (rlogin)...........................................................................................

349

Routing Information Protocol (rip)........................................................................

350

Routing Table Maintenance Protocol (rtmp) ........................................................

350

SADMIND (sadmind)..............................................................................................

350

SCSI (scsi) ..................................................................................................................

351

SMB (Server Message Block Protocol) (smb)........................................................

353

SMB MailSlot Protocol (mailslot)...........................................................................

368

SMB Pipe Protocol (pipe) ........................................................................................

368

SNA-over-Ethernet (snaeth) ...................................................................................

369

SNMP Multiplex Protocol (smux)..........................................................................

369

SPRAY (spray)...........................................................................................................

369

SS7 SCCP-User Adaptation Layer (sua) ...............................................................

370

SSCOP (sscop)...........................................................................................................

374

Secure Socket Layer (ssl) .........................................................................................

374

Sequenced Packet eXchange (spx) .........................................................................

376

Service Advertisement Protocol (ipxsap) .............................................................

377

Service Location Protocol (srvloc)..........................................................................

377

Session Announcement Protocol (sap)..................................................................

377

Session Description Protocol (sdp) ........................................................................

377

Session Initiation Protocol (sip)..............................................................................

379

Short Frame (short) ..................................................................................................

379

x

Short Message Peer to Peer (smpp) .......................................................................

380

Signalling Connection Control Part (sccp) ...........................................................

383

Simple Mail Transfer Protocol (smtp) ...................................................................

385

Simple Network Management Protocol (snmp)..................................................

386

Sinec H1 Protocol (h1) .............................................................................................

386

Skinny Client Control Protocol (skinny)...............................................................

387

SliMP3 Communication Protocol (slimp3) ...........................................................

391

Socks Protocol (socks)..............................................................................................

391

Spanning Tree Protocol (stp)...................................................................................

392

Stream Control Transmission Protocol (sctp).......................................................

393

Syslog message (syslog) ..........................................................................................

395

Systems Network Architecture (sna).....................................................................

395

TACACS (tacacs) ......................................................................................................

399

TACACS+ (tacplus)..................................................................................................

399

TPKT (tpkt)................................................................................................................

400

Telnet (telnet) ............................................................................................................

400

Time Protocol (time).................................................................................................

400

Time Synchronization Protocol (tsp) .....................................................................

400

Token-Ring (tr)..........................................................................................................

401

Token-Ring Media Access Control (trmac)...........................................................

402

Transmission Control Protocol (tcp)......................................................................

402

Transparent Network Substrate Protocol (tns) ....................................................

403

Trivial File Transfer Protocol (tftp).........................................................................

406

Universal Computer Protocol (ucp) ......................................................................

406

Unreassembled Fragmented Packet (unreassembled)........................................

409

User Datagram Protocol (udp) ...............................................................................

410

Virtual Router Redundancy Protocol (vrrp).........................................................

410

Virtual Trunking Protocol (vtp)..............................................................................

410

Web Cache Coordination Protocol (wccp)............................................................

411

Wellfleet Compression (wcp)..................................................................................

412

Who (who).................................................................................................................

412

Wireless Session Protocol (wap-wsp)....................................................................

413

Wireless Transaction Protocol (wap-wsp-wtp) ....................................................

419

Wireless Transport Layer Security (wap-wtls).....................................................

420

X Display Manager Control Protocol (xdmcp) ....................................................

423

X.25 (x.25) ..................................................................................................................

424

X.25 over TCP (xot) ..................................................................................................

424

X11 (x11) ....................................................................................................................

424

Xyplex (xyplex).........................................................................................................

440

Yahoo Messenger Protocol (yhoo) .........................................................................

440

Yellow Pages Bind (ypbind)....................................................................................

440

Yellow Pages Passwd (yppasswd).........................................................................

441

Yellow Pages Service (ypserv)................................................................................

441

Yellow Pages Transfer (ypxfr).................................................................................

442

Zebra Protocol (zebra) .............................................................................................

442

Zone Information Protocol (zip) ............................................................................

443

iSCSI (iscsi) ................................................................................................................

443

B. Ethereal Error Messages..............................................................................................

447

Capture file format not understood.......................................................................

447

Save file error ............................................................................................................

447

C. The GNU Free Document Public Licence ...............................................................

449

Copyright ..................................................................................................................

449

xi

Preamble ....................................................................................................................

449

Applicability and Definitions .................................................................................

449

Verbatim Copying ....................................................................................................

450

Copying in Quantity................................................................................................

450

Modifications ............................................................................................................

451

Combining Documents ...........................................................................................

452

Collections of Documents .......................................................................................

453

Aggregation with Independent Works .................................................................

453

Translation.................................................................................................................

453

Termination ...............................................................................................................

454

Future Revisions of this License.............................................................................

454

xii

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