What are the types of Firewalls?
Packet filtering router, Gateway firewalls (screened host, dual homed gateway firewall, screened subnet firewall), Additional Concepts (NAT, stateful inspection)
What is a packet filtering router?
the router is the entry and exist point to a network so it should be used as a firewall. Packet filtering routers use ACLs to provide security.
What two principles is an ACL based on?
sequential processing
deny all except when explicitly permitted
What are the ACL orders of operation?
Deny person, deny family, permit friend—– deny all
Describe the flowchart for ACL operation?
1 - is there an ACL? 2 - Check for permit 3 - Routing 4 - Is there an ACL at the other end? 5 - Is the packet permitted?
What are the parts of a standard acl?
access-list acl number (1-99) permit/deny source[mask]
interface interface-number
ip access-group acl-number in/out
What are the parts of an extended acl?
access-list acl-number(100-199) permit/deny protocol source[source-mask] destination[destination-mask] [eq port number]
interface interface-number
ip access-group acl number in/out
What is the rule of thumb for choosing an interface for Standard ACLs?
bind it closest to the network being protected
What is the rule of thumb for choosing an interface for extended ACLs
place it closest to the source network whenever possible
What are the limitations of packet filtering?
What pieces are part of a gateway firewall?
Inside server and client, Outside server and client, Bastion host (proxy client and servers)
What is a bastion host?
A special gateway host that acts as a relay for all services. Acts as a proxy/client server for each application. BH eliminates the direct exchange of packets between the private and outside network
What are some design features of bastion hosts?
Describe a screened host firewall
–high flexibility, low security
describe a dual homed gateway firewall
describe a screened subnet firewall
Instead of having a dual homed BH, it uses two routers. The BH and the information servers are placed on the segment between the two routers. Defines a DMS network between the private network and the outside network.
Direct transmission of traffic across DMZ is prohibited.
Outer Router R2:
Inbound traffic - allows only to BH or to information servers
Outbound traffic - allows only from BH
Inner Router R1
Inbound traffic - allows only from BH
Outbound traffic allows only to BH and possible to information servers
Good flexibility and good security
What does NAT stand for?
Network Address Translation?
What is the NAT concept?
One of the important features of a gateway firewall is that IP addresses of the private network need not be advertised to outside networks. This is made possible by translating the internal or private addresses to external or public addresses.
In addition to providing security NAT is also very useful in mitigating the problem of IP address depletion
Describe a static NAT
Every internal host is assigned a unique external address. The address mapping is fixed (1 to 1).
Simplest to set up
Least efficient in terms of address preservation
Useful when internal hosts have to be accessible from outside
Describe a dynamic NAT
Each private IP address is dynamically assigned a public address at the NAT on a demand basis. The address mapping function can change.
Many to a pool
many to 1 NAT
- this technique enables translation of multiple IP addresses to one single address by using different client port numbers. Useful when a large number of internal users requires simultaneous connection to the outside network.
A company has 15 servers and 1000 clients. How many public addresses does it need?
Needs 16 IP addresses, 15 static and 1 dynamic
What are some of the limitations of traditional firewalls?
What is a stateful inspection firewalls
What is a host firewall?
placed on clients and servers, last line of defense, offer tailored security because of fewer functions to support on host