summaryrefslogtreecommitdiffstats
path: root/contrib/tftp/tftpd.8
blob: 6a154c10cd5dceced0aeda7b4267526216b39cd4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
.\" Copyright (c) 1983 The Regents of the University of California.
.\" All rights reserved.
.\"
.\" Redistribution and use in source and binary forms are permitted
.\" provided that the above copyright notice and this paragraph are
.\" duplicated in all such forms and that any documentation,
.\" advertising materials, and other materials related to such
.\" distribution and use acknowledge that the software was developed
.\" by the University of California, Berkeley.  The name of the
.\" University may not be used to endorse or promote products derived
.\" from this software without specific prior written permission.
.\" THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
.\" IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
.\" WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
.\"
.\"	@(#)tftpd.8	6.3 (Berkeley) 9/20/88
.\"
.TH TFTPD 8 "September 20, 1988"
.UC 5
.SH NAME
tftpd \- DARPA Trivial File Transfer Protocol server
.SH SYNOPSIS
.B /etc/tftpd
[
.SM \-c
<rootdir> ] [
.SM \-d
] [
.SM \-r
<filter> ]
.SH DESCRIPTION
.I Tftpd
is a server which supports the DARPA Trivial File Transfer
Protocol.
The TFTP server operates
at the port indicated in the ``tftp'' service description;
see
.IR services (5).
The server is normally started by
.IR inetd (8).
.PP
The use of
.I tftp
does not require an account or password on the remote system.
Due to the lack of authentication information, 
.I tftpd
will allow only publicly readable files to be
accessed.
Files may 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 implications
should be considered before enabling tftp service.
The server should have the user ID with the lowest possible privilege.
.SH OPTIONS
.TP
.B \-c
Pathname of a directory that is considered the rootdirectory for all
transfers. N.B.
.I tftpd
does not actually perform a
.IR chroot (2)
call; you should be aware of the security implications and you
probably should run the server from an unpriviledged account.
.TP
.B \-d
Increased debugging level.
.TP
.B \-r
Pathname of a file that is considered to be a filter program. Whenever
a client tries to download this file, the filter will be started and
its output is send to the client. An arbitrary amount of these
filters can be specified.
.SH "SEE ALSO"
tftp(1), inetd(8)