Running the Internet daemons

Updated: May 06, 2022

If a host is a server, it invokes the appropriate daemon to satisfy a client's requests. A TCP/IP server typically runs the inetd daemon, also known as the Internet super-server.

Running inetd lets outside users try to connect to your machine and thus is a potential security issue if you don't configure it properly.

The inetd daemon listens for connections on some well-known ports, as defined in /etc/inetd.conf, in the TCP/IP network. On receiving a request, it runs the corresponding server daemon.

You use the super-server configuration file /etc/inetd.conf to specify the daemons that inetd can start.

Note: As shipped in the QNX Neutrino distribution, the file contains commented-out descriptions of all currently shipped QNX Neutrino TCP/IP daemons and some nonstandard pidin services. You need to edit inetd.conf and uncomment the descriptions of the ones you want to use.

When it starts, inetd reads its configuration information from this configuration file. It includes these commonly used daemons:

File transfer.
Remote terminal session.
DARPA trivial file transfer.
Note: Remember that you shouldn't manually start the daemon processes listed in this file; they expect to be started by inetd.

You may also find other resident daemons that can run independently of inetd—see the Utilities Reference for descriptions:

Dynamic Host Configuration Protocol daemon.
Distance-Vector Multicast Routing Protocol (DVMRP) daemon.
Internet domain name server
Network Time Protocol daemon.
RIP and RIPv2 routing protocol daemon
NFS server.

These daemons listen on their own TCP ports and manage their own transactions. They usually start when the computer boots and then run continuously.