Index | Thread | Search

From:
Lucas Gabriel Vuotto <lucas@sexy.is>
Subject:
Re: tftpd: document default chroot directory
To:
Chaz Kettleson <chaz@pyr3x.com>
Cc:
tech@openbsd.org
Date:
Mon, 14 Oct 2024 01:28:17 +0000

Download raw body.

Thread
On Sun, Oct 13, 2024 at 08:56:49PM -0400, Chaz Kettleson wrote:
> Hello,
> 
> The default daemon_flags for tftpd(8) in /etc/rc.d/tftpd is '/tftpboot'.
> pxeboot(8) says /tftpboot is the "Default root directory for tftpd(8)".
> Update tftpd.8 to similarly note the default directory is /tftpboot.

No. tftpd(8) requires a directory.

$ tftpd
usage: tftpd [-46cdivw] [-l address] [-p port] [-r socket] directory