[syslinux] tftpd-hpa source port selection

H. Peter Anvin hpa at zytor.com
Wed Oct 15 11:20:10 PDT 2003


Alexandre Aractingi wrote:
> Le mer 15/10/2003 à 19:12, H. Peter Anvin a écrit :
> 
>>The TFTP protocol behaves this way to make it easy to implement on 
>>machines even with really bizarre UDP stacks.  Whether or not it 
>>actually is a win is probably at best debatable, however, there *are* 
>>machines which don't handle a connected and an unconnected UDP socket 
>>with the same local port number.
> 
> Thanks for your answer!
> And if my machine can support a connected and an unconnected UDP socket
> with the same local port number, is there a way to force tftpd-hpa to
> always use 69 as its source port?
> 

I thought about this some more, and realized it MAY not work with some
embedded TFTP clients (not PXELINUX, which will work fine): if the
embedded TFTP client doesn't change port numbers and aborts the
connection, tftp-hpa might not notice.  Use on your own risk...

	-hpa





More information about the Syslinux mailing list