Question
1. Suppose the domain hackers.com is denied for all services in the hosts. deny, but the hosts. allow file has the rule ALL: ALL. Will
1. Suppose the domain hackers.com is denied for all services in the hosts. deny, but the hosts. allow file has the rule ALL: ALL. Will TCP Wrappers allow hackers.com access or not?
2. What is the command to check the SELinux status? How can you be sure that SELinux is in enforcing mode?
3. What are three modes of SELinux? Explain their basic functionality
4. Based on your understanding of the IPtables rules you established in Part 1 of this lab, what command would you type to drop any Telnet (port 23) connection attempts?
5. Based on your understanding of the IPtables rules you established in Part 1 of this lab, what command would you type to allow traffic on the lookback (lo)?
6. What switch would you use to view the network port configuration for the IPtables?
7. What is the purpose of the /etc/hosts file?
8. Is the order of the rules in the IPtables important?
9. If either the hosts.deny or the hosts.allow file does not exist, what happens?
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access with AI-Powered Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started