Firewalls
Firewalls
Firewalls
m
2
¬
¬ 2
A firewall's basic task is to transfer traffic between computer networks
of different trust levels. Typical examples are the Internet which is a
zone with no trust and an internal network which is a zone of higher
trust. A zone with an intermediate trust level, situated between the
Internet and a trusted internal network, is often referred to as a
"perimeter network" or Demilitarized zone (DMZ).
¬ 2
A firewall's function within a network is similar to firewalls in
building construction, because in both cases they are intended to
isolate one "network" or "compartment" from another. However,
network firewalls, unlike physical firewalls, are designed to allow some
traffic to flow.
¬ 2
¬ithout proper configuration, a firewall can often become
worthless. Standard security practices dictate a "default-deny"
firewall ruleset, in which the only network connections which are
allowed are the ones that have been explicitly allowed.
Unfortunately, such a configuration requires detailed
understanding of the network applications and endpoints
required for the organization's day-to-day operation. Many
businesses lack such understanding, and therefore implement a
"default-allow" ruleset, in which all traffic is allowed unless it has
been specifically blocked. This configuration makes inadvertent
network connections and system compromise much more likely.
Ã
2
Ã
2
They will not allow packets to pass through the firewall unless they
match the established ruleset. The firewall administrator may define
the rules; or default rules may apply.
Ã
2
Úetwork layer firewalls generally fall into two sub-categories, stateful and
stateless.
Stateful firewalls maintain context about active sessions, and use that "state
information" to speed up packet processing. Any existing network
connection can be described by several properties, including source and
destination IP address, UDP or TCP ports, and the current stage of the
connection's lifetime (including session initiation, handshaking, data
transfer, or completion connection. If a packet does not match an existing
connection, it will be evaluated according to the ruleset for new connections.
If a packet matches an existing connection based on comparison with the
firewall's state table, it will be allowed to pass without further processing.
Ã
2
Application-layer firewalls work on the application level of the TCP/IP
stack (i.e., all browser traffic, or all telnet or ftp traffic), and may intercept
all packets traveling to or from an application. They block other packets
(usually dropping them without acknowledgement to the sender). In
principle, application firewalls can prevent all unwanted outside traffic from
reaching protected machines.
By inspecting all packets for improper content, firewalls can restrict or
prevent outright the spread of networked computer worms and trojans. In
practice, however, this becomes so complex and so difficult to attempt (given
the variety of applications and the diversity of content each may allow in its
packet traffic) that comprehensive firewall design does not generally attempt
this approach
Ã
2
Úetwork Address Translation (ÚAT, also known as Úetwork
Masquerading, Úative Address Translation or IP Masquerading)
involves re-writing the source and/or destination addresses of IP
packets as they pass through a Router or firewall. Most systems using
ÚAT do so in order to enable multiple hosts on a private network to
access the Internet using a single public IP address. Many network
administrators find ÚAT a convenient technique and use it widely.
Úonetheless, ÚAT can introduce complications in communication
between hosts and may have a performance impact
Ã
2
Úetwork Address Translation
One-to-One (One private address for One public address)
Geared for applications that require use of many ports/apps (i.e. ftp, www,
8081).
m