•
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, refer to the
xinetd.conf
man page.
4.3.2. Access Control Options
Users of
xinetd
services can choose to use the TCP wrappers hosts access rules, provide
access control via the
xinetd
configuration files, or a mixture of both. Information concerning
the use of TCP wrappers hosts access control files can be found in
Section 2, “TCP Wrappers
Configuration Files”
.
This section discusses using
xinetd
to control access to services.
Note
Unlike TCP wrappers, changes to access control only take effect if the
xinetd
administrator restarts the
xinetd
service.
Also, unlike TCP wrappers, access control through
xinetd
only affects services
controlled by
xinetd
.
The
xinetd
hosts access control differs from the method used by TCP wrappers. While TCP
wrappers places all of the access configuration within two files,
/etc/hosts.allow
and
/etc/hosts.deny
,
xinetd
's access control is found in each service's configuration file within
the
/etc/xinetd.d/
directory.
The following hosts access options are supported by
xinetd
:
•
only_from
— Allows only the specified hosts to use the service.
•
no_access
— Blocks listed hosts from using the service.
•
access_times
— Specifies the time range when a particular service may be used. The time
range must be stated in 24-hour format notation,
HH:MM-HH:MM
.
The
only_from
and
no_access
options can use a list of IP addresses or host names, or can
specify an entire network. Like TCP wrappers, combining
xinetd
access control with the
enhanced logging configuration can increase security by blocking requests from banned hosts
while verbosely recording each connection attempt.
Altering
xinetd
Configuration Files
321
Summary of Contents for ENTERPRISE LINUX 4.5.0 -
Page 1: ...Red Hat Enterprise Linux 4 5 0 4 5 0 Reference Guide ISBN N A Publication date ...
Page 2: ...Red Hat Enterprise Linux 4 5 0 ...
Page 4: ...Red Hat Enterprise Linux 4 5 0 ...
Page 24: ...xxiv ...
Page 26: ......
Page 36: ...12 ...
Page 72: ...48 ...
Page 112: ...88 ...
Page 122: ...98 ...
Page 140: ...116 ...
Page 142: ......
Page 300: ...276 ...
Page 318: ...294 ...
Page 320: ......
Page 332: ...308 ...
Page 350: ...326 ...
Page 378: ...354 ...
Page 388: ...364 ...
Page 394: ...370 ...
Page 395: ...Part IV Appendixes ...
Page 396: ......