tftpd

DARPA trivial file transfer protocol daemon


Note: You must be root to start this daemon.

Syntax:

tftpd [-p port] [directory...]

Runs on:

Neutrino

Options:

directory
Name of directory where files are accessed.
-p port
Specify the UDP port when running tftpd standalone.

Description:

The tftpd daemon is a server that supports the DARPA Trivial File Transfer Protocol.

The tftpd daemon is started when inetd receives a service request at the port indicated by the tftp entry (inetd listens for service requests specified in the inetd.conf at a port defined in the services file).

Because tftp doesn't require an account or password on the remote system, tftpd allows only publicly readable files to be accessed. Files may be written only if they already exist and are publicly writable.


Note: 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 implications should be considered before enabling the tftp service. The daemon should have the user ID with the lowest possible privilege.

Filenames must start with a /. If a list of directories is given to tftpd, filenames must be in that list. To get a file, the file must have world-read privileges; to put a file, the file must have world-write privileges.

The bootpd utility works with tftpd to provide the client with a boot image.

Files:

The tftpd daemon requires the libsocket.so shared library.

See also:

bootpd, ftpd, inetd, tftp

TCP/IP Networking in the Neutrino User's Guide

RFC 1350