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

    Strange CARP behavioral change/bug in HA setup after upgrade from 2.6.0 to 2.7.0

    Scheduled Pinned Locked Moved General pfSense Questions
    14 Posts 6 Posters 1.6k 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.
    • jimpJ
      jimp Rebel Alliance Developer Netgate
      last edited by

      For the VPN issue make sure you also have the outbound NAT rule(s) described in the linked doc. Without that, the return traffic would get caught by the IPsec policy and would be dropped.

      For the CARP ping thing, yes, read the Redmine issue I linked. It's known/expected. Something upstream in FreeBSD changed there.

      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!

      I 1 Reply Last reply Reply Quote 1
      • I
        IT_Luke @jimp
        last edited by

        @jimp Yes I found that issue too (I linked it in me OP) which is why I asked confirmation. I guess there is an open issue that has to be resolved (or not?) at filter level. Luckily I upgraded only my lab boxes - will wait for possible resolution b4 upgrading other HA installs as 2.6 has been working well for me with my several installs, no hurry. What also changed apparently due to this is the CARP behaviour of the pfBlocker interface - in an HA setup you select CARP instead of VIP and I usually set a /29 subnet in order for it to detect the master or backup correctly (else they both stay active - at least on 2.6) - now whatever I do they are always both active (and set to /32), no big issue but that's also a change and probably to be confronted. Anyhow thanks for the feedback!

        1 Reply Last reply Reply Quote 0
        • stephenw10S
          stephenw10 Netgate Administrator
          last edited by stephenw10

          If you can try setting net.inet.ip.source_address_validation=0 on your lab HA pair. Let us know if that allows the previous behaviour.

          Steve

          L I X 3 Replies Last reply Reply Quote 2
          • L
            Luke_71 @stephenw10
            last edited by

            This post is deleted!
            1 Reply Last reply Reply Quote 0
            • I
              IT_Luke @stephenw10
              last edited by

              @stephenw10 Hi Steve, I can confirm preliminarly that setting net.inet.ip.source_address_validation to 0 does in fact return to the previous behaviour even without reboot (the firewall apparently picks it up runtime after a brief non responsive period), I am now able to ping the active CARP addresses from the backup machine. I haven't done any further testing but I will leave that setting to 0 for now and see if everything behaves as it should.
              Cheers

              1 Reply Last reply Reply Quote 0
              • stephenw10S
                stephenw10 Netgate Administrator
                last edited by

                Ok great. We need to confirm what changed there and what effects resetting that might have but it looks like we will probably set that by default.

                I 1 Reply Last reply Reply Quote 0
                • I
                  IT_Luke @stephenw10
                  last edited by

                  @stephenw10 probably not directly related but I noticed the pfb_dnsbl service no longer starts unless I manually edit it's CARP iface subnet to /29 for ex.. Unfortunately this only lasts until the next update so it isn't much of a resolution. I posted this in the pfBlocker section but haven't had any feedback on the matter - I suppose that when setting the pfb iface in CARP mode and listening on the LAN the iface subnet should be anything other than /32 being in HA - I don't think this is related specifically to the kernel update though again something changed here too.

                  1 Reply Last reply Reply Quote 0
                  • stephenw10S
                    stephenw10 Netgate Administrator
                    last edited by

                    Mmm, that does seem like an unrelated issue but that shouldn't happen obviously.

                    JonathanLeeJ 1 Reply Last reply Reply Quote 0
                    • JonathanLeeJ
                      JonathanLee @stephenw10
                      last edited by JonathanLee

                      @stephenw10 don't they have a Redmine open on this?

                      https://redmine.pfsense.org/issues/14524

                      https://redmine.pfsense.org/issues/14026

                      Is this the same issue?

                      Make sure to upvote

                      L 1 Reply Last reply Reply Quote 0
                      • L
                        Luke_71 @JonathanLee
                        last edited by

                        @JonathanLee said in Strange CARP behavioral change/bug in HA setup after upgrade from 2.6.0 to 2.7.0:

                        https://redmine.pfsense.org/issues/14026

                        It's for sure related to the 14026 Red Mine which I linked in my OP and this settings resolves it. I'm not sure the 14524 is directly related though as this specifically seems a UI issue, not a core issue - but take it with a grain of salt.

                        1 Reply Last reply Reply Quote 0
                        • X
                          xtr3mx7 @stephenw10
                          last edited by

                          @stephenw10
                          Thanks, I had same issue after upgrading to 2.7.0
                          I can now ping the CARP VIP from the backup node when adding this System Tunable setting.

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