Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login
    Introducing Netgate Nexus: Multi-Instance Management at Your Fingertips.

    PfSense in XEN ; dropped packets with bad TCP Checksum

    Scheduled Pinned Locked Moved Firewalling
    2 Posts 2 Posters 2.0k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • M Offline
      matfra
      last edited by

      Hello,
      I'm running PfSense 2.2 in a Xen environment. The Xenguest tools are installed.

      I'm facing a unwanted behavior from the firewall:

      The packets coming from VM which are hosted on the same hypervisor as Xen have a bad TCP Checksum. By default all the VM have TCP Checksum offload enabled so the virtualized OS doesn't really verify this checksum and assumes it's correct. Everything works well in that way and some CPU cycles are saved. The issue appears when you try to route these packets containing a TCP segment with a bad checksums: theses packets are systematically being dropped… Which makes sense from the firewall point of view.

      Is there a way to tell PfSense firewall to not check the TCP Checksum of the segment? (Of course TCP Checksum offloading is disabled in the advanced network settings.)

      Here is my setup:
      3 machines on the same hypervisor:
      A(HTTP Server) - PfSense - B (Client)
      The SYN and SYN-ACK betwwen C and A are OK.
      The issue start with the ACK segement from A -> C

      If I disable the TX TCP Checksum Offload on A, everything is smooth. This is the real solution to my problem. However this also means I have to disable TCP TX Checksum Offload for all the VM...

      1 Reply Last reply Reply Quote 0
      • jimpJ Offline
        jimp Rebel Alliance Developer Netgate
        last edited by

        The only workaround I know of is to disable checksum offloading. Last I heard, it was a known issue on Xen.

        Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

        Need help fast? Netgate Global Support!

        Do not Chat/PM for help!

        1 Reply Last reply Reply Quote 0
        • First post
          Last post
        Copyright 2026 Rubicon Communications LLC (Netgate). All rights reserved.