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

TCP Wrappers
TCP Wrappers Files
Chapter 3 47
TCP Wrappers Files
The TCP Wrappers product suite contains the following files:
The tcpd Daemon
The libwrap.a Library API
The tcpdchk Tool
The tcpdmatch Tool
The try-from Utility
The safe_finger Program
The tcpd Daemon
The tcpd daemon monitors access to a service, logs the host name and
the remote user name owning the connection, and performs some
additional access control checks. After tcpd checks the connection, the
wrapper invokes the desired server program and exits.
Enabling tcpd
You can use either of the following methods to enable tcpd:
1. Edit each entry in the /etc/inetd.conf file to include the tcpd
server program, /usr/lbin/tcpd. The server program field in the
/etc/inetd.conf file indicates the absolute path name of the server
that inetd executes. For example, consider the following entry for
the telnet service in the /etc/inetd.conf file:
telnet stream tcp nowait root /usr/lbin/telnetd telnetd
Edit this entry to include the tcpd server, /usr/lbin/tcpd instead
of the telnet server, /usr/lbin/telnetd, as follows:
telnet stream tcp nowait root /usr/lbin/tcpd /usr/lbin/tel
netd telnetd