The four firewall generations β with OSI layer diagrams, a state table visualization, the break-and-inspect flow, and 10 scenario questions modeled on real CISSP exam items.
π§ͺ Take the 10-Question Quiz βEach generation adds intelligence. CISSP tests your ability to match a scenario to the right firewall type and identify what each can and cannot do.
Select a firewall type to see its OSI layer position, inspection logic, and key CISSP concepts.
Every packet is examined in complete isolation. The firewall has no memory of previous packets. It simply checks each packet's header fields against a set of rules (Access Control List) and either permits or denies it.
| # | Action | Protocol | Src IP | Dst IP | Dst Port |
|---|---|---|---|---|---|
| 1 | PERMIT | TCP | ANY | 10.0.0.5 | 443 |
| 2 | PERMIT | TCP | ANY | 10.0.0.5 | 80 |
| 3 | DENY | ICMP | ANY | 10.0.0.0/24 | β |
| 4 | DENY | ANY | ANY | ANY | ANY |
Rule 4 is the implicit deny β all traffic not explicitly permitted is dropped. This is a firewall best practice.
A stateful firewall maintains a state table β a record of every active TCP/UDP session. When a packet arrives, it's checked against both the ACL rules AND the state table. Return traffic is automatically permitted for established connections β no blanket inbound rules needed.
| Src IP | Dst IP | Src Port | Dst Port | Protocol | State |
|---|---|---|---|---|---|
| 192.168.1.10 | 203.0.113.5 | 54231 | 443 | TCP | ESTABLISHED |
| 192.168.1.25 | 8.8.8.8 | 45123 | 53 | UDP | ESTABLISHED |
| 192.168.1.33 | 172.16.0.1 | 62100 | 80 | TCP | SYN_SENT |
| β BLOCKED: Unsolicited ACK from 198.51.100.9 β 192.168.1.10:443 β No matching entry in state table | |||||
The last row shows stateful inspection catching an unsolicited ACK β a common technique used to map open ports. Packet filtering would not detect this.
The proxy acts as a full intermediary. The client connects to the proxy, not the server. The proxy inspects the entire application payload, then (if clean) creates a brand-new connection to the destination. The server only ever sees the proxy's IP β never the client's.
An NGFW is not a single technology β it's a platform that integrates multiple security functions at wire speed. The defining feature is application identification (App-ID): it can identify Facebook, BitTorrent, or Skype traffic regardless of port number.
All four firewall types across every CISSP-relevant dimension.
| Criteria | π΄ Packet Filter | π΅ Stateful | π’ App Proxy | π£ NGFW |
|---|---|---|---|---|
| OSI Layer(s)Basics | Layer 3 & 4 | Layer 3, 4, 5 | Layer 5 or 7 | Layers 2β7 |
| State TrackingBasics | β Stateless β each packet independent | β State table tracks all sessions | β Full connection termination | β Full state + much more |
| Inspection BasisBasics | IP address, port, protocol flag | IP, port, TCP flags, connection state | Full application payload + headers | Application, user, content, threat intel |
| PerformanceBasics | β‘ Fastest β minimal overhead | πΆ Fast β slight table overhead | π’ Slowest β full proxy overhead | πΆ Fast (hardware-accelerated ASICs) |
| Hides Internal Network?Basics | β No | β No (unless combined with NAT) | β Yes β server sees proxy IP only | πΆ Partial (NAT + App-ID) |
| Detects SYN FloodsCapabilities | β No | β Yes β sees half-open state entries | β Yes | β Yes + rate limiting |
| Inspects Payload ContentCapabilities | β No | β No | β Yes β full L7 content | β Yes β plus threat signatures |
| Application IdentificationCapabilities | β Port-based only | β Port-based only | πΆ Protocol-aware (HTTP/FTP/SMTP) | β App-ID regardless of port |
| SSL/TLS InspectionCapabilities | β No | β No | πΆ With additional config | β Built-in SSL decryption |
| User Identity PoliciesCapabilities | β IP-based only | β IP-based only | πΆ Some proxy auth | β LDAP/AD integration |
| Integrated IPSCapabilities | β No | β No | β No | β Yes β in-line threat prevention |
| CISSP Exam SignalsExam Signals | "ACL," "stateless," "IP/port rules," "high performance," "simple permit/deny," "router-based" | "state table," "connection tracking," "established sessions," "SYN flood," "return traffic," "dynamic rules" | "hides internal IPs," "terminates connection," "content inspection," "protocol-aware," "forward proxy," "strip attachments" | "application control," "App-ID," "user-based policy," "SSL inspection," "integrated IPS," "application regardless of port" |
| Common Exam TrapExam Signals | Assuming port 80 means HTTP β packet filter can't verify this | Thinking stateful inspects payload β it does NOT; only headers + state | Confusing circuit-level (L5, no payload) with application-level (L7, full content) | Choosing NGFW for SQL injection protection β use WAF instead for web app attacks |
Six scenarios directly modeled on CISSP exam question formats.
' OR 1=1 -- in a search field returns all customer records (SQL injection). The company needs protection against SQL injection, XSS, and CSRF attacks.Scenario-based items modeled on real exam format. Select the minimum firewall type that satisfies each requirement.
Answer 3 questions to identify the right firewall generation for any CISSP scenario.
Click each card to flip and reveal the mnemonic.
| If the question says⦠| Think⦠| Answer |
|---|---|---|
| "ACL," "permit/deny by IP and port," "stateless," "router-based," "no state tracking," "fastest option" | π΄ Header-only. No memory. No context. | Packet Filter |
| "state table," "established connections only," "SYN flood," "return traffic," "dynamic rules," "tracks sessions" | π΅ Has memory of every conversation. | Stateful Inspection |
| "hides internal IPs," "terminates connection," "content inspection," "forward proxy," "HTTP content filtering," "strips attachments" | π’ Opens the envelope. Re-sends in its own name. | Application Proxy |
| "App-ID," "application regardless of port," "user-based policy," "SSL inspection," "integrated IPS," "identify BitTorrent on 443" | π£ Knows app, user, and threat in one box. | NGFW |
| "SQL injection," "XSS," "CSRF," "OWASP Top 10," "protect web application," "application-layer web attacks" | Web app attacks need a specialist. | WAF (not NGFW) |
| "DMZ," "web servers between two firewalls," "screened subnet," "public servers isolated from internal" | Defense in depth architecture. | Screened Subnet / DMZ |