asume following:
/
/data
/data/tftp
/data/tftp/grub
/data/tftp/pxe
tftp on some client:
tftp-root unset:
tftp grub/grub.0 -> file not found
tftp /grub/grub.0 -> file not found
tftp data/tftp/grub/grub.0 -> loads grub.
tftp /data/tftp/grub/grub.0 -> loads grub.
tftp-root=/data/tftp -- this prepen
tftp-root is a security feature. The tftp protocol is entirely
unauthenticated, and if a request was allowed to go outside the
specified root directory, than that effectively makes all readable files
on the host available for internet-wide access, which is not generally
desirable. If you want TFTP
Public bug reported:
dnsmasq does in all cases prepend "tftp_root" to tftp-files.
tftp-root=/data/tftp
dhcp-boot=grub/i386-pc/core.0
now have some config files for different subnets:
dhcp-boot=net:172-18-1,grub/i386-pc/core.0,172.18.1.1
dhcp-boot=net:172-18-8,pxelinux.0,172.18.8.1
dhcp-boot=net:
3 matches
Mail list logo