4.10.1 TCP Wrappers - installing TCP Wrappers

Information

The recommendation is to install and configure TCP Wrappers if there are active inetd controlled services on the system.

TCP Wrappers is a freely available IP packet filtering facility. It provides for greater and more specific control over local network services and the hosts that are allowed to access them. It also makes use of the standard syslog facility to track local network use.

Solution

Identity any active inetd services-
refresh -s inetd
lssrc -ls inetd

If there are any active TCP or UDP services, download and install the TCP Wrappers software- TCP Wrappers is bundled on the AIX media expansion cdrom.

Alternatively, the source code may be downloaded and compiled from- ftp://ftp.porcupine.org/pub/security.

NOTE- Ensure that the latest version is downloaded.

The installation example below assumes that the AIX media expansion pack cdrom has been used as the source of the software.

Place the TCP Wrappers software into a convenient location, such as /tmp and install via-

/usr/lib/instl/sm_inst installp_cmd -a -Q -d /tmp -f netsec.options.tcpwrapper,netsec.options.idprotocol -c -N -g -X -G -Y

NOTE- If the software is not located in /tmp, reflect the actual location in the command above.

See Also

https://workbench.cisecurity.org/files/528