aboutsummaryrefslogtreecommitdiff
path: root/libexec/tftpd
diff options
context:
space:
mode:
authorCraig Rodrigues <rodrigc@FreeBSD.org>2011-07-31 03:18:36 +0000
committerCraig Rodrigues <rodrigc@FreeBSD.org>2011-07-31 03:18:36 +0000
commit46d20cbcf1a953bfc32eb2b5104ec09427bb88f8 (patch)
tree85c75e4ed2b2b627d43fef0b32a58f79ab0e466b /libexec/tftpd
parent38bd7db313319ea40187c2bbc74862e0518aa98d (diff)
Notes
Diffstat (limited to 'libexec/tftpd')
-rw-r--r--libexec/tftpd/tftpd.813
1 files changed, 10 insertions, 3 deletions
diff --git a/libexec/tftpd/tftpd.8 b/libexec/tftpd/tftpd.8
index 96bd24cbb6d26..7c3da085b77c6 100644
--- a/libexec/tftpd/tftpd.8
+++ b/libexec/tftpd/tftpd.8
@@ -300,8 +300,15 @@ and
.Xr tftp 1
code to support RFC2348.
.Sh NOTES
-Files larger than 33488896 octets (65535 blocks) cannot be transferred
-without client and server supporting the TFTP blocksize option (RFC2348),
+Files larger than 33,553,919 octets (65535 blocks, last one <512
+octets) cannot be correctly transferred without client and server
+supporting blocksize negotiation (RFCs 2347 and 2348),
or the non-standard TFTP rollover option.
+As a kludge,
+.Nm
+accepts a sequence of block number which wrap to zero after 65535,
+even if the rollover option is not specified.
.Pp
-Many tftp clients will not transfer files over 16744448 octets (32767 blocks).
+Many tftp clients will not transfer files over 16,776,703 octets
+(32767 blocks), as they incorrectly count the block number using
+a signed rather than unsigned 16-bit integer.