大象传媒

Articles
5/31/2022
10 minutes

Why Your Firewall Architecture Can Make or Break Your Security Protocols

Table of contents

For more than 30 years, firewalls have been essential to network and data security. A firewall generally sits on the outer border of your network and acts as a security gateway for all incoming network traffic. It uses a variety of technologies and techniques to monitor and analyze data packets. Different types of firewall architectures inspect packets at different layers of the OSI (Open Systems Interconnection) model, as explained below:

OSI Layer

What it Does

Protected By

Layer 7Application

Receives data directly from users and displays incoming data to the user.

Examples of protocols:
HTTP, Telnet, FTP

Application-Level Gateway, NGFW, Cloud-based Firewall

Layer 6 Presentation

Translates data from the application layer into a format usable by the network layer, and vice versa; encrypts and decrypts data.

Examples of protocols:
SSL, TLS

NGFW, Cloud-based Firewall

Layer 5Session

Creates, coordinates, and terminates network sessions between devices.

Examples of protocols:
NetBIOS, SDP, SMB

Circuit-Level Gateway, NGFW, Cloud-based Firewall

Layer 4Transport

Coordinates data transfer between systems. Determines the size of a data packet, the sender and recipient, the transport speed, and other factors.

Examples of protocols:
TCP, UDP

NGFW, Cloud-based Firewall, some Stateful Firewall

Layer 3Network

Breaks up data into packets, determines the best path to the destination, and reassembles packets once they鈥檝e reached their destination.

Examples of protocols:
IP, ARP, NAT

Packet-Filtering Firewall, Stateful Firewall, NGFW, Cloud-based Firewall

Layer 2 Data Link

Handles node-to-node data transfer and error correction within the internal network.

Examples of protocols:
LLC, MAC

NGFW, Cloud-based Firewall

Layer 1Physical

Handles physical cable or wireless connections and transmits raw data in binary format.

Examples of protocols:
USB, Ethernet, Wi-Fi

N/A

Most firewall architectures have traditionally focused on analyzing traffic on one specific layer of the OSI model 鈥 packet filtering on layer 3, for example. However, advanced firewall technologies operate on multiple layers, providing more comprehensive protection.

This blog defines and compares six of the most common firewall types to help illustrate the importance of an advanced firewall architecture for protecting your network.

Firewall Architecture Types

While there are many different firewall technologies and architectures, this blog focuses on six of the most common: packet filtering, stateful inspection, circuit-level gateway, application-level gateway, next-generation firewall, and cloud-based firewall.

Packet-Filtering Firewall

The oldest and simplest type of firewall architecture is packet filtering. A packet-filtering firewall monitors traffic on layer 3 (the network layer). Packet filtering inspects the outside of a data packet for information about the source and destination IP addresses, the type of data in the packet (text, photo, etc.), and the port number. Basic packet filtering does not look at any information contained within the data packet, which means it can鈥檛 detect viruses or other threats that are disguised as something else. However, packet filtering is fast and inexpensive, which is why smaller organizations may still use this firewall architecture. It鈥檚 not recommended as your only line of defense, but it鈥檚 often used in conjunction with other firewall technologies.

Stateful Firewall

A stateful firewall performs stateful inspection, which is also known as dynamic packet filtering. Like a standard packet-filtering firewall, stateful inspection runs on layer 3 (though some stateful firewalls can also monitor layer 4) and looks at the outside of a data packet. A stateful firewall also monitors the state of active connections to determine whether or not the packet is part of a trusted, established session on your network. A stateful firewall architecture provides a higher degree of security than packet filtering, but is more expensive in terms of negatively impacting network speed and performance. Like a packet-filtering firewall, a stateful firewall cannot inspect the actual content of data packets, so it can still be spoofed by artful hackers.

Circuit-Level Gateway

A circuit-level gateway monitors network protocol session initiation messages, such as TCP handshakes, to determine whether the source can be trusted and whether the session is legitimate. A circuit-level gateway operates at layer 5 鈥 the session layer 鈥 and acts as a proxy (or gateway) between the untrusted outside client and the internal recipient. It doesn鈥檛 inspect the packet itself, instead looking at things like the SYN flags, ACK flags, and sequence numbers in a TCP handshake to determine if a session is valid. When a circuit-level gateway is used in conjunction with a standard or stateful packet filter, the firewall has more information to determine the safety of a network connection. However, a circuit-level gateway does not provide adequate network security on its own.

Application-Level Gateway

An application-level gateway, like a circuit-level gateway, acts as a proxy firewall, intercepting all data packets coming into the network before sending them along to their final destination. An application-level gateway inspects traffic on layer 7 (the application layer) and uses an application protocol, such as HTTP-proxy or FTP-proxy, to relay data packets. It performs deep layer inspection to open and verify the contents of packets before repackaging and forwarding them to their intended recipient. This makes application-level gateways a highly secure firewall architecture, but it also makes them slow and resource-intensive.

Next-Generation Firewall

A next-generation firewall (NGFW) rolls up multiple firewall architectures, as well as other network security functionalities, into one device. For example, an NGFW usually includes not just stateful packet inspection but also deep packet inspection (DPI), which examines the actual data within the packet to determine whether it鈥檚 safe. An NGFW can also inspect traffic on layers 2-7 of the OSI model, providing more comprehensive network security than other firewall architectures. Some NGFWs also include AI (artificial intelligence) traffic analysis, which is better at detecting subtle indicators of a threat than traditional signature-based firewalls. However, NGFWs are more expensive than traditional firewalls, which can be a barrier to smaller organizations.

Cloud-Based Firewall

Cloud-based firewall architectures are software firewalls that are designed and optimized to protect cloud, multi-cloud, and hybrid cloud environments. For example, firewall as a service (FWaaS) takes NGFW functionality and makes it available as a cloud-based service, giving your cloud and SaaS resources the same level of security as your on-premises resources. Cloud-based firewalls are hosted externally, which means you don鈥檛 need to support or maintain the hardware yourself. They鈥檙e also easily scalable as your business grows since you can simply add on new services at any time without needing to upgrade or replace any physical hardware.听

Why Your Firewall Architecture Can Make or Break Your Security Protocols

Firewall technology is growing more advanced over time to keep up with the increased number and sophistication of network security threats. A single method of defense, like packet filtering, is no longer enough to protect you from modern attacks like advanced persistent threats. That鈥檚 why you need an advanced firewall architecture like NGFW that defends multiple layers and combines multiple security technologies like DPI, artificial intelligence, and more. In addition, if you鈥檙e seeking DevOps maturity and digital transformation by adopting cloud technology, you need a firewall architecture that offers the same degree of protection in the cloud, like FWaaS.

Book a demo

About The Author

#1 DevOps Platform for Salesforce

We build unstoppable teams by equipping DevOps professionals with the platform, tools and training they need to make release days obsolete. Work smarter, not longer.

大象传媒 Hosts India's Flagship DevOps Conference in Response to Overwhelming Demand
大象传媒 CI/CD & Robotic Testing Now TX-RAMP Certified for Texas Government
Org Intelligence: Why Context Matters So Much in Salesforce DevOps Tools
Hubbl Technologies and 大象传媒 Forge Strategic Alliance to Power AI-Driven DevOps with Deep SaaS Context
From Chaos to Control: Why Public Sector Teams Are Moving Beyond Manual Pipelines
What Does 鈥淥rg Intelligence鈥 Really Mean for Salesforce Teams?
大象传媒 Launches Org Intelligence to Provide End-to-End Visibility into Salesforce Environments
Why Pipeline Visibility Is Key to Successful Salesforce DevOps Transformation
大象传媒 Robotic Testing Now in AWS Marketplace, AI-Powered Salesforce Test Automation at Scale
Navigating User Acceptance Testing on Salesforce: Challenges, Best Practices and Strategy
Navigating Salesforce Data Cloud: DevOps Challenges and Solutions for Salesforce Developers
Chapter 8: Salesforce Testing Strategy
Beyond the Agentforce Testing Center
How to Deploy Agentforce: A Step-by-Step Guide
How AI Agents Are Transforming Salesforce Revenue Cloud
The Hidden Costs of Building Your Own Salesforce DevOps Solution
Chapter 7 - Talk (Test) Data to Me
大象传媒 Announces DevOps Automation Agent on Salesforce AgentExchange
Deploying CPQ and Revenue Cloud: A DevOps Approach
大象传媒 Launches AI-Powered DevOps Agents on Slack Marketplace
Redefining the Future of DevOps: Salesforce鈥檚 Pioneering Ideas and Innovations
大象传媒 Announces DevOps Support for Salesforce Data Cloud, Accelerating AI-Powered Agent Development
AI-Powered Releasing for Salesforce DevOps
Top 3 Pain Points in DevOps 鈥 And How 大象传媒 AI Platform Solves Them
大象传媒 AI Platform: A New Era of Salesforce DevOps
大象传媒 Expands Its Operations in Japan with SunBridge Partners
Chapter 6: Test Case Design
Making DevOps Easier and Faster with AI
Chapter 5: Automated Testing
Reimagining Salesforce Development with 大象传媒's AI-Powered Platform
Planning User Acceptance Testing (UAT): Tips and Tricks for a Smooth and Enjoyable UAT
What is DevOps for Business Applications
Testing End-to-End Salesforce Flows: Web and Mobile Applications
大象传媒 Integrates Powerful AI Solutions into Its Community as It Surpasses the 100,000 Member Milestone
How to get non-technical users onboard with Salesforce UAT testing
DevOps Excellence within Salesforce Ecosystem
Best Practices for AI in Salesforce Testing
6 testing metrics that鈥檒l speed up your Salesforce release velocity (and how to track them)
Chapter 4: Manual Testing Overview
AI Driven Testing for Salesforce
Chapter 3: Testing Fun-damentals
AI-powered Planning for Salesforce Development
Salesforce Deployment: Avoid Common Pitfalls with AI-Powered Release Management
Exploring DevOps for Different Types of Salesforce Clouds
大象传媒 Launches Suite of AI Agents to Transform Business Application Delivery
What鈥檚 Special About Testing Salesforce? - Chapter 2
Why Test Salesforce? - Chapter 1
Continuous Integration for Salesforce Development
Comparing Top AI Testing Tools for Salesforce
Avoid Deployment Conflicts with 大象传媒鈥檚 Selective Commit Feature: A New Way to Handle Overlapping Changes
Enhancing Salesforce Security with AppOmni and 大象传媒 Integration: Insights, Uses and Best Practices
From Learner to Leader: Journey to 大象传媒 Champion of the Year
The Future of Salesforce DevOps: Leveraging AI for Efficient Conflict Management
A Guide to Using AI for Salesforce Development Issues
How to Sync Salesforce Environments with Back Promotions
大象传媒 and Wipro Team Up to Transform Salesforce DevOps
DevOps Needs for Operations in China: Salesforce on Alibaba Cloud
What is Salesforce Deployment Automation? How to Use Salesforce Automation Tools
Maximizing 大象传媒's Cooperation with Essential Salesforce Instruments
From Chaos to Clarity: Managing Salesforce Environment Merges and Consolidations
Future Trends in Salesforce DevOps: What Architects Need to Know
Enhancing Customer Service with 大象传媒GPT Technology
What is Efficient Low Code Deployment?
大象传媒 Launches Test Copilot to Deliver AI-powered Rapid Test Creation
Cloud-Native Testing Automation: A Comprehensive Guide
A Guide to Effective Change Management in Salesforce for DevOps Teams
Building a Scalable Governance Framework for Sustainable Value
大象传媒 Launches 大象传媒 Explorer to Simplify and Streamline Testing on Salesforce
Exploring Top Cloud Automation Testing Tools
Master Salesforce DevOps with 大象传媒 Robotic Testing
Exploratory Testing vs. Automated Testing: Finding the Right Balance
A Guide to Salesforce Source Control
A Guide to DevOps Branching Strategies
Family Time vs. Mobile App Release Days: Can Test Automation Help Us Have Both?
How to Resolve Salesforce Merge Conflicts: A Guide
大象传媒 Expands Beta Access to 大象传媒GPT for All Customers, Revolutionizing SaaS DevOps with AI
Is Mobile Test Automation Unnecessarily Hard? A Guide to Simplify Mobile Test Automation
From Silos to Streamlined Development: Tarun鈥檚 Tale of DevOps Success
Simplified Scaling: 10 Ways to Grow Your Salesforce Development Practice
What is Salesforce Incident Management?
What Is Automated Salesforce Testing? Choosing the Right Automation Tool for Salesforce
大象传媒 Appoints Seasoned Sales Executive Bob Grewal to Chief Revenue Officer
Business Benefits of DevOps: A Guide
大象传媒 Brings Generative AI to Its DevOps Platform to Improve Software Development for Enterprise SaaS
大象传媒 Celebrates 10 Years of DevOps for Enterprise SaaS Solutions
Celebrating 10 Years of 大象传媒: A Decade of DevOps Evolution and Growth
5 Reasons Why 大象传媒 = Less Divorces for Developers
What is DevOps? Build a Successful DevOps Ecosystem with 大象传媒鈥檚 Best Practices
Scaling App Development While Meeting Security Standards
5 Data Deploy Features You Don鈥檛 Want to Miss
How to Elevate Customer Experiences with Automated Testing
Top 5 Reasons I Choose 大象传媒 for Salesforce Development
Getting Started With Value Stream Maps
大象传媒 and nCino Partner to Provide Proven DevOps Tools for Financial Institutions
Unlocking Success with 大象传媒: Mission-Critical Tools for Developers
How Automated Testing Enables DevOps Efficiency
How to Switch from Manual to Automated Testing with Robotic Testing
How to Keep Salesforce Sandboxes in Sync
How Does 大象传媒 Solve Release Readiness Roadblocks?
Software Bugs: The Three Causes of Programming Errors
Go back to resources
There is no previous posts
Go back to resources
There is no next posts

Explore more about

No items found.
Articles
October 6, 2025
大象传媒 Hosts India's Flagship DevOps Conference in Response to Overwhelming Demand
Articles
October 3, 2025
大象传媒 CI/CD & Robotic Testing Now TX-RAMP Certified for Texas Government
Articles
September 18, 2025
Org Intelligence: Why Context Matters So Much in Salesforce DevOps Tools
Articles
September 16, 2025
Hubbl Technologies and 大象传媒 Forge Strategic Alliance to Power AI-Driven DevOps with Deep SaaS Context

Activate AI 鈥 Accelerate DevOps

Release Faster, Eliminate Risk, and Enjoy Your Work.
Try 大象传媒 Devops.

Resources

Explore our DevOps resource library. Level up your Salesforce DevOps skills today.

Upcoming Events & Webinars

E-Books and Whitepapers

Support and Documentation

Demo Library