next-generation firewall (NGFW)
termKept in this browser · My desk
A stateful firewall whose policy can be written in terms of applications and users rather than ports, with deep packet inspection doing application identification and intrusion prevention on the traffic it admits: a market category Gartner defined in 2009.
The name describes a bundle, not a new mechanism: the connection table of stateful inspection, an application identification engine, an intrusion prevention engine, usually TLS decryption, and user identity, sold and managed as one box. What changed was the language of the rule base, from "TCP port 443 to any" to "this application, for this group". What did not change is the arithmetic: every engine added to the path divides the throughput, which is why vendors publish an NGFW figure next to the plain firewall figure.
Where the name came from. Gartner's analysts Greg Young and John Pescatore published "Defining the Next-Generation Firewall" in October 2009. Palo Alto Networks, summarizing it on its blog on 16 October 2009, reported Gartner's view that first-generation firewalls were "not effective in today's application and threat environment" because of "their dependence on port and protocol", and its recommendation to move to next-generation firewalls at the next refresh; the company claimed its App-ID then identified "900+ applications". Gartner's Magic Quadrant for enterprise network firewalls of 15 March 2010, by the same two analysts, recorded that firewalls had "begun to incorporate deep packet inspection intrusion prevention system (IPS) features" and that in 2009 market pressures accelerated demand for platforms able to detect and block sophisticated attacks and to "enforce granular security policy at the application (versus port and protocol) level". A market analyst, not an engineer, named this generation.
The bundle had a predecessor. The idea of putting several functions in one box is older than the name. The National Institute of Standards and Technology's (NIST) firewall guide of September 2009 already described unified threat management (UTM): "many firewalls combine multiple features into a single system", a typical UTM system having "a firewall, malware detection and eradication, sensing and blocking of suspicious network probes", with the trade-offs that the device must have every feature each objective needs and enough processor and memory to run them all at once. What the next-generation label added was not the bundle but the policy model, in which the application, identified whatever port it uses, and the user become the terms of the rule.
What is inside. NIST's firewall guide (SP 800-41 Revision 1, September 2009) had described the ingredient a year earlier as stateful inspection plus "stateful protocol analysis, referred to by some vendors as deep packet inspection". In practice an next-generation firewall (NGFW) passes each new flow through the stateful table, identifies the application (Palo Alto Networks' App-ID combines signatures, decryption, protocol decoders and heuristics in sequence and looks the policy up again once the application is known), runs intrusion prevention signatures on the reassembled stream, and, where configured, decrypts TLS to do all of that on content. Fortinet offers the same engines in flow-based mode, pattern matching on packets as they pass, or proxy-based mode, which reconstructs and holds content until it has been inspected.
How it changes the rule base. A port-based rule says what may cross; an application-based rule says who may run what. That moves effort from the network team to whoever maintains the application database: a new application, or a known one that changes behaviour, can move traffic from one rule to another overnight. Palo Alto Networks, for example, releases new App-IDs on a fixed monthly schedule precisely so that administrators can review their effect before it changes enforcement. Identity brings its own dependency, since the firewall must learn which user is behind an address from a directory, an agent or an authentication portal, and the rule is only as good as that mapping.
What encryption takes away. Most of an NGFW's identification works on what it can read. Operators described in RFC 8404 (July 2018) how encryption removes payload signatures from view, leaving the TLS server name and the ALPN (Application-Layer Protocol Negotiation) list in the clear; RFC 9849 (March 2026) standardizes Encrypted Client Hello, which hides the real server name too. An NGFW therefore either decrypts, with the certificate, privacy and performance costs that implies, or classifies on the shrinking wire image that remains.
What it costs. Vendors publish the price. Fortinet's FortiGate 120G datasheet defines its NGFW figure as "measured with Firewall, IPS and Application Control enabled" and gives 3.1 Gbps for it, against 39 Gbps for plain firewalling of large packets and 2.8 Gbps for "threat protection" with malware protection added: the full stack divides throughput by about 14 on that box, under different test conditions. Sizing from the plain firewall row is the classic mistake.
The firewall as a target. Because it terminates VPNs, exposes management interfaces and sits on the network edge, the NGFW is itself attack surface. Palo Alto Networks' advisory for CVE-2024-3400 (its identifier in the Common Vulnerabilities and Exposures list), published on 12 April 2024 with the maximum severity score of 10, describes a command injection in the GlobalProtect feature of PAN-OS 10.2, 11.0 and 11.1 that let "an unauthenticated attacker" execute arbitrary code "with root privileges on the firewall" when a GlobalProtect gateway or portal was configured; the issue was discovered in production use, the company credited Volexity with detecting it and reported an increasing number of attacks. Europe now regulates the product category directly: the Cyber Resilience Act lists "firewalls, intrusion detection and prevention systems" as class II important products, which from 11 December 2027 need third-party conformity assessment. Neighbours in this glossary: firewall, stateful firewall, deep packet inspection (DPI), App-ID, intrusion prevention system (IPS), Secure Sockets Layer (SSL) inspection, web application firewall (WAF), zero trust, secure access service edge (SASE) and Strata, Palo Alto Networks' network security family.
Also known as: ngfw, next generation firewall, nextgen firewall, firewall de próxima geração
Sources
- Gartner, Magic Quadrant for Enterprise Network Firewalls, G00174908, G. Young and J. Pescatore, 15 March 2010, copy hosted by Palo Alto Networks (read 2026-11-23): firewalls incorporating deep packet inspection IPS features; 2009 demand for next-generation firewalls enforcing policy at the application rather than port and protocol level
- Palo Alto Networks blog, Next-Generation Firewall Defined By Gartner, 16 October 2009 (read 2026-11-23): Gartner's note by Greg Young and John Pescatore; first-generation firewalls ineffective because of their dependence on port and protocol; App-ID claimed to identify 900+ applications
- Palo Alto Networks, PAN-OS 11.0 Administrator's Guide, App-ID Overview, read as a summary (read 2026-11-23): identification irrespective of port, protocol and encryption; signatures, decryption, decoders, heuristics, in order
- Fortinet, FortiGate 120G Series data sheet (read 2026-11-23): 39 Gbps firewall, 5.3 Gbps IPS, 3.1 Gbps NGFW, 2.8 Gbps threat protection, 3 M concurrent and 140,000 new TCP sessions per second; NGFW measured with firewall, IPS and application control
- NIST, SP 800-41 Rev. 1, Guidelines on Firewalls and Firewall Policy, K. Scarfone and P. Hoffman, September 2009 (read 2026-11-23): the state table and Table 2-1, sequence checks, NAT in the state table, UDP state by timeout, application firewalls and DPI, the performance questions
- Fortinet, FortiOS 7.6.7 Administration Guide, Inspection modes (read 2026-11-23): flow-based snapshot and pattern matching against proxy-based reconstruction
- Palo Alto Networks Security Advisory, CVE-2024-3400, PAN-OS: Arbitrary File Creation Leads to OS Command Injection Vulnerability in GlobalProtect, published 12 April 2024, updated 3 May 2024 (read 2026-11-23): CVSS 10.0 (critical); unauthenticated arbitrary code execution with root privileges on the firewall; PAN-OS 10.2, 11.0 and 11.1 with a GlobalProtect gateway or portal; discovered in production use; Volexity credited; increasing number of attacks; Cloud NGFW, Panorama and Prisma Access not affected
- Palo Alto Networks, PAN-OS 10.1 Upgrade Guide, Applications and Threats Content Updates (read 2026-11-23): new App-IDs released on the third Tuesday of every month to give a predictable window; modified App-IDs and threat signatures at least weekly; one package for application and threat signatures sharing the same decoders
- IETF, RFC 8404, Effects of Pervasive Encryption on Operators, K. Moriarty and A. Morton (eds.), July 2018 (read 2026-11-23): DPI identifies applications by payload signatures; encryption usually makes DPI of that layer impossible; SNI and ALPN in the clear
- IETF, RFC 9849, TLS Encrypted Client Hello, E. Rescorla, K. Oku, N. Sullivan and C. A. Wood, March 2026 (read 2026-11-23): the real server name encrypted; enterprise options to disable or intercept
- Regulation (EU) 2024/2847 (Cyber Resilience Act), EUR-Lex (read 2026-11-23): Annex III class II, firewalls and intrusion detection and prevention systems; Article 32 conformity procedures with a notified body; application from 11 December 2027