1in.tftpd(1M) System Administration Commands in.tftpd(1M)
2
3
4
6 in.tftpd, tftpd - Internet Trivial File Transfer Protocol server
7
9 in.tftpd [-d] [-T rexmtval] [-s] [homedir]
10
11
13 tftpd is a server that supports the Internet Trivial File Transfer Pro‐
14 tocol (TFTP).
15
16
17 Before responding to a request, the server attempts to change its cur‐
18 rent directory to homedir; the default directory is /tftpboot.
19
20
21 The use of tftp does not require an account or password on the remote
22 system. Due to the lack of authentication information, in.tftpd will
23 allow only publicly readable files to be accessed. Files may be written
24 only if they already exist and are publicly writable. Note that this
25 extends the concept of "public" to include all users on all hosts that
26 can be reached through the network. This may not be appropriate on all
27 systems, and its implications should be considered before enabling this
28 service.
29
30
31 in.tftpd runs with the user ID and group ID set to [GU]ID_NOBODY under
32 the assumption that no files exist with that owner or group. However,
33 nothing checks this assumption or enforces this restriction.
34
36 -d Debug. When specified it sets the SO_DEBUG socket
37 option.
38
39
40 -s Secure. When specified, the directory change to homedir
41 must succeed. The daemon also changes its root directory
42 to homedir.
43
44
45 -T rexmtval Specifies the value of the retransmission timeout in
46 seconds. This also affects the maximum session timeout
47 in that the latter is set to five times the retransmis‐
48 sion timeout value.
49
50
52 The in.tftpd server is IPv6-enabled. See ip6(7P).
53
54
55 in.tftpd supports transfers of greater than 32 MB, per RFC 2348.
56
58 See attributes(5) for descriptions of the following attributes:
59
60
61
62
63 ┌─────────────────────────────┬─────────────────────────────┐
64 │ ATTRIBUTE TYPE │ ATTRIBUTE VALUE │
65 ├─────────────────────────────┼─────────────────────────────┤
66 │Availability │SUNWtftp │
67 └─────────────────────────────┴─────────────────────────────┘
68
70 svcs(1), tftp(1), inetadm(1M), inetd(1M), svcadm(1M), netconfig(4),
71 attributes(5), smf(5), ip6(7P)
72
73
74 Malkin, G. and Harkin, A. RFC 2347, TFTP Option Extension. The Internet
75 Society. May 1998
76
77
78 Malkin, G. and Harkin, A. RFC 2348, TFTP Blocksize Option. The Internet
79 Society. May 1998
80
81
82 Malkin, G. and Harkin, A. RFC 2349, TFTP Timeout Interval and Transfer
83 Size Options. The Internet Society. May 1998
84
85
86 Sollins, K.R. RFC 1350, The TFTP Protocol (Revision 2). Network Working
87 Group. July 1992.
88
90 The tftpd server only acknowledges the transfer size option that is
91 sent with a read request when the octet transfer mode is specified.
92
93
94 The in.tftpd.1m service is managed by the service management facility,
95 smf(5), under the service identifier:
96
97 svc:/network/tftp/udp6:default
98
99
100
101
102 Administrative actions on this service, such as enabling, disabling, or
103 requesting restart, can be performed using svcadm(1M). Responsibility
104 for initiating and restarting this service is delegated to inetd(1M).
105 Use inetadm(1M) to make configuration changes and to view configuration
106 information for this service. The service's status can be queried using
107 the svcs(1) command.
108
109
110 Unlike most smf(5) services, a manifest for the tftp service is not
111 included in the system. To create one and enable this service, the
112 administrator should:
113
114 1. Edit /etc/inet/inetd.conf and uncomment the tftp entry.
115
116 2. Run /usr/sbin/inetconv.
117
118
119 After you run inetconv, the svc:/network/tftp/udp6:default service is
120 created and enabled.
121
122
123
124SunOS 5.11 5 Nov 2008 in.tftpd(1M)