Rochester Institute of Technology
RIT Scholar Works
Theses
Thesis/Dissertation Collections
6-1-2001
Firewall strategies using network processors
Matthew Mariani
Follow this and additional works at:
http://scholarworks.rit.edu/theses
This Thesis is brought to you for free and open access by the Thesis/Dissertation Collections at RIT Scholar Works. It has been accepted for inclusion
in Theses by an authorized administrator of RIT Scholar Works. For more information, please contact
Recommended Citation
FIREWALL STRATEGIES USING
NETWORI( PROCESSORS
by
Matthew Enrico Mariani
A Thesis Submitted
UlPartial Fulfillment of the
Requirements for the Degree of
Masters of Science
UlComputer Engineering
Primary Advisor:
Dr. ¥oonhee
Kim,
Assistant Professor, Dept. of Computer Eng.
Committee Member:
_
Dr. Roy S. Czemikowski, Professor, Dept. of Computer Eng.
Committee Member:
_
Alan Kaminsky, Research AssociatCl, Information Technology
Department of Computer Engineering
Kate Gleason College of Engineering
Rochester Institute of Technology
Rochester, New York
Release Permission Form
Rochester Institute of Technology
Firewall Strategies Using Network Processors
I, Matthew E. Mariani, hereby grant permission to the Wallace Library of the Rochester Institute
of Technology to reproduce my thesis
in whole or in part, on or after October 15,2001. Any
reproduction
will
not be for commercial use or profit.
Matthew E. Mariani
7-/?-OI
ABSTRACT
The
emergence of network processors provides abroad
range of new applications,particularly in
thefield
ofnetwork security.Firewalls have become
one ofthebasic
building
blocks
ofimplementing
a network'ssecurity
policy;however,
thesecurity
of afirewall
canpotentially lead
to abottleneck
in
the network.Therefore,
improving
the performance ofthefirewall
means alsoimproving
the performance ofthe protected network.With
theability
todirecdy
monitorandmodify
packetinformation
at wirespeeds, thenetwork processor providesanew avenue
for
thepursuitoffaster,
moreefficientfirewall
products. Thispaperdescribes
theimplementation
oftwo simulated network processorbased
firewalls. Thefirst
architecture, abasic
packetfiltering
firewall,
utilizes tree-based structuresfor manipulating
IP and transportlevel firewall
rules while alsoutilizing
parallelism availablein
the network processorduring
firewall
rulelook-ups.
In the second architecture, a parallelfirewall is
createdusing
a networkprocessor
based,
load-balancing
switchalong
with two network processorbased firewall
machines,
both utilizing
thebasic
packetfilter
operations ofthefirst
architecture. When added toexisting
routing
software, theseimplementations demonstrate
thefeasibility
ofcreating
TABLE
OF
CONTENTS
Table
ofContents
i
List
ofFigures
iii
List
ofTables
iv
Acknowledgements
vGlossary
viIntroduction
1
1.1 PurposeofFirewall Research 1
1.2 OrganizationofThesis 2
1.3 Contributions 3
Background
4
2.1 Firewall
Technology
42.1.1 Firewall
History
42.1.2
Key
Firewall Characteristics 52.1.3 TypesofFirewalls 8
2.1.3.1 Packet
Filtering
Firewalls 82.1.3.2 CircuitLevelFirewalls 10
2.1.3.3 Application
Gateway
Firewalls(Proxies)
112.1.3.4 Dynamic Packet Filters .-. 13
2.1.3.5 Kernel Proxies 14
2.1.3.6 StatefulInspectionFirewalls 15
2.2 Firewall Considerations 16
2.2.1 Firewall Limitations 16
2.2.2
Providing
PublicServices 172.3
Existing Technology
182.3.1 Commercial Products 18
2.3.2 Observations 21
2.4 ImportanceofNetwork Processors 22
2.4.1 EmergenceofNetwork Processors 22
2.4.2 RelevanceofNetwork ProcessorstoFirewall
Technology
232.5 CurrentRelated Research 25
2.5.1 VirusDetection 25
2.5.2 Virtual PrivateNetworks
(VPNs)
272.5.3 Intrusion Detection 28
2.6 Chapter
Summary
29Theory
30
3.1 Proposed Firewall Improvements 30
3.2 Basic NPPacketFilter 31
3.3 Parallel Packet Filter 37
3.4 Chapter
Summary
40Implementation
41
4.1 Development Environment 41
4.2 Basic Packet Filter 42
4.2.1 NP Hardware Tree Management 42
4.2.2 IP Firewall Rule TreeStructuresDesign 43
4.2.3 Transport Firewall Rule Tree Structures Design 45
4.2.4 Test Procedure 47
4.2.4.1 SoftwareComponents 47
4.2.4.2 Test Environment 49
4.3 Parallel Packet Filter 50
4.3.1 Switch Design 50
4.3.2 Firewall Node Design 52
4.3.3 Test Procedure 53
4.4 Results Analysis 54
4.5 Chapter
Summary
56Conclusion
57
5.1
Summary
ofWork 575.2 Difficulties Encountered 58
5.3 Benefits 59
5.4 Future Work 59
Bibliography
61Appendix
A
- Firewall Vendors63
Appendix B
- Network ProcessorVendors
64
j. Matthew E.Mariani, June,2001
LIST OF
FIGURES
Number
Page
Figure 1.1
-Simple Firewall Diagram
1
Figure
2.1 -TimelineofFirewall Development
5
Figure
2.2-Back Door
Vulnerability
Using
aModem
orWireless Connection6
Figure 2.3
-IPv4Packet
9
Figure
2.4-TCP Packet Format
9
Figure
2.5-Application
Layer FirewallArchitecture
12Figure
2.6-Protected Network
with aDMZ
for
PublicServices
18Figure
2.7-Sample Virtual Private
Network 27Figure
3.1
-Parallel Firewall
Model31
Figure
3.2
-Basic NP
Firewall 32Figure 3.3
-Generic
NP Tree
Structure
33
Figure 3.4-
Packet
FilterAlgorithm
(IPPortion)
35
Figure
3.5
-Packet Filter Algorithm
(TCPPortion)
36
Figure
3.6
Switch-based
Parallel Firewall 39Figure
4.1
- NP System Diagram41
Figure
4.2- NP Tree Structure Hardware Model43
Figure
4.3
-Transport Rule
Key
46Figure
4.4
- Basic NP Firewall Test Network49
Figure 4.4- Parallel Firewall Diagram 50
Figure 4.5- ParallelFirewall
Switch Algorithm
Flowchart51
Figure 4.6
- NetworkSwitching
Scheme 52Figure 4.7- Parallel Firewall Test Network
53
LIST
OF
TABLES
Number
PaSe
Table 4.1
-Basic NP
Firewall Network Machine
Descriptions49
;
v Matthew E.Mariani, June,2001
ACKNOWLEDGEMENTS
The
authorwishesto thank thefollowing
individuals for
theircontributionsto thisthesis:1.
Jeffrey
Lasky, Director,
Information
Technology
Lab
- Established the network processorresearch
partnership
withIBM,
thusproviding
the network processor development tools and equipmentrequiredfor
thefirewall
implementations performedin
thisthesis.2. Dr. Peter
Lutz,
AssistantProfessor,
Departmentof Information
Technology
- Provided designideas for many
of the aspects of thefirewalls
that were created, and providedhighly-skilledLinux
networking
support3.
LouisSalcedo,
Technology
Partnership
Mgr,
Network
Processor EnablementGroup,
IBM
- IBMpoint of contactfor IBM 4GS1 and
4GS3
network processor support.4.
Bruce
Hartpence, Professor,
Department of InformationTechnology
- Provided hardwaresupportandinformation
during
this project.GLOSSARY
Application Gateway: Also known as a
"Proxy,
" a program used to provide the user authentication andapplication connection mechanismsof anapplicationlayer firewall.
ASO- AdvancedSoftware
Offering: Softwarepackagedeveloped
by
IBMincluding
codefora dynamicrouterapplicationontheIBM PowerNP 4GS3.
Bastion Hosts: Asecurednetworkmachineor server.
Blade: One instance of an IBM PowerNP 4GS3 board. Usageexample: 'Tackets can be transferred between
multiplebladesover aproprietaryIBMswitchfabric."
BSD
-Berkley
SoftwareDistribution: Unixstandarddevelopedby
theUniversity
ofCalifornia,
Berkley.DMZ- Demilitarized
Zone: Aseparatenetworkbehindafirewallthatprovides public accesstocertain network services.
FPM- Full Pattern Match: Type
of search algorithm used
by
theIBM PowerNP4GS3 tolook-up
dataelementsina tree. Fora given search
key,
thedataelement withthelongest preceding stringofmatching bitswillbereturned.
GUI- Graphical User Interface: Interface
toa applicationusinggraphicalcontrol,ratherthan textcommands.
ICMP- Internet Control Message Protocol: Protocol
usedfortestingconnectivity betweennetworks('Ting").
ICT Intelligent Connection-Tracking: Maintenanceof connectionstate,asdone
by
circuit-levelfirewalls,
usedby
CYCON's Labyrinth firewall.IP
-Internet Protocol: Layer 3 routingprotocolthatis predominandyusedintheInternet
LPM - Longest Prefix Match: Type
of search algorithm used
by
the IBM PowerNP 4GS3 tolook-up
dataelementsinatree. Fora given search
key,
thedataelement withthelongest preceding stringofmatchingbitswillbereturned.
NAT Network Address Translation: Process ofmappingan external IP address to an internal IP address performed
by
afirewallor other such system. This is done inordertohide internal IPaddressesfromtheoutside world ortoeliminatedirectconnectionsbetween internaland externalhosts.
NP - Network Processor: A programmablecommunications integrated circuit capable of
performingpacket
classification,packetmodification,queue/policymanagement,and/or packetforwarding.
Packet Filter: Simple firewall thatdrops or "filters"
packets basedon simple protocolheadervalues,
including
primarily IP source and destination address, network and transport layerprotocol type, or TCP/UDPsource anddestinationport.
Picocode: Termmeaning IBMPowerNP 4GS3assembly languagecode
Proxy: Programusedtoprovidetheuser authentication mechanisms of an applicationlayer firewall.
QoS
-Quality
ofService: Theprioritygiventonetworktraffictravelingacross a router orfirewall. Forexample, trafficfroma certainhost may begivenahigherprecedencethan traffic originating fromanotherhost in ordertoavoidthosepacketsbeing
dropped,
inthecase of a congested network.Security
Policy: Broadtermrepresenting theapplicationsandtheirassociated functionsputinplaceto provide security to a given network. For example, the rules usedby
a firewallare a portion ofthe network's securitypolicy.Spoofing
Attack Networkattackinwhich the IP orTCP fieldsof a packetareoverwritten orfalsifiedby
anintruderinordertopenetratethe
filtering
algorithmsof afirewall.Stateful Inspection: Firewalltechniqueofmamtainingstateinformation for existingconnections acrosstheacross thefirewalland
filtering
basedon rules givenforspecific states.StaticFirewall: Nameoften usedwhen
referringtopacket
filtering
firewalls,
asthefiltrationruleistypicallybased on afixed,
existingprotocol.TCP
-Transport Control Protocol: Reliabletransportlayerprotocolprovidingend-to-end routing.
UDP
-UserDatagram Protocol: Unreliabletransportlayerprotocol
providingend-to-end routing.
VPN- Virtual Private
Network Networkcomprisedoftwophysicallyseparated networkscommunicatingas a
single,virtualnetwork overan un-trustednetwork, such asthe Internet. Communications between the separated networksare
usefullytransferredusingencryptiontechniquesovertheun-trusted network.
Chapter
1
Introduction
1.1
Purpose
ofFirewall
Research
With
theexpansive growthin
recent years of networktechnology,including
theInternetande-commerce, network
security has become
a giant themein thefield
ofdata
communications. Large corporations and governmentagencies,among
many
others, mustrely
on thesecurity oftheir network solutions to protect
highly
sensitiveinformation
and to maintain the properfunction
oftheirelectronicinteractions.As time has
progressed,thesenetwork structureshavebecome
increasingly
threatenedby
attacksfrom
external entities,ranging from
therobbery
ofsecretive or private
information
to the exploits ofhackers
simplyattempting
tobreak
thosebarriers
thataresupposedly unbreakable. Thesethreats and othershave led
to therapid growthofthenetwork security industry.
Firewalls
have
since become theprimary
tool ofprotecting
a network.Firewalls
aim toprotect a network
by
providing
a single entry and exit pointfor
networktraffic,
at which asecurity policy may be
enforced. In otherwords, thefirewall is
the gatewaybetween
a trustednetworkandanun-trustednetwork, such astheInternet.
*,
.'
jgVrrj
Protected Network
Figure
1.1
-Simple Firewall
Diagram
Because
thefirewall is
the single point ofentry
and exitfor
a network,it is
clear that thenetwork
is only
as secure as thefirewall
thatprotectsit.
In addition, asit
creates a singlepointfor concentrating
networktraffic,
afirewall is
also vulnerable tocausing
a bottleneckin
theperformance ofthe network.
It is for
these two principal reasons,security
and performance,that
firewall
researchis
anecessary
area ofstudy in
thefield
ofdata
communications.By
affecting
thequality
ofthefirewall,
onedirecdy
affectsthequality
ofthenetwork.1.2
Organization
ofThesis
This
thesis willbe
used toidentify
the shortcomings ofexisting firewall
technology
and toexplorethe
feasibility
ofimproving
firewall
technology
throughnetwork processors. Inordertodemonstrate
the abilitiesofnetwork processorstoenhancefirewall
performance, theIBM4GS3
network processor will
be
used as an example platform.A summary
ofthehistory
offirewall
technology
willfirst
begivenin
ordertoprovideabasis
for firewall design
goals.Next,
adiscussion
oftherelative strengths and weaknesses of variousfirewall
technologieswillbe
given,along
with asurvey
of currentfirewall
technology. Itwillbe
shown that the weaknesses of
existing firewalls
relateprimarily
tofinding
abalance between
quality
ofsecurity
and performance.Some
of the areas of research thathave
grown out offirewall
technology
will alsobe
described,
andit
willbe
shown thatnetwork processors and theabilitiesthey
possesshave
notyetbeen explored
in
a research environment. Thisthesisexplores twofirewall implementations
using
a network processor.To
begin,
abasic
packetfiltering
firewall is developed
andcomparedin
terms of performance to an existingpacketfilter
technology. Thisbasic
packetfilter is
thenexpanded to a version
involving
two network processors actingin
parallelin
order toprovideincreased
performance and reliability. Theseimplementations
hope
to show that networkprocessors possess the ability to allow more complex
firewalls
withhigher
efficiencies thanexisting
technologies..
,, v, ? Matthew EMariani, June,2001
1.3
Contributions
Because firewalls
continue tobe both
thefocal
point of network securityimplementations and thefocal
point ofcommunicationfor
a protected network,it is absolutely necessary
thatthey
possessthehighest level
ofperformancewhile alsoachieving
anadequatelevel
of security.Unfortunately,
existing
firewall
technology
tendsto succeed atachieving only
oneofthese twocharacteristics
before
thecostbecomes
uneconomic.The
network processor, whichhas become
a popular themein
recentnetworking
advancements,provides a uniqueability in
thefirewall
worldto combinethespeedofhardware with thediverse security
functionality
achievableby
a software firewall solution. This thesisperforms two approaches to
firewall implementations in
ordertodemonstrate
thefeasibility
ofimplementing
afirewall
on a network processorin
addition to the abilities of network processorstoenhancefirewall
performance.While there are
many
areas ofresearch infirewall
technology
and network security, thenetwork processor
has
yet tobe
fully
explored. This thesishopes
to show that the network processorhas
thepotentialtobecome
thecornerstoneof networksecurityin
thefuture._...,,..,,_ "\ Matthew EMariani, June,2001
Chapter
2
Background
2.1
Firewall
Technology
Firewall
technology
provides protectionfor
the resources andinformation
of a trustednetwork
by
allowing
the controlledfiltration
of network traffic. Thisis
accomplishedby
creating
a centralizedpointat which asecurity
policy may be
enforced.The
following
sections provide some ofthehistory
offirewall
technology
anddescribe in detail
the various types offirewalls
thathave been developed.
2.1.1
Firewall
History
The
firewall
industry
has been growing rapidly in
recent yearsin
ordertomeetthegrowing
needs of
businesses
toprotecttheirnetworksfrom
outside attack.While
growthhas
made theInternet security
industry
ratherlarge,
theindustry
itselfis
stillrelatively
young. This sectionprovides a
brief chronology
offirewalldevelopment,
found primarily in
[17].The individual
typesoffirewalls
aredescribed
more specificallyin
section2.1.3.Research
in
firewalltechnology
began in
the mid 1980's andhas led
to the emergence ofseveraltypes offirewalls. The
first
typeoffirewall is
knownas thepacketfilter. Papers
onthisvery basic
implementationwerenotreleased until 1 988.These
papers were studiespublishedby
Jeff Mogul
of Digital Equipment Corporation.Shortly
thereafter, AT&T Bell Laboratories
(Dave
Presotto and HowardTrickey)
began
researchin a second generation offirewall
calledcircuit
level
firewalls,
which werebased
ontheirproprietary
circuitrelay
technology.This
samegroup
from Bell Laboratorieswas also thefirst
to complete thedevelopment
ofa third generation, called application gateways. In
[17],
it
was noted that no products orpublications
relating
to thistechnology
were released atthe time.However,
there were several private groups thatbegan performingresearchon applicationgatewaysin
thelate
1980's,
andin
_ ,, . .
... i, 4- Matthew EMariani, June,2001
the
early 1990's
publisheddocuments
on their work.Authors
of such publicationsincluded
Gene Spafford
ofPurdue
University,
Bill Cheswick (also from AT&T Bell
Laboratories),
andMarcus Ranum. Of these, Ranum's
work,involving
bastion hosts running proxy
services,drew
the most attention and progressed
into
first
commercial product, SEALfrom
DigitalEquipment Corporation.
The
nexttypeoffirewall
toemerge,dynamic
packetfilters,
wasdeveloped in
the timeframeof1991
by
Bill Cheswick
andSteve Bellovin from Bell Laboratories. Bob
BradenandAnnette
DeSchon
from USC's Information Sciences Institute further
researchedthistechnology
in
1992,
and
in
1994thefirst
commercial productwasreleasedby
Check Point
Software.In
1996 Scott Wiegel
ofGlobal Internet Software
Group,
Inc.began
the developmentof afifth
type offirewall
architecture, theKernel
Proxy
architecture. This architecture was usedby
Cisco (the
publishersof[17])
in
theirCentri
Firewallreleasedin
1997.Check
Point
Softwareintroduced
the Stateful Inspectionfirewall
architecturein
1999 aspartoftheirFirewall-1 product. Thisarchitecture
has
formed
thebasis
ofmany
oftoday'smostcomplex
firewall
systems,by
combining nearly
all of the characteristics of the packetfilter,
circuit
level,
and applicationgateway firewalls.
Below is
a timeline offirewall
development,
modifiedfrom
adiagram in
[17].Again,
details
oftheindividual
classifications offirewalls
arediscussed in
section2.1.3.Packetfilter
1980
I
Dynamic
packet filter
Application
layer
firewall
Circuit level Firewall
I
1990f
Stateful
Inspection
KernalProxy~
I
t
2000Figure
2.1
-Timeline
ofFirewall
Development
2.1.2
Key
Firewall CharacteristicsBefore
describing
the specific types offirewalls
and the operationsthey
perform,it is
important
tounderstand some ofthebasic
properties andprincipal characteristicsof afirewall.
Firewall StrategiesUsingNetworkProcessors
As
mentionedin
theIntroduction,
akey
aspecttoafirewall is
thatit be
the single point ofentry
and exitbetween
the protected network and outside networks, whichis
illustratedin
Figure
2.2.This
idea is
thebasis
offirewall design
andimplementation. Ifthefirewall is
notthesolepoint ofaccess totheprotectednetwork,
security
cannotbe
guaranteed, and theprotectednetwork
becomes
highly
vulnerableto meansofattack,such as theso-called"back door"attack.
In
such situations,it is
possibletobypass
thefirewall
mechanism and connectto theprotectednetwork
using
alternate means, such as through a modem connection or an insecurewirelessaccess point.
This
scenariois
shownbelow.
[foqo o|] ModemConnection
"BackDoor" Connection
hns
If*
tmm
fSirtVX
W^-^'
WirelessAccess Point
L
WirelessAccessHackerPC
Modem Connection lT T
Firewall Router
Protected Network
Figure 2.2
- BackDoor
Vulnerability
Using
aModemorWirelessConnection
Another
importantaspect of afirewallis its security
policy.The security policy is
theset ofrulesthat
defines how
the firewallis
to permit ordeny
networktraffic. Theserules aredirected
at a widevarietyofcharacteristics aboutthetraffic and could
potentially involve
rulesbased
onIP addresses, portnumbers, user authentication, arbitrary connection attempts, and protocols
used.
It is
thesecuritypolicy
thatdefinesthefirewall for
a givennetwork;therefore, thefirewall
administratormusttakegreat care
in
settingup
theappropriaterestrictions onnetworktraffic.In
additionto filterrulesbasedontheproperties justmentioned,firewalls have
evolvedtoperform numerous advanced security
functions,
asdescribed in
[1].For
example,they
may be
required to maintain state information about multiple sessions
accessing
the secured network.This
could involve the enforcement of timeout rules ormonitoring
the specific types ofFirewall StrategiesUsingNetwork Processors
transactions thatmight occur.
In
cases where throughputis
animportant
concern, such asin
multi-media applications,
firewalls
mightbe forced
to support speciallow
overhead protocols(i.e. UDP). Tokens
orsingle-use passwordsfor
user authenticationmay be issued
by
thefirewallwhen
allowing
connectionrequests.Lasdy,
firewalls may
evenbe
usedtoperform encryption ordecryption
trafficin
ordertocreatevirtualprivate networks(VPNs
- see section2.5.2)
overun-trustednetworks,such as the
Internet.
Logging
is
anotherdesirable
characteristic of afirewall.
Itis
usefulfor
security
administratorsto
have
arecordof allconnections,incoming
andoutgoing, thatoccur acrossthefirewall.
Logging
failed
access attempts across thefirewall
could alsobe
importantin
order toexpose potential weaknesses
in
thefirewall.
Because
thefirewall is
thefocal
pointfor
networktraffic,
the firewallis
extremelyvulnerable to
becoming
abottleneck for
network traffic that accesses the protected network.Forthisreason,
it is
criticalthat theprocessofvalidating
networktrafficacross thefirewall be
asefficient as possible. The more efficient the
firewall,
thebetter
performance the network willhave.
The
transparency
of afirewall is
thedegree
towhichthe actions performedby
thefirewall,
in
ordertoprovidesecurity for
theprotectednetwork, are noticeabletotheuser.Transparency
relates to efficiency, however
differs slightly in
thatit
embodies alarger scope of concepts. Ifthe efficiency ofthe
firewall is
poor,users oftheprotected network will notice a slow-downin
communication across the firewall.Obviously
this impliespoor transparency, as the effects ofthe
firewall
are noticeable.Transparency
can alsobe
affectedby
user authentication.Once
afirewall has been
installed,
it may be
necessaryfor
a user of the protected network toauthenticate withthe firewall before accessing theprotected network. The
transparency
ofthefirewall
wouldbe
considerablylow
because ofthe added step inusing
the protected network. Whiletransparency is
a goodthing
tomaintain whendesigning
afirewall,
it is certainly
adouble-edged sword. In general, the more
security
a firewallneeds to provide, theless
transparentit
willbe.
Therefore,
asin
any design situation, abalance betweensecurity
andtransparency
for
agiven
firewall
mustbe
reached.Finally,
the physical implementation of thefirewall
is
also adefining
characteristic.In
current technology, firewalls are implemented as either a single piece of software, or a combinationof ahardware applianceand accompanyingsoftware. Whenthe responsibilitiesof
7 Matthew EMariani, June,2001
a
firewall
arelimited
tosimplefiltering
tasks suchasthosebased
onstrictiy IP
addresses or portnumbers, a
hardware-based firewall
is
a popular choice.The simplicity
ofthefiltering
rules(security
policy)
and repetitive comparisons that occurlend
themselvesnaturally
to ahardwaresolution.
Such hardware
allows thistype ofnetworktrafficvalidationto occurathigher
speeds,therefore
rninimizing
the effect of thefirewall
on network performance(improving
transparency).
Example
hardware
includes
routerswithfiltering
capabilities("filtering
routers")or
dedicated firewall
appliances.Firewall
operationsinvolving
moreprocedural activities such asuserauthenticationaremost often
implemented in
software,as an applicationrunning
ontop
ofan
operating
system. It shouldbe
noted thatoperating
systems might alsobe
modified toperform
packet-filtering
operations;however,
such animplementation
willbe noticeably
slower thanhardware
systems.Several
specificexamples ofbothhardware
and software solutions willbe
discussed in
section 2.3.1.Because
most currentfirewall implementations
require simplepacket
filtering,
in
addition to complex authentication operations, systemscombining
filtering
routers andOS
firewallapplications are often employed.No
matterthephysicaldevices
being
used,thepurposeof afirewall
istomake aprotectednetwork as secure as possible
by
concentrating its
efforts at a single point. Thereare avarietyofoperations a
firewall may
perform;however,
it is
mostimportant
toproperly
match the capabilitiesofthefirewallwithsecurityneeds oftheorganization ornetworkbeing
protected.2.1.3
Types
ofFirewalls
In section
2.1.1,
a timeline offirewall
development was presented. Packetfiltering
firewalls,
circuitlevel
firewalls,
and application gateways are considered thefundamental forms
of
existing
firewalls,
while dynamic packetfilters,
kernelproxy, and statefulinspection firewalls
are considered tobe
conglomerations oftheoriginal three. Thissectiondescribes
eachtypein
further detail.
2.1.3.1
Packet
Filtering
FirewallsPacket filters
are the mostbasic
type offirewall. In this type offirewall,
eachmcoming
network packet
is
compared against defined rulesbased
onlow-level
protocolfields.
Depending
on the rule and the contents ofa packet,it is
eitherdropped
orforwarded
by
thefirewall.
For example, the Internetuses IPfor routing
andmostoften uses TCPfor
transportlayer functionality.
The format
of these protocolsis
shown on thefollowing
page. Mostexisting
packetfilters
use combinations of the IP source and destination address andTCP
source anddestination
port with verification of the transportlayer
protocolbeing
used.Naturally,
otherfields in any
ofthe protocolsmay be
used.As
anexample,afirewall
32 bits
-Verston 1HL typeot-servce Totallength
iacrtlificaliixi Flags Fragmentousel
Header enecksum ure-itHive |Protocol|
_._. .._ i . .
|
Ssurc& address|
|
Destinationadd'ass|
Optionsn-padiinoi
Data-IVTjriatHci)
1
S^irseport|oest>oa1iiyipori|
Sequencent/rtter
Acknowtodr/Twrrtnun-foor
OaLaaffcrt Rosorvwi Flsp Wnrfcw
Checksum UrgtMtfparitcr
Op1ion&ifpacK!if>9l
Oyla ivatjL.eJ
Figure 2.3- IPv4 Packet Figure 2.4- TCP Packet Format
could accept allTCP andUDP
traffic, but
deny
all trafficusing
some alternate transportlayer
protocol. Inthiscase,the
foreign
protocol could represent an attack ontheprotectednetwork.It
is relatively
clear thatin
order tosetup
such afirewall,
it is necessary
tohave detailed
knowledge
ofthe protocolsbeing
used withinthe protected network.The
administratormay
modify
the specificfield
valuesbeing
monitoredby
thefirewall,
but
thefields
utilizedby
thefirewall
areobviously fixed
to the protocolbeing
used. For this reason,packetfilters
are oftenreferredtoas staticfirewalls.
Packet filters may
handle network trafficin
one oftwo ways.First,
all packets couldbe
accepted unless explicidy
denied
by
the firewall rule, or secondly, all packets couldbe denied
unless
explicidy
permitted. Thefirst
versionis
appropriate whenthelevel
ofnetworksecurity is
relatively
low,
such asin
college campus networks, because access to the networkis usually
grantedby
default. The second would be useful wheresecurity is
more essential, asin
a governmentintelligence agencyor corporate network.The
advantages of packetfiltering
firewalls are asfollows.
Because
packetfilters
arebased
on simplecomparisons betweenthe
filter
rules and theprotocolfield
valuesofnetworktraffic,
Firewall StrategiesUsingNetwork Processors
they
tend tobe
rather simple toimplement.
This
simplicity
allows packetfilters
toprovide afast,
efficient, andgenerally
inexpensive
solution.For
this reason, packetfilters have been
integrated
at ahardware level into
routers(as
mentionedbefore,
theseare calledfiltering
routersor
choking
routers).Packet filters
alsohave
thebenefits
ofbeing
able tohide
internalIP
addresses
from
externalnetworks andavoiding
theneed toconfigureinternal
hosts
individually.All
the"work"is done
by
thefirewall.
On
the negative side, the static nature ofpacketfilters
makes themrather un-adaptable tothe
introduction
ofnew protocols. Inmany
cases,adding
anew protocoltothenetwork meansdirect
modification oftheexisting
firewall,
which can oftenbe
acostiy
expenditure, especially ifa
hardware
firewall
solutionhas been
used.Next,
because
packetfilters
simplymakebrainless
comparisons,
they
arehighly
vulnerable to "spoofing" attacks. Inspoofing
attacks, protocolfields
such as theIP
source anddestination
address arefalsified,
in
order tobreak
through thefirewall.
Itis
a trivial taskfor
ahacker
toperform such an attack. Thisweakness existspartly
because
packetfilters
are not able to perform user authentication.On
ahigher
level,
packetfilters do
notpossess theability
to examine or tomodify
the content of apacket. Thisleaves
them vulnerable to content-related problems, such as the transmission ofviruses, application
layer
violations, etc.Lasdy,
packetfilters do
notmaintainany
state or sessioninformation
afterconnections occur across the
firewall.
In summary, packetfilters
have
theability
to regulatewhere a packet
may
travel (i.e. across thefirewall),
but do
nothave
theability
to affect or tofilter based
upontheapplicationlevel data
thatmightbe
communicated.2.1.3.2
Circuit Level Firewalls
The nexttype of
firewall,
the circuitlevelfirewall,
providessecurity
at aslighdy higher level
than packet
filters,
by
preventing direct
connections betweeninternal
and external machines[14].
Circuit level firewalls have
theability
todetermine
whether a packetis
a connectionrequestor
is
partof anexisting,validated connection.The
key
feature
ofthis type offirewall
thatdiffers from
thepacketfilter is
thatcircuitlevel
firewalls
maintain a small amount of stateinformation,
in
theform
of atableof allconnectionsbetween internal
and externalnetworks. When a connection request arrives, thefirewall
addsthe request to
its
table and tracks the state ofthe connection through thehandshaking
stepsrequired
by
the transportlayer protocoluntil the connection(or circuit) is
established. In theFirewall StrategiesUsingNetwork Processors 1
Q
Internet,
thisis usually TCP. As
eachpacketarrives, the
firewall
searchesits
connection tablefor
amatching
session.If
oneis found
andis
validated,thepacketmay
passacross the firewall.If
amatchis
notfound,
the packetis dropped. In
ordertoperformthe appropriatechecks,thefirewall
could maintain sessioninformation
including
a sessionidentifier
uniquefor
eachconnection, the specific state oftheconnection
(i.e.
handshaking,
etc),sequencing
information,
source and
destination IP
address, and/or the physical
interface
throughwhich the connectionis
established[17]. Because
circuitlevel firewalls
willonly
permitthe transmissionof a packetif
the associated connection
is in
a valid state,theactions of circuitlevel firewalls
are atvery
low-level
comparedto truestatefulinspection firewalls (see
section2.1.3.6).To
further
protect againstspoofing
attacks, circuitlevel firewalls may
evenmodify
thedestination
addressesofpacketsin
ordertomakethepacketsappeartohave
originatedfrom
thefirewall
host,
rather than the actual source machine. This techniqueis known
as networkaddress translation
(NAT).
Circuit level firewalls have
several advantages anddisadvantages.
Theability
to maintainstate
information
about connection requestsis
a substantialbenefit in protecting
a networkagainst
spoofing
attacks.Also,
because
circuitlevel firewalls
work at arelatively low level
oftheprotocol stack,
they
still possessrelatively fast
performance.On
the otherhand,
like
packetfilters,
this type offirewall is tied permanendy
to the transportprotocolusedby
thenetwork(i.e.
TCP).
Also,
circuitlevel firewalls
alsolack
authentication mechanisms and theability
tofilter
based
on applicationlayer
criteria.2.1.3.3
ApplicationGateway
Firewalls
(Proxies)
Application layer
firewalls,
also called application gateways, performfiltering
based
onapplication
layer
protocols ratherthanat thenetwork ortransportlayer,
thusgiving
thefirewall
the
ability
toperform user authenticationincluding
usernameandpasswordvalidation.Like
thefirewalls described
sofar,
the application gate resides between a protected network and theoutside world. Most application gateways operate
by
running
a special purpose programdesigned
to perform the security functionsofthe firewall. These specialpurposeprograms areoften called
"proxies"
or
"proxy
servers."
Proxy
servers are writtenspecifically for
eachapplication protocol
being
used.For
example, a protected networkrunning
telnet andftp
wouldneedindividualtelnetand
ftp
proxies...,,.
, 11 Matthew EMariani, June,2001
When
a userwants to communicate with another system across the proxy,it is
theproxy
that performs the user authentication and
security
checks(usually
through username andpassword), ratherthan theactual client.
It
is
a goalfor
this authenticationtobe
transparenttothe user, so that the user observes
direct
communication with the client service.Like
circuitlevel
firewalls,
nodirect
connections areactually
madebetween
the two systems. Because ofthis,
applicationlayer firewalls may
perform most of the samesecurity
checks that areperformed
by
circuitlevel
firewalls,
including
checks against address spoofing. Applicationgateways are also capable of
performing
networkaddress translation.A diagram
oftheproxy
architecture
from
[17]
is
shownbelow.
Realclient
jgjsga^
JiSSL
JUKSu
InternalFigure 2.5
- ApplicationLayer
FirewallArchitecture
Application gateways are implemented as programs
running
ontop
of ahost operating
system.
Thus,
each packet must passup
theentire network protocol stack and then passinto
theapplication domain oftheproxy systembefore
being
inspected. Ifthepacketis
validated,it
must then pass back down the protocol stack
for
re-transmission.Because
ofthis necessary,intermediate
series ofsteps,applicationlayer firewalls
arecomparatively
slow solutions.Proxy
servers are beneficial becausethey
are able to understand and enforcehigher-level
protocolsthatpacket
filters
and circuitlevelfirewalls
cannot.Therefore,
proxiesare capable ofFirewall StrategiesUsingNetworkProcessors 12
performing
alarge variety
ofsecurity
operations,in
additiontothoseofmore primitivefirewalls.In
additiontoitems
such asuser authentication,they
are well suited toperform such things asconnection
logs
andNAT.
While
thelist
ofbenefits
for
proxiesis
rather extensive, thelist
ofnegatives
is equally long.
To
name afew,
running
aproxy
on a server often requiresmodifications to the native network stack.
Plus,
proxies are vulnerableif
ahacker
canfind
ahole in low-level
protocols thatdo
not reach the applicationlayer.Next,
a uniqueproxy
mustbe
writtenfor
each protected application and each new protocolmaking
scalability a poorquality.
Proxies listen
on the connection port of the application, thus you cannot runapplication servers on the
firewall
server.Most
importandy,
proxies add a significantperformance
delay
to the network.In
order tobalance
the authentication abilities ofproxiesand the speed ofpacket
filters,
it is
no surprisethatcombinational firewall systems aretypically
thenorm.
2.1.3.4
Dynamic Packet Filters
This
next type offirewall,
thedynamic
packetfilter,
is
a more recent type offirewall
technology. Dynamic packet
filters
combinebasic
packetfiltering
withthecreation ofdynamic
stateful rules
for
connections across thefirewall.
As
with packetfilters,
this type offirewall
ensures that allnetwork traffic conforms to thenetwork security
policy
by
validating the IP source/destination addresses and the TCP portnumbers of
existing
connections. When a connection request occurs, thefirewall
allows alimited
amount oftime
for
the receiver to respond.Assuming
a response occurs with theappropriate
IP
andTCP
portinformation,
the firewallmay deduce
theexistence of ahost
on anun-trusted network. The
dynamic
packetfilter
thenbegins storing limited
stateinformation,
similar to a circuit-levelfirewall.
However,
these connections are established with statefulrulesthat
may be
modified on thefly
(dynamically). Eachconnectionis
uniqueby
definition,
andthedynamic
rules reflectthe state ofthe connection atany
momentin
time. This occurs evenif
multiple connections exist between the same two
hosts,
and the connectionis
immediately
invalidated
if
the receiving hostdoes
not respond within the allotted portion of time.All
networktrafficassociatedwith a givenconnection
is
validatedby
anapplicationrunning
on thehost
machine, which allowsfor
more extensive security checksrelating
to the connection.Therefore,
this type offirewall
combines some of the characteristics ofboth
low-level andapplication
layer firewalls.
Dynamic
packetfilters
have
thegreatestsignificancewhen used with applications thatutilizetransportprotocols
for limited
information
requests.Typically
thisis
a stateless protocollike
UDP
orICMP. In
general,dynamic
packetfilters
areless
securethan applicationlayer
firewalls(there
is
no user authentication);however,
they
are more securethan circuit-level firewalls andpacket
filters.
Performance
characteristics placethisfirewall between
applicationlayer firewallsand
lower-level
types.2.1.3.5
Kernel Proxies
The
next type offirewall,
thekernel
proxy,is
another more recent approach at firewallimplementation.
This type offirewall
wasfound in
[17],
and wasintroducedas partofCisco'sCentri Firewallproduct.
As
thenameimplies,
kernel
proxies provideproxy security
services;however,
these servicesare
integrated into
thekernel
ratherthanoperating
attheapplicationlevel. Thegoal of akernelproxy is
to optimizetheefficiency
ofthefirewall
by handling
security functions
atonly
thelevels
oftheprotocol stackthatare applicable. This canbe illustrated using
some of thepreviously
discussed
firewalls. Packetfilters,
as mentioned, perform simple comparisons on network andtransport (i.e. IP and
TCP)
layer fields.
Fromanoperating
systemperspective, thesefields
arehandled relatively low in
the network stack. On the otherhand,
the user authentication thatmust
be
performedin
applicationlevel
firewallsrequires packetinformationtobe
passedup
theentire protocol stack
into
the applicationdomain
for processing
by
theproxy
server. In otherwords,
different firewalls
processinformationatdifferentlevels in
theprotocol stack.The
kernelproxy
methodologyattempts to combine thesecurityfeatures
ofboth low level
firewalls (packet
filters)
and high levelfirewalls
(application gateways)by
executing
thesecurity
services withinthe kernelspace andusingtheapplication
level
servicesonly
necessary. Whenapacket arrives, the information
is
passedup
the stack of appropriatekernel
proxies.At
eachlayer,
the appropriateproxy
service performsits
security checks and passes the packetto thenext
layer if
andonlyif
necessary(meaning
thepacketis
validatthe currentlayer). Each layer's
proxiesmay
maintain state information to make securitydecisions.
For
example, theCisco
Centri
implementationuseda set of eightkernelproxies [17].An
IPproxy handles
source andi A Matthew EMariani, June,2001
destination
addresschecks.Another proxy
existsfor TCP
variables. Higher-levelproxies alsoexist
for
activities such asFTP
andtelnet,
and couldforward
user authentication requests tohigher-level
extension applications as necessary.An
incoming
FTP request wouldbe
passedthroughthe
IP, TCP,
andFTP kernel
proxiesonly,ratherthan theentire protocol stack.By
implementing
theseproxy
services within thekernel,
this type offirewall
is
able toincrease
theperformanceofthefirewall
by
handling
security
checksexacdy
whenthey
shouldbe
performed.
Kernel
proxieshelp
avoid the case whereinvalid
network packets unnecessarilyreachtheapplication
layer for
processing.2.1.3.6
Stateful Inspection Firewalls
Similar
tokernel
proxies, the statefulinspection firewall is
ahybrid
ofthe threebasic
typesof
firewalls:
packetfilters,
circuitlevel
firewalls,
and application gateways. Like packetfilters,
this type of
firewall is
able tofilter
packets at the network layer.Using
knowledge
of theapplication
level
protocols, thefirewall is
able to maintain stateinformation
on allexisting
connections at the application level.
The
firewall
can then makedecisions
whether or not topermit certain communication or operations
based
on the current connection status. Forexample,
decisions
couldbe
made on userprivilegesortheconnection source anddestination.
Most
importandy,
mamtaining
state through the observation of application content allowsthe
firewall
to permit uninterrupted,direct
connections between a source anddestination
system.
While proxy
services (application gatewayfirewall)
require theusertobe
authenticatedby
thefirewall,
the statefulinspection
system makes thefirewall
transparent to end-usersby
recording
the state of the session(including
user authentication)between
the source anddestination
machine. In addition, stateful inspection eliminates the need to run a separateservice
(proxy)
for
eachapplicationlevelprotocol.Insummary, statefulinspection firewallsare ableto providethe
security features
of allthreebasic firewall
types, while adding alevel
oftransparency
notfound in
typical applicationgateways.
Naturally,
offering thishigh level
ofsecurityalong
withtransparency
makes statefulinspection
systemshighly
complexand oftenvery
expensive.-IC Matthew EMariani, June,2001
2.2
Firewall
Considerations
As
long
asthey
are the single pointofentry
to a protected network,firewalls
are effectivemeans of
providing
security.However,
firewalls
are not perfectin
all respects.This
sectionsummarizes the
limitations
andshortcomingsoffirewall
technology.2.2.1
Firewall
Limitations
The
botdeneck
problem,whichhas already been
introduced,
is
perhaps thekey
limitationtousing
afirewall for
network security.The
apparent speed ofthe protectednetworkis
direcdy
related to thequality
ofthefirewall.
As
the complexity,transparency,
andscalability
increase,
the performance
decreases. It
shouldbe
notedthatwhiletheperformanceimpactofthefirewall
is
adisadvantage,
thebottleneck for
network trafficis necessary
in order to centralize theapplication ofthenetwork's
security
policy.The
simplefirewall
architectures, packetfilters
and circuitlevel
firewalls,
exhibitthehighest
amount ofperformanceandefficiency,
but
sacrifice avariety ofdesirable
characteristicsin
order tomaintainhigh
filtering
speeds. Tobegin,
thesefirewall
typesarehighly
vulnerabletoso-called "content-related"attacks. Packet
filters
andcircuitlevel
firewalls
lacktheabilitytolookinto
thecontent carried the application layer protocols of a packet.
Thus,
the applicationlayer
canbe
used as a carrier
for
application attacks or the transfer of viruses. If an attackeris
able topenetrate the
firewall,
through techniques such as "IPspoofing," the protected network
is
completely
vulnerable to malicious traffic containedin
the applicationlayer
ofthe packets.A
secondshortcoming
of simplisticfirewalls is
the ability to perform user authentication.The
ability
to perform user authentication also requires thefirewall
tolook into
applicationlevel
information,
an ability that simplefilters
do
not possess, as just mentioned. Theability
tomaintain detailed state information
is
yet another characteristic that packetfilters
and circuitlevel firewalls do
not possess.Maintaining
thestate of an applicationlevel
connectionacross thefirewall
ensures thatvalid operations are occurringthroughout theduration
ofthe connection.A final
drawbackof packetfilters
is
inability
tomodify
the contentofpacketspassing
throughthe
firewall.
Thiswould allowthefirewalltoperformtechniquessuch asaddress redirection andnetwork address translation.
All
ofthese shortcomings mustbe
consideredwhenusing
simplefiltering
firewalls. Ifapplicationlevel filtrationis
required, amore complicated,althoughslower, firewallwillbe
required.There
are also avariety
oflimitations
thatare applicable tofirewall
technologiesin
general.One inherent
limitation
is
thedependence
on given protocols.Any
securitypolicy
mustbe
defined
withrespect toa specific set ofprotocols.For
example,filtering
firewalls
aretypically
implemented
tofilter
againstIP
orIPX
atthenetworklayer
andTCPor UDPat the transportlayer.
Similarly,
higher-level firewalls
depend
on theformat
ofthe application level protocols(i.e. FTP
and telnet).Introducing
anew protocolorapplicationto a networkusually
requires amodificationto the
firewall. This
processis
often adifficult
job,
especially for
simple,low level
filtering
architectures,wherescalability is
oftennotconsidered.Only
a small amount of modernfirewall
products allow theability
toeasily
add new or custom protocols to the protectednetwork.
Another
inherentdependency,
especially in
the case of applicationlevel
firewalls,
is
areliance on the
underlying operating
system. In most cases, applicationlevel
firewalls receivepacket
information
direcdy
from
theoperating
system.This
places an assumption that theunderlying OS is
reliableand secure.Unfortunately,
thisis
notnecessarily
true. Ifan attackeris
abletopenetrate theoperating
system,an applicationlevel firewall canbe
renderedineffective.It
is for
this reason that some commercial productshave
created secure, customizedoperating
systemsto supporttheirapplicationlevel firewalls.
2.2.2
Providing
Public Services
In
a protected network environment, there are often services towhich"un-trusted"
users
should
be
or need tobe
given access. Examplesinclude
web(http), FTP,
and DNS services.The
most popularimplementationfor
this scenariois
toprovide a separate networkbehind
thefirewall
that implements a security policy, differentfrom
that of theprimary
network, thatallowspublic accesstocertain services. Thisseparated network
is
oftencalledthe"demilitarized
zone,"
orDMZ
(see
Figure 2.6onthefollowing
page).A
popular addition to a DMZis
to implement network address translationfor
theDMZ
services. Each server on the DMZ can
be
assigned an external IP addressfor
thefirewall.
Incoming
requestsfor
these services can thenbe
translatedby
thefirewall
to their actual IPaddress on the network behind the firewall.
Therefore,
the DMZ configurationis
able to provide separated public services while stillmaintaininga certainlevel
of security.17 Matthew EManani, June,2001
External Network (i.e. InternetConnection)
Firewall DMZ
HSc
HTTP Servei
FTP Server
DNS Server
ProtectedNetwork
Figure 2.6
-Protected Network
with aDMZ for Public Services
2.3
Existing Technology
As described in
previoussections,thereare avariety
offirewall
classifications,each of whichadds a
different
aspecttofirewall
operation.Nearly
every
modern,high-end firewall
applicationis
constructedby
combining
various attributesfrom
each ofthebasic
types offirewalls into
asingle, more complicated solution.
This
section provides abrief
overview of someexisting
firewall technologies, from
[7].2.3.1
Commercial Products
The
most secure of modern firewall products arebased
on the statefulinspection
architectures. Stateful Inspection was patented
by
Check PointSoftware in
1999in
theirFirewall-1
product.A
key
of aspect ofFirewall-1is
thatit
operates withintheoperating
system,and
begins
inspecting
packetinformationbefore
the networklayer in
the protocol stack.This
feature is
similar to the kernelproxy
strategy ofperforming security functions early in
theprotocol stack,
in
order to avoid accessing the applicationlayer
aslittle
as possible.This,
ofcourse,
improves
performance. CYCON offers a secondfirewall
solutionbased
onStateful
Inspection
called Labyrinth. In addition to the properties of statefulinspection,
Labyrinth
advertises network address translation
(NAT)
abilitiesalong
with"intelligent
connectiontracking"
(ICT).
While NAT is
a concept associated with circuit-levelfirewalls,
the actualpurposeof
ICT is
toperformthefunction
of acircuit-levelfirewall.
Whenapacketarrives,ICTcircuit-level
firewalls
extract theIP
andTCP
connectioninformation,
whichis
then validatedagainsta statetableof
existing
connections.Of
course,aspart ofStatefulInspection,
Labyrinthcan also
be
configured to perform user authentication anddynamic filtering.
Another
StatefulInspection
firewall
productis NetGuard's Guardian Firewall System. Guardian's
architectureis
unique
in
thatits security
operations occurbeginning
at thedata link (i.e.
MAC)
layer.
Thisis
lower in
the protocolstack thanboth
Firewall-1 andLabyrinth.
Sun Microsystems addedtheirSunscreen SPF (an Internet gateway
firewall),
EFS (encryption
server withstrong
gatewayfunctionality),
andSKIP (end
user andremoteauthenticated communication)modelsto thelist
of
Stateful Inspection based firewalls.
TheSunscreen line
aims to provide an end-to-end suiteof
incrementally
moresecurefirewall
enforcementpoints.Several
modern architectures use the concepts of circuitlevel
anddynamic
packetfiltering
firewalls
andin
somecaseshave integrated
thesecomponentsinto
theOS kernel.
CyberGuard'sFirewalluses an approachthat
is
called"dynamicstatefulrule"
technology,
a versionofdynamicpacket filtering. Like
dynamic
packetfiltering,
CyberGuard's
system providespacket-filtering
functionality
with theability
to createdynamic
rules on a per connectionbasis.
In addition,secure network and OS-level
interfaces
have been built
direcdy
into
theoperating
system,thusproviding
a trustedfoundation for
thefirewall
application.A
similar productis
Milkyway'sSecurIT
FIREWALL. Like CyberGuard'sFirewall,
thisproductis
based on anoperating
systemthat
has
been"hardened"
to protect against attacks on insecure processes
running
at theOS
level.
The
GNATBox
Firewall,
from
GlobalTechnolgoy
Associates,
Inc.(GTA),
is based
onnetwork address translation (NAT).
As described
before,
NATcompletely hides
theinternal
network
from
theun-trustedworldby
eliminating
thepossibility
of adirect
connectionbetween
internal
and externalhosts.Simple
application gateway architectures(proxies)
are also a popularbasis for inexpensive
firewalls.
Trusted Information Systems' Gaundetfirewalls
andAxent's Raptor Firewall
areexamples ofsuch,providing sets of
highly
secureproxy
services. Theseproxy
services are abletoperformtheexpected activitiesof application
level
firewalls,
including
user authenticationandapplication command filtering. AltaVista provides another application
gateway based firewall
calledthe
Active
Firewall.As
thenameimplies,
akey
feature
ofthefirewall is
thatit
attemptsto-IQ Matthew EMariani, June,2001
actively detect
network attacks andsecurity
violations, and then reactsby
alerting anadministratoror
shutting
down
thefirewall.
The InterLock Firewall from
Advanced Networkand
Services,
Inc.
(ANS)
and theCyberwall
Plus firewall from Network-1
are applicationlevel
firewalls
that attempt to performintrusion
detection (this is described in
2.5.3),
in
addition toapplication
level
filtering
services.BorderWare from Secure
Computing,
IBM's eNetworkFirewall,
andUkiah's NetRoad FireWALL
provide applicationgateway
services that claim toenhance the
firewall
by
using "multiple levels
ofsecurity."
Thesemultiple
levels
ofsecurityareactually
packet and circuitlevel
filtering
services that are providedin
addition to theproxy
services ofthe
firewall.
Like CyberGuard's firewall
and theSecurIT
firewall,
BorderWare andIBM's
eNetworkfirewall
areexecutedonsecurity-hardenedoperating
systems.Secure Computing's Sidewinder Firewall
provides a unique approach to an applicationgateway
throughits Type Enforcement
technology.This
firewall
uses a specializedBSD Unixkernel
that executes various applicationsin different
"processdomains."
Presumably
theprocesses will need to communicate across
domain
boundaries. Type Enforcement stipulatesthat
any
communicationbetween any
processdomain
and anydata
typemustbe
given explicitpermission. For example, an FTP session
running in
one processdomain
musthave
explicitpermissiontoaccess a
file in
thedata domain.
The
following
systems are comprised of afirewall
appliancealong
withremote managementsoftware and are marketed ashardware/softwaresystems. WatchGuard
Technologies
claimstohave
produced thefirst
commercialfirewall
appliance called the WatchGuard System. Thisproduct,
based
on aPentiumsystem with remote managementsoftware, aims toprovideacost-effective
firewall
solution with all the major techniquesfor
firewallimplementation
including
packet
filtering,
proxies, and Stateful Inspection. Technologies InterceptorFirewall is
ahardware
and software solutionbased
onproxy
services. Cisco's PIX Firewallappliance offerspacket
filtering
andNATservices. It shouldbe
noted that most of these "hardware" systemsare
simply
PC-based systems enclosedin
a special, vendor marked case.A variety
ofrouterswithsimple packet
filtering
capabilitiesalso exist.A list
offirewall
vendorsis
providedin Appendix A
- FirewallVendors.Of) Matthew EMariani, June,2001
2.3.2
Observations
Clearly
thelist
ofcommercialfirewall
implementation
is
extensive.However,
by
studyingthese
technologies,
it is
possible to make several observations aboutexisting
technology.To
begin,
themajority
offirewalls
areimplemented
asasoftwareapplication.Many
oftheserun ontop
of theexisting
operating
system at the applicationlevel,
andin
some cases, securityenhancements
have been
made to theoperating
systemin
order toimprove
performance.However,
even whenimplemented
attheOS
level,
thebottleneck
problem