Which files that are associated with TCP Wrappers?

Select the files that are associated with TCP Wrappers. Choose all that apply.

Select the files that are associated with TCP Wrappers. Choose all that apply.

A.
/etc/hosts

B.
/etc/hosts.allow

C.
/etc/hosts.deny

D.
/etc/allow.hosts

E.
/etc/allow.deny

Explanation/Reference:
The example permits tftp requests from hosts in the local domain (notice the leading dot). Requests from any other hosts are denied. Instead of the requested file, a finger probe is sent to the offending host. The result is mailed to the superuser.

/etc/hosts.allow:
in.tftpd: LOCAL, .my.domain

/etc/hosts.deny:
in.tftpd: ALL: (/usr/sbin/safe_finger -l @%h | /usr/bin/mail -s %d-%h root) &



Leave a Reply 0

Your email address will not be published. Required fields are marked *