LPI Exam Questions

Which of the following lines would achieve this, when entered in/etc/ hosts.allow?

An SSH server is configured to use tcp_wrappers and only hosts from the class C network
192.168.1.0 should be allowed to access it. Which of the following lines would achieve this,
when entered in/etc/ hosts.allow?

A.
192.168.1.0/255.255.255.0 : ALLOW: sshd

B.
tcpd: sshd : 192.168.1.0/255.255.255.0 : ALLOW

C.
sshd : 192.168.1.0/255.255.255.0 : ALLOW

D.
ALLOW: 192.168.1.0/255.255.255.0 : sshd

E.
sshd : ALLOW: 192.168.1.0/255.255.255.0

Explanation: