[BusyBox] tftp quits after 33553920 bytes

Steve Wahl swahl at brecis.com
Thu May 1 00:27:06 UTC 2003


On Thu, May 01, 2003 at 02:18:00AM +0200, Wolfgang Denk wrote:
> In message <432296A5CDF78D4FA6B47869124755FBCF187F at communicator.troikanetworks.com> you wrote:
> > version: 0.60.5
> > 
> > tftp times out with the message:
> > 	tftp: timeout
> > 	tftp: last timeout
> > 
> > after transferring 33553920 bytes.
> > 
> > Is this a known issue? 
> 
> It's a limitation of the TFTP protocol which uses a  16  bit  counter
> for data block of 512 bytes each.
> 
> You cannot transfer files bigger than 32 MB using TFTP.

That is incorrect.  Lots of implementations just let the counter wrap
like TCP does with its 16 bit counter.  The specification does not say
that this is not allowed.

--> Steve


More information about the busybox mailing list