TELNETD(8N) COMMAND REFERENCE TELNETD(8N)
NAME
telnetd - DARPA TELNET protocol server
SYNOPSIS
/etc/telnetd [ -d ] [ port ]
DESCRIPTION
Telnetd is a server which supports the DARPA standard TELNET
virtual terminal protocol. The TELNET server process is
started (by inetd(8n)) when a connection is made at the port
indicated in the TELNET service description; see
services(5n). This port number may be overridden (for
debugging purposes) by specifying a port number on the
command line.
Telnetd operates by allocating a pseudo-terminal device for
a client, then creating 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 is started up, telnetd sends a TELNET
option to the client side indicating a willingness to do
``remote echo'' of characters. The pseudo terminal
allocated to the client is configured to operate in
``cooked'' mode, and with XTABS and CRMOD enabled (see
tty(4)). Aside from this initial setup, the only mode
changes telnetd will carry 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 which options
are not implemented.
OPTIONS
-d Causes each socket created by telnetd to have debugging
enabled (see SO_DEBUG in socket(2)).
RETURN VALUE
[0] Telnetd is running.
[1] Telnetd is not running.
SEE ALSO
telnet(1n) and inetd(8n).
Printed 4/6/89 1
%%index%%
na:336,90;
sy:426,272;
de:698,2072;
op:2770,292;
rv:3062,353;
se:3415,145;
%%index%%000000000108