<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/libexec/tftpd, branch release/9.0.0</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=release%2F9.0.0</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=release%2F9.0.0'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2011-07-31T03:18:36Z</updated>
<entry>
<title>Pull in some wording to the tftpd.8 man page</title>
<updated>2011-07-31T03:18:36Z</updated>
<author>
<name>Craig Rodrigues</name>
<email>rodrigc@FreeBSD.org</email>
</author>
<published>2011-07-31T03:18:36Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=46d20cbcf1a953bfc32eb2b5104ec09427bb88f8'/>
<id>urn:sha1:46d20cbcf1a953bfc32eb2b5104ec09427bb88f8</id>
<content type='text'>
from NetBSD, with some slight changes:

=========================================================================================
http://cvsweb.netbsd.org/bsdweb.cgi/src/libexec/tftpd/tftpd.8?only_with_tag=MAIN#rev1.22

Revision 1.22 or diffs], Fri Jan 8 21:05:14 2010 UTC (18 months, 2 weeks ago) by christos

Patrick Welche &lt;prlw1@cam.ac.uk&gt;
    - add -p pathsep option
    - make wrap to zero work, but produce a warning
While here:
    - fix gcc warnings, in particular variable clobbered warnings
      (compiling with fewer warnings does not really fix the problem)
=========================================================================================

These wording changes clarify the default rollover behavior
as a "kludge".  Also, the block numbers and octet counts for 65535 blocks
and 32767 blocks are more accurate than the existing documented numbers.

Requested by:   Pawan Gupta &lt;pawang at juniper dot net&gt;
Obtained from:  Juniper Networks
Approved by:    re (kib)
</content>
</entry>
<entry>
<title>In the old TFTP server, there was an undocumented behavior where</title>
<updated>2011-07-31T03:12:20Z</updated>
<author>
<name>Craig Rodrigues</name>
<email>rodrigc@FreeBSD.org</email>
</author>
<published>2011-07-31T03:12:20Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=38bd7db313319ea40187c2bbc74862e0518aa98d'/>
<id>urn:sha1:38bd7db313319ea40187c2bbc74862e0518aa98d</id>
<content type='text'>
the block counter would rollover to 0 if a file larger
than 65535 blocks was transferred.  With the default block size
of 512 octets per block, this is a file size of approximately 32 megabytes.

The new TFTP server code would report an error and stop transferring
the file if a file was larger than 65535 blocks.

This patch restores the old TFTP server's behavior to the new
TFTP server code.  If a TFTP client transfers a file larger
than 65535 blocks, and does *not* specify the "rollover" option,
then automatically rollover the block counter to 0 every time
we reach 65535 blocks.

This restores interoperability with the FreeBSD 6 TFTP client.
Without this change, if a FreeBSD 6 TFTP client tried to
retrieve a file larger than 65535 blocks from a FreeBSD 9 TFTP server
, the transfer would fail.
The same file could be retrieved successfully if the same FreeBSD 6
TFTP client was used against a FreeBSD 6 TFTP server.

Approved by:  re (kib)
Tested by: Pawan Gupta &lt;pawang at juniper dot net&gt;,
Obtained from:  Juniper Networks
</content>
</entry>
<entry>
<title>Acknowledge Edwin Groothuis for the major rewrite he</title>
<updated>2011-06-24T05:41:38Z</updated>
<author>
<name>Craig Rodrigues</name>
<email>rodrigc@FreeBSD.org</email>
</author>
<published>2011-06-24T05:41:38Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=f6c506d9cf5056e5165edcdfb1cb2078e026d435'/>
<id>urn:sha1:f6c506d9cf5056e5165edcdfb1cb2078e026d435</id>
<content type='text'>
did of the tftpd and tftp code to support TFTP blocksize.
</content>
</entry>
<entry>
<title>Bring back synchnet() implementation from older</title>
<updated>2011-06-24T02:56:24Z</updated>
<author>
<name>Craig Rodrigues</name>
<email>rodrigc@FreeBSD.org</email>
</author>
<published>2011-06-24T02:56:24Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=14de21443e89dacc8aed237e74f5bd21e85d2f84'/>
<id>urn:sha1:14de21443e89dacc8aed237e74f5bd21e85d2f84</id>
<content type='text'>
tftp implementation.  The synchnet() function
was converted to a no-op when the new TFTP implementation
was committed to FreeBSD.  However, this function, as it was
in the older code, is needed
in order to synchronize between the tftpd server and tftp clients,
which may be buggy.

Specifically, we had a buggy TFTP client which would send
TFTP ACK packets for non-TFTP packets, which would cause
the count of packets to get out of whack, causing transfers
to fail with the new TFTPD implementation.

Obtained from:  Juniper Networks
Submitted by: Santhanakrishnan Balraj &lt;sbalraj at juniper dot net&gt;
</content>
</entry>
<entry>
<title>Update references to RFC's that the newer TFTP implementation supports.</title>
<updated>2011-06-22T23:25:24Z</updated>
<author>
<name>Craig Rodrigues</name>
<email>rodrigc@FreeBSD.org</email>
</author>
<published>2011-06-22T23:25:24Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=957af43f83f2387e562262546e5642a0bb0f0ea6'/>
<id>urn:sha1:957af43f83f2387e562262546e5642a0bb0f0ea6</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix typo.</title>
<updated>2011-06-22T22:05:37Z</updated>
<author>
<name>Craig Rodrigues</name>
<email>rodrigc@FreeBSD.org</email>
</author>
<published>2011-06-22T22:05:37Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=7e321ae384b7c31827315a674814cd2a0c336b03'/>
<id>urn:sha1:7e321ae384b7c31827315a674814cd2a0c336b03</id>
<content type='text'>
Reported by: Nick Mann &lt;njm at njm dot me dot uk&gt;
</content>
</entry>
<entry>
<title>Clarify tftpd's -d flag in the new TFTP implementation.</title>
<updated>2011-06-22T21:53:45Z</updated>
<author>
<name>Craig Rodrigues</name>
<email>rodrigc@FreeBSD.org</email>
</author>
<published>2011-06-22T21:53:45Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=a1aea88a5cae1d315efd2e10a1b7c0dcf20d541e'/>
<id>urn:sha1:a1aea88a5cae1d315efd2e10a1b7c0dcf20d541e</id>
<content type='text'>
Bump date.
</content>
</entry>
<entry>
<title>Clarify that the TFTP blocksize (RFC2348) or non-standard</title>
<updated>2011-06-16T02:27:05Z</updated>
<author>
<name>Craig Rodrigues</name>
<email>rodrigc@FreeBSD.org</email>
</author>
<published>2011-06-16T02:27:05Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=e5660633d3e6f818238a34325770e30a0bedbe06'/>
<id>urn:sha1:e5660633d3e6f818238a34325770e30a0bedbe06</id>
<content type='text'>
TFTP rollover option can be used to transfer larger files.
</content>
</entry>
<entry>
<title>Fix tftp_log() usage.</title>
<updated>2011-05-26T20:32:33Z</updated>
<author>
<name>Craig Rodrigues</name>
<email>rodrigc@FreeBSD.org</email>
</author>
<published>2011-05-26T20:32:33Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=3b6bd978f02eff2a9cefd5ba9fe03226d5c16108'/>
<id>urn:sha1:3b6bd978f02eff2a9cefd5ba9fe03226d5c16108</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix typos.</title>
<updated>2010-11-09T10:59:09Z</updated>
<author>
<name>Rebecca Cran</name>
<email>brucec@FreeBSD.org</email>
</author>
<published>2010-11-09T10:59:09Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=b1ce21c6efcf01904c5ae425327bfeca3c1b47b5'/>
<id>urn:sha1:b1ce21c6efcf01904c5ae425327bfeca3c1b47b5</id>
<content type='text'>
PR:	bin/148894
Submitted by:	olgeni
</content>
</entry>
</feed>
