inetd(1M) inetd(1M)
NAME
inetd - Internet services daemon
SYNOPSIS
inetd [-d] [-s] [-t] [configuration-file]
DESCRIPTION
inetd, the Internet services daemon, is normally run at boot
time by the Service Access Facility (SAF). inetd listens for
connections on the Internet addresses of the services that its
configuration file specifies. When a connection is found, it
invokes the server daemon specified by that configuration file
for the service requested. Once a server process exits, inetd
continues to listen on the socket.
Rather than having several daemon processes with sparsely
distributed requests each running concurrently, inetd reduces
the load on the system by invoking Internet servers only as
they are needed.
inetd itself provides a number of simple TCP-based services.
These include echo, discard, chargen (character generator),
daytime (human readable time), and time (machine readable
time, in the form of the number of seconds since midnight,
January 1, 1900). For details of these services, consult the
appropriate RFC, as listed below, from the Network Information
Center.
USAGE
When started, inetd reads its configuration information from
configuration-file , the default being /etc/inetd.conf. See
inetd.conf(4) for more information on the format of this file.
inetd rereads its configuration file whenever it receives a
hangup signal, SIGHUP. New services can be activated, and
existing services deleted or modified in between whenever the
file is reread.
Options
-s Run inetd ``stand-alone,'' outside the Service Access
Facility (SAF). When the -s option is not used, inetd
must be run under SAF via the sacadm(1M) command.
-d Enable debugging. In debug mode, TCP connections will
have the SO_DEBUG option enabled via setsockopt [see
getsockopt(3N)]; SO_DEBUG is needed for trpt(1M). Note
that when -d option is used, inetd runs in the
Copyright 1994 Novell, Inc. Page 1
inetd(1M) inetd(1M)
foreground.
-s Print debug messages to stderr (standard error).
-t Put inetd into calltrace mode, which produces additional
syslog(3G) entries.
REFERENCES
comsat(1M), ftpd(1M), getsockopt(3N), inetd.conf(4),
rexecd(1M), rlogind(1M), rshd(1M), sacadm(1M), telnetd(1M),
tftpd(1M), trpt(1M)
RFC 862, RFC 863, RFC 864, RFC 867, RFC 868
Copyright 1994 Novell, Inc. Page 2