diff options
author | rodrigc <rodrigc@FreeBSD.org> | 2011-06-24 03:50:54 +0000 |
---|---|---|
committer | rodrigc <rodrigc@FreeBSD.org> | 2011-06-24 03:50:54 +0000 |
commit | 1621843c39a7f4d45be490ad53fae6944653b975 (patch) | |
tree | 1b2b05bb5da9f6a242227dd424d0b7c3ec3e1c93 /sbin/hastctl/hastctl.8 | |
parent | 5d88d5d7feadac7d9ef3004a0506e1fc0f8b4bde (diff) | |
download | FreeBSD-src-1621843c39a7f4d45be490ad53fae6944653b975.zip FreeBSD-src-1621843c39a7f4d45be490ad53fae6944653b975.tar.gz |
Fixes to newer tftp code in libstand:
(1) Coding style changes.
(2) If the server does not acknowledge any blocksize option,
revert to the default blocksize of 512 bytes.
(3) Send ACK if the first packet happens to be the last packet.
(4) Do not accept blocksize greater than what was requested.
(5) Drop any unwanted OACK received if a tftp transfer is already
in progress.
(6) Terminate incomplete transfers with a special no-error ERROR packet.
Otherwise we rely on the tftp server to time out, which it does
eventually, after re-sending the last packet several times and spamming
the system log about it every time. This idea is borrowed from the
PXE client, which does exactly that.
Submitted by: Alexander Kabaev <kan@FreeBSD.org>
Reviewed and Tested by: Santhanakrishnan Balraj <sbalraj at juniper dot net>
Diffstat (limited to 'sbin/hastctl/hastctl.8')
0 files changed, 0 insertions, 0 deletions