Sec. 36 Firewalls Flashcards
firewalls are used to _______ ______ ________ and _________ access to your systems and local ________.
firewalls are used to control both incoming and outgoing access to your systems and local network.
Packets are made up of what the items?
Header , footer , payload
What information does the header and footer contain?
- destination - source addresses - type of packing it is - which protocol it obeys - and other meta data
Almost all firewalls are based on _______ ________?
Packet Filtering .
Packet filtering intercepts packets at one more stages in the network transmission , including ___________, ___________, _____________, and ___________.
application, transport, network, and datalink.
Firewalls establish rules by which each packet may be :
- accepted or rejected based on content, addresses -mangled in some way -redirected to another address -inspected for security reasons.
What are the two main utilities of the firewalld package?
- firewall-cmd 2. firewall-config.
where are the configuration files for firewalld located? which one should the system admin use?
- /etc/firewalld, /usr/lib/firewalld 2. /etc/fireealld. why ? because the /etc/firewalld will override the other file rules.
firewalld is the _________ __________ ________.
Dynamic firewall manager
firewalld utilizes ________/______ zones.
network/firewall zones.
firewalld also separates _______ and _________ changes to configuration files .
runtime , permanent(persistent)
what is the command line tool for firewalld?
- firewall-cmd.
if i would like help with the firewall-cmd command what could i type in the command line?
$ firewall-cmd –help
it is an error to run both _______ and _________ at the same time.
firewalld and iptables
using the cmd line how would i enable and start the firewalld service?
to enable : - $ sudo systemctl enable/disable to start: -& sudo systemctl start/stop
using the cmd line what are two ways that i could see the status of firewalld ?
- $ sudo systemctl status firewalld 2. $ sudo firewall-cmd –state
firewalld works with ______.
zones .
what does the zone: drop do w.r.t. firewalld ?
Zone: Drop - all incoming packets are dropped with no reply. only outgoing connections are permitted.
What does the zone: block do w.r.t. firewalld?
Zone: Block – all incoming connections are rejected. The only permitted connections are those from within the system
Define the Zone : Public w.r.t. firewalls
Zone: Public – Do not trust any computers on the network; only certain consciously selected incoming connections are permitted.
Define the zone: external w.r.t firewalls
Zone: External – used when masquerading is being used. such as in routers. Trust levels are the same as public.
Define the zone: dmz w.r.t firewalls
Zone: dmz (Demilitarized Zone) – used when access to some (but not all) services are allowed to the public. only particular incoming connections are allowed.