UNIX Socket FAQ

A forum for questions and answers about network programming on Linux and all other Unix-like systems

You are not logged in.

  • Index
  • » General
  • » Downloading the linux kernel via tftp & packet becomes corrupted

#1 2013-01-31 06:28 PM

newbee1985
Member
Registered: 2013-01-31
Posts: 1

Downloading the linux kernel via tftp & packet becomes corrupted

Downloading the linux kernel via tftp what happens if the data packet becomes corrupted.

As i know tftp uses UDP which does not do things like handshaking, error correction and leaves it to higher protocols assuming there are any in use. UDP uses a simple transmission model without implicit handshaking dialogues for providing reliability, ordering, or data integrity. Thus, UDP provides an unreliable service and datagrams may arrive out of order, appear duplicated, or go missing without notice. UDP assumes that error checking and correction is either not necessary or performed in the application, avoiding the overhead of such processing at the network interface level. 

Lacking reliability, UDP applications must generally be willing to accept some loss, errors or duplication. Some applications such as TFTP may add rudimentary reliability mechanisms into the application layer as needed. Most often, UDP applications do not employ reliability mechanisms and may even be hindered by them. In TFTP loss of packets is not usually a fatal problem. If an application requires a high degree of reliability, a protocol such as the Transmission Control Protocol or erasure codes may be used instead.

I am still bit confused how it handle the corrupted packet, resend the packet request in TFTP and carry on with rest of file or wait for packet to received.

TFTP - lost packets?
Packet recovery
Timeout and retransmit
Block number in data packets
and ACK
is that ?
any advised would be helpful. if you cant that's ok thanks for reading.

Last edited by newbee1985 (2013-01-31 06:29 PM)

Offline

#2 2013-01-31 08:39 PM

RobSeace
Administrator
From: Boston, MA
Registered: 2002-06-12
Posts: 3,847
Website

Re: Downloading the linux kernel via tftp & packet becomes corrupted

Offline

  • Index
  • » General
  • » Downloading the linux kernel via tftp & packet becomes corrupted

Board footer

Powered by FluxBB