TCP/IP Configuration and Management Manual

Configuring the NonStop TCP/IP Subsystem
TCP/IP Configuration and Management Manual427132-004
3-60
Installing inetd
Split the service between the LISTNER process and the inetd daemon, (taking
advantage of the fact that LISTNER supports only TCP ports), by commenting out
the TCP port for the service in the inetd.conf file. In this case, the LISTNER
process provides the service (on the TCP port) from the Guardian environment and
the inetd daemon provides the service (on the UDP port) from the OSS
environment.
Example 3-22 shows part of an inetd.conf file; it shows how to comment out a
conflicting service between inetd and the Guardian LISTNER on the same TCP/IP
process. This example shows the third option listed above (splitting the service, in this
case echo, between LISTNER and inetd by commenting out the tcp port in the
inetd.conf file.)
For more information about the inetd.conf file, see the Miscellaneous Files section in
the Open System Services Shell and Utilities Reference Manual. The inetd.conf file is
also documented online on the inetd man page. To access the man page, enter <shell
prompt> man inetd.
Example 3-22. Preventing Port Collisions by Modifying inet.conf
#echo
echo
discard
discard
daytime
daytime
chargen
chargen
stream
dgram
stream
dgram
stream
dgram
stream
dgram
tcp
udp
tcp
udp
tcp
udp
tcp
udp
nowait
wait
nowait
wait
nowait
wait
nowait
wait
super.super
super.super
super.super
super.super
super.super
super.super
super.super
super.super
internal
internal
internal
internal
internal
internal
internal
internal
Note. Whereas inetd supports both TCP and UDP, LISTNER just supports TCP.
Note. Other services besides echo may collide; apply the same commenting procedure for
those services.