MAN.9FRONT.ORG RTFM


     IPSERV(8)                                               IPSERV(8)

     NAME
          telnetd, rlogind, rexexec, ftpd, socksd, hproxy - Internet
          remote access daemons

     SYNOPSIS
          ip/telnetd [-adnptN] [-u user]

          ip/rlogind

          ip/rexexec

          ip/ftpd [-aAdei] [-n namepace-file] [-c cert-path]

          ip/socksd [ -x inside ] [ -o outside ]

          ip/hproxy

     DESCRIPTION
          These programs support remote access across the Internet.
          All expect the network connection to be standard input, out-
          put, and error.  They are normally started from scripts in
          /rc/bin/service (see listen(8)).

          Telnetd allows login from a remote client.  There are three
          types of login:

          normal   Normal users log in by encrypting and returning a
                   challenge printed by telnetd. The user can use
                   either the netkey program (see passwd(1)) or a
                   SecureNet handheld authenticator to encrypt the
                   challenge.  /lib/namespace defines the namespace.
          noworld  Users in group noworld in /adm/users authenticate
                   with a password in the clear.
                   /lib/namespace.noworld defines the namespace.
          anonymous
                   User none requires no authentication.
                   /lib/namespace defines the namespace.

          Telnetd's options are:

          a   allow anonymous login by none

          d   print debugging to standard error

          p   don't originate any telnet control codes

          n   turn on local character echoing and imply the p option

          t   trusted, that is, don't authenticate

     IPSERV(8)                                               IPSERV(8)

          u   use user as the local account name

          N   permit connections by `noworld' users only.

          Rlogind logs in using the BSD remote login protocol.
          Rlogind execs telnetd -nu after completing its initial hand-
          shake.

          Rexexec executes a command locally for a remote client.  It
          uses the standard Plan 9 authentication (see authsrv(6)).

          Ftpd runs the Internet file transfer protocol.  It supports
          both implicit and explicit ftps. Users may transfer files in
          either direction between the local and remote machines.
          There are two types of login:

          normal     Normal users authenticate with their username and
                     password when using tls.
                     /usr/username/lib/namespace.ftp or, if that file
                     does not exist, /lib/namespace defines the names-
                     pace.
          anonymous  Users anonymous and none require no authentica-
                     tion.  The argument to the -n option (default
                     /lib/namespace.ftp) defines the namespace.
                     Anonymous users may not store files.

          Ftpd's options are:

          a   allow anonymous access

          A   allow only anonymous access

          d   write debugging output to the log

          e   treat any user as anonymous

          c   the certificate to use for serving ftps. The key must be
              stored in factotum.

          n   the namespace for anonymous users (default
              /lib/namespace.ftp)

          Socksd is a SOCKS4 and SOCKS5 proxy server allowing non
          Plan9 machines to access the outside network.  The net to
          use for outgoing calls can be specified with the -o outside
          and the internal network is specified with -x inside (for
          UDP relay).  If not specified, inside and outside will
          default to /net.

          Hproxy is a simple HTTP proxy server.

     FILES

     IPSERV(8)                                               IPSERV(8)

          /lib/namepace
          /usr/username/lib/namespace.ftp
          /lib/namespace.world
          /lib/namespace.ftp

     SOURCE
          /sys/src/cmd/ip/telnetd.c
          /sys/src/cmd/ip/rlogind.c
          /sys/src/cmd/ip/rexexec.c
          /sys/src/cmd/ip/ftpd.c
          /sys/src/cmd/ip/socksd.c
          /sys/src/cmd/ip/hproxy.c

     SEE ALSO
          ftpfs(4), pop3(8)

     HISTORY
          Hproxy first appeared in 9front (July, 2012).  Socksd first
          appeared in 9front (March, 2012).