tftpd.8 (6cec9cad762b6476313fb1f8e931a1647822db6b) tftpd.8 (fdf929ff91d432d17c4d7d0aa0f9995fffe6fa8e)
1.\" Copyright (c) 1983, 1991, 1993
2.\" The Regents of the University of California. All rights reserved.
3.\"
4.\" Redistribution and use in source and binary forms, with or without
5.\" modification, are permitted provided that the following conditions
6.\" are met:
7.\" 1. Redistributions of source code must retain the above copyright
8.\" notice, this list of conditions and the following disclaimer.

--- 14 unchanged lines hidden (view full) ---

23.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
24.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
25.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
26.\" SUCH DAMAGE.
27.\"
28.\" @(#)tftpd.8 8.1 (Berkeley) 6/4/93
29.\" $FreeBSD$
30.\"
1.\" Copyright (c) 1983, 1991, 1993
2.\" The Regents of the University of California. All rights reserved.
3.\"
4.\" Redistribution and use in source and binary forms, with or without
5.\" modification, are permitted provided that the following conditions
6.\" are met:
7.\" 1. Redistributions of source code must retain the above copyright
8.\" notice, this list of conditions and the following disclaimer.

--- 14 unchanged lines hidden (view full) ---

23.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
24.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
25.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
26.\" SUCH DAMAGE.
27.\"
28.\" @(#)tftpd.8 8.1 (Berkeley) 6/4/93
29.\" $FreeBSD$
30.\"
31.Dd June 22, 2011
31.Dd March 2, 2020
32.Dt TFTPD 8
33.Os
34.Sh NAME
35.Nm tftpd
36.Nd Internet Trivial File Transfer Protocol server
37.Sh SYNOPSIS
38.Nm tftpd
39.Op Fl cdClnow

--- 200 unchanged lines hidden (view full) ---

240.%T RFC 2347: TFTP Option Extension
241.Re
242.Rs
243.%T RFC 2348: TFTP Blocksize Option
244.Re
245.Rs
246.%T RFC 2349: TFTP Timeout Interval and Transfer Size Options
247.Re
32.Dt TFTPD 8
33.Os
34.Sh NAME
35.Nm tftpd
36.Nd Internet Trivial File Transfer Protocol server
37.Sh SYNOPSIS
38.Nm tftpd
39.Op Fl cdClnow

--- 200 unchanged lines hidden (view full) ---

240.%T RFC 2347: TFTP Option Extension
241.Re
242.Rs
243.%T RFC 2348: TFTP Blocksize Option
244.Re
245.Rs
246.%T RFC 2349: TFTP Timeout Interval and Transfer Size Options
247.Re
248.Rs
249.%T RFC 7440: TFTP Windowsize Option
250.Re
248.Pp
249The non-standard
250.Cm rollover
251and
252.Cm blksize2
253TFTP options are mentioned here:
254.Rs
255.%T Extending TFTP

--- 30 unchanged lines hidden (view full) ---

286was introduced in
287.Fx 7.4 .
288.Pp
289Edwin Groothuis <edwin@FreeBSD.org> performed a major rewrite of the
290.Nm
291and
292.Xr tftp 1
293code to support RFC2348.
251.Pp
252The non-standard
253.Cm rollover
254and
255.Cm blksize2
256TFTP options are mentioned here:
257.Rs
258.%T Extending TFTP

--- 30 unchanged lines hidden (view full) ---

289was introduced in
290.Fx 7.4 .
291.Pp
292Edwin Groothuis <edwin@FreeBSD.org> performed a major rewrite of the
293.Nm
294and
295.Xr tftp 1
296code to support RFC2348.
297.Pp
298Support for the windowsize option (RFC7440) was introduced in
299.Fx 13.0 .
294.Sh NOTES
295Files larger than 33,553,919 octets (65535 blocks, last one <512
296octets) cannot be correctly transferred without client and server
297supporting blocksize negotiation (RFCs 2347 and 2348),
298or the non-standard TFTP rollover option.
299As a kludge,
300.Nm
301accepts a sequence of block number which wrap to zero after 65535,
302even if the rollover option is not specified.
303.Pp
304Many tftp clients will not transfer files over 16,776,703 octets
305(32767 blocks), as they incorrectly count the block number using
306a signed rather than unsigned 16-bit integer.
300.Sh NOTES
301Files larger than 33,553,919 octets (65535 blocks, last one <512
302octets) cannot be correctly transferred without client and server
303supporting blocksize negotiation (RFCs 2347 and 2348),
304or the non-standard TFTP rollover option.
305As a kludge,
306.Nm
307accepts a sequence of block number which wrap to zero after 65535,
308even if the rollover option is not specified.
309.Pp
310Many tftp clients will not transfer files over 16,776,703 octets
311(32767 blocks), as they incorrectly count the block number using
312a signed rather than unsigned 16-bit integer.