2082 9

CSC327 ยท 2082 ยท 5 marks

List and explain the types of firewall.

List and explain the types of firewall. [5]

CryptographyChapter 6: Network Security and Public Key InfrastructureFirewalls and their types

Quick answer

A firewall is a network security system that monitors and controls incoming and outgoing network traffic based on predetermined security rules. It establishes a barrier between a trusted internal network and untrusted external networks.

Types of Firewall


Firewall


Types of Firewall

1. Packet Filtering Firewall

  • Operates at the Network Layer (Layer 3) of the OSI model.
  • Inspects each packet passing through the network and filters them based on rules such as source IP, destination IP, port numbers, and protocols.
  • It does not examine the content of the packet.
  • Advantage: Fast and efficient.
  • Disadvantage: Cannot detect application-level attacks; stateless (does not track connection state).

2. Stateful Inspection Firewall (Dynamic Packet Filtering)

  • Operates at the Network and Transport Layer.
  • Tracks the state of active connections and makes filtering decisions based on the context of traffic (e.g., whether a packet is part of an established connection).
  • Maintains a state table to monitor ongoing sessions.
  • Advantage: More secure than simple packet filtering.
  • Disadvantage: Slower than packet filtering; cannot inspect application-layer data.

3. Application Layer Firewall (Proxy Firewall)

  • Operates at the Application Layer (Layer 7).
  • Acts as an intermediary (proxy) between the client and the server; it intercepts all messages entering and leaving the network.
  • Can inspect the full content of network traffic including HTTP, FTP, DNS, etc.
  • Advantage: Provides deep packet inspection; hides internal network details.
  • Disadvantage: Slower performance due to deep inspection; requires more resources.

4. Circuit-Level Gateway

  • Operates at the Session Layer (Layer 5).
  • Monitors TCP handshaking and session establishment to determine whether a requested session is legitimate.
  • Does not inspect the actual content of the packets.
  • Advantage: Faster than application-layer firewalls; hides internal network information.
  • Disadvantage: Cannot filter individual packets after the session is established.

5. Next-Generation Firewall (NGFW)

  • Combines the features of traditional firewalls with advanced capabilities such as:
    • Deep Packet Inspection (DPI)
    • Intrusion Prevention System (IPS)
    • Application awareness and control
    • SSL/TLS inspection
  • Can identify and block sophisticated attacks including malware and application-layer threats.
  • Advantage: Comprehensive security; highly effective against modern threats.
  • Disadvantage: Expensive and complex to configure.

Summary Table

TypeOSI LayerKey Feature
Packet FilteringNetwork (L3)Filters by IP/port rules
Stateful InspectionNetwork/TransportTracks connection state
Application Layer (Proxy)Application (L7)Deep content inspection
Circuit-Level GatewaySession (L5)Monitors TCP handshake
Next-Generation FirewallMultiple LayersDPI + IPS + App control

Short on time? The 1, 5 and 10 mark versions of this answer, flashcards and practice sets come with a program pass.