tftpd(8) CLIX tftpd(8)
NAME
tftpd - Runs DARPA tftp server
SYNOPSIS
/usr/ip32/tcpip/tftpd [-d] [-s] [-v] [-w] [-l logfile]
FLAGS
-d Allows tftpd to be a boot server for diskless workstations.
If the filename passed on a read request contains no
pathname, tftpd searches for it in the /tftpboot directory.
-s Places tftpd in secure mode. When in secure mode, tftpd
allows read-only access only to the /tftpboot directory.
-v Outputs tftpd version number to stderr or the log file
specified with the -l flag.
-w Write-restricts tftpd. In write-restrict mode tftpd refuses
all requests to write files to the tftpd host.
-l logfile Logs messages to the specified logfile instead of stderr.
DESCRIPTION
The tftpd server supports the Defense Advanced Research Project Agency
(DARPA) Trivial File Transfer Protocol (TFTP). The tftpd command process
acts as both a listener and a server. When the tftpd listener receives a
connection request, a copy of the tftpd server is spawned to handle the
request.
The tftpd server operates at the port indicated by the tftp service listed
in the /etc/services file.
The tftp service does not require an account or password on the remote
system. Due to the lack of authentication information, tftpd allows only
publicly readable files to be accessed. Files may be written only if they
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
implications should be considered before enabling the tftp service.
For valid write requests, the destination file is not overwritten until
the data is transferred in its entirety to a temporary location on the
disk. Therefore, the necessary additional space must be available on disk
for the transfer to be successful. If any error occurs before the
transfer is complete, the destination file retains its original form and
the temporary file is erased.
2/94 - Intergraph Corporation 1
tftpd(8) CLIX tftpd(8)
EXAMPLES
1. To start the tftpd daemon without the optional flags, enter:
/usr/ip32/tcpip/tftpd
2. To start the tftpd daemon in verbose mode with messages and version
number printed to the logfile file.log enter:
/usr/ip32/tcpip/tftpd -v -w -l file.log
The -w flag provides protection for secure stations by write-
restricting tftpd.
3. To start the tftpd daemon as a server to boot diskless workstations,
enter:
/usr/ip32/tcpip/tftpd -d
The -d flag allows tftpd to search the /tftpboot directory for nonpath
files requested by diskless workstations. If read-only access with
tftpd is desired, the -w flag is used also.
4. To start the tftpd daemon in secure mode so that only files in
/tftpboot can be accessed in read-only mode, enter:
/usr/ip32/tcpip/tftpd -s
DIAGNOSTICS
Error messages are displayed on stderr by default, or to a log file if the
-l flag is used.
All messages are prepended with tftpd:. These messages occur on
connection, read, or write errors.
EXIT VALUES
If an error occurs, the tftpd server exits with a nonzero value.
Otherwise, the tftpd server exits with a zero status, while the tftpd
listener continues listening for other connection requests.
RELATED INFORMATION
Commands: tftp(1)
Files: services(4)
2 Intergraph Corporation - 2/94