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

Chapter 2 29
Internet Daemon
inetd Configuration File
Adding New Services to inetd Configuration
There are two steps required to add a new service to the suite of
Internet Services offered on your system. First you enter a line of
information for the specific service to the inetd configuration file. Then
you have inetd reread its configuration file, which is sometimes called
reconfiguring the Internet daemon. In the unlikely event that inetd is
not running when you edit the configuration file, you will invoke the
new configuration by starting inetd. Starting inetd is explained later
in this chapter.
To edit the inetd configuration file, do the following:
1. Open the configuration file with an MPE text editor.
The contents will resemble the following:
######################################################################
#
# sample inetd configuration file
#
# For information on how to configure this file refer to the Configuring
# and Managing Internet Services manual
#
# Note: The entries cannot be preceded by a blank space. Blank lines
# and lines beginning with a pound sign(#) are ignored.
#
######################################################################
#
# Internet server configuration database
#
echo stream tcp nowait MANAGER.SYS internal
echo dgram udp nowait MANAGER.SYS internal
daytime stream tcp nowait MANAGER.SYS internal
daytime dgram udp nowait MANAGER.SYS internal
time stream tcp nowait MANAGER.SYS internal
time dgram udp nowait MANAGER.SYS internal
discard stream tcp nowait MANAGER.SYS internal
discard dgram udp nowait MANAGER.SYS internal
chargen stream tcp nowait MANAGER.SYS internal
chargen dgram udp nowait MANAGER.SYS internal
#telnet stream tcp nowait MANAGER.SYS internal
#bootps dgram udp wait MANAGER.SYS /SYS/NET/BOOTPD bootpd
#tftp dgram udp wait USER.TFTP /SYS/NET/TFTPD tftpd
#
2. Each of the services that run under inetd must have an entry in the
configuration file. For example, the entry for the tftp program in
INETDCNF.NET.SYS looks like this:
tftp dgram udp wait USER.TFTP /SYS/NET/TFTPTD tftpd
For the service that you are installing, check the file to see if it has
the correct entry. (Each chapter in the remainder of this manual has
this information. The meaning of the individual fields in an entry