HP-UX Internet Services Administrator's Guide (August 2003)

TCP Wrappers
Troubleshooting
Chapter 354
Troubleshooting
tcpd logs the connection-related information and problems encountered
during a connection in the /var/adm/syslog/syslog.log file, before
invoking the actual service daemon.
You can enable logging in tcpd by specifying the logging level parameter
in the /etc/tcpd.conf file. The syntax for specifying the logging level
parameter is as follows:
log_level { normal | extended }
With an extended parameter, tcpd logs the ACL information, such as,
the entry with which the client request is matched and the entry’s
related options. The default logging level parameter is normal which logs
connection details, such as, acceptance or refusal of connections.
TCP wrappers provides the tools tcpdchk and tcpdmatch for
troubleshooting. tcpdchk validates the inetd.conf, hosts.allow and
hosts.deny entries in the configuration file, and tcpdmatch determines
how tcpd handles a specific service request.
For more information on the tcpdchk and tcpdmatch tools, see “The
tcpdchk Tool” on page 50 and “The tcpdmatch Tool” on page 50,
respectively.