RFC 9411

Benchmarking Methodology for Network Security Device Performance

๐Ÿ“… published March 2023, from ietf

๐ŸŽ€ 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 (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 ๐Ÿ’–

  1. ECDHE-ECDSA-AES128-GCM-SHA256 with Prime256v1 (Signature Hash Algorithm: ecdsa_secp256r1_sha256 and Supported group: secp256r1)
  2. ECDHE-RSA-AES128-GCM-SHA256 with RSA 2048 (Signature Hash Algorithm: rsa_pkcs1_sha256 and Supported group: secp256r1)
  3. ECDHE-ECDSA-AES256-GCM-SHA384 with Secp384r1 (Signature Hash Algorithm: ecdsa_secp384r1_sha384 and Supported group: secp384r1)
  4. ECDHE-RSA-AES256-GCM-SHA384 with 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] ๐ŸŒธ

  1. TLS_AES_128_GCM_SHA256
  2. TLS_AES_256_GCM_SHA384
  3. TLS_CHACHA20_POLY1305_SHA256
  4. TLS_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 ๐Ÿ’….

  1. 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 โšก.
  2. Generate traffic from the traffic generator. Choose a traffic profile used for the HTTP or HTTPS throughput performance test with the smallest object size ๐Ÿ“ฆ.
  3. 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 ๐Ÿฆ‹.
  4. Verify that the generated traffic (performance) of the test equipment matches and reasonably exceeds the expected maximum performance of the DUT/SUT โœ….
  5. Record the network performance metrics, packet loss and latency, introduced by the test environment (without the DUT/SUT) ๐Ÿ“.
  6. 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 ๐Ÿ“‹.

  1. Time and date of the execution of the tests โฐ.
  2. 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 ๐Ÿ“
  3. 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 ๐ŸŒˆ

  1. 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 ๐ŸŒ

  1. 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 ๐Ÿšจ

  1. 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 ๐Ÿ“š๐Ÿ’–


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