2011-03-30 13:49:47 +00:00
|
|
|
.TH IPSERV 8
|
|
|
|
.SH NAME
|
2012-07-06 13:49:33 +00:00
|
|
|
telnetd, rlogind, rexexec, ftpd, socksd, hproxy \- Internet remote access daemons
|
2011-03-30 13:49:47 +00:00
|
|
|
.SH SYNOPSIS
|
|
|
|
.B ip/telnetd
|
|
|
|
.RB [ -adnptN ]
|
|
|
|
.RB [ -u
|
|
|
|
.IR user ]
|
|
|
|
.PP
|
|
|
|
.B ip/rlogind
|
|
|
|
.PP
|
|
|
|
.B ip/rexexec
|
|
|
|
.PP
|
|
|
|
.B ip/ftpd
|
2021-05-02 14:29:43 +00:00
|
|
|
.RB [ -aAdei ]
|
2011-03-30 13:49:47 +00:00
|
|
|
.RB [ -n
|
|
|
|
.IR namepace-file ]
|
2021-05-02 14:29:43 +00:00
|
|
|
.RB [ -c
|
|
|
|
.IR cert-path ]
|
2011-03-30 13:49:47 +00:00
|
|
|
.PP
|
2012-07-05 17:59:40 +00:00
|
|
|
.B ip/socksd
|
|
|
|
[
|
|
|
|
.B -x
|
|
|
|
.I inside
|
|
|
|
] [
|
|
|
|
.B -o
|
|
|
|
.I outside
|
|
|
|
]
|
2012-07-06 13:49:33 +00:00
|
|
|
.PP
|
|
|
|
.B ip/hproxy
|
2011-03-30 13:49:47 +00:00
|
|
|
.SH DESCRIPTION
|
|
|
|
These programs support remote access across the Internet. All expect the
|
|
|
|
network connection to be standard input, output, and error. They are normally
|
|
|
|
started from scripts in
|
|
|
|
.B /rc/bin/service
|
|
|
|
(see
|
|
|
|
.IR listen (8)).
|
|
|
|
.PP
|
|
|
|
.I Telnetd
|
|
|
|
allows login from a remote client.
|
|
|
|
There are three types of login:
|
|
|
|
.TF anonymo
|
|
|
|
.TP
|
|
|
|
.I normal
|
|
|
|
Normal users log in by encrypting and returning a
|
|
|
|
challenge printed by
|
|
|
|
.IR telnetd .
|
|
|
|
The user can use either the
|
|
|
|
.IR netkey
|
|
|
|
program
|
|
|
|
(see
|
|
|
|
.IR passwd (1))
|
|
|
|
or a SecureNet handheld authenticator to encrypt the challenge.
|
|
|
|
.B /lib/namespace
|
|
|
|
defines the namespace.
|
|
|
|
.TP
|
|
|
|
.I noworld
|
|
|
|
Users in group
|
|
|
|
.B noworld
|
|
|
|
in
|
|
|
|
.BR /adm/users
|
|
|
|
authenticate with a password in the clear.
|
|
|
|
.B /lib/namespace.noworld
|
|
|
|
defines the namespace.
|
|
|
|
.TP
|
|
|
|
.I anonymous
|
|
|
|
User
|
|
|
|
.B none
|
|
|
|
requires no authentication.
|
|
|
|
.B /lib/namespace
|
|
|
|
defines the namespace.
|
|
|
|
.PD
|
|
|
|
.PP
|
|
|
|
.IR Telnetd 's
|
|
|
|
options are:
|
|
|
|
.TP 4
|
|
|
|
.B a
|
|
|
|
allow anonymous login by
|
|
|
|
.B none
|
|
|
|
.TP
|
|
|
|
.B d
|
|
|
|
print debugging to standard error
|
|
|
|
.TP
|
|
|
|
.B p
|
|
|
|
don't originate any telnet control codes
|
|
|
|
.TP
|
|
|
|
.B n
|
|
|
|
turn on local character echoing and imply the
|
|
|
|
.B p
|
|
|
|
option
|
|
|
|
.TP
|
|
|
|
.B t
|
|
|
|
trusted, that is, don't authenticate
|
|
|
|
.TP
|
|
|
|
.B u
|
|
|
|
use
|
|
|
|
.I user
|
|
|
|
as the local account name
|
|
|
|
.TP
|
|
|
|
.B N
|
|
|
|
permit connections by `noworld' users only.
|
|
|
|
.PD
|
|
|
|
.PP
|
|
|
|
.I Rlogind
|
|
|
|
logs in using the BSD remote login protocol.
|
|
|
|
.I Rlogind
|
|
|
|
execs
|
|
|
|
.I telnetd
|
|
|
|
.B -nu
|
|
|
|
after completing its initial handshake.
|
|
|
|
.PP
|
|
|
|
.I Rexexec
|
|
|
|
executes a command locally for a remote client. It uses the
|
|
|
|
standard Plan 9 authentication (see
|
|
|
|
.IR authsrv (6)).
|
|
|
|
.PP
|
|
|
|
.I Ftpd
|
2021-05-02 14:29:43 +00:00
|
|
|
runs the Internet file transfer protocol. It supports both
|
|
|
|
implicit and explicit ftps. Users may transfer
|
2011-03-30 13:49:47 +00:00
|
|
|
files in either direction between the local and
|
|
|
|
remote machines.
|
2021-05-02 14:29:43 +00:00
|
|
|
There are two types of login:
|
|
|
|
.TF anonymous
|
2011-03-30 13:49:47 +00:00
|
|
|
.TP
|
|
|
|
.I normal
|
2021-05-02 14:29:43 +00:00
|
|
|
Normal users authenticate with their username and password when using tls.
|
2011-03-30 13:49:47 +00:00
|
|
|
.BI /usr/ username /lib/namespace.ftp
|
|
|
|
or, if that file does not exist,
|
|
|
|
.B /lib/namespace
|
|
|
|
defines the namespace.
|
|
|
|
.TP
|
|
|
|
.I anonymous
|
|
|
|
Users
|
|
|
|
.B anonymous
|
|
|
|
and
|
|
|
|
.B none
|
|
|
|
require no authentication.
|
|
|
|
The argument to the
|
|
|
|
.B \-n
|
|
|
|
option (default
|
|
|
|
.IR /lib/namespace.ftp )
|
|
|
|
defines the namespace.
|
2021-05-02 14:29:43 +00:00
|
|
|
Anonymous users may not store files.
|
2011-03-30 13:49:47 +00:00
|
|
|
.PD
|
|
|
|
.PP
|
|
|
|
.IR Ftpd 's
|
|
|
|
options are:
|
|
|
|
.TP 4
|
|
|
|
.B a
|
|
|
|
allow anonymous access
|
|
|
|
.TP
|
|
|
|
.B A
|
|
|
|
allow
|
|
|
|
.I only
|
|
|
|
anonymous access
|
|
|
|
.TP
|
|
|
|
.B d
|
2021-05-02 14:29:43 +00:00
|
|
|
write debugging output to the log
|
2011-03-30 13:49:47 +00:00
|
|
|
.TP
|
|
|
|
.B e
|
|
|
|
treat any user as anonymous
|
|
|
|
.TP
|
2021-05-02 14:29:43 +00:00
|
|
|
.B c
|
|
|
|
the certificate to use for serving ftps. The key must be stored in factotum.
|
|
|
|
.TP
|
2011-03-30 13:49:47 +00:00
|
|
|
.B n
|
|
|
|
the namespace for anonymous users (default
|
|
|
|
.BR /lib/namespace.ftp )
|
|
|
|
.PP
|
2012-07-05 17:59:40 +00:00
|
|
|
.I Socksd
|
|
|
|
is a SOCKS4 and SOCKS5
|
2021-11-01 20:49:43 +00:00
|
|
|
proxy server allowing non-Plan 9 machines to access the
|
2012-07-05 17:59:40 +00:00
|
|
|
outside network.
|
|
|
|
The net to use for outgoing calls can be specified
|
|
|
|
with the
|
|
|
|
.B -o
|
|
|
|
.I outside
|
|
|
|
and the internal network is specified with
|
|
|
|
.B -x
|
|
|
|
.I inside
|
|
|
|
(for UDP relay).
|
|
|
|
If not specified,
|
|
|
|
.I inside
|
|
|
|
and
|
|
|
|
.I outside
|
|
|
|
will default to
|
|
|
|
.BR /net .
|
2012-07-06 13:49:33 +00:00
|
|
|
.PP
|
|
|
|
.I Hproxy
|
|
|
|
is a simple HTTP proxy server.
|
2011-03-30 13:49:47 +00:00
|
|
|
.SH FILES
|
|
|
|
.B /lib/namepace
|
|
|
|
.br
|
|
|
|
.BI /usr/ username /lib/namespace.ftp
|
|
|
|
.br
|
|
|
|
.B /lib/namespace.world
|
|
|
|
.br
|
|
|
|
.B /lib/namespace.ftp
|
|
|
|
.SH SOURCE
|
|
|
|
.B /sys/src/cmd/ip/telnetd.c
|
|
|
|
.br
|
|
|
|
.B /sys/src/cmd/ip/rlogind.c
|
|
|
|
.br
|
|
|
|
.B /sys/src/cmd/ip/rexexec.c
|
|
|
|
.br
|
|
|
|
.B /sys/src/cmd/ip/ftpd.c
|
2012-07-05 17:59:40 +00:00
|
|
|
.br
|
|
|
|
.B /sys/src/cmd/ip/socksd.c
|
2012-07-06 13:49:33 +00:00
|
|
|
.br
|
|
|
|
.B /sys/src/cmd/ip/hproxy.c
|
2011-03-30 13:49:47 +00:00
|
|
|
.SH "SEE ALSO"
|
|
|
|
.IR ftpfs (4),
|
|
|
|
.IR pop3 (8)
|
2013-12-27 21:22:05 +00:00
|
|
|
.SH HISTORY
|
|
|
|
.I Hproxy
|
|
|
|
first appeared in 9front (July, 2012).
|
|
|
|
.I Socksd
|
|
|
|
first appeared in 9front (March, 2012).
|