nerdexam
LPI

202-450 · Question #131

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…

The correct answer is B. sshd : 192.168.1.0/255.255.255.0 : ALLOW. You've hit your weekly limit · resets 5am (America/New_York)

System Security

Question

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?

Options

  • AALLOW: 192.168.1.0/255.255.255.0 : sshd
  • Bsshd : 192.168.1.0/255.255.255.0 : ALLOW
  • C192.168.1.0/255.255.255.0 : ALLOW: sshd
  • Dtcpd: sshd : 192.168.1.0/255.255.255.0 : ALLOW
  • Esshd : ALLOW: 192.168.1.0/255.255.255.0

How the community answered

(43 responses)
  • A
    2% (1)
  • B
    77% (33)
  • C
    7% (3)
  • D
    12% (5)
  • E
    2% (1)

Explanation

You've hit your weekly limit · resets 5am (America/New_York)

Topics

#tcp_wrappers#hosts.allow#SSH access control#CIDR notation

Community Discussion

No community discussion yet for this question.

Full 202-450 Practice