Ch21

23
McGraw-Hill ©The McGraw-Hill Companies, Inc., 2000 Chapter 21 Trivial File Transfer Protocol (TFTP)

description

 

Transcript of Ch21

Page 1: Ch21

McGraw-Hill ©The McGraw-Hill Companies, Inc., 2000

Chapter 21

Trivial FileTransfer Protocol

(TFTP)

Page 2: Ch21

McGraw-Hill ©The McGraw-Hill Companies, Inc., 2000

CONTENTSCONTENTS• MESSAGES• CONNECTION• DATA TRANSFER• UDP PORTS• TFTP EXAMPLE• TFTP OPTIONS• SECURITY• APPLICATIONS

Page 3: Ch21

McGraw-Hill ©The McGraw-Hill Companies, Inc., 2000

TFTP uses the services of UDP TFTP uses the services of UDP on the well-known port 69.on the well-known port 69.

Page 4: Ch21

McGraw-Hill ©The McGraw-Hill Companies, Inc., 2000

MESSAGES

21.121.1

Page 5: Ch21

McGraw-Hill ©The McGraw-Hill Companies, Inc., 2000

Figure 21-1

Message categories

Page 6: Ch21

McGraw-Hill ©The McGraw-Hill Companies, Inc., 2000

Figure 21-2

RRQRead request

Mode: netascii or octet

Page 7: Ch21

McGraw-Hill ©The McGraw-Hill Companies, Inc., 2000

Figure 21-3

WRQWrite request

Page 8: Ch21

McGraw-Hill ©The McGraw-Hill Companies, Inc., 2000

Figure 21-4

DATA format

Page 9: Ch21

McGraw-Hill ©The McGraw-Hill Companies, Inc., 2000

Figure 21-5

ACK format

Page 10: Ch21

McGraw-Hill ©The McGraw-Hill Companies, Inc., 2000

Figure 21-6

ERROR format

Page 11: Ch21

McGraw-Hill ©The McGraw-Hill Companies, Inc., 2000

CONNECTION

21.221.2

Page 12: Ch21

McGraw-Hill ©The McGraw-Hill Companies, Inc., 2000

Figure 21-7

Connection establishment

Page 13: Ch21

McGraw-Hill ©The McGraw-Hill Companies, Inc., 2000

DATATRANSFER

21.321.3

Page 14: Ch21

McGraw-Hill ©The McGraw-Hill Companies, Inc., 2000

Figure 21-8Sorcerer’s apprentice bug

Page 15: Ch21

McGraw-Hill ©The McGraw-Hill Companies, Inc., 2000

UDPPORTS

21.421.4

Page 16: Ch21

McGraw-Hill ©The McGraw-Hill Companies, Inc., 2000

Figure 21-9

UDP port numbers used by TFTP

Page 17: Ch21

McGraw-Hill ©The McGraw-Hill Companies, Inc., 2000

21.521.5

TFTPEXAMPLE

Page 18: Ch21

McGraw-Hill ©The McGraw-Hill Companies, Inc., 2000

Figure 21-10

TFTPexample

Page 19: Ch21

McGraw-Hill ©The McGraw-Hill Companies, Inc., 2000

TFTPOPTIONS

21.621.6

Page 20: Ch21

McGraw-Hill ©The McGraw-Hill Companies, Inc., 2000

SECURITY

21.721.7

Page 21: Ch21

McGraw-Hill ©The McGraw-Hill Companies, Inc., 2000

Figure 21-11

TELNET with FTP for security

Page 22: Ch21

McGraw-Hill ©The McGraw-Hill Companies, Inc., 2000

21.821.8

APPLICATIONS

Page 23: Ch21

McGraw-Hill ©The McGraw-Hill Companies, Inc., 2000

Figure 21-12

Use of TFTP with BOOTP