20.01.2014 Views

Lectures notes for 2010 - KTH

Lectures notes for 2010 - KTH

Lectures notes for 2010 - KTH

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Trivial File Transfer Procotol (TFTP)<br />

TFTP uses UDP (unlike FTP which uses TCP)<br />

• simple and small<br />

• requires only UDP, IP, and a device driver - easily fits in ROM<br />

• a stop-and-wait protocol<br />

• lost packets detected by timeout and retransmission<br />

• Two operations:<br />

• Read Request (RRQ)<br />

• Write Request (RRQ) - <strong>for</strong> security reasons the file must already exist<br />

• The TFTP server (“tftpd”) is generally run setrooted (i.e., it only has<br />

access to is own directory) and with a special user and group ID -<br />

since there is no password or other protection of the access to files via<br />

TFTP!<br />

• TFTP request is sent to the well know port number (69/udp)<br />

• TFTP server uses an unused ephemeral port <strong>for</strong> its replies<br />

• since a TFTP transfer can last <strong>for</strong> quite some time - it uses another port; thus freeing up the<br />

well known port <strong>for</strong> other requests<br />

Maguire Trivial File Transfer Procotol (TFTP) 4: 41 of 74<br />

maguire@kth.se <strong>2010</strong>.03.21 Internetworking/Internetteknik

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!