Menu

#6 Block size option < 512 is not accepted

open
nobody
None
5
2012-08-11
2012-08-11
Anonymous
No

From RFC 2348 TFTP Blocksize Option:
#octets
The number of octets in a block, specified in ASCII. Valid
values range between "8" and "65464" octets, inclusive. The
blocksize refers to the number of data octets; it does not
include the four octets of TFTP header.
...
If the server is willing to accept the blocksize option, it sends an
Option Acknowledgment (OACK) to the client. The specified value must
be less than or equal to the value specified by the client.

The issue is that Open TFTP server sends the Option Acknowledgment (OACK) to the client with a value = 512, instead of accepting the value specified by the client when this value is less than 512.

Discussion

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.