telnetd(1M) telnetd(1M)
NAME
telnetd - DARPA TELNET protocol server
SYNOPSIS
/etc/telnetd [-d] [port]
DESCRIPTION
telnetd is a server supporting the DARPA standard TELNET
virtual terminal protocol. The TELNET server operates at the
port indicated in the telnet service description; see
services(4N).
port override the default port number (for debugging)
-d enable debugging on each socket created by telnetd (see
SODEBUGin socket(2N))
telnetd allocates a pseudo-terminal device (see pty(5)) for
a client, then creates a login process which has the slave
side of the pseudo-terminal as stdin, stdout, and stderr.
telnetd manipulates the master side of the pseudo terminal,
implementing the TELNET protocol and passing characters
between the client and login process.
When a TELNET session starts up, telnetd sends a TELNET
option to the client side, indicating a willingness to
remotely echo characters. The pseudo terminal allocated to
the client is configured to operate in cooked mode, (see
termio(7)). Aside from this initial setup, the only mode
changes telnetd carries out are those required for echoing
characters at the client side of the connection.
telnetd supports binary mode, and most of the common TELNET
options, but does not, for instance, support timing marks.
Consult the source code for an exact list of non-implemented
options.
FILES
/etc/telnetd
SEE ALSO
telnet(1N), services(4N), pty(5), termio(7).
Page 1 (last mod. 1/15/87)