2
Most read
4
Most read
5
Most read
Why do we need Firewalls?
 Internet connectivity is a must for most people
and organizations
 especially for me 
 But a convenient Internet connectivity is an
invitation for intruders and hackers
 yet another example of tradeoff between convenience
and security
 Question: What do we mean by “convenient” Internet
connection?
 Firewall basically provides us an option to play
within the spectrum of this tradeoff
What is a Firewall?
 Effective means of protecting local
network of systems from network-based
security threats from outer world
while providing (limited) access to the outside
world (the Internet)
Firewall Basics
 The firewall is inserted between the internal
network and the Internet (a choke point)
 Establish a controlled link and protect the network
from Internet-based attacks
 keeps unauthorized users away,
 imposes restrictions on network services; only authorized
traffic is allowed
 Location for monitoring security-related events
 auditing, alarms can be implemented
 some firewalls supports IPSec, so VPNs can be
implemented firewall-to-firewall
 some firewalls support NAT (not so security
related)
 Open discussion: can’t we put one firewall for
each station within the local network? What
are pros and cons?
Firewall Characteristics - 1
 Design goals:
 All traffic from inside from/to outside must pass
through the firewall
 Only authorized traffic (defined by the local security
policy) will be allowed to pass
 The firewall itself should be immune to penetration
(use of trusted system with a secure operating
system)
Firewall Characteristics - 2
 General techniques for access control
 Service control
 Determines the types of Internet services that can be accessed
 Mostly using TCP/UDP port numbers
 Direction of traffic is important for the decision
 Some services are open for outbound, but not inbound (or vice
versa)
 User control
 Controls access to a service according to which user is
attempting to access it
 need to authenticate users. This is easy for internal users, but
what can be done for external ones?
 Behavior control
 Controls how particular services are used (e.g. filter e-mail for
spam control)
Firewall Limitations
 cannot protect from attacks bypassing it
 typical example: dial-in, dial-out
 cannot protect against internal threats
 e.g. fired sysadmin 
 cannot protect against transfer of all virus
infected programs or files
 because of heavy traffic and huge range of O/S &
file types
Types of Firewalls
 Packet-filtering routers
 Application-level gateways
 Circuit-level gateways (not common, so
skipped)
Packet-filtering Router
 Foundation of any firewall system
 Applies a set of rules to each incoming IP packet and
then forwards or discards the packet (in both
directions)
 The packet filter is typically set up as a list of rules
based on matches to fields in the IP or TCP header
 context is not checked
 Two default policies (discard or forward)
Packet-filtering Router
 Filtering rules are based on
 Source and Destination IP addresses
 Source and destination ports (services) and
transport protocols (TCP or UDP)
 Router’s physical interface
 Rules are listed and a match is tried to be
found starting with the first rule
 Action is either forward or discard
 Generally first matching rule is applied
 If no match, then default policy is used
 Default is either discard or forward
21
21
{our hosts}
Packet Filtering Examples
{our hosts}
{our hosts}
For data traffic in passive mode
Stateful Inspection
 Example E shows that
>1024 ports need to be opened
 not only due to FTP, all services have such a
structure
 <1024 ports are for servers, a client using a service
should use a local port number between 1024 and 16383
 So the firewall should keep track of the
currently opened >1024 ports
 A stateful inspection firewall keeps track of
outbound TCP connection with local port
numbers in a table and allow inbound traffic
for >1024 ports if there is an entry in that
table (see next slide for an example table)
Stateful Inspection
Packet-filtering Router
 Advantages:
 Simplicity
 High speed
 Transparency to users
 Disadvantages
 Difficulty of setting up packet filter rules
 configuration is error-prone
 a port is either open or close; no application layer
flexibility
 IP address spoofing
 attacker uses an internal IP address and hopes that packet
penetrates into the system
 countermeasure: do not accept internal IPs from external
interface
Application-level Gateway
 Application-level Gateway (proxy server)
 Acts as a relay of application-level traffic
 Proxy obtains application specific information from
the user and relays to the server
 Optionally authenticates the users
 Only allowable applications can pass through
 Feature-based processing is possible
 Additional processing overhead on each connection
Bastion Host
 A system identified by the firewall administrator
as a critical strong point in the network security
 Used in various firewall configuration (we’ll see now)
 The bastion host serves as a platform for an
application-level gateway
 i.e. a proxy
 Potentially exposed to "hostile" elements, hence
is secured to withstand this
 Trusted system
 Carefully configured and maintained
Firewall Configurations
 In addition to the use of simple
configuration of a single system (single
packet filtering router or single gateway),
more complex configurations are possible
Screened host firewall system
(dual-homed bastion host)
 Only packets from and to the bastion host are
allowed to pass through the router
 The bastion host performs authentication and
proxy functions
Dual-homed Bastion Host
 Good security because of two reasons:
 This configuration implements both packet-level and
application-level filtering
 An intruder must generally penetrate two separate
systems in order to get to the internal network
 This configuration also has flexibility in providing
direct Internet access to a public information
server, e.g. Web server
 by configuring the router
Screened-subnet Firewall System
 securer
 creates an isolated sub-network between routers
 Internet and private network have access to this subnet
 Traffic across the subnet is blocked
 This subnet is called DMZ (demilitarized zone)
 Internal network is invisible to the Internet
DMZ
Outside packet
filtering router
Inside packet
filtering router
Host-Based Firewalls
 Software module to secure individual hosts
filter packet flows
Available as add-on for many OSs
 Often used on servers
 Advantages:
additional layer of protection to organizational
firewall
tailored filter rules for specific host needs
protection from both internal / external attacks
Personal Firewall
 controls traffic flow to/from PC/workstation
 for both home or corporate use
 software module on PC
or in home cable/ADSL router/gateway
 typically less complex than standalone
firewalls
 primary role to deny unauthorized access
may also monitor/detect/block malware
activity

More Related Content

PPTX
Firewall security in computer network
PPT
Firewall Security Definition
PPTX
Firewall
PPTX
Types Of Firewall Security
PPTX
Proxy Presentation
PPTX
Firewall ( Cyber Security)
PPT
Lecture 4 firewalls
Firewall security in computer network
Firewall Security Definition
Firewall
Types Of Firewall Security
Proxy Presentation
Firewall ( Cyber Security)
Lecture 4 firewalls

What's hot (20)

PPT
FireWall
PPTX
Firewall presentation
PPT
firewall.ppt
PPT
Firewall Architecture
PDF
FIREWALL
PPTX
Denial of Service Attacks (DoS/DDoS)
PPTX
Firewall presentation
PPTX
Wireshark Basic Presentation
PPTX
OSI Layer Security
PPT
PPTX
PPTX
Firewall in Network Security
PPTX
Wireshark
PPT
Port Scanning
PPTX
Denial of service
PPTX
Firewall and its purpose
PPTX
Firewalls
PPTX
Virtual private network(vpn)
PPTX
Firewall and vpn
PPTX
Web application attacks
FireWall
Firewall presentation
firewall.ppt
Firewall Architecture
FIREWALL
Denial of Service Attacks (DoS/DDoS)
Firewall presentation
Wireshark Basic Presentation
OSI Layer Security
Firewall in Network Security
Wireshark
Port Scanning
Denial of service
Firewall and its purpose
Firewalls
Virtual private network(vpn)
Firewall and vpn
Web application attacks
Ad

Viewers also liked (20)

PPTX
8 cyber crimes
PPTX
Network Security through IP Packet Filtering
PPT
Firewalls
PPTX
Introduction of firewall slides
PPT
Document security & firewall
PDF
session7 Firewalls and VPN
PPT
Firewall
PPT
PPTX
Cyberterrorism
PPTX
Cyber Terrorism
PPTX
Cyber terrorism power point
PPTX
Data encryption
PPT
HOW TO EARN CISSP CERTIFICATION?
PPTX
Cyber terrorism
PPT
cyber terrorism
PPTX
Firewall, Trusted Systems,IP Security ,ESP Encryption and Authentication
PPTX
Cyber Terrorism
PPT
Cyber Terrorism Presentation
PPTX
Computer forensics and its role
PPSX
5 Cryptography Part1
8 cyber crimes
Network Security through IP Packet Filtering
Firewalls
Introduction of firewall slides
Document security & firewall
session7 Firewalls and VPN
Firewall
Cyberterrorism
Cyber Terrorism
Cyber terrorism power point
Data encryption
HOW TO EARN CISSP CERTIFICATION?
Cyber terrorism
cyber terrorism
Firewall, Trusted Systems,IP Security ,ESP Encryption and Authentication
Cyber Terrorism
Cyber Terrorism Presentation
Computer forensics and its role
5 Cryptography Part1
Ad

Similar to Firewalls (20)

PPT
Firewall Modified
PPTX
PPT
Introduction to Firewalls and functions.ppt
PPT
firewalls.ppt
PPTX
Firewalls by Puneet Bawa
PPT
Ch05 Network Defenses
DOCX
A firewall is a network security device.
PPT
Firewals in Network Security NS10
PPTX
Lec # 13 Firewall.pptx
PDF
[9] Firewall.pdf
PPT
Chapter_Five[1].ppt
PPT
PPTX
DOC
Firewall
PPTX
Cyber Security - Firewall and Packet Filters
PPTX
Firewall and Types of firewall
PPT
Lecture in network security and mobile computing
PPT
Net Defender
PPTX
firrewall and intrusion prevention system.pptx
PPT
Firewall
Firewall Modified
Introduction to Firewalls and functions.ppt
firewalls.ppt
Firewalls by Puneet Bawa
Ch05 Network Defenses
A firewall is a network security device.
Firewals in Network Security NS10
Lec # 13 Firewall.pptx
[9] Firewall.pdf
Chapter_Five[1].ppt
Firewall
Cyber Security - Firewall and Packet Filters
Firewall and Types of firewall
Lecture in network security and mobile computing
Net Defender
firrewall and intrusion prevention system.pptx
Firewall

More from University of Central Punjab (7)

PPTX
Microsoft windows
PPTX
Remote desktop and print server
PPT
Social and ethical issues in commerce
PPT
Security of information asset
PPT
Need for security
PPTX
VIOP , SKYPE and OOVOO
Microsoft windows
Remote desktop and print server
Social and ethical issues in commerce
Security of information asset
Need for security
VIOP , SKYPE and OOVOO

Recently uploaded (20)

PDF
IDM Crack 6.42 Build 42 Patch Serial Key 2025 Free New Version
PDF
Workplace Software and Skills - OpenStax
PDF
Cloud Native Aachen Meetup - Aug 21, 2025
PPTX
Human-Computer Interaction for Lecture 2
PDF
Building an Inclusive Web Accessibility Made Simple with Accessibility Analyzer
DOCX
Industrial Bio-Lynx: Advanced Biometric Solution for Workforce Management
PDF
PDF-XChange Editor Plus 10.7.0.398.0 Crack Free Download Latest 2025
PDF
Website Design & Development_ Professional Web Design Services.pdf
PDF
What Makes a Great Data Visualization Consulting Service.pdf
PDF
infoteam HELLAS company profile 2025 presentation
PDF
Engineering Document Management System (EDMS)
PPTX
Why 2025 Is the Best Year to Hire Software Developers in India
PPTX
Human Computer Interaction lecture Chapter 2.pptx
PDF
Top 10 Project Management Software for Small Teams in 2025.pdf
PPTX
Odoo ERP for Injection Molding Industry – Optimize Production & Reduce Scrap
PPTX
Foundations of Marketo Engage: Nurturing
PPTX
ROI Analysis for Newspaper Industry with Odoo ERP
PPTX
DevOpsDays Halifax 2025 - Building 10x Organizations Using Modern Productivit...
PDF
SOFTWARE ENGINEERING Software Engineering (3rd Edition) by K.K. Aggarwal & Yo...
PDF
Mobile App Backend Development with WordPress REST API: The Complete eBook
IDM Crack 6.42 Build 42 Patch Serial Key 2025 Free New Version
Workplace Software and Skills - OpenStax
Cloud Native Aachen Meetup - Aug 21, 2025
Human-Computer Interaction for Lecture 2
Building an Inclusive Web Accessibility Made Simple with Accessibility Analyzer
Industrial Bio-Lynx: Advanced Biometric Solution for Workforce Management
PDF-XChange Editor Plus 10.7.0.398.0 Crack Free Download Latest 2025
Website Design & Development_ Professional Web Design Services.pdf
What Makes a Great Data Visualization Consulting Service.pdf
infoteam HELLAS company profile 2025 presentation
Engineering Document Management System (EDMS)
Why 2025 Is the Best Year to Hire Software Developers in India
Human Computer Interaction lecture Chapter 2.pptx
Top 10 Project Management Software for Small Teams in 2025.pdf
Odoo ERP for Injection Molding Industry – Optimize Production & Reduce Scrap
Foundations of Marketo Engage: Nurturing
ROI Analysis for Newspaper Industry with Odoo ERP
DevOpsDays Halifax 2025 - Building 10x Organizations Using Modern Productivit...
SOFTWARE ENGINEERING Software Engineering (3rd Edition) by K.K. Aggarwal & Yo...
Mobile App Backend Development with WordPress REST API: The Complete eBook

Firewalls

  • 1. Why do we need Firewalls?  Internet connectivity is a must for most people and organizations  especially for me   But a convenient Internet connectivity is an invitation for intruders and hackers  yet another example of tradeoff between convenience and security  Question: What do we mean by “convenient” Internet connection?  Firewall basically provides us an option to play within the spectrum of this tradeoff
  • 2. What is a Firewall?  Effective means of protecting local network of systems from network-based security threats from outer world while providing (limited) access to the outside world (the Internet)
  • 3. Firewall Basics  The firewall is inserted between the internal network and the Internet (a choke point)  Establish a controlled link and protect the network from Internet-based attacks  keeps unauthorized users away,  imposes restrictions on network services; only authorized traffic is allowed  Location for monitoring security-related events  auditing, alarms can be implemented  some firewalls supports IPSec, so VPNs can be implemented firewall-to-firewall  some firewalls support NAT (not so security related)  Open discussion: can’t we put one firewall for each station within the local network? What are pros and cons?
  • 4. Firewall Characteristics - 1  Design goals:  All traffic from inside from/to outside must pass through the firewall  Only authorized traffic (defined by the local security policy) will be allowed to pass  The firewall itself should be immune to penetration (use of trusted system with a secure operating system)
  • 5. Firewall Characteristics - 2  General techniques for access control  Service control  Determines the types of Internet services that can be accessed  Mostly using TCP/UDP port numbers  Direction of traffic is important for the decision  Some services are open for outbound, but not inbound (or vice versa)  User control  Controls access to a service according to which user is attempting to access it  need to authenticate users. This is easy for internal users, but what can be done for external ones?  Behavior control  Controls how particular services are used (e.g. filter e-mail for spam control)
  • 6. Firewall Limitations  cannot protect from attacks bypassing it  typical example: dial-in, dial-out  cannot protect against internal threats  e.g. fired sysadmin   cannot protect against transfer of all virus infected programs or files  because of heavy traffic and huge range of O/S & file types
  • 7. Types of Firewalls  Packet-filtering routers  Application-level gateways  Circuit-level gateways (not common, so skipped)
  • 8. Packet-filtering Router  Foundation of any firewall system  Applies a set of rules to each incoming IP packet and then forwards or discards the packet (in both directions)  The packet filter is typically set up as a list of rules based on matches to fields in the IP or TCP header  context is not checked  Two default policies (discard or forward)
  • 9. Packet-filtering Router  Filtering rules are based on  Source and Destination IP addresses  Source and destination ports (services) and transport protocols (TCP or UDP)  Router’s physical interface  Rules are listed and a match is tried to be found starting with the first rule  Action is either forward or discard  Generally first matching rule is applied  If no match, then default policy is used  Default is either discard or forward
  • 10. 21 21 {our hosts} Packet Filtering Examples {our hosts} {our hosts} For data traffic in passive mode
  • 11. Stateful Inspection  Example E shows that >1024 ports need to be opened  not only due to FTP, all services have such a structure  <1024 ports are for servers, a client using a service should use a local port number between 1024 and 16383  So the firewall should keep track of the currently opened >1024 ports  A stateful inspection firewall keeps track of outbound TCP connection with local port numbers in a table and allow inbound traffic for >1024 ports if there is an entry in that table (see next slide for an example table)
  • 13. Packet-filtering Router  Advantages:  Simplicity  High speed  Transparency to users  Disadvantages  Difficulty of setting up packet filter rules  configuration is error-prone  a port is either open or close; no application layer flexibility  IP address spoofing  attacker uses an internal IP address and hopes that packet penetrates into the system  countermeasure: do not accept internal IPs from external interface
  • 14. Application-level Gateway  Application-level Gateway (proxy server)  Acts as a relay of application-level traffic  Proxy obtains application specific information from the user and relays to the server  Optionally authenticates the users  Only allowable applications can pass through  Feature-based processing is possible  Additional processing overhead on each connection
  • 15. Bastion Host  A system identified by the firewall administrator as a critical strong point in the network security  Used in various firewall configuration (we’ll see now)  The bastion host serves as a platform for an application-level gateway  i.e. a proxy  Potentially exposed to "hostile" elements, hence is secured to withstand this  Trusted system  Carefully configured and maintained
  • 16. Firewall Configurations  In addition to the use of simple configuration of a single system (single packet filtering router or single gateway), more complex configurations are possible
  • 17. Screened host firewall system (dual-homed bastion host)  Only packets from and to the bastion host are allowed to pass through the router  The bastion host performs authentication and proxy functions
  • 18. Dual-homed Bastion Host  Good security because of two reasons:  This configuration implements both packet-level and application-level filtering  An intruder must generally penetrate two separate systems in order to get to the internal network  This configuration also has flexibility in providing direct Internet access to a public information server, e.g. Web server  by configuring the router
  • 19. Screened-subnet Firewall System  securer  creates an isolated sub-network between routers  Internet and private network have access to this subnet  Traffic across the subnet is blocked  This subnet is called DMZ (demilitarized zone)  Internal network is invisible to the Internet DMZ Outside packet filtering router Inside packet filtering router
  • 20. Host-Based Firewalls  Software module to secure individual hosts filter packet flows Available as add-on for many OSs  Often used on servers  Advantages: additional layer of protection to organizational firewall tailored filter rules for specific host needs protection from both internal / external attacks
  • 21. Personal Firewall  controls traffic flow to/from PC/workstation  for both home or corporate use  software module on PC or in home cable/ADSL router/gateway  typically less complex than standalone firewalls  primary role to deny unauthorized access may also monitor/detect/block malware activity

Editor's Notes

  • #21: A host-based firewall is a software module used to secure an individual host. Such modules are available in many operating systems or can be provided as an add-on package. Like conventional standalone firewalls, host-resident firewalls filter and restrict the flow of packets. A common location for such firewalls is a server. There are several advantages to the use of a server-based or workstation-based firewall: • Filtering rules can be tailored to the host environment. Specific corporate security policies for servers can be implemented, with different filters for servers used for different application. • Protection is provided independent of topology. Thus both internal and external attacks must pass through the firewall. • Used in conjunction with standalone firewalls, the host-based firewall provides an additional layer of protection. A new type of server can be added to the network, with its own firewall, without the necessity of altering the network firewall configuration.
  • #22: A personal firewall controls the traffic between a personal computer or workstation on one side, and the Internet or enterprise network on the other side. Personal firewall functionality can be used in the home environment and on corporate intranets. Typically, the personal firewall is a software module on the personal computer. In a home environment with multiple computers connected to the Internet, firewall functionality can also be housed in a router that connects all of the home computers to a DSL, cable modem, or other Internet interface. Personal firewalls are typically much less complex than either server-based firewalls or standalone firewalls. The primary role of the personal firewall is to deny unauthorized remote access to the computer. The firewall can also monitor outgoing activity in an attempt to detect and block worms and other malware. An example of a personal firewall is the capability built in to the Mac OS X. When the user enables the personal firewall in Mac OS X, all inbound connections are denied except for those the user explicitly permits. For increased protection, advanced firewall features may be available, such as: Stealth mode hides the Mac on the Internet by dropping unsolicited communication packets, making it appear as though no Mac is present. UDP packets can be blocked, restricting network traffic to TCP packets only for open ports. The firewall may also supports logging, an important tool for checking on unwanted activity.