Firewall drops VSS-Management trailer due to Layer 4 checksum enabled

Firewall drops VSS-Management trailer due to Layer 4 checksum enabled

2233
Created On 06/24/22 18:12 PM - Last Modified 07/26/25 03:51 AM


Symptom


  • Some packets are missing in the drop or receive stage of pcap on the FW.
  • Wireshark capture at the source shows the VSS-Monitoring ethernet trailer added to the packets that do not make it to the FW.
  • The global counter 'flow_fpga_rcv_igr_L4CHKSUMERR'  increments during the time of issue.


Environment


  • Palo Alto 5200 Series Firewall
  • Supported PAN-OS


Cause


  • On the platforms like PA-5250 with FE100 hardware chip, the FW performs an FCS on the ingress.
  • The packets containing VSS-Management trailer breaks the L4 checksum and hence does not make it to the dataplane.
  • If the total length of the packet is more than 256 B and the packet has trailer bytes, this cause the L4 checksum on the Firewall and to fail, and that packet is dropped by the Firewall.
  • For this  reason these packets are not seen in the packet capture or debug logs on the Firewall


Resolution


Disable Layer 4 Checksum on the FW during a maintanance window

Perform the below on both firewalls using HA to minimize any impact. i.e passive first.
  1. On the Firewall, disable layer4 checksum using below command:
> set system setting layer4-checksum disable
  1. Reboot the device during maintenance window to bring the change in to effect:
> request restart system
  1.  After box comes up after reboot, confirm setting in sdb,  The output should display l4_chk_sum': 0 as below:
> show system state | match fe100
.. 
cfg.hw.fe100: { 'cfg_mode': 10, 'l4_chk_sum': 0, 'usecase': 1, 'v4_v6_choice': 2,

Note:  Since L4 checksum will no longer be performed on the firewalls, TCP retransmissions due to invalid checksum would still occur because of the server/client checksum validation.


Additional Information


Live community Discussion

Actions
  • Print
  • Copy Link

    https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA14u000000CqB6CAK&lang=en_US&refURL=http%3A%2F%2Fknowledgebase.paloaltonetworks.com%2FKCSArticleDetail

Choose Language