Which of the following configuration files are used by tcpwrapper?
A. /etc/tcpd.allow and etc/tcpd.deny
B. /etc/tcpwrapper.allow and /etc/tcpwrapper.deny
C. /etc/hosts.allow and /etc/hosts.deny
D. /etc/service.allow and /etc/service.deny
Which of the following configuration files are used by tcpwrapper?
A. /etc/tcpd.allow and etc/tcpd.deny
B. /etc/tcpwrapper.allow and /etc/tcpwrapper.deny
C. /etc/hosts.allow and /etc/hosts.deny
D. /etc/service.allow and /etc/service.deny
TCP Wrapper can use a configuration file such as “/etc/hosts.allow” to set the host that is allowed to connect to the service through the network. The “/etc/hosts.allow” profile can be used to set up hosts that are allowed to connect to the service over the network. If the “/etc/hosts.allow” file exists, only the host name existing in the “/etc/hosts.allow” file will be accepted for network connection. If the “/etc/hosts.deny” file exists, only the host name that exists in the “/etc/hosts.deny” file will be rejected via the network. If the “/etc/hosts.allow” file and the “/etc/hosts.deny” file exist, only the “/etc/hosts.allow” file will be used. If the “/etc/hosts.allow” file and the “/etc/hosts.deny” file do not exist, all hosts are allowed to connect.