Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

inetd(8)

services(4)



  inetd.conf(4)                       CLIX                       inetd.conf(4)



  NAME

    inetd.conf - Configuration file for inetd (Internet ``super server'')

  DESCRIPTION

    The fields of the configuration file are as follows:

    service name
    socket type
    protocol
    [wait|nowait]
    user
    server program
    server program arguments

    Each field must have an entry.  The service name entry is the name of a
    valid service in the /etc/services file.  For ``internal'' services
    (discussed below), the service name must be the official name of the
    service (that is, the first entry in /etc/services).

    The socket type may be stream or dgram, depending on whether the socket is
    a stream or datagram socket.

    The protocol must be a valid protocol as given in /etc/protocols (tcp and
    udp are examples).

    The wait/nowait entry is applicable to datagram sockets only.  (Other
    sockets should have a nowait entry in this space.)  If a datagram server
    connects to its peer, freeing the socket so inetd can receive further
    messages on the socket, it is a ``multi-threaded'' server, and contains
    the nowait entry.  For datagram servers that process all incoming
    datagrams on a socket and eventually time out, the server is ``single-
    threaded'' and should use a wait entry.  If a datagram establishes
    pseudo-connections, it must be listed as wait to avoid a race.  In this
    case, the server reads the first packet, creates a new socket, and then
    forks and exits to allow inetd to check for new service requests to spawn
    new servers.

    The user field contains the name of the user the server should run as.
    This allows servers to have less permission than root.  The server program
    field contains the pathname of the program to be executed by inetd when a
    request is found on its socket.  If inetd provides this service
    internally, this entry should be internal, and no server program arguments
    should be given.

    The arguments to the server program begin with argv[0], which is the name
    of the program.

  FILES




  2/94 - Intergraph Corporation                                              1






  inetd.conf(4)                       CLIX                       inetd.conf(4)



    /etc/inetd.conf
           Default location for the inetd configuration file.

    /etc/services
           Service name database.

    /etc/protocols
           Protocol definition file.

  RELATED INFORMATION

    Commands:  inetd(8)

    Files:  services(4)








































  2                                              Intergraph Corporation - 2/94




Typewritten Software • bear@typewritten.org • Edmonds, WA 98026