Red Hat Training

A Red Hat training course is available for Red Hat Enterprise Linux

2.6.4.3. Altering xinetd Configuration Files

A range of directives are available for services protected by xinetd. This section highlights some of the more commonly used options.
2.6.4.3.1. Logging Options
The following logging options are available for both /etc/xinetd.conf and the service-specific configuration files within the /etc/xinetd.d/ directory.
The following is a list of some of the more commonly used logging options:
  • ATTEMPT — Logs the fact that a failed attempt was made (log_on_failure).
  • DURATION — Logs the length of time the service is used by a remote system (log_on_success).
  • EXIT — Logs the exit status or termination signal of the service (log_on_success).
  • HOST — Logs the remote host's IP address (log_on_failure and log_on_success).
  • PID — Logs the process ID of the server receiving the request (log_on_success).
  • USERID — Logs the remote user using the method defined in RFC 1413 for all multi-threaded stream services (log_on_failure and log_on_success).
For a complete list of logging options, see the xinetd.conf man page.