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

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

Embed Size (px)

Citation preview

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

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

Chapter 21

Trivial FileTransfer Protocol

(TFTP)

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

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

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

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

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: McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 Chapter 21 Trivial File Transfer Protocol (TFTP)

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

MESSAGES

21.121.1

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

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

Figure 21-1

Message categories

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

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

Figure 21-2

RRQRead request

Mode: netascii or octet

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

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

Figure 21-3

WRQWrite request

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

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

Figure 21-4

DATA format

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

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

Figure 21-5

ACK format

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

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

Figure 21-6

ERROR format

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

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

CONNECTION

21.221.2

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

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

Figure 21-7

Connection establishment

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

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

DATATRANSFER

21.321.3

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

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

Figure 21-8Sorcerer’s apprentice bug

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

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

UDPPORTS

21.421.4

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

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

Figure 21-9

UDP port numbers used by TFTP

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

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

21.521.5

TFTPEXAMPLE

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

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

Figure 21-10

TFTPexample

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

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

TFTPOPTIONS

21.621.6

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

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

SECURITY

21.721.7

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

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

Figure 21-11

TELNET with FTP for security

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

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

21.821.8

APPLICATIONS

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

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

Figure 21-12

Use of TFTP with BOOTP