]> git.lizzy.rs Git - plan9front.git/blob - sys/man/8/ipserv
git(1): "see also" consistency (thanks sirjofri)
[plan9front.git] / sys / man / 8 / ipserv
1 .TH IPSERV 8
2 .SH NAME
3 telnetd, rlogind, rexexec, ftpd, socksd, hproxy \- Internet remote access daemons
4 .SH SYNOPSIS
5 .B ip/telnetd
6 .RB [ -adnptN ]
7 .RB [ -u
8 .IR user ]
9 .PP
10 .B ip/rlogind
11 .PP
12 .B ip/rexexec
13 .PP
14 .B ip/ftpd
15 .RB [ -aAdei ]
16 .RB [ -n
17 .IR namepace-file ]
18 .RB [ -c
19 .IR cert-path ]
20 .PP
21 .B ip/socksd
22 [
23 .B -x
24 .I inside
25 ] [
26 .B -o
27 .I outside
28 ]
29 .PP
30 .B ip/hproxy
31 .SH DESCRIPTION
32 These programs support remote access across the Internet.  All expect the
33 network connection to be standard input, output, and error.  They are normally
34 started from scripts in
35 .B /rc/bin/service
36 (see
37 .IR listen (8)).
38 .PP
39 .I Telnetd
40 allows login from a remote client.
41 There are three types of login:
42 .TF anonymo
43 .TP
44 .I normal
45 Normal users log in by encrypting and returning a
46 challenge printed by
47 .IR telnetd .
48 The user can use either the
49 .IR netkey
50 program
51 (see
52 .IR passwd (1))
53 or a  SecureNet handheld authenticator to encrypt the challenge.
54 .B /lib/namespace
55 defines the namespace.
56 .TP
57 .I noworld
58 Users in group
59 .B noworld
60 in
61 .BR /adm/users
62 authenticate with a password in the clear.
63 .B /lib/namespace.noworld
64 defines the namespace.
65 .TP
66 .I anonymous
67 User
68 .B none
69 requires no authentication.
70 .B /lib/namespace
71 defines the namespace.
72 .PD
73 .PP
74 .IR Telnetd 's
75 options are:
76 .TP 4
77 .B a
78 allow anonymous login by
79 .B none
80 .TP
81 .B d
82 print debugging to standard error
83 .TP
84 .B p
85 don't originate any telnet control codes
86 .TP
87 .B n
88 turn on local character echoing and imply the
89 .B p
90 option
91 .TP
92 .B t
93 trusted, that is, don't authenticate
94 .TP
95 .B u
96 use
97 .I user
98 as the local account name
99 .TP
100 .B N
101 permit connections by `noworld' users only.
102 .PD
103 .PP
104 .I Rlogind
105 logs in using the BSD remote login protocol.
106 .I Rlogind
107 execs
108 .I telnetd
109 .B -nu
110 after completing its initial handshake.
111 .PP
112 .I Rexexec
113 executes a command locally for a remote client.  It uses the
114 standard Plan 9 authentication (see
115 .IR authsrv (6)).
116 .PP
117 .I Ftpd
118 runs the Internet file transfer protocol.  It supports both 
119 implicit and explicit ftps. Users may transfer
120 files in either direction between the local and
121 remote machines.
122 There are two types of login:
123 .TF anonymous
124 .TP
125 .I normal
126 Normal users authenticate with their username and password when using tls.
127 .BI /usr/ username /lib/namespace.ftp
128 or, if that file does not exist,
129 .B /lib/namespace
130 defines the namespace.
131 .TP
132 .I anonymous
133 Users
134 .B anonymous
135 and
136 .B none
137 require no authentication.
138 The argument to the
139 .B \-n
140 option (default
141 .IR /lib/namespace.ftp )
142 defines the namespace.
143 Anonymous users may not store files.
144 .PD
145 .PP
146 .IR Ftpd 's
147 options are:
148 .TP 4
149 .B a
150 allow anonymous access
151 .TP
152 .B A
153 allow
154 .I only
155 anonymous access
156 .TP
157 .B d
158 write debugging output to the log
159 .TP
160 .B e
161 treat any user as anonymous
162 .TP
163 .B c
164 the certificate to use for serving ftps. The key must be stored in factotum.
165 .TP
166 .B n
167 the namespace for anonymous users (default
168 .BR /lib/namespace.ftp )
169 .PP
170 .I Socksd
171 is a SOCKS4 and SOCKS5
172 proxy server allowing non Plan9 machines to access the
173 outside network.
174 The net to use for outgoing calls can be specified
175 with the
176 .B -o
177 .I outside
178 and the internal network is specified with
179 .B -x
180 .I inside
181 (for UDP relay).
182 If not specified,
183 .I inside
184 and
185 .I outside
186 will default to
187 .BR /net .
188 .PP
189 .I Hproxy
190 is a simple HTTP proxy server.
191 .SH FILES
192 .B /lib/namepace
193 .br
194 .BI /usr/ username /lib/namespace.ftp
195 .br
196 .B /lib/namespace.world
197 .br
198 .B /lib/namespace.ftp
199 .SH SOURCE
200 .B /sys/src/cmd/ip/telnetd.c
201 .br
202 .B /sys/src/cmd/ip/rlogind.c
203 .br
204 .B /sys/src/cmd/ip/rexexec.c
205 .br
206 .B /sys/src/cmd/ip/ftpd.c
207 .br
208 .B /sys/src/cmd/ip/socksd.c
209 .br
210 .B /sys/src/cmd/ip/hproxy.c
211 .SH "SEE ALSO"
212 .IR ftpfs (4),
213 .IR pop3 (8)
214 .SH HISTORY
215 .I Hproxy
216 first appeared in 9front (July, 2012).
217 .I Socksd
218 first appeared in 9front (March, 2012).