Subject: bin/17080: Add support for RFC2347-stlye options to tftp/tftpd
To: None <gnats-bugs@gnats.netbsd.org>
From: None <andrew@flury.org>
List: netbsd-bugs
Date: 05/27/2002 23:31:11
>Number:         17080
>Category:       bin
>Synopsis:       Add support for RFC2347-stlye options to tftp/tftpd
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    bin-bug-people
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Mon May 27 23:30:00 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Andrew Flury
>Release:        NetBSD 1.5ZA (patch applies to -current as of 05/27/2002
>Organization:
>Environment:
System: NetBSD broken 1.5ZA NetBSD 1.5ZA (GENERIC) #1: Sun Feb 17 11:17:55 UTC 2002 aflury@broken:/usr/src/sys/arch/i386/compile/GENERIC i386
Architecture: i386
Machine: i386
>Description:
	This patch adds support for RFC2347-style tftp option negotiation
	to both the tftp client and server.  It supports the block size
	(RFC2348), transfer size and remote timeout (RFC2349) options.
	The main motivation for adding these was that some PXE-based
	bootloaders (pxelinux in particular) require support for the
	tsize option.  Since this changes some server code, it would
	obviously be good if a few more eyes looked at it before
	committing it (if it's decided that it should be committed at
	all).
>How-To-Repeat:
	In src, patch -p0 < patchfile
>Fix:
	The patch is available at http://www.flury.org/andrew/tftp-options.diff
>Release-Note:
>Audit-Trail:
>Unformatted: