1*61453Sbostic.\" Copyright (c) 1983, 1991, 1993 2*61453Sbostic.\" The Regents of the University of California. All rights reserved. 319018Smckusick.\" 449718Sbostic.\" %sccs.include.redist.roff% 519018Smckusick.\" 6*61453Sbostic.\" @(#)tftpd.8 8.1 (Berkeley) 06/04/93 735583Sbostic.\" 847462Scael.Dd 947462Scael.Dt TFTPD 8 1047462Scael.Os BSD 4.2 1147462Scael.Sh NAME 1247462Scael.Nm tftpd 1347462Scael.Nd 1457964SandrewInternet Trivial File Transfer Protocol server 1547462Scael.Sh SYNOPSIS 1647462Scael.Nm tftpd 1757964Sandrew.Op Fl l 1857964Sandrew.Op Fl n 1947462Scael.Op Ar directory ... 2047462Scael.Sh DESCRIPTION 2147462Scael.Nm Tftpd 2247462Scaelis a server which supports the 2357964SandrewInternet Trivial File Transfer 2457964SandrewProtocol (\c 2557964Sandrew.Tn RFC 783). 2647462ScaelThe 2747462Scael.Tn TFTP 2847462Scaelserver operates 2947462Scaelat the port indicated in the 3047462Scael.Ql tftp 3147462Scaelservice description; 3219018Smckusicksee 3347462Scael.Xr services 5 . 3428796SkarelsThe server is normally started by 3547462Scael.Xr inetd 8 . 3647462Scael.Pp 3719018SmckusickThe use of 3847462Scael.Xr tftp 1 3919018Smckusickdoes not require an account or password on the remote system. 4019018SmckusickDue to the lack of authentication information, 4147462Scael.Nm tftpd 4219018Smckusickwill allow only publicly readable files to be 4319018Smckusickaccessed. 4457964SandrewFiles containing the string ``/\|\fB.\|.\fP\|/'' are not allowed. 4528796SkarelsFiles may be written only if they already exist and are publicly writable. 4647462ScaelNote that this extends the concept of 4747462Scael.Dq public 4847462Scaelto include 4919018Smckusickall users on all hosts that can be reached through the network; 5019018Smckusickthis may not be appropriate on all systems, and its implications 5119018Smckusickshould be considered before enabling tftp service. 5228796SkarelsThe server should have the user ID with the lowest possible privilege. 5347462Scael.Pp 5435783StefAccess to files may be restricted by invoking 5547462Scael.Nm tftpd 5657964Sandrewwith a list of directories by including up to 20 pathnames 5735783Stefas server program arguments in 5847462Scael.Pa /etc/inetd.conf . 5935783StefIn this case access is restricted to files whose 6035783Stefnames are prefixed by the one of the given directories. 6157964SandrewThe given directories are also treated as a search path for 6257964Sandrewrelative filename requests. 6357964Sandrew.Pp 6457964SandrewThe options are: 6557964Sandrew.Bl -tag -width Ds 6657964Sandrew.It Fl l 6757964SandrewLogs all requests using 6857964Sandrew.Xr syslog 3 . 6957964Sandrew.It Fl n 7057964SandrewSuppresses negative acknowledgement of requests for nonexistent 7157964Sandrewrelative filenames. 7257964Sandrew.El 7347462Scael.Sh SEE ALSO 7447462Scael.Xr tftp 1 , 7547462Scael.Xr inetd 8 7647462Scael.Sh HISTORY 7747462ScaelThe 7847462Scael.Nm 7947462Scaelcommand appeared in 8047462Scael.Bx 4.2 . 81