[syslinux] PXE Error Reporting

Sebastian Herbszt herbszt at gmx.de
Tue Jan 20 15:54:31 PST 2015


H. Peter Anvin wrote:
> On 01/20/2015 12:17 PM, Andreas Gruenbacher wrote:
> > On 01/20/2015 09:13 PM, H. Peter Anvin wrote:
> >> I can't remember, but I have a vague recollection that someone
> >> specifically requested that EACCES be treated the same as ENOENT...
> > 
> > If that is really necessary then please don't report that condition as
> > "file not found"; it's really misleading.
> 
> That is, however, the whole point -- the existence of a inaccessible
> file should not be visible to the client.
> 
> This is apparently a security requirement in some environments.

If with client you mean a tftp client then it is not the current
behavior of tftp-hpa:

tftp> get nope
Error code 1: File not found
tftp> get bar
Error code 0: Permission denied

Sebastian


More information about the Syslinux mailing list