RFC 9411
Benchmarking Methodology for Network Security Device Performance
๐ RFC 9411: Benchmarking Methodology for Network Security Device Performance ๐
Okay bestie, this one is SO important ๐ It's the IETF's big glow-up of the old firewall testing guide. Here's the title block tea โ
Authors: B. Balarajah, C. Rossenhoevel (EANTC AG), and B. Monkman (NetSecOPEN) ๐ง
Category: Informational ๐ (so it's not a Standards Track spec, just vibes and guidance ๐ธ)
Date: March 2023 ๐๏ธ
It obsoletes RFC 3511 ๐ (RIP old firewall benchmark, we love a replacement arc ๐ซถ). It doesn't update anything else.
ISSN: 2070-1721 ๐ฅ
Abstract โจ
Okay so this doc gives you benchmarking terminology and methodology for next-generation network security devices ๐ก๏ธ, which means NGFWs (next-generation firewalls) and NGIPSs (next-generation intrusion prevention systems) ๐. It covers test terminology, test configuration parameters, and the benchmarking methodology for both. (It's assumed you already know these devices and their security features, bestie, so no babysitting ๐)
The whole goal is to make benchmarks more applicable, reproducible, and transparent ๐, and to line up the test methodology with today's increasingly complex, layer 7, security-centric app use cases ๐. Because of all that, this document makes RFC 3511 obsolete ๐
Status of This Memo โจ
This is not an Internet Standards Track spec ๐ โโ๏ธ. It's published for informational purposes only, periodt ๐.
It's still a product of the IETF ๐ซถ, representing the consensus of the IETF community ๐ธ. It got public review and was approved for publication by the Internet Engineering Steering Group (IESG) ๐. Not every IESG-approved doc is a candidate for any level of Internet Standard, though, so see Section 2 of RFC 7841 for that ๐ง.
For the current status, errata, and how to send feedback, check https://www.rfc-editor.org/info/rfc9411 ๐ฆ.
Copyright Notice โจ
Copyright (c) 2023 IETF Trust and the persons identified as the document authors. All rights reserved ๐.
This doc is subject to BCP 78 and the IETF Trust's Legal Provisions Relating to IETF Documents (https://trustee.ietf.org/license-info) as in effect on the publication date ๐. Read them carefully, because they explain your rights and restrictions ๐. Also, any Code Components pulled out of this document must include Revised BSD License text, as described in Section 4.e of the Trust Legal Provisions, and they come without warranty as described in the Revised BSD License ๐.
Table of Contents ๐ฆ
1. Introduction
2. Requirements Language
3. Scope
4. Test Setup
4.1. Testbed Configuration
4.2. DUT/SUT Configuration
4.2.1. Security Effectiveness Configuration
4.3. Test Equipment Configuration
4.3.1. Client Configuration
4.3.2. Backend Server Configuration
4.3.3. Traffic Flow Definition
4.3.4. Traffic Load Profile
5. Testbed Considerations
6. Reporting
6.1. Introduction
6.2. Detailed Test Results
6.3. Benchmarks and Key Performance Indicators
7. Benchmarking Tests
7.1. Throughput Performance with Application Traffic Mix
7.1.1. Objective
7.1.2. Test Setup
7.1.3. Test Parameters
7.1.4. Test Procedures and Expected Results
7.2. TCP Connections Per Second with HTTP Traffic
7.2.1. Objective
7.2.2. Test Setup
7.2.3. Test Parameters
7.2.4. Test Procedures and Expected Results
7.3. HTTP Throughput
7.3.1. Objective
7.3.2. Test Setup
7.3.3. Test Parameters
7.3.4. Test Procedures and Expected Results
7.4. HTTP Transaction Latency
7.4.1. Objective
7.4.2. Test Setup
7.4.3. Test Parameters
7.4.4. Test Procedures and Expected Results
7.5. Concurrent TCP Connection Capacity with HTTP Traffic
7.5.1. Objective
7.5.2. Test Setup
7.5.3. Test Parameters
7.5.4. Test Procedures and Expected Results
7.6. TCP or QUIC Connections per Second with HTTPS Traffic
7.6.1. Objective
7.6.2. Test Setup
7.6.3. Test Parameters
7.6.4. Test Procedures and Expected Results
7.7. HTTPS Throughput
7.7.1. Objective
7.7.2. Test Setup
7.7.3. Test Parameters
7.7.4. Test Procedures and Expected Results
7.8. HTTPS Transaction Latency
7.8.1. Objective
7.8.2. Test Setup
7.8.3. Test Parameters
7.8.4. Test Procedures and Expected Results
7.9. Concurrent TCP or QUIC Connection Capacity with HTTPS
Traffic
7.9.1. Objective
7.9.2. Test Setup
7.9.3. Test Parameters
7.9.4. Test Procedures and Expected Results
8. IANA Considerations
9. Security Considerations
10. References
10.1. Normative References
10.2. Informative References
Appendix A. Test Methodology - Security Effectiveness Evaluation
A.1. Test Objective
A.2. Testbed Setup
A.3. Test Parameters
A.3.1. DUT/SUT Configuration Parameters
A.3.2. Test Equipment Configuration Parameters
A.4. Test Results Validation Criteria
A.5. Measurement
A.6. Test Procedures and Expected Results
A.6.1. Step 1: Background Traffic
A.6.2. Step 2: CVE Emulation
Appendix B. DUT/SUT Classification
Acknowledgements
Contributors
Authors' Addresses
1. Introduction ๐ธ
Okay, so it's been 18 years since the IETF first recommended test methodology and terminology for firewalls [RFC3511] ๐ญ. Firewalls have come a LONG way from the days of simple access control list (ACL) filters ๐ . As the tech gets better, the need for recommended test methodology, terminology, requirements, and expectations for network security elements has grown SO much ๐. Security functions have diversified into intrusion detection and prevention, threat management, analysis of encrypted traffic, and more ๐. In an industry this important, well-defined and reproducible key performance indicators (KPIs) are needed so comparisons of network security functions are fair and reasonable ๐ฏ. That's why a new next-generation network security device benchmarking doc was created, and it makes [RFC3511] obsolete ๐ซถ.
The measurement of performance for processing IP-fragmented traffic (see Section 5.9 of [RFC3511]) is NOT included here ๐ โโ๏ธ, since IP fragmentation doesn't really show up in traffic anymore, unlike when [RFC3511] was written ๐. Also, [RFC2647] still has huge value and got consulted a lot while writing this ๐๐ฆ.
For a more detailed explanation of what an NGFW is, check the Wikipedia article [Wiki-NGFW] โจ.
2. Requirements Language ๐
The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "NOT RECOMMENDED", "MAY", and "OPTIONAL" in this document are to be interpreted as described in BCP 14 [RFC2119] [RFC8174] when, and only when, they appear in all capitals, as shown here ๐.
3. Scope ๐ง
This doc gives testing terminology and testing methodology for modern and next-generation network security devices that are configured in Active ("Inline", see Figures 1 and 2) mode ๐ก๏ธ. It covers validating the security effectiveness configurations of network security devices, followed by performance benchmark testing ๐ฅ. It's all about advanced, realistic, and reproducible testing methods โจ. It also describes testbed environments, test tool requirements, and test result formats ๐.
The performance testing methodology described here is not meant for security devices or systems that rely on machine learning or behavioral analysis ๐ค. If those features are present in a Device Under Test / System Under Test (DUT/SUT), they SHOULD be disabled ๐.
4. Test Setup ๐
The test setup in this doc applies to all the benchmarking tests in Section 7 ๐ฆ. The test setup MUST be contained within an isolated test environment (see Section 3 of [RFC6815]) ๐.
Part 1 of 13 done, bestie ๐ซถ Say "next" and I'll drop part 2 with the rest of Section 4 and onward ๐
4.1. Testbed Configuration โจ
okay bestie, the testbed has ONE job ๐ and that's making sure any slowdowns we find during benchmarking are because of the DUT/SUT itself, NOT because the physical network is holding it back. so the testbed config MUST make sure of that. ๐ things like how many physical links you've got and how fast the network devices forward traffic (throughput and latency) can't be the bottleneck. so this doc recommends skipping external devices like switches and routers in the testbed wherever possible ๐ฆ
ngl there's a sneaky extra issue too. in some deployments the security devices (DUT/SUT) are plugged into routers and switches, and those reduce the number of entries in the MAC (Media Access Control) and Address Resolution Protocol / Neighbor Discovery (ARP/ND) tables of the DUT/SUT. but if those tables have a LOT of entries, that can hit the DUT/SUT's performance because of how it looks things up in them ๐ so instead of adding external routers, this doc also recommends using test equipment that can emulate layer 3 routing. no extra routers needed, slay ๐
the testbed setup for Option 1 (Figure 1) is the RECOMMENDED testbed setup for the benchmarking test ๐ธ
+-----------------------+ +-----------------------+
| +-------------------+ | +-----------+ | +-------------------+ |
| | Emulated Router(s)| | | | | | Emulated Router(s)| |
| | (Optional) | +----- DUT/SUT +-----+ (Optional) | |
| +-------------------+ | | | | +-------------------+ |
| +-------------------+ | +-----------+ | +-------------------+ |
| | Clients | | | | Servers | |
| +-------------------+ | | +-------------------+ |
| | | |
| Test Equipment | | Test Equipment |
+-----------------------+ +-----------------------+
Figure 1: Testbed Setup - Option 1
if the test equipment CAN'T emulate OSI layer 3 routing, or the number of ports used doesn't match between the test equipment and the DUT/SUT (which you need for test equipment port aggregation), you can set things up like Figure 2 instead ๐ง
+-------------------+ +-----------+ +--------------------+
|Aggregation Switch/| | | | Aggregation Switch/|
| Router +------+ DUT/SUT +------+ Router |
| | | | | |
+----------+--------+ +-----------+ +--------+-----------+
| |
| |
+-----------+-----------+ +-----------+-----------+
| | | |
| +-------------------+ | | +-------------------+ |
| | Emulated Router(s)| | | | Emulated Router(s)| |
| | (Optional) | | | | (Optional) | |
| +-------------------+ | | +-------------------+ |
| +-------------------+ | | +-------------------+ |
| | Clients | | | | Servers | |
| +-------------------+ | | +-------------------+ |
| | | |
| Test Equipment | | Test Equipment |
+-----------------------+ +-----------------------+
Figure 2: Testbed Setup - Option 2
4.2. DUT/SUT Configuration ๐
the SAME DUT/SUT configuration MUST be used for every benchmarking test in Section 7 ๐ซถ and since every DUT/SUT has its own unique setup, users MUST configure their devices with the same parameters and security features they'd use in the real deployment, or a typical one. ๐ญ the DUT/SUT MUST also be set to "Inline" mode so the traffic is actively inspected by the DUT/SUT. it's giving real-world vibes, no cap ๐
Tables 2 and 3 below describe the RECOMMENDED and OPTIONAL sets of network security features for NGFWs and NGIPSs, respectively. if the recommended security features aren't enabled on the DUT/SUT for ANY reason, that reason MUST be reported with the benchmarking test results ๐ like, one reason for skipping the anti-virus feature on an NGFW might be that a particular customer's deployment didn't need it. it MUST also be noted in the test report that NOT enabling the recommended features may impact the DUT/SUT's performance ๐ and the selected security features MUST be consistently enabled on the DUT/SUT for all benchmarking tests in Section 7. no switching it up mid-test, bestie ๐ โโ๏ธ
for repeatability (main character behavior, honestly ๐ฆ), a summary of the DUT/SUT configuration, including a description of ALL enabled DUT/SUT features, MUST be published with the benchmarking results.
the table below gives a quick rundown of each security feature. these are approximate taxonomies of features commonly found in NGFWs and NGIPSs that are deployed right now. the features in a specific implementation may have different names and might not line up with the taxonomy at all, so don't panic if the settings look different ๐ธ
+================+==================================================+
| DUT/SUT | Description |
| Features | |
+================+==================================================+
| TLS Inspection | The DUT/SUT intercepts and decrypts |
| | inbound HTTPS traffic between servers and |
| | clients. Once the content inspection has |
| | been completed, the DUT/SUT encrypts the |
| | HTTPS traffic with ciphers and keys used |
| | by the clients and servers. For TLS 1.3, |
| | the DUT works as a middlebox (proxy) and |
| | holds the certificates and Pre-Shared Keys |
| | (PSKs) that are trusted by the client and |
| | represent the identity of the real server. |
+----------------+--------------------------------------------------+
| IDS/IPS | The DUT/SUT detects and blocks exploits |
| | targeting known and unknown |
| | vulnerabilities across the monitored |
| | network. |
+----------------+--------------------------------------------------+
| Anti-Malware | The DUT/SUT detects and prevents the |
| | transmission of malicious executable code |
| | and any associated communications across |
| | the monitored network. This includes data |
| | exfiltration as well as command and |
| | control channels. |
+----------------+--------------------------------------------------+
| Anti-Spyware | Anti-Spyware is a subcategory of Anti- |
| | Malware. Spyware transmits information |
| | without the user's knowledge or |
| | permission. The DUT/SUT detects and |
| | blocks the initial infection or |
| | transmission of data. |
+----------------+--------------------------------------------------+
| Anti-Botnet | The DUT/SUT detects and blocks traffic to |
| | or from botnets. |
+----------------+--------------------------------------------------+
| Anti-Evasion | The DUT/SUT detects and mitigates attacks |
| | that have been obfuscated in some manner. |
+----------------+--------------------------------------------------+
| Web Filtering | The DUT/SUT detects and blocks malicious |
| | websites, including defined |
| | classifications of websites across the |
| | monitored network. |
+----------------+--------------------------------------------------+
| Data Loss | The DUT/SUT detects and prevents data |
| Protection | breaches and data exfiltration, or it |
| (DLP) | detects and blocks the transmission of |
| | sensitive data across the monitored |
| | network. |
+----------------+--------------------------------------------------+
| Certificate | The DUT/SUT validates certificates used in |
| Validation | encrypted communications across the |
| | monitored network. |
+----------------+--------------------------------------------------+
| Logging and | The DUT/SUT logs and reports all traffic |
| Reporting | at the flow level across the monitored |
| | network. |
+----------------+--------------------------------------------------+
| Application | The DUT/SUT detects known applications as |
| Identification | defined within the traffic mix selected |
| | across the monitored network. |
+----------------+--------------------------------------------------+
| Deep Packet | The DUT/SUT inspects the content of the |
| Inspection | data packet. |
| (DPI) | |
+----------------+--------------------------------------------------+
Table 1: Security Feature Description
Alright bestie, the security features are where it gets spicy ๐ถ๏ธ๐ Table 2 is the NGFW lineup and Table 3 is the NGIPS lineup ๐
+============================+=============+==========+
| DUT/SUT (NGFW) Features | RECOMMENDED | OPTIONAL |
+============================+=============+==========+
| TLS Inspection | x | |
+----------------------------+-------------+----------+
| IDS/IPS | x | |
+----------------------------+-------------+----------+
| Anti-Spyware | x | |
+----------------------------+-------------+----------+
| Anti-Virus | x | |
+----------------------------+-------------+----------+
| Anti-Botnet | x | |
+----------------------------+-------------+----------+
| Anti-Evasion | x | |
+----------------------------+-------------+----------+
| Web Filtering | | x |
+----------------------------+-------------+----------+
| Data Loss Protection (DLP) | | x |
+----------------------------+-------------+----------+
| DDoS Protection | | x |
+----------------------------+-------------+----------+
| Certificate Validation | | x |
+----------------------------+-------------+----------+
| Application Identification | x | |
+----------------------------+-------------+----------+
Table 2: NGFW Security Features
+==============================+=============+==========+
| DUT/SUT (NGIPS) Features | RECOMMENDED | OPTIONAL |
+==============================+=============+==========+
| TLS Inspection | x | |
+------------------------------+-------------+----------+
| Anti-Malware | x | |
+------------------------------+-------------+----------+
| Anti-Spyware | x | |
+------------------------------+-------------+----------+
| Anti-Botnet | x | |
+------------------------------+-------------+----------+
| Application Identification | x | |
+------------------------------+-------------+----------+
| Deep Packet Inspection (DPI) | x | |
+------------------------------+-------------+----------+
| Anti-Evasion | x | |
+------------------------------+-------------+----------+
Table 3: NGIPS Security Features
Quick heads-up ๐ For TLS Inspection, there are some scenarios where it's actually optional ๐
Here's the vibe check on how the DUT/SUT gets configured โจ
- The DUT/SUT MUST be configured in "Inline" mode. ๐ฅ
- "Fail-Open" behavior MUST be disabled. ๐ซ
- All RECOMMENDED security features are enabled. ๐ก๏ธ
- Logging and reporting MUST be enabled. ๐ The DUT/SUT SHOULD log all traffic at the flow level (5-tuple). If the DUT/SUT is designed to log all traffic at different levels (e.g., IP packet levels), it is acceptable to conduct tests. However, this MUST be noted in the test report. Logging to an external device is permissible.
- Geographical location filtering SHOULD be configured. ๐ If the DUT/SUT is not designed to perform geographical location filtering, it is acceptable to conduct tests without this feature. However, this MUST be noted in the test report.
- Application Identification and Control MUST be configured to trigger applications from the defined traffic mix. ๐ฆ
In addition, a realistic number of access control lists (ACLs) SHOULD be configured on the DUT/SUT where ACLs are configurable and reasonable based on the deployment scenario. ๐ง For example, it is acceptable not to configure ACLs in an NGIPS, since NGIPS devices do not require the use of ACLs in most deployment scenarios. This document determines the number of access policy rules for four different classes of the DUT/SUT: Extra Small (XS), Small (S), Medium (M), and Large (L). A sample DUT/SUT classification is described in Appendix B.
The ACLs defined in Table 4 MUST be configured from top to bottom in the correct order, as shown in the table. This is because the ACL types are listed in specificity-decreasing order, with "block" first, followed by "allow", representing a typical ACL-based security policy. ๐ The ACL entries MUST be configured with routable IP prefixes by the DUT/SUT, where applicable. (Note: There will be differences between how security vendors implement ACL decision making.) The configured ACL MUST NOT block the test traffic used for the benchmarking tests. ๐ญ
+===================================================+==============+
| |DUT/SUT |
| |Classification|
| |# Rules |
+=============+=============+==============+========+===+==+===+===+
| Rules Type | Match | Description | Action |XS |S |M |L |
| | Criteria | | | | | | |
+=============+=============+==============+========+===+==+===+===+
| Application | Application | Any | block |5 |10|20 |50 |
| layer | | application | | | | | |
| | | not included | | | | | |
| | | in the | | | | | |
| | | measurement | | | | | |
| | | traffic | | | | | |
+-------------+-------------+--------------+--------+---+--+---+---+
| Transport | SRC IP and | Any SRC IP | block |25 |50|100|250|
| layer | TCP/UDP DST | prefix used | | | | | |
| | ports | and any DST | | | | | |
| | | ports not | | | | | |
| | | used in the | | | | | |
| | | measurement | | | | | |
| | | traffic | | | | | |
+-------------+-------------+--------------+--------+---+--+---+---+
| IP layer | SRC/DST IP | Any SRC/DST | block |25 |50|100|250|
| | | IP subnet | | | | | |
| | | not used in | | | | | |
| | | the | | | | | |
| | | measurement | | | | | |
| | | traffic | | | | | |
+-------------+-------------+--------------+--------+---+--+---+---+
| Application | Application | Half of the | allow |10 |10|10 |10 |
| layer | | applications | | | | | |
| | | included in | | | | | |
| | | the | | | | | |
| | | measurement | | | | | |
| | | traffic (see | | | | | |
| | | the note | | | | | |
| | | below) | | | | | |
+-------------+-------------+--------------+--------+---+--+---+---+
| Transport | SRC IP and | Half of the | allow |>1 |>1|>1 |>1 |
| layer | TCP/UDP DST | SRC IPs used | | | | | |
| | ports | and any DST | | | | | |
| | | ports used | | | | | |
| | | in the | | | | | |
| | | measurement | | | | | |
| | | traffic (one | | | | | |
| | | rule per | | | | | |
| | | subnet) | | | | | |
+-------------+-------------+--------------+--------+---+--+---+---+
| IP layer | SRC IP | The rest of | allow |>1 |>1|>1 |>1 |
| | | the SRC IP | | | | | |
| | | prefix range | | | | | |
| | | used in the | | | | | |
| | | measurement | | | | | |
| | | traffic (one | | | | | |
| | | rule per | | | | | |
| | | subnet) | | | | | |
+-------------+-------------+--------------+--------+---+--+---+---+
Table 4: DUT/SUT Access List
Note 1: Based on the test customer's specific use case, the testers can increase the number of rules. ๐
Note 2: If half of the applications included in the test traffic are less than 10, the missing number of ACL entries (placeholder rules) can be configured for any application traffic not included in the test traffic. ๐
Note 3: In the event that the DUT/SUT is designed to not use ACLs, it is acceptable to conduct tests without them. However, this MUST be noted in the test report. ๐
4.2.1. Security Effectiveness Configuration โจ
The selected security features (defined in Tables 2 and 3) of the DUT/SUT MUST be configured effectively to detect, prevent, and report the defined security vulnerability sets. ๐ก๏ธ This section defines the selection of the security vulnerability sets from the Common Vulnerabilities and Exposures (CVEs) list [CVE] for testing. The vulnerability set should reflect a minimum of 500 CVEs from no older than 10 calendar years to the current year. These CVEs should be selected with a focus on in-use software commonly found in business applications, with a Common Vulnerability Scoring System (CVSS) Severity of High (7-10). ๐
This document is primarily focused on performance benchmarking. However, it is RECOMMENDED to validate the security features configuration of the DUT/SUT by evaluating the security effectiveness as a prerequisite for the performance benchmarking tests defined in Section 7. In case the benchmarking tests are performed without evaluating security effectiveness, the test report MUST explain the implications of this. The methodology for evaluating security effectiveness is defined in Appendix A. ๐ฆ
4.3. Test Equipment Configuration ๐ง
In general, test equipment allows configuring parameters in different protocol layers. Extensive proof-of-concept tests conducted to support preparation of this document showed that benchmarking results are strongly affected by the choice of protocol stack parameters, especially OSI layer 4 transport protocol parameters. ๐ For more information on how TCP and QUIC parameters will impact performance, review [fastly]. To achieve reproducible results that will be representative of real deployment scenarios, careful specification and documentation of the parameters are required. ๐
This section specifies common test equipment configuration parameters applicable for all benchmarking tests defined in Section 7. Any benchmarking-test-specific parameters are described under the test setup section of each benchmarking test individually. ๐
4.3.1. Client Configuration โจ
okay bestie, this section tells you which parameters to think about when you set up the emulated client endpoints on the test equipment ๐ It also drops some RECOMMENDED values for certain parameters. These are the defaults you'll usually see on most client operating system types ๐ซถ
pre-standard evaluations showed you can set a whole bunch of arbitrary parameters for OSI layer 4 transport protocols on test equipment, and that can tune client-specific results ๐ค but only well-defined common parameter sets give you results that are meaningful and comparable. so this document recommends specific sets of transport protocol parameters for the benchmarking gear ๐
4.3.1.1. TCP Stack Attributes
the TCP stack of the emulated client endpoints MUST fulfill the TCP requirements from Appendix B of [RFC9293] ๐ง on top of that, this section gives RECOMMENDED values for the TCP parameters listed below.
the IPv4 and IPv6 Maximum Segment Sizes (MSSs) are set to 1460 bytes and 1440 bytes, respectively. TX and RX initial receive window sizes are set to 65535 bytes. the client's initial congestion window should not exceed 10 times the MSS. delayed ACKs are permitted, and the maximum client delayed ACK should not exceed 10 times of the MSS before a forced ACK ๐ธ also, the maximum delayed ACK timer is allowed to be set to 200 ms. up to three retries are allowed before a timeout event is declared. the TCP PSH flag is set to high in all traffic. the source port range is 1024-65535.
the clients open TCP connections with a three-way handshake (SYN, SYN/ACK, ACK) and close them either with a TCP three-way close (FIN, FIN/ACK, ACK) or a TCP four-way close (FIN, ACK, FIN, ACK) ๐
4.3.1.2. QUIC Specification
QUIC stack emulation on the test equipment MUST conform to [RFC9000] and [RFC9001] ๐ฆ this section gives RECOMMENDED values for certain QUIC parameters that get configured on test equipment, but only for benchmarking purposes. the QUIC stream type (defined in Section 2.1 of [RFC9000]) is set to "Client-Initiated, Bidirectional". 0-RTT and early data are disabled. the QUIC connection termination method is an immediate close (Section 10.2 of [RFC9000]). flow control is enabled. UDP payloads are set to a datagram size of 1232 bytes for IPv6 and 1252 bytes for IPv4.
in addition, the transport parameters and default values defined in Section 18.2 of [RFC9000] are RECOMMENDED to configure on test equipment โจ also, this document references Appendices B.1 and B.2 of [RFC9002] for the congestion-control-related constants and variables. any configured QUIC and UDP parameter MUST be documented in the test report ๐
4.3.1.3. Client IP Address Space
the client IP space has the following attributes, and it's giving organized ๐
- If multiple IP blocks are used, they MUST consist of multiple unique, discontinuous static address blocks.
- A default gateway MAY be used.
- The differentiated services code point (DSCP) marking should be set to Default Forwarding (DF)
'000000'on the IPv4 Type of Service (ToS) field and IPv6 Traffic Class field. - One or more extension headers MAY be used for IPv6 clients. If multiple extension headers are needed for traffic emulation, this document references [RFC8200] to choose the correct order of the extension headers within an IPv6 packet. Testing with one or more extension headers may impact the performance of the DUT. The extension headers MUST be documented and reported.
to figure out the total number of client IP addresses you need to configure on the test equipment, use this equation ๐งฎ
Desired total number of client IP addresses = Target throughput
[Mbit/s] / Average throughput per IP address [Mbit/s]
the "Average throughput per IP address" value can change depending on the deployment and use case scenario, as the example list below shows ๐
Example 1 DUT/SUT deployment scenario 1: 6-7 Mbit/s per IP (e.g.,
1,400-1,700 IPs per 10 Gbit/s of throughput)
Example 2 DUT/SUT deployment scenario 2: 0.1-0.2 Mbit/s per IP
(e.g., 50,000-100,000 IPs per 10 Gbit/s of throughput)
client IP addresses MUST be distributed between IPv4 and IPv6 based on the deployment and use case scenario. the following options MAY be considered for picking ratios for both the IP addresses and the traffic load distribution ๐
Option 1 100 % IPv4, no IPv6
Option 2 80 % IPv4, 20% IPv6
Option 3 50 % IPv4, 50% IPv6
Option 4 20 % IPv4, 80% IPv6
Option 5 no IPv4, 100% IPv6
Note: IANA has assigned IP address ranges for testing purposes, as described in Section 8. If the test scenario requires more IP addresses or subnets than IANA has assigned, this document recommends using private IPv4 address ranges or Unique Local Address (ULA) IPv6 address ranges for the testing. ๐
4.3.1.4. Emulated Web Browser Attributes
the client (emulated web browser) has attributes that will materially affect the traffic load ๐ the goal is to emulate modern, typical browser attributes so the results actually match typical deployment scenarios.
the emulated browser MUST negotiate HTTP version 1.1 or higher. the emulated browser SHOULD advertise a User-Agent header. the emulated browser MUST enforce content length validation. HTTP header compression MAY be set to enable. if HTTP header compression is configurable in the test equipment, it MUST be documented whether it was enabled or disabled. depending on the test scenarios and the chosen HTTP version, the emulated browser MAY open multiple TCP or QUIC connections per server endpoint IP at any time, depending on how many sequential transactions need to be processed ๐ฅ
for HTTP/2 traffic emulation, the emulated browser opens multiple concurrent streams per connection (multiplexing) ๐ฆ for HTTPS requests, the emulated browser MUST send an "h2" protocol identifier using the TLS extension Application-Layer Protocol Negotiation (ALPN). the following default values (see [Undertow]) are the RECOMMENDED settings for certain HTTP/2 parameters to be configured on test equipment used for benchmarking purposes only:
- Maximum frame size: 16384 bytes
- Initial window size: 65535 bytes
- HPACK header field table size: 4096 bytes
- Server push enable: false (Note: In [Undertow], the default setting is true. However, for testing purposes, this document recommends setting the value to false for server push.)
this document refers to [RFC9113] for further details of HTTP/2. if any additional parameters are used to configure the test equipment, they MUST be documented ๐
for HTTP/3 traffic emulation, the emulated browsers initiate secure QUIC connections using TLS 1.3 ([RFC9001] describes how TLS is used to secure QUIC) ๐ง this document refers to [RFC9114] for HTTP/3 specifications. the specification for transport protocol parameters is defined in Section 4.3.1.2. QPACK configuration settings, such as MAX_TABLE_CAPACITY and QPACK_BLOCKED_STREAMS, are set to zero (default), as defined in [RFC9204]. any HTTP/3 parameters used for test equipment configuration MUST be documented.
for encrypted traffic, the following attributes are defined as the negotiated encryption parameters ๐ the test clients MUST use TLS version 1.2 or higher. the TLS record size MAY be optimized for the HTTPS response object size, up to a record size of 16 KB. if Server Name Indication (SNI) is required (especially if the server is identified by a domain name), the client endpoint MUST send TLS extension SNI information when opening a security tunnel. each client connection MUST perform a full TLS handshake, and session reuse or resumption MUST be disabled.
Note: Real web browsers use session reuse or resumption. However, for testing purposes, this feature must not be used to measure the DUT/SUT performance in the worst-case scenario. ๐
the following ciphers and keys supported by TLS 1.2 are RECOMMENDED for the HTTPS-based benchmarking tests defined in Section 7 ๐
ECDHE-ECDSA-AES128-GCM-SHA256with Prime256v1 (Signature Hash Algorithm: ecdsa_secp256r1_sha256 and Supported group: secp256r1)ECDHE-RSA-AES128-GCM-SHA256with RSA 2048 (Signature Hash Algorithm: rsa_pkcs1_sha256 and Supported group: secp256r1)ECDHE-ECDSA-AES256-GCM-SHA384with Secp384r1 (Signature Hash Algorithm: ecdsa_secp384r1_sha384 and Supported group: secp384r1)ECDHE-RSA-AES256-GCM-SHA384with RSA 4096 (Signature Hash Algorithm: rsa_pkcs1_sha384 and Supported group: secp384r1)
Note: The above ciphers and keys were those commonly used for enterprise-grade encryption cipher suites for TLS 1.2 at of the time of publication (2023). Individual certification bodies should use ciphers and keys that reflect evolving use cases. These choices MUST be documented in the resulting test reports with detailed information on the ciphers and keys used, along with reasons for the choices. โจ
IANA recommends the following cipher suites for use with TLS 1.3, as defined in [RFC8446] ๐ธ
TLS_AES_128_GCM_SHA256TLS_AES_256_GCM_SHA384TLS_CHACHA20_POLY1305_SHA256TLS_AES_128_CCM_SHA256
4.3.2. Backend Server Configuration
this section tells you which parameters should be considered when you configure the emulated backend servers using the test equipment ๐ง
4.3.2.1. TCP Stack Attributes
the TCP stack on the server-side MUST be configured similarly to the client-side configuration described in Section 4.3.1.1 ๐
4.3.2.2. QUIC Specification
the QUIC parameters on the server-side MUST be configured similarly to the client-side configuration. any configured QUIC parameter MUST be documented in the report ๐
4.3.2.3. Server Endpoint IP Addressing
the sum of the server IP space MUST contain the following attributes ๐
- The server IP blocks MUST consist of unique, discontinuous static address blocks with one IP per server Fully Qualified Domain Name (FQDN) endpoint per test port.
- A default gateway is permitted. The DSCP marking is set to DF
'000000'on the IPv4 ToS field and IPv6 Traffic Class field. One or more extension headers for the IPv6 server are permitted. If multiple extension headers are required, this document references [RFC8200] to choose the correct order of the extension headers within an IPv6 packet. - The server IP address distribution between IPv4 and IPv6 MUST be identical to the client IP address distribution ratio.
Note: IANA has assigned IP address blocks for the testing purpose described in Section 8. If the test scenario requires more IP addresses or address blocks than IANA has assigned, this document recommends using private IPv4 address ranges or Unique Local Address (ULA) IPv6 address ranges for the testing. ๐ซถ
4.3.2.4. HTTP/HTTPS Server Pool Endpoint Attributes โจ
okay so the HTTP 1.1 and HTTP/2 server pools listen on TCP ports 80 and 443 for HTTP and HTTPS ๐ธ. the HTTP/3 server pool is more chill and listens on any UDP port ๐ฆ.
the server MUST emulate the same HTTP version (HTTP 1.1, HTTP/2, or HTTP/3) and settings that the client (emulated web browser) picked ๐ . it's giving matching energy, bestie.
for the HTTPS server, TLS version 1.2 or higher MUST be used, with a maximum record size of 16 KB ๐. ticket resumption or session ID reuse MUST NOT be used for TLS 1.2 ๐ โโ๏ธ. also, session ticket or session cache MUST NOT be used for TLS 1.3, so no sneaky caching there either ๐.
the server MUST serve a certificate to the client ๐. and the cipher suite and key size on the server side MUST be configured similarly to the client side setup described in Section 4.3.1.4 ๐. same vibes on both ends, periodt.
4.3.3. Traffic Flow Definition ๐ฆ
at the beginning of the test (the init phase, see Section 4.3.4), the server endpoint initializes and gets ready to accept TCP or QUIC connections, plus inbound HTTP and HTTPS requests โจ. the client endpoints initialize too, and they're given attributes like a MAC and IP address ๐ง. after the init phase, each client sweeps through the given server IP space and generates a service the DUT can recognize ๐.
sequential and pseudorandom sweep methods are both acceptable ๐. whichever one you use MUST be stated in the final report ๐, no hiding it.
so the end result is a balanced mesh between client endpoints and server endpoints, made of client IP and port to server IP and port combos ๐ธ๏ธ. each client does the exact same stuff as the others. the only difference is the source IP of the client and the target server IP pool ๐. and the client MUST use the server IP address or FQDN in the host header ๐, because we're not being vague about who we're talking to.
4.3.3.1. Description of Intra-Client Behavior ๐
client endpoints are independent of the other clients running at the same time ๐ธ. when a client endpoint starts sending traffic, this section explains how it steps through the different services ๐.
once the test is initialized, client endpoints randomly hold (no operation) for a few milliseconds ๐ซถ. this is so the start of client traffic is nicely randomized, main character energy ๐.
each client (HTTP 1.1 or HTTP/2) will either open a new TCP connection or hop onto an HTTP persistent connection that's still open to that specific server ๐. HTTP/3 clients open UDP streams inside QUIC connections ๐ฆ.
wherever the traffic profile needs encryption, a TLS encryption tunnel forms, and the URL or IP address request gets presented to the server ๐. if SNI is being used, the server MUST then perform an SNI name check by comparing the proposed FQDN to the domain embedded in the certificate ๐. only when that matches will the server process the HTTPS response object ๐.
the initial response object is based on the benchmarking tests in Section 7 ๐. multiple additional sub-URLs (the response objects on the service page) MAY be requested simultaneously ๐. they MAY go to the same server IP as the initial URL too ๐ง. and each sub-object uses a canonical FQDN and URL path, so everything stays organized ๐ .
4.3.4. Traffic Load Profile ๐
the loading of traffic is described in this section ๐. a traffic load profile has five phases: Init, ramp up, sustain, ramp down, and collection ๐.
Init phase: testbed devices, including the client and server endpoints, should negotiate layer 2-3 connectivity, like MAC learning and ARP/ND ๐ค. the test iteration only moves to the next phase after MAC learning or ARP/ND succeeds, and that's a SHALL ๐ฆ. no measurements happen in this phase ๐. the minimum recommended time for the Init phase is 5 seconds โฑ๏ธ. during this phase, the emulated clients MUST NOT initiate any sessions with the DUT/SUT ๐ซ, while the emulated servers should be ready to take requests from the DUT/SUT or emulated clients ๐ซถ.
Ramp Up phase: the test equipment MUST start generating test traffic ๐. it MUST use a set of approximately the right number of unique client IP addresses to generate that traffic ๐. the traffic MUST ramp up from zero to the desired target objective ๐ถ, and that target is defined for each benchmarking test ๐ฏ. the ramp up duration MUST be configured long enough that the test equipment does not overwhelm the DUT's/SUT's stated performance metrics from Section 6.3 ๐. those metrics are TCP or QUIC connections per second, inspected throughput, concurrent TCP or QUIC connections, and application transactions per second ๐งฎ. no measurements happen in this phase either โจ.
Sustain phase: this phase starts when all required clients are active and running at their desired load condition ๐ช. in the sustain phase, the test equipment MUST keep generating traffic at a constant target value for a constant number of active clients ๐. the minimum RECOMMENDED time for the sustain phase is 300 seconds โณ. this is the phase where measurements actually happen ๐. the test equipment MUST measure and record statistics continuously ๐. and the sampling interval for collecting raw results and calculating statistics MUST be less than 2 seconds โก.
Ramp Down phase: the test traffic slows down from the target number to 0 ๐. no measurements are made here ๐.
Collection phase: the last phase is administrative ๐๏ธ. it happens when the test equipment merges and collates the report data ๐.
5. Testbed Considerations ๐งช
this section walks through steps for a reference test (pre-test) that controls the test environment, including test equipment ๐ฌ. it focuses on physical and virtualized environments and the test equipment in them ๐ฅ๏ธ. below are the RECOMMENDED steps for the reference test ๐ .
- Perform the reference test either by configuring the DUT/SUT in the most trivial setup (fast forwarding) or without the DUT/SUT being present at all โก.
- Generate traffic from the traffic generator. Choose a traffic profile used for the HTTP or HTTPS throughput performance test with the smallest object size ๐ฆ.
- Make sure any ancillary switching or routing functions added to the test equipment don't limit performance by introducing packet loss or latency ๐ซ. this is super important for virtualized components, like vSwitches or vRouters ๐ฆ.
- Verify that the generated traffic (performance) of the test equipment matches and reasonably exceeds the expected maximum performance of the DUT/SUT โ .
- Record the network performance metrics, packet loss and latency, introduced by the test environment (without the DUT/SUT) ๐.
- Assert that the testbed characteristics stay stable during the entire test session ๐ง. a few things can mess with stability, especially in virtualized testbeds. examples are additional workloads in a virtualized system, load balancing, and moving virtual machines during the test ๐. and simple stuff counts too, like extra heat from high workloads causing an emergency CPU performance reduction ๐ฅ.
the reference test MUST be performed before the benchmarking tests (described in Section 7) start ๐ฌ. no skipping, bestie ๐ โโ๏ธ.
6. Reporting ๐
this section explains how the benchmarking test report should be formatted and presented ๐. it is RECOMMENDED to include two main sections in the report: the introduction and the detailed test results sections ๐.
6.1. Introduction ๐ธ
the following attributes should be present in the introduction section of the test report ๐.
- Time and date of the execution of the tests โฐ.
- Summary of testbed software and hardware details ๐ฅ๏ธ.
- a. DUT/SUT hardware/virtual configuration
- Make and model of the DUT/SUT, which should be clearly identified ๐ท๏ธ
- Port interfaces, including speed and link information ๐
- If the DUT/SUT is a Virtual Network Function (VNF) ๐ง
- Host (server) hardware and software details ๐ป
- Interface acceleration type (such as Data Plane Development Kit (DPDK) and single-root input/output virtualization (SR-IOV)) โก
- Used CPU cores ๐ง
- Used RAM ๐พ
- Resource sharing (e.g., pinning details and Non-Uniform Memory Access (NUMA) node) configuration details ๐งฉ
- Hypervisor version ๐
- Virtual switch version ๐
- Details of any additional hardware relevant to the DUT/SUT, such as controllers ๐๏ธ
- b. DUT/SUT software
- Operating system name ๐ฟ
- Version ๐ข
- Specific configuration details (if any) ๐
- c. DUT-/SUT-enabled features
- Configured DUT/SUT features (see Tables 2 and 3) โ
- Attributes of the abovementioned features ๐
- Any additional relevant information about the features ๐ญ
- d. Test equipment hardware and software
- Test equipment vendor name ๐ญ
- Hardware details, including model number and interface type ๐ง
- Test equipment firmware and test application software version ๐งพ
- If the test equipment is a virtual solution ๐ฅ๏ธ
- The host (server) hardware and software details ๐ป
- Interface acceleration type (such as DPDK and SR-IOV) โก
- Used CPU cores ๐ง
- Used RAM ๐พ
- Resource sharing (e.g., pinning details and NUMA node) configuration details ๐งฉ
- Hypervisor version ๐
- Virtual switch version ๐
- e. Key test parameters
- Used cipher suites and keys ๐
- IPv4 and IPv6 traffic distribution ๐
- Number of configured ACLs ๐ง
- TCP and UDP stack parameter, if tested ๐งต
- QUIC, HTTP/2, and HTTP/3 parameters, if tested ๐ฆ
- f. Details of the application traffic mix used in the benchmarking test Throughput Performance with Application Traffic Mix (Section 7.1) ๐ฐ
- Name of applications and layer 7 protocols ๐ฑ
- Percentage of emulated traffic for each application and layer 7 protocols ๐
- Percentage of encrypted traffic, used cipher suites, and keys (the RECOMMENDED ciphers and keys are defined in Section 4.3.1.4) ๐
- Used object sizes for each application and layer 7 protocols ๐
- a. DUT/SUT hardware/virtual configuration
- Results Summary / Executive Summary โจ.
- a. Results should be presented with an introduction section documenting the summary of results in a prominent, easy-to-read block ๐.
6.2. Detailed Test Results ๐
in the results section of the test report, the following attributes should be present for each benchmarking test ๐.
- a. KPIs MUST be documented separately for each benchmarking test ๐. the format of the KPI metrics MUST be presented as described in Section 6.3 ๐งฎ.
- b. the next level of detail should be graphs showing each of these metrics over the duration (sustain phase) of the test ๐. that way you can see how the measured performance stability changes over time ๐.
6.3. Benchmarks and Key Performance Indicators โจ
okay so this is the KPI lineup ๐ All KPIs MUST be measured during the sustain phase of the traffic load profile described in Section 4.3.4. Also, the KPIs MUST be measured from the result output of test equipment ๐
Concurrent TCP Connections ๐ The aggregate number of simultaneous connections between hosts across the DUT/SUT or between hosts and the DUT/SUT (defined in [RFC2647]).
Concurrent QUIC Connections ๐ The aggregate number of simultaneous connections between hosts across the DUT/SUT.
TCP Connections Per Second ๐ฉท The average number of successfully established TCP connections per second between hosts across the DUT/SUT or between hosts and the DUT/SUT. As described in Section 4.3.1.1, the TCP connections are initiated by clients via a TCP three-way handshake (SYN, SYN/ACK, ACK). Then, the TCP session data is sent, and then the TCP sessions are closed via either a TCP three-way close (FIN, FIN/ACK, ACK) or a TCP four-way close (FIN, ACK, FIN, ACK). The TCP sessions MUST NOT be closed by RST ๐ซ
QUIC Connections Per Second ๐ฆ The average number of successfully established QUIC connections per second between hosts across the DUT/SUT. As described in Section 4.3.1.2, the QUIC connections are initiated by clients. Then, the data is sent, and then the QUIC sessions are closed by the "immediate close" method.
Since the QUIC specification defined in Section 4.3.1.2 recommends disabling 0-RTT and early data, this KPI is focused on the 1-RTT handshake. If required, 0-RTT can be also measured in separate test runs while enabling 0-RTT and early data in the test equipment ๐ง
Application Transactions Per Second ๐ The average number of successfully completed transactions per second. For a particular transaction to be considered successful, all data MUST have been transferred in its entirety. In case of an HTTP(S) transaction, it MUST have a valid status code (200 OK) ๐ฏ
TLS Handshake Rate ๐ The average number of successfully established TLS connections per second between hosts across the DUT/SUT or between hosts and the DUT/SUT.
For TLS 1.3, the handshake rate can be measured with the 0-RTT or 1-RTT handshake. The transport protocol can be either TCP or QUIC.
Inspected Throughput ๐ The number of bits per second of examined and allowed traffic a network security device is able to transmit to the correct destination interface(s) in response to a specified offered load. The throughput benchmarking tests defined in Section 7 SHOULD measure the average layer 2 throughput value when the DUT/SUT is "inspecting" traffic. It is also acceptable to measure other OSI layer throughput. However, the measured layer (e.g., layer 3 throughput) MUST be noted in the report, and the user MUST be aware of the implication while comparing the throughput performance of multiple DUTs/SUTs measured in different OSI layers. This document recommends presenting the inspected throughput value in Gbit/s rounded to two places of precision with a more specific kbit/s in parenthesis ๐
Time to First Byte (TTFB) โฑ๏ธ The elapsed time between the start of sending the TCP SYN packet or QUIC initial Client Hello from the client and the client receiving the first packet of application data from the server via the DUT/SUT. The benchmarking tests HTTP transaction latency (Section 7.4) and HTTPS transaction latency (Section 7.8) measure the minimum, average, and maximum TTFB. The value should be expressed in milliseconds.
URL Response Time / Time to Last Byte (TTLB) ๐ข The elapsed time between the start of sending the TCP SYN packet or QUIC initial Client Hello from the client and the client receiving the last packet of application data from the server via the DUT/SUT. The benchmarking tests HTTP transaction latency (Section 7.4) and HTTPS transaction latency (Section 7.8) measure the minimum, average, and maximum TTLB. The value should be expressed in milliseconds.
7. Benchmarking Tests ๐ง
this section is mainly about the benchmarking tests with HTTP/1.1 or HTTP/2 traffic, which uses TCP as the transport protocol. In particular, this section does not define specific benchmarking tests for KPIs related to QUIC or HTTP/3. However, the test methodology defined in the benchmarking tests TCP or QUIC connections per second with HTTPS traffic (Section 7.6), HTTPS transaction latency (Section 7.8), HTTPS throughput (Section 7.7), and concurrent TCP or QUIC connection capacity with HTTPS traffic (Section 7.9) can be used to test KPIs related to QUIC or HTTP/3. The throughput performance test with the application traffic mix defined in Section 7.1 can be performed with any other application traffic, including HTTP/3 ๐ธ
7.1. Throughput Performance with Application Traffic Mix ๐ฅ
7.1.1. Objective
Using a relevant application traffic mix, determine the sustainable inspected throughput supported by the DUT/SUT.
Based on the test customer's specific use case, testers can choose the relevant application traffic mix for this test. The details about the traffic mix MUST be documented in the report. At least, the following traffic mix details MUST be documented and reported together with the test results:
- Name of applications and layer 7 protocols
- Percentage of emulated traffic for each application and layer 7 protocol
- Percentage of encrypted traffic and used cipher suites and keys (the RECOMMENDED ciphers and keys are defined in Section 4.3.1.4)
- Used object sizes for each application and layer 7 protocols
7.1.2. Test Setup
The testbed setup MUST be configured as defined in Section 4. Any benchmarking-test-specific testbed configuration changes MUST be documented ๐ ๏ธ
7.1.3. Test Parameters
In this section, the benchmarking-test-specific parameters are defined.
7.1.3.1. DUT/SUT Configuration Parameters
DUT/SUT parameters MUST conform to the requirements defined in Section 4.2. Any configuration changes for this specific benchmarking test MUST be documented. If the DUT/SUT is configured without TLS inspection, the test report MUST explain how this impacts the encrypted traffic of the relevant application traffic mix ๐
7.1.3.2. Test Equipment Configuration Parameters
Test equipment configuration parameters MUST conform to the requirements defined in Section 4.3. The following parameters MUST be documented for this benchmarking test:
- Client IP address ranges defined in Section 4.3.1.3
- Server IP address ranges defined in Section 4.3.2.3
- Traffic distribution ratio between IPv4 and IPv6 defined in Section 4.3.1.3
- Target inspected throughput: Aggregated line rate of one or more interfaces used in the DUT/SUT or the value defined based on the requirement for a specific deployment scenario
- Initial throughput: 10% of the "Target inspected throughput"
Note: Initial throughput is not a KPI to report. This value is configured on the traffic generator and used to perform Step 1 (Test Initialization and Qualification) described in Section 7.1.4.
- One of the ciphers and keys defined in Section 4.3.1.4 is RECOMMENDED to use for this benchmarking test.
7.1.3.3. Traffic Profile
This test MUST be run with a relevant application traffic mix profile ๐๏ธ
7.1.3.4. Test Results Validation Criteria
The following criteria are the test results validation criteria. The test results validation criteria MUST be monitored during the whole sustain phase of the traffic load profile.
- a. The number of failed application transactions MUST be less than 0.001% (1 out of 100,000 transactions) of the attempted transactions.
- b. The number of terminated TCP connections due to unexpected TCP RST sent by the DUT/SUT MUST be less than 0.001% (1 out of 100,000 connections) of the total initiated TCP connections.
- c. If HTTP/3 is used, the number of failed QUIC connections due to unexpected HTTP/3 error codes MUST be less than 0.001% (1 out of 100,000 connections) of the total initiated QUIC connections.
these validation criteria are strict on purpose. If the numbers slip, the run doesn't pass. no vibes-based passing ๐ค
7.1.3.5. Measurement
The following KPI metrics MUST be reported for this benchmarking test:
- Mandatory KPIs (benchmarks): inspected throughput and application transactions per second
Note: The TTLB MUST be reported along with the object size used in the traffic profile.
- Optional TCP-stack-related KPIs: TCP connections per second, TLS handshake rate, TTFB (minimum, average, and maximum), TTLB (minimum, average, and maximum)
- Optional QUIC-stack-related KPIs: QUIC connections per second and concurrent QUIC connections
7.1.4. Test Procedures and Expected Results
The test procedures are designed to measure the inspected throughput performance of the DUT/SUT at the sustaining period of the traffic load profile. The test procedure consists of three major steps. Step 1 ensures the DUT/SUT is able to reach the performance value (initial throughput) and meets the test results validation criteria when it was very minimally utilized. Step 2 determines whether the DUT/SUT is able to reach the target performance value within the test results validation criteria. Step 3 determines the maximum achievable performance value within the test results validation criteria ๐
This test procedure MAY be repeated multiple times with different IP types: IPv4 only, IPv6 only, and IPv4 and IPv6 mixed traffic distribution.
7.1.4.1. Step 1: Test Initialization and Qualification
Verify the link status of all connected physical interfaces. All interfaces are expected to be in "UP" status.
Configure the traffic load profile of the test equipment to generate test traffic at the "initial throughput" rate, as described in Section 7.1.3.2. The test equipment MUST follow the traffic load profile definition described in Section 4.3.4. The DUT/SUT MUST reach the "initial throughput" during the sustain phase. Measure all KPIs, as defined in Section 7.1.3.5. The measured KPIs during the sustain phase MUST meet all the test results validation criteria defined in Section 7.1.3.4.
If the KPI metrics do not meet the test results validation criteria, the test procedure MUST NOT be continued to Step 2 ๐ฆ
7.1.4.2. Step 2: Test Run with Target Objective
Configure test equipment to generate traffic at the "Target inspected throughput" rate defined in Section 7.1.3.2. The test equipment MUST follow the traffic load profile definition described in Section 4.3.4. The test equipment MUST start to measure and record all specified KPIs. Continue the test until all traffic profile phases are completed.
Within the test results validation criteria, the DUT/SUT is expected to reach the desired value of the target objective ("Target inspected throughput") in the sustain phase. Follow Step 3 if the measured value does not meet the target value or does not fulfill the test results validation criteria ๐ฏ
7.1.4.3. Step 3: Test Iteration
Determine the achievable average inspected throughput within the test results validation criteria. The final test iteration MUST be performed for the test duration defined in Section 4.3.4 ๐
7.2. TCP Connections Per Second with HTTP Traffic ๐
7.2.1. Objective โจ
Okay bestie, the goal here is to find the sustainable TCP connection establishment rate the DUT/SUT can handle with HTTP traffic ๐ฆ, and how that number shifts under different throughput load conditions ๐ .
To measure connections per second, test iterations MUST use different fixed HTTP response object sizes (the different load conditions) defined in Section 7.2.3.2. ๐
7.2.2. Test Setup
The testbed setup MUST be configured as defined in Section 4. Any specific testbed configuration changes (number of interfaces, interface type, etc.) MUST be documented. ๐ง
7.2.3. Test Parameters
In this section, benchmarking-test-specific parameters are defined. ๐
7.2.3.1. DUT/SUT Configuration Parameters
DUT/SUT parameters MUST conform to the requirements defined in Section 4.2. Any configuration changes for this specific benchmarking test MUST be documented. ๐ธ
7.2.3.2. Test Equipment Configuration Parameters
Test equipment configuration parameters MUST conform to the requirements defined in Section 4.3. The following parameters MUST be documented for this benchmarking test: ๐
- Client IP address ranges defined in Section 4.3.1.3
- Server IP address ranges defined in Section 4.3.2.3
- Traffic distribution ratio between IPv4 and IPv6 defined in Section 4.3.1.3
- Target connections per second: Initial value from the product datasheet or the value defined based on the requirement for a specific deployment scenario
- Initial connections per second: 10% of "Target connections per second"
Note: Initial connections per second is not a KPI to report. This value is configured on the traffic generator and used to perform Step 1 (Test Initialization and Qualification) described in Section 7.2.4. ๐
- The RECOMMENDED response object sizes are 1, 2, 4, 16, and 64 KB. ๐
The client MUST negotiate HTTP and close the connection with FIN immediately after the completion of one transaction. In each test iteration, the client MUST send a GET request requesting a fixed HTTP response object size. ๐ฆ
7.2.3.3. Test Results Validation Criteria
The following criteria are the test results validation criteria. The test results validation criteria MUST be monitored during the whole sustain phase of the traffic load profile. ๐
a. The number of failed application transactions (receiving any HTTP response code other than 200 OK) MUST be less than 0.001% (1 out of 100,000 transactions) of the attempted transactions.
b. The number of terminated TCP connections due to unexpected TCP RST sent by the DUT/SUT MUST be less than 0.001% (1 out of 100,000 connections) of the total initiated TCP connections.
c. During the sustain phase, traffic MUST be forwarded at a constant rate (it is considered as a constant rate if any deviation of the traffic forwarding rate is less than 5%).
d. Concurrent TCP connections MUST be constant during steady state, and any deviation of concurrent TCP connections MUST be less than 10%. This confirms the DUT opens and closes TCP connections at approximately the same rate. ๐
7.2.3.4. Measurement
TCP connections per second MUST be reported for each test iteration (for each object size). ๐
7.2.4. Test Procedures and Expected Results
Okay, so the test procedure is built to measure the DUT/SUT's rate of TCP connections per second during the sustaining period of the traffic load profile โจ. It has three major steps. Step 1 makes sure the DUT/SUT can reach the performance value (Initial connections per second) and meets the test results validation criteria while it's very minimally utilized ๐. Step 2 checks whether the DUT/SUT can reach the target performance value within the test results validation criteria ๐ฅ. Step 3 finds the maximum achievable performance value within the test results validation criteria ๐.
This test procedure MAY be repeated multiple times with different IP types: IPv4 only, IPv6 only, and IPv4 and IPv6 mixed traffic distribution. ๐ฆ
7.2.4.1. Step 1: Test Initialization and Qualification
Verify the link status of all connected physical interfaces. All interfaces are expected to be in "UP" status. ๐
Configure the traffic load profile of the test equipment to establish "Initial connections per second", as defined in Section 7.2.3.2. The traffic load profile MUST be defined as described in Section 4.3.4. ๐
The DUT/SUT MUST reach the "Initial connections per second" before the sustain phase. The measured KPIs during the sustain phase MUST meet all the test results validation criteria defined in Section 7.2.3.3. ๐ซถ
If the KPI metrics do not meet the test results validation criteria, the test procedure MUST NOT continue to Step 2. ๐ โโ๏ธ
7.2.4.2. Step 2: Test Run with Target Objective
Configure test equipment to establish the target objective ("Target connections per second") defined in Section 7.2.3.2. The test equipment MUST follow the traffic load profile definition described in Section 4.3.4. ๐
During the ramp up and sustain phases of each test iteration, other KPIs, such as inspected throughput, concurrent TCP connections, and application transactions per second, MUST NOT reach the maximum value the DUT/SUT can support. The test results for specific test iterations MUST NOT be reported as valid results if the abovementioned KPI (especially inspected throughput) reaches the maximum value. (For example, if the test iteration with 64 KB of HTTP response object size reached the maximum inspected throughput limitation of the DUT/SUT, the test iteration MAY be interrupted and the result for 64 KB must not be reported.) ๐ญ
The test equipment MUST start to measure and record all specified KPIs. Continue the test until all traffic profile phases are completed. ๐
Within the test results validation criteria, the DUT/SUT is expected to reach the desired value of the target objective ("Target connections per second") in the sustain phase. Follow Step 3 if the measured value does not meet the target value or does not fulfill the test results validation criteria. ๐
7.2.4.3. Step 3: Test Iteration
Determine the achievable TCP connections per second within the test results validation criteria. ๐ฆ
7.3. HTTP Throughput โจ
7.3.1. Objective
Determine the sustainable inspected throughput of the DUT/SUT for HTTP transactions varying the HTTP response object size. ๐
7.3.2. Test Setup
The testbed setup MUST be configured as defined in Section 4. Any specific testbed configuration changes (number of interfaces, interface type, etc.) MUST be documented. ๐ง
7.3.3. Test Parameters
In this section, benchmarking-test-specific parameters are defined. ๐
7.3.3.1. DUT/SUT Configuration Parameters
DUT/SUT parameters MUST conform to the requirements defined in Section 4.2. Any configuration changes for this specific benchmarking test MUST be documented. ๐ธ
7.3.3.2. Test Equipment Configuration Parameters
Test equipment configuration parameters MUST conform to the requirements defined in Section 4.3. The following parameters MUST be documented for this benchmarking test: ๐
- Client IP address ranges defined in Section 4.3.1.3
- Server IP address ranges defined in Section 4.3.2.3
- Traffic distribution ratio between IPv4 and IPv6 defined in Section 4.3.1.3
- Target inspected throughput: Aggregated line rate of one or more interfaces used in the DUT/SUT or the value defined based on the requirement for a specific deployment scenario
- Initial throughput: 10% of "Target inspected throughput"
Note: Initial throughput is not a KPI to report. This value is configured on the traffic generator and used to perform Step 1 (Test Initialization and Qualification) described in Section 7.3.4. ๐
- Number of HTTP response object requests (transactions) per connection: 10
- RECOMMENDED HTTP response object size: 1, 16, 64, and 256 KB and mixed objects defined in Table 5 ๐
+==================+=============================+
| Object size (KB) | Number of requests / Weight |
+==================+=============================+
| 0.2 | 1 |
+------------------+-----------------------------+
| 6 | 1 |
+------------------+-----------------------------+
| 8 | 1 |
+------------------+-----------------------------+
| 9 | 1 |
+------------------+-----------------------------+
| 10 | 1 |
+------------------+-----------------------------+
| 25 | 1 |
+------------------+-----------------------------+
| 26 | 1 |
+------------------+-----------------------------+
| 35 | 1 |
+------------------+-----------------------------+
| 59 | 1 |
+------------------+-----------------------------+
| 347 | 1 |
+------------------+-----------------------------+
Table 5: Mixed Objects
7.3.3.3. Test Results Validation Criteria
The following criteria are the test results validation criteria. The test results validation criteria MUST be monitored during the whole sustain phase of the traffic load profile. ๐
a. The number of failed application transactions (receiving any HTTP response code other than 200 OK) MUST be less than 0.001% (1 out of 100,000 transactions) of the total attempted transactions.
b. Traffic MUST be forwarded at a constant rate (it is considered as a constant rate if any deviation of the traffic forwarding rate is less than 5%).
c. Concurrent TCP connections MUST be constant during steady state, and any deviation of concurrent TCP connections MUST be less than 10%. This confirms the DUT opens and closes TCP connections at approximately the same rate. ๐
7.3.3.4. Measurement
Inspected throughput and HTTP transactions per second MUST be reported for each object size. ๐
7.3.4. Test Procedures and Expected Results
The test procedure is designed to measure HTTP throughput of the DUT/SUT. It has three major steps. Step 1 makes sure the DUT/SUT can reach the performance value (initial throughput) and meets the test results validation criteria while it's very minimally utilized ๐. Step 2 checks whether the DUT/SUT can reach the target performance value within the test results validation criteria ๐ฅ. Step 3 finds the maximum achievable performance value within the test results validation criteria ๐.
This test procedure MAY be repeated multiple times with different IPv4 and IPv6 traffic distributions and HTTP response object sizes. ๐ฆ
7.3.4.1. Step 1: Test Initialization and Qualification โจ
okay so first things first, bestie ๐ check the link status of every connected physical interface. They're all supposed to be "UP" status ๐
Next, set the test equipment's traffic load profile so it establishes the "initial throughput" from Section 7.3.3.2 ๐ง. The traffic load profile MUST be defined as described in Section 4.3.4. The DUT/SUT MUST reach the "initial throughput" during the sustain phase ๐ . Then measure all the KPIs from Section 7.3.3.4 ๐.
The KPIs measured during the sustain phase MUST meet test results validation criteria "a" from Section 7.3.3.3 ๐ซถ. Criteria "b" and "c" are OPTIONAL for Step 1 ๐ธ.
If the KPI metrics don't pass the test results validation criteria, you MUST NOT move on to Step 2. no cap, it's a hard stop ๐ญ
7.3.4.2. Step 2: Test Run with Target Objective ๐ฆ
Set up the test equipment to go for the target objective ("Target inspected throughput") from Section 7.3.3.2 ๐ฏ. The test equipment MUST start measuring and recording all the specified KPIs. Keep the test running until every traffic profile phase is done ๐.
Within the test results validation criteria, the DUT/SUT is expected to hit the desired value of the target objective during the sustain phase ๐. If the measured value doesn't meet the target value, or it doesn't fulfill the test results validation criteria, follow Step 3 ๐.
7.3.4.3. Step 3: Test Iteration ๐
Figure out the achievable inspected throughput that still fits within the test results validation criteria, and measure the KPI metric of transactions per second โก. The final test iteration MUST run for the test duration defined in Section 4.3.4, full stop ๐.
7.4. HTTP Transaction Latency โฑ๏ธ
7.4.1. Objective ๐ฏ
Using HTTP traffic, figure out the HTTP transaction latency while the DUT is running at the sustainable HTTP transactions per second that the DUT/SUT supports, across different HTTP response object sizes ๐ธ.
Test iterations MUST be performed with different HTTP response object sizes in two scenarios: one with a single transaction, and one with multiple transactions inside a single TCP connection. For consistency, both the single and multiple transaction tests MUST be configured with the same HTTP version ๐ซถ.
Scenario 1: The client MUST negotiate HTTP and close the connection with FIN right after a single transaction (GET and RESPONSE) is complete ๐.
Scenario 2: The client MUST negotiate HTTP and close the connection with FIN right after 10 transactions (GET and RESPONSE) are complete within a single TCP connection ๐ .
7.4.2. Test Setup ๐ ๏ธ
The testbed setup MUST be configured as defined in Section 4. Any specific testbed configuration changes (number of interfaces, interface type, etc.) MUST be documented ๐.
7.4.3. Test Parameters ๐ง
In this section, the benchmarking-test-specific parameters are defined ๐.
7.4.3.1. DUT/SUT Configuration Parameters โ๏ธ
DUT/SUT parameters MUST conform to the requirements defined in Section 4.2. Any configuration changes for this specific benchmarking test MUST be documented ๐.
7.4.3.2. Test Equipment Configuration Parameters ๐งช
Test equipment configuration parameters MUST conform to the requirements defined in Section 4.3. The following parameters MUST be documented for this benchmarking test:
- Client IP address ranges defined in Section 4.3.1.3 ๐
- Server IP address ranges defined in Section 4.3.2.3 ๐ฅ๏ธ
- Traffic distribution ratio between IPv4 and IPv6 defined in Section 4.3.1.3 ๐ฆ
- Target objective for scenario 1: 50% of the connections per second measured in the benchmarking test TCP connections per second with HTTP traffic (Section 7.2) ๐ฏ
- Target objective for scenario 2: 50% of the inspected throughput measured in the benchmarking test HTTP throughput (Section 7.3) ๐ฏ
- Initial objective for scenario 1: 10% of "Target objective for scenario 1" ๐ฑ
- Initial objective for scenario 2: 10% of "Target objective for scenario 2" ๐ฑ
Note: The initial objectives are not KPIs to report. These values are configured on the traffic generator and used to perform Step 1 (Test Initialization and Qualification) described in Section 7.4.4 ๐คซ.
- HTTP transaction per TCP connection: Test scenario 1 with a single transaction, and test scenario 2 with 10 transactions ๐ข
- HTTP with GET request requesting a single object: The RECOMMENDED object sizes are 1, 16, and 64 KB. For each test iteration, the client MUST request a single HTTP response object size ๐ฆ
7.4.3.3. Test Results Validation Criteria โ
The following criteria are the test results validation criteria. The test results validation criteria MUST be monitored during the whole sustain phase of the traffic load profile ๐.
- a. The number of failed application transactions (receiving any HTTP response code other than 200 OK) MUST be less than 0.001% (1 out of 100,000 transactions) of the total attempted transactions ๐ซ.
- b. The number of terminated TCP connections due to unexpected TCP RST sent by the DUT/SUT MUST be less than 0.001% (1 out of 100,000 connections) of the total initiated TCP connections ๐.
- c. During the sustain phase, traffic MUST be forwarded at a constant rate (it is considered a constant rate if any deviation of the traffic forwarding rate is less than 5%) ๐.
- d. Concurrent TCP connections MUST be constant during steady state, and any deviation of concurrent TCP connections MUST be less than 10%. This confirms the DUT opens and closes TCP connections at approximately the same rate ๐.
- e. After ramp up, the DUT MUST achieve the target objectives defined in Section 7.4.3.2 and remain in that state for the entire test duration (sustain phase) ๐.
7.4.3.4. Measurement ๐
The TTFB (minimum, average, and maximum) and TTLB (minimum, average, and maximum) MUST be reported for each object size ๐ซถ.
7.4.4. Test Procedures and Expected Results ๐งฉ
The test procedure is designed to measure the TTFB or TTLB while the DUT/SUT is operating close to 50% of its maximum achievable connections per second or inspected throughput ๐ฏ. It has two major steps. Step 1 makes sure the DUT/SUT can reach the initial performance values and meets the test results validation criteria while it's barely being used ๐. Step 2 measures the latency values within the test results validation criteria โญ.
This test procedure MAY be repeated multiple times with different IP types (IPv4 only, IPv6 only, and IPv4 and IPv6 mixed traffic distribution), HTTP response object sizes, and single and multiple transactions per connection scenarios ๐.
7.4.4.1. Step 1: Test Initialization and Qualification ๐
Verify the link status of all connected physical interfaces. All interfaces are expected to be in "UP" status ๐.
Configure the traffic load profile of the test equipment to establish the initial objectives, as defined in Section 7.4.3.2. The traffic load profile MUST be defined as described in Section 4.3.4 ๐ง.
The DUT/SUT MUST reach the initial objectives before the sustain phase. The measured KPIs during the sustain phase MUST meet all the test results validation criteria defined in Section 7.4.3.3 ๐ .
If the KPI metrics don't meet the test results validation criteria, you MUST NOT move on to Step 2 ๐ญ.
7.4.4.2. Step 2: Test Run with Target Objective ๐ฆ
Configure the test equipment to establish the target objectives defined in Section 7.4.3.2 ๐ฏ. The test equipment MUST follow the traffic load profile definition described in Section 4.3.4 ๐.
The test equipment MUST start measuring and recording all the specified KPIs. Keep the test going until all traffic profile phases are completed ๐.
Within the test results validation criteria, the DUT/SUT MUST reach the desired value of the target objective during the sustain phase ๐.
Measure the minimum, average, and maximum values of the TTFB and TTLB ๐.
7.5. Concurrent TCP Connection Capacity with HTTP Traffic ๐ธ
7.5.1. Objective ๐ฏ
Figure out the number of concurrent TCP connections that the DUT/SUT sustains when it's handling HTTP traffic ๐ง .
7.5.2. Test Setup ๐ ๏ธ
The testbed setup MUST be configured as defined in Section 4. Any specific testbed configuration changes (number of interfaces, interface type, etc.) MUST be documented ๐.
7.5.3. Test Parameters ๐ง
In this section, the benchmarking-test-specific parameters are defined ๐.
7.5.3.1. DUT/SUT Configuration Parameters โ๏ธ
DUT/SUT parameters MUST conform to the requirements defined in Section 4.2. Any configuration changes for this specific benchmarking test MUST be documented ๐.
7.5.3.2. Test Equipment Configuration Parameters ๐งช
Test equipment configuration parameters MUST conform to the requirements defined in Section 4.3. The following parameters MUST be noted for this benchmarking test:
- Client IP address ranges defined in Section 4.3.1.3 ๐
- Server IP address ranges defined in Section 4.3.2.3 ๐ฅ๏ธ
- Traffic distribution ratio between IPv4 and IPv6 defined in Section 4.3.1.3 ๐ฆ
- Target concurrent connection: Initial value from the product datasheet, or the value defined based on the requirement for a specific deployment scenario ๐ฏ
- Initial concurrent connection: 10% of "Target concurrent connection" ๐ฑ
Note: Initial concurrent connection is not a KPI to report. This value is configured on the traffic generator and used to perform Step 1 (Test Initialization and Qualification) described in Section 7.5.4 ๐คซ.
- Maximum connections per second during ramp up phase: 50% of maximum connections per second measured in the benchmarking test TCP connections per second with HTTP traffic (Section 7.2) ๐
- Ramp up time (in traffic load profile for "Target concurrent connection"): "Target concurrent connection" / "Maximum connections per second during ramp up phase" โณ
- Ramp up time (in traffic load profile for "Initial concurrent connection"): "Initial concurrent connection" / "Maximum connections per second during ramp up phase" โณ
The client MUST negotiate HTTP, and each client MAY open multiple concurrent TCP connections per server endpoint IP ๐.
Each client sends 10 GET requests requesting a 1 KB HTTP response object in the same TCP connection (10 transactions / TCP connections), and the delay (think time) between each transaction MUST be X seconds, where X is calculated as follows ๐งฎ:
X = ("Ramp up time" + "steady state time") / 10
The established connections MUST remain open until the ramp down phase of the test. During the ramp down phase, all connections MUST be successfully closed with FIN ๐.
7.5.3.3. Test Results Validation Criteria โ
The following criteria are the test results validation criteria. The test results validation criteria MUST be monitored during the whole sustain phase of the traffic load profile ๐.
- a. The number of failed application transactions (receiving any HTTP response code other than 200 OK) MUST be less than 0.001% (1 out of 100,000 transactions) of the total attempted transactions ๐ซ.
- b. The number of terminated TCP connections due to unexpected TCP RST sent by the DUT/SUT MUST be less than 0.001% (1 out of 100,000 connections) of the total initiated TCP connections ๐.
- c. During the sustain phase, traffic MUST be forwarded at a constant rate (it is considered a constant rate if any deviation of the traffic forwarding rate is less than 5%) ๐.
7.5.3.4. Measurement ๐
Average concurrent TCP connections MUST be reported for this benchmarking test ๐.
7.5.4. Test Procedures and Expected Results โจ
okay so this test procedure is all about measuring the concurrent TCP connection capacity of the DUT/SUT during the sustaining period of the traffic load profile ๐ฆ it's a three-step glow-up. Step 1 checks that the DUT/SUT can reach the performance value (Initial concurrent connection) and passes the test results validation criteria when it's barely being used ๐. Step 2 checks whether it can hit the target performance value while still passing those criteria ๐. Step 3 finds the maximum performance value that still passes the criteria ๐
This test procedure MAY be repeated multiple times with different IPv4 and IPv6 traffic distributions ๐
7.5.4.1. Step 1: Test Initialization and Qualification
Verify the link status of all connected physical interfaces. All interfaces are expected to be in "UP" status ๐
Configure the test equipment to establish "Initial concurrent connections" defined in Section 7.5.3.2. Except for ramp up time, the traffic load profile MUST be defined as described in Section 4.3.4 ๐
During the sustain phase, the DUT/SUT MUST reach the "Initial concurrent connections". The KPIs measured during the sustain phase MUST meet all the test results validation criteria defined in Section 7.5.3.3 ๐
If the KPI metrics don't meet the test results validation criteria, the test procedure MUST NOT be continued to Step 2 ๐
7.5.4.2. Step 2: Test Run with Target Objective
Configure the test equipment to establish the target objective ("Target concurrent TCP connections"). The test equipment MUST follow the traffic load profile definition (except for ramp up time) as described in Section 4.3.4 ๐ฏ
During the ramp up and sustain phases, the other KPIs, such as inspected throughput, TCP connections per second, and application transactions per second, MUST NOT reach the maximum value the DUT/SUT can support ๐
The test equipment MUST start to measure and record the KPIs defined in Section 7.5.3.4. Keep the test going until all traffic profile phases are completed โณ
Within the test results validation criteria, the DUT/SUT is expected to reach the desired value of the target objective in the sustain phase. Follow Step 3 if the measured value doesn't meet the target value or doesn't fulfill the test results validation criteria ๐ง
7.5.4.3. Step 3: Test Iteration
Determine the achievable concurrent TCP connections capacity within the test results validation criteria ๐ธ
7.6. TCP or QUIC Connections per Second with HTTPS Traffic
7.6.1. Objective
Using HTTPS traffic, determine the sustainable TLS session establishment rate supported by the DUT/SUT under different throughput load conditions ๐
Test iterations MUST include common cipher suites and key strengths, as well as forward-looking stronger keys. Specific test iterations MUST include the ciphers and keys defined in Section 7.6.3.2 ๐
For each cipher suite and key strength, test iterations MUST use a single HTTPS response object size defined in Section 7.6.3.2 to measure connections per second performance under a variety of DUT/SUT security inspection load conditions ๐ซถ
7.6.2. Test Setup
The testbed setup MUST be configured as defined in Section 4. Any specific testbed configuration changes (number of interfaces, interface type, etc.) MUST be documented ๐ ๏ธ
7.6.3. Test Parameters
In this section, the benchmarking-test-specific parameters are defined ๐
7.6.3.1. DUT/SUT Configuration Parameters
DUT/SUT parameters MUST conform to the requirements defined in Section 4.2. Any configuration changes for this specific benchmarking test MUST be documented โ๏ธ
7.6.3.2. Test Equipment Configuration Parameters
Test equipment configuration parameters MUST conform to the requirements defined in Section 4.3. The following parameters MUST be documented for this benchmarking test:
- Client IP address ranges defined in Section 4.3.1.3
- Server IP address ranges defined in Section 4.3.2.3
- Traffic distribution ratio between IPv4 and IPv6 defined in Section 4.3.1.3
- Target connections per second: the initial value from the product datasheet, or the value defined based on the requirement for a specific deployment scenario
- Initial connections per second: 10% of "Target connections per second"
Note: Initial connections per second is not a KPI to report. This value is configured on the traffic generator and used to perform Step 1 (Test Initialization and Qualification) described in Section 7.6.4.)
- RECOMMENDED ciphers and keys defined in Section 4.3.1.4
- The RECOMMENDED object sizes are 1, 2, 4, 16, and 64 KB.
The client MUST negotiate HTTPS and close the connection without error immediately after the completion of one transaction. In each test iteration, the client MUST send a GET request requesting a fixed HTTPS response object size ๐
7.6.3.3. Test Results Validation Criteria
The following criteria are the test results validation criteria. The test results validation criteria MUST be monitored during the whole test duration ๐
- a. The number of failed application transactions (receiving any HTTP response code other than 200 OK) MUST be less than 0.001% (1 out of 100,000 transactions) of the attempted transactions.
- b. The number of terminated TCP connections due to unexpected TCP RST sent by the DUT/SUT MUST be less than 0.001% (1 out of 100,000 connections) of the total initiated TCP connections. If HTTP/3 is used, the number of terminated QUIC connections due to unexpected errors MUST be less than 0.001% (1 out of 100,000 connections) of the total initiated QUIC connections.
- c. During the sustain phase, traffic MUST be forwarded at a constant rate (it is considered a constant rate if any deviation of the traffic forwarding rate is less than 5%).
- d. The concurrent TCP connections generation rate MUST be constant during steady state, and any deviation of concurrent TCP connections MUST be less than 10%. If HTTP/3 is used, the concurrent QUIC connections generation rate MUST be constant during steady state, and any deviation of concurrent QUIC connections MUST be less than 10%. This confirms the DUT opens and closes connections at approximately the same rate. ๐
7.6.3.4. Measurement
If HTTP 1.1 or HTTP/2 is used, TCP connections per second MUST be reported for each test iteration (for each object size) ๐
If HTTP/3 is used, QUIC connections per second MUST be measured and reported for each test iteration (for each object size) ๐
The KPI metric TLS handshake rate can be measured in the test using a 1 KB object size ๐ง
7.6.4. Test Procedures and Expected Results
The test procedure is designed to measure the DUT/SUT's rate of TCP or QUIC connections per second during the sustaining period of the traffic load profile. The test procedure consists of three major steps. Step 1 checks that the DUT/SUT can reach the performance value (Initial connections per second) and passes the test results validation criteria when it's barely being used ๐. Step 2 checks whether it can reach the target performance value while passing those criteria ๐. Step 3 finds the maximum achievable performance value that passes the criteria ๐
This test procedure MAY be repeated multiple times with different IPv4 and IPv6 traffic distributions ๐
7.6.4.1. Step 1: Test Initialization and Qualification
Verify the link status of all connected physical interfaces. All interfaces are expected to be in "UP" status ๐
Configure the traffic load profile of the test equipment to establish "Initial connections per second", as defined in Section 7.6.3.2. The traffic load profile MUST be defined as described in Section 4.3.4 ๐
The DUT/SUT MUST reach the "Initial connections per second" before the sustain phase. The KPIs measured during the sustain phase MUST meet all the test results validation criteria defined in Section 7.6.3.3 ๐
If the KPI metrics don't meet the test results validation criteria, the test procedure MUST NOT be continued to Step 2 ๐
7.6.4.2. Step 2: Test Run with Target Objective
Configure the test equipment to establish "Target connections per second", as defined in Section 7.6.3.2. The test equipment MUST follow the traffic load profile definition described in Section 4.3.4 ๐ฏ
During the ramp up and sustain phases, other KPIs, such as inspected throughput, concurrent TCP or QUIC connections, and application transactions per second, MUST NOT reach the maximum value the DUT/SUT can support. The test results for the specific test iteration MUST NOT be reported as valid results if the abovementioned KPI (especially inspected throughput) reaches the maximum value. (For example, if the test iteration with 64 KB of HTTPS response object size reached the maximum inspected throughput limitation of the DUT, the test iteration MAY be interrupted, and the result for 64 KB should not be reported). ๐ซ
โ ๏ธ Heads up: if inspected throughput hits its ceiling, that iteration's results can't count as valid. The 64 KB example above is exactly that situation ๐ญ
The test equipment MUST start to measure and record all specified KPIs. Keep the test going until all traffic profile phases are completed โณ
Within the test results validation criteria, the DUT/SUT is expected to reach the desired value of the target objective ("Target connections per second") in the sustain phase. Follow Step 3 if the measured value doesn't meet the target value or doesn't fulfill the test results validation criteria ๐ง
7.6.4.3. Step 3: Test Iteration
Determine the achievable connections per second within the test results validation criteria ๐ธ
7.7. HTTPS Throughput
7.7.1. Objective
Determine the sustainable inspected throughput of the DUT/SUT for HTTPS transactions by varying the HTTPS response object size ๐ฆ
Test iterations MUST include common cipher suites and key strengths, as well as forward-looking stronger keys. Specific test iterations MUST include the ciphers and keys defined in Section 7.7.3.2 ๐
7.7.2. Test Setup
The testbed setup MUST be configured as defined in Section 4. Any specific testbed configuration changes (number of interfaces, interface type, etc.) MUST be documented ๐ ๏ธ
7.7.3. Test Parameters
In this section, the benchmarking-test-specific parameters are defined ๐
7.7.3.1. DUT/SUT Configuration Parameters
DUT/SUT parameters MUST conform to the requirements defined in Section 4.2. Any configuration changes for this specific benchmarking test MUST be documented โ๏ธ
7.7.3.2. Test Equipment Configuration Parameters โจ
Okay bestie, test equipment configuration parameters MUST conform to the requirements in Section 4.3, no exceptions ๐ . These parameters MUST be documented for this benchmarking test ๐:
- Client IP address ranges defined in Section 4.3.1.3 ๐
- Server IP address ranges defined in Section 4.3.2.3 ๐ฅ๏ธ
- Traffic distribution ratio between IPv4 and IPv6 defined in Section 4.3.1.3 โ๏ธ
- Target inspected throughput: the aggregated line rate of one or more interfaces used in the DUT/SUT, or the value based on the requirement for a specific deployment scenario ๐ฏ
- Initial throughput: 10% of "Target inspected throughput" ๐ฑ
Note: Initial throughput is not a KPI to report. This value is configured on the traffic generator and used to perform Step 1 (Test Initialization and Qualification) described in Section 7.7.4. ๐
- Number of HTTPS response object requests (transactions) per connection: 10 ๐
- RECOMMENDED ciphers and keys defined in Section 4.3.1.4 ๐
- RECOMMENDED HTTPS response object size: 1, 16, 64, and 256 KB and mixed objects defined in Table 5 of Section 7.3.3.2 ๐ง
7.7.3.3. Test Results Validation Criteria ๐
Here's the vibe check โ . These are the test results validation criteria, and they MUST be monitored during the whole sustain phase of the traffic load profile ๐.
- a. The number of failed application transactions (receiving any HTTP response code other than
200 OK) MUST be less than 0.001% (1 out of 100,000 transactions) of the attempted transactions. ๐ - b. Traffic MUST be generated at a constant rate. It counts as a constant rate if any deviation of the traffic forwarding rate is less than 5% ๐.
- c. The concurrent generated TCP connections MUST be constant during steady state, and any deviation of concurrent TCP connections MUST be less than 10%. If HTTP/3 is used, the concurrent generated QUIC connections MUST be constant during steady state, and any deviation of concurrent QUIC connections MUST be less than 10%. This confirms the DUT opens and closes connections at approximately the same rate ๐ฆ.
7.7.3.4. Measurement ๐
Inspected throughput and HTTPS transactions per second MUST be reported for each object size ๐.
7.7.4. Test Procedures and Expected Results ๐ฌ
The test procedure has three major steps ๐ช. Step 1 checks that the DUT/SUT can reach the initial throughput and meets the test results validation criteria while it is barely utilized ๐ธ. Step 2 checks whether the DUT/SUT can reach the target performance value while staying within the test results validation criteria ๐ฏ. Step 3 finds the maximum achievable performance value that still stays within the test results validation criteria ๐.
This test procedure MAY be repeated multiple times with different IPv4 and IPv6 traffic distributions and HTTPS response object sizes ๐.
7.7.4.1. Step 1: Test Initialization and Qualification ๐ฆ
Verify the link status of all connected physical interfaces. All interfaces are expected to be in "UP" status โญ.
Configure the traffic load profile of the test equipment to establish "initial throughput", as defined in Section 7.7.3.2.
The traffic load profile MUST be defined as described in Section 4.3.4. The DUT/SUT MUST reach the "initial throughput" during the sustain phase. Measure all KPIs, as defined in Section 7.7.3.4 ๐ง.
The measured KPIs during the sustain phase MUST meet the test results validation criteria "a" defined in Section 7.7.3.3. The test results validation criteria "b" and "c" are OPTIONAL for Step 1 ๐ซถ.
If the KPI metrics do not meet the test results validation criteria, the test procedure MUST NOT be continued to Step 2. No cap, stop right there ๐.
7.7.4.2. Step 2: Test Run with Target Objective ๐
Configure test equipment to establish the target objective ("Target inspected throughput") defined in Section 7.7.3.2. The test equipment MUST start to measure and record all specified KPIs. Continue the test until all traffic profile phases are completed โณ.
Within the test results validation criteria, the DUT/SUT is expected to reach the desired value of the target objective in the sustain phase. Follow Step 3 if the measured value does not meet the target value or does not fulfill the test results validation criteria ๐.
7.7.4.3. Step 3: Test Iteration ๐
Determine the achievable average inspected throughput within the test results validation criteria. The final test iteration MUST be performed for the test duration defined in Section 4.3.4 ๐.
7.8. HTTPS Transaction Latency โฑ๏ธ
7.8.1. Objective ๐ฏ
Using HTTPS traffic, determine the HTTPS transaction latency when the DUT/SUT is running at the sustainable HTTPS transactions per second it supports, across different HTTPS response object sizes ๐.
Scenario 1: The client MUST negotiate HTTPS and close the connection immediately after the completion of a single transaction (GET and RESPONSE) ๐โโ๏ธ.
Scenario 2: The client MUST negotiate HTTPS and close the connection immediately after the completion of 10 transactions (GET and RESPONSE) within a single TCP or QUIC connection ๐ .
7.8.2. Test Setup ๐ ๏ธ
The testbed setup MUST be configured as defined in Section 4. Any specific testbed configuration changes (number of interfaces, interface type, etc.) MUST be documented ๐งฐ.
7.8.3. Test Parameters ๐๏ธ
In this section, benchmarking-test-specific parameters are defined โจ.
7.8.3.1. DUT/SUT Configuration Parameters
DUT/SUT parameters MUST conform to the requirements defined in Section 4.2. Any configuration changes for this specific benchmarking test MUST be documented ๐.
7.8.3.2. Test Equipment Configuration Parameters
Test equipment configuration parameters MUST conform to the requirements defined in Section 4.3. The following parameters MUST be documented for this benchmarking test ๐:
- Client IP address ranges defined in Section 4.3.1.3 ๐
- Server IP address ranges defined in Section 4.3.2.3 ๐ฅ๏ธ
- Traffic distribution ratio between IPv4 and IPv6 defined in Section 4.3.1.3 โ๏ธ
- RECOMMENDED cipher suites and key sizes defined in Section 4.3.1.4 ๐
- Target objective for scenario 1: 50% of the connections per second measured in the benchmarking test TCP or QUIC connections per second with HTTPS traffic (Section 7.6) ๐ฏ
- Target objective for scenario 2: 50% of the inspected throughput measured in the benchmarking test HTTPS throughput (Section 7.7) ๐ฏ
- Initial objective for scenario 1: 10% of "Target objective for scenario 1" ๐ฑ
- Initial objective for scenario 2: 10% of "Target objective for scenario 2" ๐ฑ
Note: The initial objectives are not KPIs to report. These values are configured on the traffic generator and used to perform Step 1 (Test Initialization and Qualification) described in Section 7.8.4. ๐
- HTTPS transaction per TCP or QUIC connection: Test scenario 1 with a single transaction and scenario 2 with 10 transactions ๐
- HTTPS with GET request requesting a single object: The RECOMMENDED object sizes are 1, 16, and 64 KB. For each test iteration, the client MUST request a single HTTPS response object size ๐ง.
7.8.3.3. Test Results Validation Criteria ๐
Here's the vibe check again โ . These are the test results validation criteria, and they MUST be monitored during the whole sustain phase of the traffic load profile ๐.
- a. The number of failed application transactions (receiving any HTTP response code other than
200 OK) MUST be less than 0.001% (1 out of 100,000 transactions) of the total attempted transactions ๐. - b. The number of terminated TCP connections due to unexpected TCP RST sent by the DUT/SUT MUST be less than 0.001% (1 out of 100,000 connections) of the total initiated TCP connections. If HTTP/3 is used, the number of terminated QUIC connections due to unexpected errors MUST be less than 0.001% (1 out of 100,000 connections) of the total initiated QUIC connections ๐ญ.
- c. During the sustain phase, traffic MUST be forwarded at a constant rate. It counts as a constant rate if any deviation of the traffic forwarding rate is less than 5% ๐.
- d. Concurrent TCP or QUIC connections MUST be constant during steady state, and any deviation of concurrent TCP connections MUST be less than 10%. If HTTP/3 is used, the concurrent generated QUIC connections MUST be constant during steady state, and any deviation of concurrent QUIC connections MUST be less than 10%. This confirms the DUT opens and closes connections at approximately the same rate ๐ฆ.
- e. After ramp up, the DUT/SUT MUST achieve the target objectives defined in the parameters in Section 7.8.3.2 and remain in that state for the entire test duration (sustain phase) ๐.
7.8.3.4. Measurement ๐
The TTFB (minimum, average, and maximum) and TTLB (minimum, average, and maximum) MUST be reported for each object size โฑ๏ธ๐.
7.8.4. Test Procedures and Expected Results ๐ฌ
The test procedure is built to measure the TTFB or TTLB when the DUT/SUT is operating close to 50% of its maximum achievable connections per second or inspected throughput ๐. It has two major steps ๐ช. Step 1 checks that the DUT/SUT reaches the initial performance values and meets the test results validation criteria while it is barely utilized ๐ธ. Step 2 measures the latency values while staying within the test results validation criteria ๐ง.
This test procedure MAY be repeated multiple times with different IP types (IPv4 only, IPv6 only, and IPv4 and IPv6 mixed traffic distribution), HTTPS response object sizes, and single and multiple transactions per connection scenarios ๐.
7.8.4.1. Step 1: Test Initialization and Qualification ๐ฆ
Verify the link status of all connected physical interfaces. All interfaces are expected to be in "UP" status โญ.
Configure the traffic load profile of the test equipment to establish the initial objectives, as defined in Section 7.8.3.2. The traffic load profile MUST be defined as described in Section 4.3.4 ๐งพ.
The DUT/SUT MUST reach the initial objectives before the sustain phase. The measured KPIs during the sustain phase MUST meet all the test results validation criteria defined in Section 7.8.3.3 ๐ซถ.
If the KPI metrics do not meet the test results validation criteria, the test procedure MUST NOT be continued to Step 2. Full stop, no exceptions ๐.
7.8.4.2. Step 2: Test Run with Target Objective ๐
Configure test equipment to establish the target objectives defined in Section 7.8.3.2. The test equipment MUST follow the traffic load profile definition described in Section 4.3.4 ๐ซ.
The test equipment MUST start to measure and record all specified KPIs. Continue the test until all traffic profile phases are completed โณ.
Within the test results validation criteria, the DUT/SUT MUST reach the desired value of the target objective in the sustain phase ๐.
Measure the minimum, average, and maximum values of the TTFB and TTLB ๐๐.
7.9. Concurrent TCP or QUIC Connection Capacity with HTTPS Traffic ๐ฆ
7.9.1. Objective ๐ฏ
Determine the number of concurrent TCP or QUIC connections the DUT/SUT sustains when using HTTPS traffic ๐ซง.
7.9.2. Test Setup ๐ ๏ธ
The testbed setup MUST be configured as defined in Section 4. Any specific testbed configuration changes (number of interfaces, interface type, etc.) MUST be documented ๐งฐ.
7.9.3. Test Parameters ๐๏ธ
In this section, benchmarking-test-specific parameters are defined โจ.
7.9.3.1. DUT/SUT Configuration Parameters
okay bestie, so the DUT/SUT parameters MUST conform to the requirements in Section 4.2. ๐ Any configuration changes for this specific benchmarking test MUST be documented. no cap, write it all down ๐โจ
7.9.3.2. Test Equipment Configuration Parameters
okay so the test equipment config parameters MUST conform to Section 4.3 ๐ and these are the ones that MUST be documented for this test:
- Client IP address ranges defined in Section 4.3.1.3
- Server IP address ranges defined in Section 4.3.2.3
- Traffic distribution ratio between IPv4 and IPv6 defined in Section 4.3.1.3
- RECOMMENDED cipher suites and key sizes defined in Section 4.3.1.4 ๐
- Target concurrent connections: Initial value from the product datasheet or the value defined based on the requirement for a specific deployment scenario ๐ฏ
- Initial concurrent connections: 10% of "Target concurrent connections" ๐ธ
Note: Initial concurrent connections is not a KPI to report. This value is configured on the traffic generator and used to perform Step 1 (Test Initialization and Qualification) described in Section 7.9.4. ๐
- Connections per second during ramp up phase: 50% of maximum connections per second measured in the benchmarking test TCP or QUIC connections per second with HTTPS traffic (Section 7.6) ๐ฆ
- Ramp up time (in traffic load profile for "Target concurrent connections"): "Target concurrent connections" / "Maximum connections per second during ramp up phase" โญ
- Ramp up time (in traffic load profile for "Initial concurrent connections"): "Initial concurrent connections" / "Maximum connections per second during ramp up phase" ๐ง
the client MUST perform HTTPS transactions with persistence, and each client can open multiple concurrent connections per server endpoint IP โจ
each client sends 10 GET requests asking for 1 KB HTTPS response objects in the same TCP or QUIC connections (10 transactions/connections), and the delay (think time) between each transaction MUST be X seconds, where X works out like this ๐
X = ("Ramp up time" + "steady state time") / 10
the established connections MUST remain open until the ramp down phase of the test. during the ramp down phase, all connections MUST be successfully closed with FIN ๐๐
7.9.3.3. Test Results Validation Criteria
these are the test results validation criteria, and they MUST be monitored during the whole sustain phase of the traffic load profile ๐
a. the number of failed application transactions (receiving any HTTP response code other than 200 OK) MUST be less than 0.001% (1 out of 100,000 transactions) of the total attempted transactions ๐
b. the number of terminated TCP connections due to unexpected TCP RSTs sent by the DUT/SUT MUST be less than 0.001% (1 out of 100,000 connections) of the total initiated TCP connections. if HTTP/3 is used, the number of terminated QUIC connections due to unexpected errors MUST be less than 0.001% (1 out of 100,000 connections) of the total initiated QUIC connections ๐
c. during the sustain phase, traffic MUST be forwarded at a constant rate (it is considered a constant rate if any deviation of the traffic forwarding rate is less than 5%) ๐ฆ
7.9.3.4. Measurement
average concurrent TCP or QUIC connections MUST be reported for this benchmarking test ๐๐
7.9.4. Test Procedures and Expected Results
okay so this test procedure is designed to measure the concurrent TCP connection capacity of the DUT/SUT during the sustaining period of the traffic load profile ๐ฅ. it has three major steps. Step 1 makes sure the DUT/SUT can reach the Initial concurrent connection value and meets the test results validation criteria when it's very minimally utilized. Step 2 checks whether the DUT/SUT can reach the target performance value within the test results validation criteria. Step 3 finds the maximum achievable performance value within the test results validation criteria ๐
this test procedure MAY be repeated multiple times with different IPv4 and IPv6 traffic distributions ๐ธ
7.9.4.1. Step 1: Test Initialization and Qualification
verify the link status of all connected physical interfaces. all interfaces are expected to be in "UP" status โญ
configure the test equipment to establish "Initial concurrent connections" defined in Section 7.9.3.2. except ramp up time, the traffic load profile MUST be defined as described in Section 4.3.4 ๐ง
during the sustain phase, the DUT/SUT MUST reach the "Initial concurrent connections". the measured KPIs during the sustain phase MUST meet the test results validation criteria "a" and "b" defined in Section 7.9.3.3 ๐
if the KPI metrics do not meet the test results validation criteria, the test procedure MUST NOT be continued to Step 2 ๐ โโ๏ธ
7.9.4.2. Step 2: Test Run with Target Objective
configure the test equipment to establish the target objective ("Target concurrent connections"). the test equipment MUST follow the traffic load profile definition (except ramp up time) described in Section 4.3.4 ๐ฆ
during the ramp up and sustain phases, the other KPIs, such as inspected throughput, TCP or QUIC connections per second, and application transactions per second, MUST NOT reach the maximum value that the DUT/SUT can support ๐ซถ
the test equipment MUST start to measure and record KPIs defined in Section 7.9.3.4. continue the test until all traffic profile phases are completed ๐
within the test results validation criteria, the DUT/SUT is expected to reach the desired value of the target objective in the sustain phase. follow Step 3 if the measured value does not meet the target value or does not fulfill the test results validation criteria ๐
7.9.4.3. Step 3: Test Iteration
determine the achievable concurrent TCP or QUIC connections within the test results validation criteria ๐
- IANA Considerations
this document makes no specific request of IANA ๐. IANA has assigned IPv4 and IPv6 address blocks in [RFC6890] that have been registered for special purposes. the IPv6 address block 2001:2::/48 has been allocated for the purpose of IPv6 benchmarking [RFC5180], and the IPv4 address block 198.18.0.0/15 has been allocated for the purpose of IPv4 benchmarking [RFC2544]. this assignment was made to minimize the chance of conflict in case a testing device were to be accidentally connected to the part of the Internet ๐
- Security Considerations
โ ๏ธ okay this section is SERIOUS bestie, read it all ๐ญ
the primary goal of this document is to provide benchmarking terminology and methodology for next-generation network security devices for use in a laboratory-isolated test environment. however, readers should be aware that there is some overlap between performance and security issues. specifically, the optimal configuration for network security device performance may not be the most secure, and vice versa. testing security platforms with working exploits and malware carries risks. ensure proper access controls are implemented to prevent unintended exposure to vulnerable networks or systems. the cipher suites recommended in this document are for test purposes only. the cipher suite recommendation for a real deployment is outside the scope of this document ๐
security assessment of an NGFW/NGIPS product could also include an analysis of whether any type of uncommon traffic characteristics would have a significant impact on performance. such performance impacts would allow an attacker to use such specifically crafted traffic as a DoS attack to reduce the remaining performance available to other traffic through the NGFW/NGIPS. such uncommon traffic characteristics might include, for example, IP-fragmented traffic, a specific type of application traffic, or uncommonly high HTTP transaction rate traffic ๐จ
- References
10.1. Normative References
[RFC2119] Bradner, S., "Key words for use in RFCs to Indicate
Requirement Levels", BCP 14, RFC 2119,
DOI 10.17487/RFC2119, March 1997,
<https://www.rfc-editor.org/info/rfc2119>.
[RFC8174] Leiba, B., "Ambiguity of Uppercase vs Lowercase in RFC
2119 Key Words", BCP 14, RFC 8174, DOI 10.17487/RFC8174,
May 2017, <https://www.rfc-editor.org/info/rfc8174>.
10.2. Informative References โจ
Okay bestie, these are the extra reads that back up the whole doc ๐๐
- [CVE] CVE, "Current CVSS Score Distribution For All Vulnerabilities",
https://www.cvedetails.com/. - [fastly] Oku, K. and J. Iyengar, "QUIC vs TCP: Which is Better?", April 2020,
https://www.fastly.com/blog/measuring-quic-vs-tcp-computational-efficiency. - [RFC2544] Bradner, S. and J. McQuaid, "Benchmarking Methodology for Network Interconnect Devices", RFC 2544, DOI 10.17487/RFC2544, March 1999,
https://www.rfc-editor.org/info/rfc2544. - [RFC2647] Newman, D., "Benchmarking Terminology for Firewall Performance", RFC 2647, DOI 10.17487/RFC2647, August 1999,
https://www.rfc-editor.org/info/rfc2647. - [RFC3511] Hickman, B., Newman, D., Tadjudin, S., and T. Martin, "Benchmarking Methodology for Firewall Performance", RFC 3511, DOI 10.17487/RFC3511, April 2003,
https://www.rfc-editor.org/info/rfc3511. - [RFC5180] Popoviciu, C., Hamza, A., Van de Velde, G., and D. Dugatkin, "IPv6 Benchmarking Methodology for Network Interconnect Devices", RFC 5180, DOI 10.17487/RFC5180, May 2008,
https://www.rfc-editor.org/info/rfc5180. - [RFC6815] Bradner, S., Dubray, K., McQuaid, J., and A. Morton, "Applicability Statement for RFC 2544: Use on Production Networks Considered Harmful", RFC 6815, DOI 10.17487/RFC6815, November 2012,
https://www.rfc-editor.org/info/rfc6815. - [RFC6890] Cotton, M., Vegoda, L., Bonica, R., Ed., and B. Haberman, "Special-Purpose IP Address Registries", BCP 153, RFC 6890, DOI 10.17487/RFC6890, April 2013,
https://www.rfc-editor.org/info/rfc6890. - [RFC8200] Deering, S. and R. Hinden, "Internet Protocol, Version 6 (IPv6) Specification", STD 86, RFC 8200, DOI 10.17487/RFC8200, July 2017,
https://www.rfc-editor.org/info/rfc8200. - [RFC8446] Rescorla, E., "The Transport Layer Security (TLS) Protocol Version 1.3", RFC 8446, DOI 10.17487/RFC8446, August 2018,
https://www.rfc-editor.org/info/rfc8446. - [RFC9000] Iyengar, J., Ed. and M. Thomson, Ed., "QUIC: A UDP-Based Multiplexed and Secure Transport", RFC 9000, DOI 10.17487/RFC9000, May 2021,
https://www.rfc-editor.org/info/rfc9000. - [RFC9001] Thomson, M., Ed. and S. Turner, Ed., "Using TLS to Secure QUIC", RFC 9001, DOI 10.17487/RFC9001, May 2021,
https://www.rfc-editor.org/info/rfc9001. - [RFC9002] Iyengar, J., Ed. and I. Swett, Ed., "QUIC Loss Detection and Congestion Control", RFC 9002, DOI 10.17487/RFC9002, May 2021,
https://www.rfc-editor.org/info/rfc9002. - [RFC9113] Thomson, M., Ed. and C. Benfield, Ed., "HTTP/2", RFC 9113, DOI 10.17487/RFC9113, June 2022,
https://www.rfc-editor.org/info/rfc9113. - [RFC9114] Bishop, M., Ed., "HTTP/3", RFC 9114, DOI 10.17487/RFC9114, June 2022,
https://www.rfc-editor.org/info/rfc9114. - [RFC9204] Krasic, C., Bishop, M., and A. Frindell, Ed., "QPACK: Field Compression for HTTP/3", RFC 9204, DOI 10.17487/RFC9204, June 2022,
https://www.rfc-editor.org/info/rfc9204. - [RFC9293] Eddy, W., Ed., "Transmission Control Protocol (TCP)", STD 7, RFC 9293, DOI 10.17487/RFC9293, August 2022,
https://www.rfc-editor.org/info/rfc9293. - [Undertow] undertow, "An in depth overview of HTTP/2",
https://undertow.io/blog/2015/04/27/An-in-depth-overview-of-HTTP2.html. - [Wiki-NGFW] Wikipedia, "Next-generation firewall", January 2023,
https://en.wikipedia.org/w/index.php?title=Next-generation_firewall&oldid=1133673904.
Appendix A. Test Methodology - Security Effectiveness Evaluation ๐
A.1. Test Objective
This test methodology checks that the DUT/SUT can detect, prevent, and report the vulnerabilities. Main character energy, fr ๐
In this test, background test traffic gets generated to keep the DUT/SUT busy. At the same time, some malicious traffic gets sent to the DUT/SUT using a traffic generator, in both encrypted and cleartext payload formats. Section 4.2.1 explains how that malicious traffic gets picked from the Common Vulnerabilities and Exposures (CVEs) list.
These are the KPIs we measure in this test:
- Number of blocked CVEs
- Number of bypassed (non-blocked) CVEs
- Background traffic performance (checking whether the background traffic gets impacted while CVEs are sent toward the DUT/SUT)
- Accuracy of DUT/SUT statistics in terms of vulnerabilities reporting
A.2. Testbed Setup
The same testbed MUST be used for security effectiveness tests and for the benchmarking test cases defined in Section 7. No swapping rigs mid-test, bestie ๐
A.3. Test Parameters
In this section we define the benchmarking-test-specific parameters ๐
A.3.1. DUT/SUT Configuration Parameters
DUT/SUT configuration parameters MUST conform to the requirements defined in Section 4.2. The same DUT configuration MUST be used for the security effectiveness test and for the benchmarking test cases defined in Section 7. The DUT/SUT MUST be configured in "Inline" mode, all detected attack traffic MUST be dropped, and the session MUST be reset.
A.3.2. Test Equipment Configuration Parameters
Test equipment configuration parameters MUST conform to the requirements defined in Section 4.3. The same client and server IP ranges MUST be configured as used in the benchmarking test cases. On top of that, the following parameters MUST be documented for this benchmarking test:
- Background Traffic: 45% of maximum HTTP throughput and 45% of maximum HTTPS throughput supported by the DUT/SUT (measured with object size 64 KB in the benchmarking tests HTTP(S) Throughput defined in Sections 7.3 and 7.7)
- RECOMMENDED CVE traffic transmission Rate: 10 CVEs per second
- It is RECOMMENDED to generate each CVE multiple times (sequentially) at 10 CVEs per second.
- Ciphers and keys for the encrypted CVE traffic MUST use the same cipher configured for HTTPS-traffic-related benchmarking tests (Sections 7.6-7.9)
A.4. Test Results Validation Criteria
These are the test results validation criteria, and they MUST be monitored during the whole test duration. Keep your eyes on the prize ๐
a. The number of failed application transactions in the background traffic MUST be less than 0.01% of the attempted transactions.
b. The number of terminated TCP or QUIC connections of the background traffic (due to unexpected errors) MUST be less than 0.01% of the total initiated TCP connections in the background traffic.
c. During the sustain phase, traffic MUST be forwarded at a constant rate (it is considered as a constant rate if any deviation of the traffic forwarding rate is less than 5%).
d. A false positive MUST NOT occur in the background traffic. Absolutely not, no drama ๐ซ
A.5. Measurement
The following KPI metrics MUST be reported for this test scenario:
Mandatory KPIs:
- Blocked CVEs: They MUST be represented in the following ways:
- Number of blocked CVEs out of total CVEs
- Percentage of blocked CVEs
- Unblocked CVEs: They MUST be represented in the following ways:
- Number of unblocked CVEs out of total CVEs
- Percentage of unblocked CVEs
- Background traffic behavior: It MUST be represented in one of the followings ways:
- No impact: Considered as "no impact" if any deviation of the traffic forwarding rate is less than or equal to 5% (constant rate)
- Minor impact: Considered as "minor impact" if any deviation of the traffic forwarding rate is greater than 5% and less than or equal to 10% (i.e., small spikes)
- Heavy impact: Considered as "heavy impact" if any deviation of the traffic forwarding rate is greater than 10% (i.e., large spikes) or reduced the background HTTP(S) throughput greater than 10%
- DUT/SUT reporting accuracy: The DUT/SUT MUST report all detected vulnerabilities.
Optional KPIs:
- List of unblocked CVEs
A.6. Test Procedures and Expected Results
This test procedure checks the security effectiveness of the DUT/SUT during the sustaining period of the traffic load profile. The procedure has two major steps. This test procedure MAY be repeated multiple times with different IPv4 and IPv6 traffic distributions. Run it again, it's giving thorough ๐
A.6.1. Step 1: Background Traffic
Generate background traffic at the transmission rate defined in Appendix A.3.2.
The DUT/SUT MUST reach the target objective (HTTP(S) throughput) in the sustain phase. The KPIs measured during the sustain phase MUST meet all the test results validation criteria defined in Appendix A.4.
If the KPI metrics do not meet the test results validation criteria, the test procedure MUST NOT be continued to Step 2. Red flag, stop right there ๐ฉ
A.6.2. Step 2: CVE Emulation
While generating background traffic (in the sustain phase), send the CVE traffic, as defined in the parameter section (Appendix A.3.2).
The test equipment MUST start to measure and record all specified KPIs. Keep going until all CVEs are sent.
The measured KPIs MUST meet all the test results validation criteria defined in Appendix A.4.
In addition, the DUT/SUT should report the detected vulnerabilities in the log correctly, or there MUST be reference material available that will allow for verification that the correct vulnerability was detected if, for example, a different naming convention is used. This reference material MUST be cited in the report. Receipts, bestie, always keep receipts ๐งพ
Appendix B. DUT/SUT Classification ๐
This document aims to sort the DUT/SUT into four different categories based on its maximum-supported firewall throughput performance number defined in the vendor datasheet. This classification MAY help users work out specific configuration scales (e.g., number of ACL entries), traffic profiles, and attack traffic profiles, scaling those proportionally to the DUT/SUT sizing category.
The four categories are Extra Small (XS), Small (S), Medium (M), and Large (L). The RECOMMENDED throughput values for the following categories are:
- Extra Small (XS) - Supported throughput less than or equal to 1 Gbit/s
- Small (S) - Supported throughput greater than 1 Gbit/s and less than or equal to 5Gbit/s
- Medium (M) - Supported throughput greater than 5 Gbit/s and less than or equal to 10Gbit/s
- Large (L) - Supported throughput greater than 10 Gbit/s
Acknowledgements ๐ซถ
The authors want to give a huge shoutout to the members of NetSecOPEN for their participation in the creation of this document. The following members also need to be acknowledged:
Anand Vijayan, Chris Marshall, Jay Lindenauer, Michael Shannon, Mike Deichman, Ryan Riese, and Toulnay Orkun. Legends, all of you ๐
Contributors ๐ฆ
The following individuals contributed significantly to the creation of this document:
Alex Samonte, Amritam Putatunda, Aria Eslambolchizadeh, Chao Guo, Chris Brown, Cory Ford, David DeSanto, Jurrie Van Den Breekel, Michelle Rhines, Mike Jack, Ryan Liles, Samaresh Nair, Stephen Goudreault, Tim Carlin, and Tim Otto. You're all iconic ๐
Authors' Addresses ๐
Okay bestie, these are the humans behind the doc, and yes, you can reach out to them ๐ซถ
Balamuhunthan Balarajah ๐ธ Berlin Germany Email: bm.balarajah@gmail.com
Carsten Rossenhoevel ๐ฆ EANTC AG Salzufer 14 10587 Berlin Germany Email: cross@eantc.de
Brian Monkman ๐ง NetSecOPEN 417 Independence Court Mechanicsburg, PA 17050 United States of America Email: bmonkman@netsecopen.org
And that's the whole doc, babe ๐โจ we made it through all 13 parts, periodt ๐ ๐
๐ฆ where this page comes from
- ietf: rfc9411 2023-03
- ๐ girlified by claude-haiku-5-5 on : a language model's rewrite of the original, under its terms