Articles
5/31/2022
10 minutes

Why Your Firewall Architecture Can Make or Break Your Security Protocols

Written by
Team Copado
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’ve 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’t 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’s not recommended as your only line of defense, but it’s 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’t 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’s 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’t need to support or maintain the hardware yourself. They’re 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’s 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’re 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.

Chapter 5: Automated Testing
Reimagining Salesforce Development with Copado's AI-Powered Platform
Planning User Acceptance Testing (UAT): Tips and Tricks for a Smooth and Enjoyable UAT
What is DevOps for Business Applications
Copado Integrates Powerful AI Solutions into Its Community as It Surpasses the 100,000 Member Milestone
Testing End-to-End Salesforce Flows: Web and Mobile Applications
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’ll speed up your Salesforce release velocity (and how to track them)
Chapter 4: Manual Testing Overview
AI Driven Testing for Salesforce
AI-powered Planning for Salesforce Development
Chapter 3: Testing Fun-damentals
Salesforce Deployment: Avoid Common Pitfalls with AI-Powered Release Management
Exploring DevOps for Different Types of Salesforce Clouds
Copado Launches Suite of AI Agents to Transform Business Application Delivery
What’s 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 Copado’s Selective Commit Feature: A New Way to Handle Overlapping Changes
From Learner to Leader: Journey to Copado Champion of the Year
Enhancing Salesforce Security with AppOmni and Copado Integration: Insights, Uses and Best Practices
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
Copado 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 Copado's Cooperation with Essential Salesforce Instruments
Future Trends in Salesforce DevOps: What Architects Need to Know
From Chaos to Clarity: Managing Salesforce Environment Merges and Consolidations
Enhancing Customer Service with CopadoGPT Technology
What is Efficient Low Code Deployment?
Copado 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
Copado Launches Copado Explorer to Simplify and Streamline Testing on Salesforce
Exploring Top Cloud Automation Testing Tools
Master Salesforce DevOps with Copado 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
Copado Expands Beta Access to CopadoGPT 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’s 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
Copado Appoints Seasoned Sales Executive Bob Grewal to Chief Revenue Officer
Business Benefits of DevOps: A Guide
Copado Brings Generative AI to Its DevOps Platform to Improve Software Development for Enterprise SaaS
Celebrating 10 Years of Copado: A Decade of DevOps Evolution and Growth
Copado Celebrates 10 Years of DevOps for Enterprise SaaS Solutions
5 Reasons Why Copado = Less Divorces for Developers
What is DevOps? Build a Successful DevOps Ecosystem with Copado’s Best Practices
Scaling App Development While Meeting Security Standards
5 Data Deploy Features You Don’t Want to Miss
Top 5 Reasons I Choose Copado for Salesforce Development
How to Elevate Customer Experiences with Automated Testing
Getting Started With Value Stream Maps
Copado and nCino Partner to Provide Proven DevOps Tools for Financial Institutions
Unlocking Success with Copado: Mission-Critical Tools for Developers
How Automated Testing Enables DevOps Efficiency
How to Keep Salesforce Sandboxes in Sync
How to Switch from Manual to Automated Testing with Robotic Testing
Best Practices to Prevent Merge Conflicts with Copado 1 Platform
Software Bugs: The Three Causes of Programming Errors
How Does Copado Solve Release Readiness Roadblocks?
Why I Choose Copado Robotic Testing for my Test Automation
How to schedule a Function and Job Template in DevOps: A Step-by-Step Guide
Delivering Quality nCino Experiences with Automated Deployments and Testing
Best Practices Matter for Accelerated Salesforce Release Management
Maximize Your Code Quality, Security and performance with Copado Salesforce Code Analyzer
Upgrade Your Test Automation Game: The Benefits of Switching from Selenium to a More Advanced Platform
Three Takeaways From Copa Community Day
Cloud Native Applications: 5 Characteristics to Look for in the Right Tools
Using Salesforce nCino Architecture for Best Testing Results
How To Develop A Salesforce Testing Strategy For Your Enterprise
What Is Multi Cloud: Key Use Cases and Benefits for Enterprise Settings
5 Steps to Building a Salesforce Center of Excellence for Government Agencies
Salesforce UI testing: Benefits to Staying on Top of Updates
Benefits of UI Test Automation and Why You Should Care
Types of Salesforce Testing and When To Use Them
Copado + DataColada: Enabling CI/CD for Developers Across APAC
What is Salesforce API Testing and It Why Should Be Automated
Machine Learning Models: Adapting Data Patterns With Copado For AI Test Automation
Automated Testing Benefits: The Case For As Little Manual Testing As Possible
Beyond Selenium: Low Code Testing To Maximize Speed and Quality
UI Testing Best Practices: From Implementation to Automation
How Agile Test Automation Helps You Develop Better and Faster
Salesforce Test Cases: Knowing When to Test
DevOps Quality Assurance: Major Pitfalls and Challenges
11 Characteristics of Advanced Persistent Threats (APTs) That Set Them Apart
7 Key Compliance Regulations Relating to Data Storage
7 Ways Digital Transformation Consulting Revolutionizes Your Business
Go back to resources
There is no previous posts
Go back to resources
There is no next posts

Explore more about

No items found.
No items found.

Activate AI — Accelerate DevOps

Release Faster, Eliminate Risk, and Enjoy Your Work.
Try Copado Devops.

Resources

Level up your Salesforce DevOps skills with our resource library.

Upcoming Events & Webinars

Explore Events

E-Books and Whitepapers

Read and Learn

Support and Documentation

Documentation Home

Demo Library

Watch Demos Now