GCIH · Question #250
Which of the following statements are true about tcp wrappers? Each correct answer represents a complete solution. Choose all that apply.
The correct answer is A. tcp wrapper provides access control, host address spoofing, client username lookups, etc. B. When a user uses a TCP wrapper, the inetd daemon runs the wrapper program tcpd C. tcp wrapper allows host or subnetwork IP addresses, names and/or ident query replies, to. TCP wrappers provide host-based network access control via the tcpd program, supporting access rules based on IP addresses, hostnames, and ident lookups, but do not actually prevent IP spoofing at the network level.
Question
Which of the following statements are true about tcp wrappers? Each correct answer represents a complete solution. Choose all that apply.
Options
- Atcp wrapper provides access control, host address spoofing, client username lookups, etc.
- BWhen a user uses a TCP wrapper, the inetd daemon runs the wrapper program tcpd
- Ctcp wrapper allows host or subnetwork IP addresses, names and/or ident query replies, to
- Dtcp wrapper protects a Linux server from IP address spoofing.
How the community answered
(40 responses)- A93% (37)
- D8% (3)
Why each option
TCP wrappers provide host-based network access control via the tcpd program, supporting access rules based on IP addresses, hostnames, and ident lookups, but do not actually prevent IP spoofing at the network level.
TCP wrappers (tcpd) provide access control lists, can perform client username lookups via the ident protocol, and log connection attempts - these are core documented features of the host-based access control system.
When inetd receives a connection for a wrapped service, it invokes tcpd (the TCP wrapper daemon) instead of the service directly, allowing tcpd to evaluate access rules before passing the connection along.
TCP wrappers support pattern matching on host IP addresses, subnet addresses, hostnames, and ident query replies in the hosts.allow and hosts.deny configuration files to permit or block connections.
TCP wrappers perform host-based access control at the application layer and cannot prevent IP address spoofing, which must be addressed at the network or packet-filtering layer by a firewall or router.
Concept tested: TCP wrappers host-based access control features
Source: https://linux.die.net/man/8/tcpd
Topics
Community Discussion
No community discussion yet for this question.