TFTP protocol analysis

Source: Internet
Author: User


What is TFTP? What is TFTP commonly used? TFTP is short for Trivial File Transfer Protocol. It is a simple File Transfer Protocol. TFTP is a Protocol in the TCP/IP Protocol family for simple File Transfer between the client and the server, the TFTP port number is 69. TFTP is a simple protocol for transferring files. It is implemented based on UDP, but we cannot determine that some TFTP protocols are based on other transmission protocols. This protocol is designed to transfer small files. Therefore, it does not have many FTP functions. It can only obtain or write files from the file server, but cannot list directories, and does not perform authentication. It transfers 8-bit data. There are three transmission modes: netascii, which is an eight-bit ASCII code format and octet, which is an eight-bit source data type. The last mail is no longer supported, it directly returns the returned data to the user rather than saving it as a file. Www.2cto.com any request transmitted from reading or writing files is also a connection request. If the server approves this request, the server opens a connection and the data is transmitted in 512 bytes. Each data packet includes one piece of data. Before the server sends the next data packet, the customer must confirm the previous data packet. If the size of a data packet is smaller than 512 bytes, it indicates the transmission structure. If the packet is lost during transmission, the sender will re-transmit the last unconfirmed packet after the timeout. Both parties are data senders and receivers. One party transmits the data to receive the response, and the other party sends the response to receive the data. Most errors may cause connection interruption. errors are caused by an incorrect data packet. This package will not be confirmed or resend, so the other party cannot receive it. If the error packet is lost, the timeout mechanism is used. Errors are mainly caused by the following three situations: errors in the content of received packets that fail to meet the request, and such errors cannot be explained by delay or retransmission, loss of access to required resources (such as full hard disk ). The TFTP connection is not interrupted only in one case. In this case, the source port is incorrect. In this case, the packet indicating the error will be sent to the source machine. This Protocol has many restrictions and is implemented for convenience.
 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.