3.4.1 Ensure TCP Wrappers is installed (Scored)

Level 1 - Server
Level 1 - Workstation 

TCP Wrappers provides a simple access list and standardized logging method for services capable of supporting it. In the past, services that were called from inetd and xinetd supported the use of tcp wrappers. As inetd and xinetd have been falling in disuse, any service that can support tcp wrappers will have the libwrap.so library attached to it.

TCP Wrappers provide a good simple access list mechanism to services that may not have that support built in. It is recommended that all services that can support TCP Wrappers, use it.

Run the following command and verify TCP Wrappers is installed:

dpkg -s tcpd

Run the following command to install TCP Wrappers:

apt-get install tcpd

To verify if a service supports TCP Wrappers, run the following command:

# ldd <path-to-daemon> | grep libwrap.so

If there is any output, then the service supports TCP Wrappers.

  • ubuntu1604/3/4/1.txt
  • Last modified: 2017/05/02 13:35
  • by