nerdexam
GIAC

GSEC · Question #392

You work as a Linux Technician for Tech Perfect Inc. You want to protect your server from intruders who exploit services that are started with TCP Wrappers. Which of the following files will help…

The correct answer is C. hosts.deny D. hosts.allow. TCP Wrappers is a host-based access control system on Linux that intercepts incoming network connections to wrapped services (like SSH, FTP). It uses two files to enforce access rules: /etc/hosts.allow defines which hosts or networks are permitted to connect, and…

Linux and Cryptography

Question

You work as a Linux Technician for Tech Perfect Inc. You want to protect your server from intruders who exploit services that are started with TCP Wrappers. Which of the following files will help you protect the server? Each correct answer represents a part of the solution. Choose two.

Options

  • Ahttpd.conf
  • Blilo.conf
  • Chosts.deny
  • Dhosts.allow

How the community answered

(28 responses)
  • A
    7% (2)
  • B
    7% (2)
  • C
    86% (24)

Explanation

TCP Wrappers is a host-based access control system on Linux that intercepts incoming network connections to wrapped services (like SSH, FTP). It uses two files to enforce access rules: /etc/hosts.allow defines which hosts or networks are permitted to connect, and /etc/hosts.deny defines which hosts or networks are explicitly blocked. The two files work together - hosts.allow is checked first, then hosts.deny; if neither matches, access is allowed by default. The other options are unrelated: httpd.conf is the Apache web server configuration file, and lilo.conf is the Linux Loader (LILO) bootloader configuration file.

Topics

#TCP Wrappers#hosts.deny#hosts.allow#Linux access control

Community Discussion

No community discussion yet for this question.

Full GSEC Practice