Master10 Proprietary Question Bank - Automated scraping, spidering, or harvesting is strictly prohibited.
Cybersecurity & Digital Safety25 Essential Exam Concepts
Firewall in Computer Networks: Architecture, Types & Security Guide
In computer networking and cybersecurity, a firewall is a specialized hardware appliance, software module, or cloud-native security service that monitors, inspects, and filters incoming and outgoing network traffic based on an organization's predetermined security policies. Deriving its name from physical construction firewalls—structural fireproof barriers built to prevent the horizontal spread of flames between adjoining rooms or buildings—a network firewall establishes a defensive barrier between a trusted internal private network (such as a corporate local area network) and an untrusted external network (most notably the public Internet). Operating at the perimeter, firewalls block unauthorized intrusions, thwart distributed denial-of-service probes, and stop data exfiltration.
The technical capabilities of firewalls have evolved across four generations corresponding to the Open Systems Interconnection (OSI) reference model. The first generation comprises Packet-Filtering Firewalls, which operate statelessly at OSI Layer 3 (Network) and Layer 4 (Transport), inspecting individual packet headers for source and destination IP addresses, port numbers, and protocol types (TCP, UDP, ICMP) without maintaining memory of previous packets. The second generation introduced Stateful Inspection Firewalls (developed by Check Point in 1993), which monitor active connection states inside a dynamic state table, verifying that incoming packets belong to an existing, legitimate, established communication session. The third generation developed Proxy Firewalls (Application-Level Gateways), operating at OSI Layer 7 (Application) to terminate and inspect traffic payloads for specific protocols like HTTP and FTP, completely masking the internal client's true IP address.
Modern enterprise networks deploy Next-Generation Firewalls (NGFW), which combine stateful inspection with Deep Packet Inspection (DPI), Intrusion Prevention Systems (IPS), real-time threat intelligence feeds, and encrypted SSL/TLS traffic decryption. Unlike legacy port-based filters, NGFWs possess granular application awareness, capable of distinguishing between legitimate web browsing and unauthorized file transfers executing over identical port numbers (such as Port 443). Additionally, specialized Web Application Firewalls (WAF) inspect HTTP/HTTPS application-layer traffic to protect online web applications from targeted exploits, including SQL injection and cross-site scripting (XSS). Rooted in the foundational security principle of "Default Deny" (wherein any traffic not explicitly permitted is automatically rejected), firewalls constitute the first line of defense in modern defense-in-depth cybersecurity architectures.