freebsd-skq/libexec/tftpd
Brian Somers 7bc7e0c85e o Reduce path names in RRQ and WRQ packets by:
Reducing "/+./" strings to "/"
    Reducing "/[^/]+/../" to "/"

o Don't send an OACK when the result of the [RW]RQ is an error.

These changes allow tftpd to interact with pxelinux.bin from the syslinux
package.

Whilst the path reducing code doesn't properly handle situations where the
path component before the "/../" is a symlink to (say) ".", I would suggest
that it does the right thing in terms of the clients perception of what
their path string actually represents.  This seems better than using
realpath() and breaking environments where symlinks point outside of the
directory hierarchy that tftpd is configured to allow.
2004-06-21 08:01:16 +00:00
..
Makefile
tftpd.8 Add two new flags: -w, which allows new files to be created, 2004-05-24 22:56:15 +00:00
tftpd.c o Reduce path names in RRQ and WRQ packets by: 2004-06-21 08:01:16 +00:00