3.4.2 Ensure /etc/hosts.allow is configured

Information

The /etc/hosts.allow file supports access control by IP and helps ensure that only authorized systems can connect to the system.

Solution

Run the following command to create /etc/hosts.allow - # echo 'ALL- <net>/<mask>, <net>/<mask>, ...' >/etc/hosts.allowwhere each <net>/<mask> combination (for example, '192.168.1.0/255.255.255.0') represents one network block in use by your organization that requires access to this system. Notes-Contents of the /etc/hosts.allow file will vary depending on your network configuration.

See Also

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

Item Details

Category: SYSTEM AND COMMUNICATIONS PROTECTION

References: 800-53|SC-7(5), CSCv6|9.2

Plugin: Unix

Control ID: d7df98271c738b7a38e8349f550c1a0ed05b1e78a935a18d81441ca253875cf1