The /etc/xinetd.conf file contains general configuration settings which effect every serviceunder xinetd's control. It is read once when the xinetd service is started, so for configurationchanges to take effect, the administrator must restart the xinetd service. Below is a sample/etc/xinetd.conf file:defaults { instances = 60 log_type = SYSLOG authpriv log_on_success = HOSTPID log_on_failure = HOST cps = 25 30 } includedir /etc/xinetd.dThese lines control the following aspects of xinetd:• instances — Sets the maximum number of requests xinetd can handle at once.• log_type — Configures xinetd to use the authpriv log facility, which writes log entries tothe /var/log/secure file. Adding a directive such as FILE /var/log/xinetdlog wouldcreate a custom log file called xinetdlog in the /var/log/ directory.• log_on_success — Configures xinetd to log if the connection is successful. By default, theremote host's IP address and the process ID of server processing the request are recorded.• log_on_failure — Configures xinetd to log if there is a connection failure or if theconnection is not allowed.• cps — Configures xinetd to allow no more than 25 connections per second to any givenservice. If this limit is reached, the service is retired for 30 seconds.• includedir/etc/xinetd.d/ — Includes options declared in the service-specificconfiguration files located in the /etc/xinetd.d/ directory. Refer to Section 4.2, “The/etc/xinetd.d/ Directory” for more information.NoteOften, both the log_on_success and log_on_failure settings in/etc/xinetd.conf are further modified in the service-specific log files. For thisreason, more information may appear in a given service's log than the/etc/xinetd.conf file may indicate. Refer to Section 4.3.1, “Logging Options”for additional information.4.2. The /etc/xinetd.d/ DirectoryThe /etc/xinetd.d/ directory contains the configuration files for each service managed byxinetd and the names of the files correlate to the service. As with xinetd.conf, this directoryis read only when the xinetd service is started. For any changes to take effect, theadministrator must restart the xinetd service.The /etc/xinetd.d/ Directory319