Configuring and Managing MPE/iX Internet Services (MPE/iX 6.0)
Contents
3
1. Introduction to Internet Services
Overview of Internet Services. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
System Requirements. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
Verifying Installation of Internet Services Files. . . . . . . . . . . . . . . . 17
Using Domain Name Resolver. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
Sample Configuration Files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
Linking Configuration Files. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
Installed Configuration Files. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
Services File. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
Creating and Linking the Services File. . . . . . . . . . . . . . . . . . . . . . . 22
Editing the Services File . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
Editing Tips. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
Protocols File . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
Creating and Linking Protocols File . . . . . . . . . . . . . . . . . . . . . . . . . 24
Viewing Protocols File . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
Other Sources of Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
2. Internet Daemon
Overview of inetd. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
Stream Services . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
Datagram Services . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
Internal Services Provided by inetd . . . . . . . . . . . . . . . . . . . . . . . . . 28
inetd Files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
inetd Configuration File . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
Creating and Linking inetd Configuration File . . . . . . . . . . . . . . . . 30
Adding New Services to inetd Configuration . . . . . . . . . . . . . . . . . . 31
Editing Tips. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
Fields in an inetd Configuration File Entry . . . . . . . . . . . . . . . . . 32
inetd Security File . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
Creating and Linking inetd Security File. . . . . . . . . . . . . . . . . . . . . 34
Updating inetd Security File . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
Editing Tips. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
Using Wildcard Characters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
Using Range Character . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
Starting and Stopping inetd . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
Starting inetd From a Job . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
Starting JINETD Automatically . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
Passwords on JINETD . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
Starting inetd Interactively . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
Error and Status Reporting for inetd . . . . . . . . . . . . . . . . . . . . . . . . 38
Stopping inetd. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
Summary of inetd Command Line Options. . . . . . . . . . . . . . . . . . . . 39
Using inetd Message Logging . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40
Connection Logging . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40
Enable and Disable Connection Logging. . . . . . . . . . . . . . . . . . . . . . 41
Troubleshooting inetd . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42
Implementation Differences . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46