[syslinux] dynamic tftp content?

H. Peter Anvin hpa at zytor.com
Tue Mar 20 15:31:58 PDT 2007


Craig wrote:
>>
>> The problem is that in order to be able to answer a tsize query you have 
>> to know the full size of the output.  However, since TFTP isn't 
>> guaranteed to distinguish between an RRQ resend and a new request 
>> (pxelinux will make the distinction, but it's hard for the TFTP server 
>> to make use of it), so you have to have a reply before the first request.
> 
> What if you sent back a "more coming" message. (Not sure if that's what 
> you mean by the "pause" option.) My thinking is that that message could 
> always be the same length. But, I don't know enough about the tftp 
> protocol to know if that's easier or not.
> 

That would not solve the problem in general.

There is no such thing as a "more coming" message.  A new packet type 
has to be created, and its use has to be negotiated (hence an option is 
required.)

I have been thinking about how this should be designed; I just haven't 
had time to work on it.

	-hpa




More information about the Syslinux mailing list