Incoming connections are initiated by the DTC (and not by
the system) and are handled by the Telnet daemon (telnetd).
The Telnet daemon uses the Port Identification feature to assign
a pseudonym for incoming DTC connections based on entries in the
dp file.
If an incoming dedicated port is defined in the dp
file, telnetd always uses the pseudonym specified
there. If the pseudonym defined there is already in use, telnetd
refuses the connection.
If an incoming Telnet connection is not from a DTC, or if
the DTC Port is not defined in the dp file,
then telnetd assigns a pty to the connection
in the traditional manner, which is randomly from a pool of ptys.
Using dpp to Update Telnet Port Identification Info |
 |
The dpp process
creates a binary file which encodes the information for the incoming
dedicated port mappings defined in the dp
file. Therefore, it is important to run dpp
after making changes to the dp file. The
syntax is:
/usr/sbin/dpp /etc/ddfa/dp
|
Incoming connections on dedicated ports do not rely on the
use of ocd. However, telnetd
does require dpp,
because dpp creates the binary lookup file
that telnetd uses.