TFTPD(8) BSD System Manager's Manual TFTPD(8)NAMEtftpd - Internet Trivial File Transfer Protocol server
SYNOPSIStftpd [-l] [-n] directory [directory2 ...]
DESCRIPTION
Tftpd is a server which supports the Internet Trivial File Transfer Pro-
tocol (RFC 783). The TFTP server operates at the port indicated in the
`tftp' service description; see services(5). The server is normally
started by inetd(8).
The use of tftp(1) does not require an account or password on the remote
system. Due to the lack of authentication information, tftpd will allow
only publicly readable files to be accessed. Files containing the string
``/../'' are not allowed. Files may be written only if they already ex-
ist 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 implica-
tions should be considered before enabling tftp service. The server
should have the user ID with the lowest possible privilege.
Access to files is restricted by invoking tftpd with a list of directo-
ries by including up to 20 pathnames (restriction in inetd) as server
program arguments in /etc/inetd.conf. The given directories are also used
to prepend filename requests.
The options are:
-l Logs all requests using syslog(3).
-n Suppresses negative acknowledgement of requests for nonexistent
relative filenames.
Tftpd will not respond to requests that are multicast. It will also not
respond to broadcast requests with the following exceptions designed to
allow network booting of Sun workstations.
o The broadcast address used is the local-wire broadcast
(255.255.255.255), or the subnet specific broadcast address for an
attached interface.
o The request originated from a host on this network.
o The request is a read request.
o The beginning base name of the file matches the source IP address
translated into host byte order and represented as eight upper case
hexadecimal digits. For example, a broadcast read request from
10.0.0.1 would have to be requesting a file starting with 0A000001.
A broadcast request is treated as if the -n flag is specified, file not
found responses are suppressed.
SEE ALSOtftp(1), inetd(8)HISTORY
The tftpd command appeared in 4.2BSD.
BSD/OS April 29, 1998 1