Skip to main content
naveenk
Staff
Staff
Sep 21, 2020 7:36 AM UTC

Technical Tip: Protocol header checking

  • Jul 27, 2026 12:26 PM UTC
  • 1 reply
  • 6182 views
  • Translate All

Description

This article describes how to select the level of checking performed on packet headers.

Scope

FortiGate.

Solution

If a packet fails header checking, it is dropped by the FortiGate. The header properties checked can be configured using CLI with the following command:

  

config system global
    set check-protocol-header {loose | strict}
end


  • loose: The default setting. When receiving a packet, FortiGate performs basic header checking to verify that a packet is part of a session and should be processed.
    Basic header checking includes verifying that the layer-4 protocol header length, the IP header length, the IP version, the IP checksum, and IP options are correct.
    strict: The FortiGate does the same checking as above, plus it verifies that ESP packets have the correct sequence number, SPI, and data length.

Note: Enabling strict header checking disables all hardware acceleration on the device, including NTurbo and IPsec encryption/decryption offloading. This can have a performance impact. See the FortiOS v7.6.4 Hardware Acceleration Guide: Strict protocol header checking disables hardware. acceleration.

    1 reply

    localhost
    Visitor III
    May 11, 2026 4:01 PM UTC

    Typo: See the FortiGate Hardware Acceleration Guide, not FortiSwitch Hardware Acceleration Guide.

    Translate
    Risk and Resilience in the Age of AI. An OT Thought Leadership Summit for Houston's Critical Infrastructure Leaders. Date: Thursday, December 3, 2026. Time: 8:30 am - 1:30 pm (CT). Location: The Westin Houston, Memorial City | 945 Gessner Road, Houston, TX 77024