Configuring and Managing MPE/iX Internet Services (August 2002)

Chapter 2
Internet Daemon
Starting and Stopping inetd
34
Using Range Character
You may use the range indicator (-) in any of the fields of the address to specify which hosts or networks in a
group are exempted from the permission assignment. This makes it more convenient to allow or deny a
service for a subnet within the network you specify. The following sample entry, for example, denies hosts in
subnets 3 through 5 of network 10 access to Telnet. Note that the wildcard character * at the end of the
address lets you avoid specifying the individual hosts within the subnet.
telnetd deny 10.3-5.*
Starting and Stopping inetd
On the HP e3000, the instructions for starting the Internet daemon are contained in the job file
JINETD.NET.SYS. When you stream JINETD, it invokes the daemon and reads the inetd configuration file to
determine what services have been configured, and listens for connection requests for those services. Any
messages relating to inetd are sent either to the console or to $STDLIST for JINETD, which is a spool file. The
Internet daemon will continue to run, responding to requests for any of the configured services, until you stop
it. The Internet daemon only terminates in an error state if there are no valid services listed in the
configuration file.
Starting inetd From a Job
To start inetd, you stream the JINETD job. You may do this manually, by entering the STREAM command when
the system is running, or you may include the STREAM JINETD command in the SYSSTART file to have inetd
automatically started at system startup.
To start inetd manually:
1. Log onto your system as MANAGER.SYS,NET.
2. Check to make sure that inetd has not already been started by entering at the CI prompt:
:SHOWJOB JOB=@J
Look for the job logged on as JINETD.NET.SYS and, if it is not listed, continue with the next step.
3. At the CI prompt, enter STREAM JINETD.NET.SYS.
If you attempt to start inetd when it is already running, youll see the following error message and the job
will not be started:
An inetd is already running.
Starting JINETD Automatically
If you want to have the Internet daemon started automatically when your system starts up, add the STREAM
JINETD command to the SYSSTART file. When you do, be sure that the stream command follows the network
startup command NETCONTROL START.