tftpd - The DARPA Trivial File Transfer Protocol (TFTP) server
/usr/sbin/tftpd [-b] [-d] [-r pathname] [-t interval] [directory...]
-b Instructs tftpd to not respond to broadcast requests.
-d Specifies that the name of the file and other debug information is sent
Specifies the relative pathname a user can specify to transfer a file
that has no path associated with it. For example, -r /tmp/tftp causes
/tmp/tftp to be prefixed to a file that has no path and the file is
copied to and from the directory /tmp/tftp. Only one directory path
can be specified with this option.
Specifies the amount of time, in seconds, that tftpd waits before it
recognizes a connection timeout. The default interval is 25 seconds.
The tftpd daemon is a server that supports the DARPA (Defense Advanced
Research Projects Agency) Trivial File Transfer Protocol and complies with
RFC-1350, RFC-1782, and RFC-1783. The TFTP server operates at the port
indicated in the tftp service description; see services(4) for more infor-
mation. The server is normally started by inetd.
Using the tftp command does not require an account or password on the
remote system. Due to the lack of authentication information, the tftpd
daemon will allow only publicly readable files to be accessed. Files con-
taining the string /../ or starting with ../ are not allowed. Files can be
written only if they already exist and are publicly writable. Note that
this extends the concept of ``public'' to include all users on all hosts
that can be reached through the network. This may not be appropriate on all
systems, and its implication should be considered before enabling tftp ser-
vice. The server should have the user ID with the lowest possible
Access to files may be restricted by invoking the tftpd daemon with a list
of directories and including pathnames as server program arguments in the
/etc/inetd.conf file. In this case, access is restricted to files whose
names are prefixed by the one of the given directories.
The tftpd daemon validates the files that it has to transfer against the
/etc/tftptab file. If you are transferring files that are not publicly
readable or not in the directories listed on the command line, you must
make certain that those files are listed in the /etc/tftptab file.
The tftpd daemon also supports the TFTP blocksize option and option exten-
sion that enables it to transfer files using blocksizes greater than 512
bytes (maximum is 65464 bytes).
The maximum number of directories allowed in the directory list are 62. The
maximum number of files allowed in /etc/tftptab file is 256.
Specifies the command path.
RFC 1782, TFTP Option Extension; G. Malkin, A. Harkin; March 1995.
RFC 1783, TFTP Blocksize Option; G. Malkin, A. Harkin; March 1995