Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    'wg' binary segmentation fault

    Scheduled Pinned Locked Moved WireGuard
    2 Posts 2 Posters 516 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.
    • T
      tobira
      last edited by

      I am running PFSense 2.5.0-RELEASE. FreeBSD pfsense.host 12.2-STABLE FreeBSD 12.2-STABLE d48fb226319(devel-12) pfSense amd64

      I have found a new issue that when I run "wg" or "wg show" via SSH, the binary segfaults when it attempts to display wg2's information.wireguard-segfault.png

      I'm not certain how to report this further. I ended up running "wg show" on the machine because I had an issue with some hosts not connecting to Wireguard and I ended up rebooting the machine, thinking that the segfault would disappear after a reboot. This is after my reboot.

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

        Last time I saw that happen it was due to an invalid configuration where two peers on the same tunnel had Allowed IPs set to 0.0.0.0/0.

        We're adding input validation to prevent that invalid configuration:
        https://redmine.pfsense.org/issues/11465

        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 2025 Rubicon Communications LLC (Netgate). All rights reserved.