telnetd(1M) telnetd(1M)
NAME
telnetd - TELNET protocol server
SYNOPSIS
in.telnetd [-debug [port]] [-h] [-D options]
DESCRIPTION
The telnetd command is a server which supports the standard
TELNET virtual terminal protocol.
The telnetd command operates by allocating a pseudo-terminal
device for a client, thereby creating a login process which
has the slave side of the pseudo-terminal serving as stdin,
stdout, and stderr. The telnetd command manipulates the
master side of the pseudo-terminal by implementing the TELNET
protocol, and by passing characters between the remote client
and the login process.
When a TELNET session is started up, telnetd sends TELNET
options to the client side, indicating a willingness to
remote echo characters
suppress go ahead
remote flow control
receive terminal type information from the remote client
receive terminal speed information from the remote
client
receive window size information from the remote client
If the remote client is willing, the remote terminal type will
be propagated to the environment of the created login process.
The pseudo-terminal allocated to the client will be configured
to operate in ``cooked'' mode, with XTABS and CRMOD enabled
[see termio(7)].
The telnetd command is willing to do the following TELNET
commands: echo, binary, suppress go ahead, and timing mark.
The telnetd command is also willing to have the remote client
do the following TELNET commands: linemode, binary, terminal
type, terminal speed, window size, toggle flow control,
Copyright 1994 Novell, Inc. Page 1
telnetd(1M) telnetd(1M)
environment, X display location, and suppress go ahead.
USAGE
telnetd is invoked by the Internet server [see inetd(1M)],
normally for requests to connect to the TELNET port, as
indicated by the /etc/services file [see services(4)].
Options
The -debug option can be used to start up telnetd manually,
instead of through inetd(1M). If started up in this manner,
port may be specified to run telnetd on this alternate TCP
port number.
The -h option stops telnetd printing a login banner.
The -D option is used for debugging purposes. This option
allows telnet to print out debugging information to the
connection, thus enabling the user to see what telnetd is
doing.
The following modifiers are available for the debugging mode:
exercise is reserved for future use
netdata displays the data stream received by telnetd
options prints information about the negotiation of the
TELNET options
ptydata displays data written to the pty
report prints the options information, as well as some
additional information about what processing is
going on
REFERENCES
telnet(1)
NOTICES
Some TELNET commands are only partially implemented.
Because of bugs in the original 4.2 BSD telnet(1), telnetd
performs some dubious protocol exchanges to try to discover if
the remote client is, in fact, a 4.2 BSD telnet(1).
Copyright 1994 Novell, Inc. Page 2
telnetd(1M) telnetd(1M)
Binary mode has no common interpretation except between
similar operating systems (UNIX in this case).
The terminal type name received from the remote client will be
converted into lower case.
telnetd never sends TELNET go ahead commands.
Copyright 1994 Novell, Inc. Page 3