Running the Internet daemons

Updated: April 19, 2023

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.

CAUTION:
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:

ftpd
File transfer.
telnetd
Remote terminal session.
tftpd
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:

dhcpd
Dynamic Host Configuration Protocol daemon.
mrouted
Distance-Vector Multicast Routing Protocol (DVMRP) daemon.
named
Internet domain name server
ntpd
Network Time Protocol daemon.
routed
RIP and RIPv2 routing protocol daemon
nfsd
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.