Modified for Solaris to to add the Solaris stability classification,
and to add a note about source availability.
The tcpd program can be set up to monitor incoming requests for telnet, finger, ftp, exec, rsh, rlogin, tftp, talk, comsat and other services that have a one-to-one mapping onto executable files.
The program supports both 4.3BSD-style sockets and System V.4-style TLI. Functionality may be limited when the protocol underneath TLI is not an internet protocol.
Operation is as follows: whenever a request for service arrives, the inetd daemon is tricked into running the tcpd program instead of the desired server. tcpd logs the request and does some additional checks. When all is well, tcpd runs the appropriate server program and goes away.
Optional features are: pattern-based access control, client username lookups with the RFC 931 etc. protocol, protection against hosts that pretend to have someone elses host name, and protection against hosts that pretend to have someone elses network address.
In order to find out where your logs are going, examine the syslog configuration file, usually /etc/syslog.conf.
tcpd verifies the client host name that is returned by the address->name DNS server by looking at the host name and address that are returned by the name->address DNS server. If any discrepancy is detected, tcpd concludes that it is dealing with a host that pretends to have someone elses host name.
If the sources are compiled with -DPARANOID, tcpd will drop the connection in case of a host name/address mismatch. Otherwise, the hostname can be matched with the PARANOID wildcard, after which suitable action can be taken.
Warning: If the local system runs an RFC 931 server it is important that it be configured NOT to use TCP Wrappers, or that TCP Wrappers be configured to avoid RFC 931-based access control for this service. If you use usernames in the access control files, make sure that you have a hosts.allow entry that allows the RFC 931 service (often called "identd" or "auth") without any username restrictions. Failure to heed this warning can result in two hosts getting in an endless loop of consulting each other's identd services.
ATTRIBUTE TYPE ATTRIBUTE VALUE |
Interface Stability Committed |