Configuring and Managing MPE/iX Internet Services (MPE/iX 6.5)

Chapter 2 27
Internet Daemon
Overview of inetd
Internal Services Provided by inetd
The Internet daemon provides several internal trivial services which
are described here.
Service Description
echo Returns a character to the socket that sent it
discard Discards all input from socket
chargen Generates characters and sends them to a socket
daytime Returns the current time in a format readable by
people.
time Returns current time in a format useful to machines,
for example, the number of seconds since Jan 1, 1970.
inetd Files
There are four files of importance as shown in Table 2-1, for configuring
and using inetd. Once you have installed or updated to version C.60.00
or later, of MPE/iX, these files are located in the NET group of the SYS
account.
The remainder of this chapter explains how to copy, link and edit these
files to create a working version of the Internet daemon on your system.
Table 2-1 The Internet Daemon Files
File Description
INETD.NET.SYS The program file for inetd which is linked to the POSIX file
/etc/inetd.
INCNFSMP.NET.SYS The sample configuration file for inetd. You will copy the sample file to
INETDCNF.NET.SYS, create a symbolic link from the POSIX file
/etc/inetd.conf to INETDCNF.NET.SYS, and edit it as necessary.
INSECSMP.NET.SYS The sample security file for inetd. You will copy this file to
INETDSEC.NET.SYS, create a symbolic link from the POSIX file
/usr/adm/inetd.sec to INETDSEC.NET.SYS, and edit it as necessary.
JINETD.NET.SYS The job file that you will stream to start inetd and abort to stop inetd.
You won't need to copy, link, or edit this file.