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

    Configuration sections just vanished, or so it seems

    Scheduled Pinned Locked Moved General pfSense Questions
    6 Posts 2 Posters 309 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.
    • lifeboyL
      lifeboy
      last edited by

      We had a very concerning situation a day ago.

      We have a couple of IPSec links with quite a few phase2's configured. At around 2:00 in the morning two different IPsec config's completely lost all configured phase2 setups and the links of course dropped the phase2's.

      We're not sure if they weren't already removed by some quirk earlier and at 2:00 something made the links or IPSec service reload without the phase2's. Some other phase2 remained for for other IPSec configs without any changes.

      If not posting this under IPSec since it seems to us that this is not specifically IPSec related, but rather config.yml related. I checked the file and each of the blocks

      <phase2>
      	<ikeid>10</ikeid>
      ...
      </phase2>
      

      were not there anymore.

      We had done quite a few new rules and NAT port forwards in the days before, but nothing even close to the IPSec config, so it was definitely not removed by us.

      We only held that last 30 config changes in the backups and that spanned less that 3 days, so that has now been increased to 100. We reviewed all the changes in the backup history, but none show a change to the IPsec config, so if must have happened longer ago.

      How could this have happened and why? It's very concerning of course and perplexing to say the least.

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

        Which pfSense version?

        Did you make any IPSec config changes before that?

        You could be hitting: https://redmine.pfsense.org/issues/15171

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

          The fix for that is in the recommended patches list in the current system patches package for 2.7.2.

          1 Reply Last reply Reply Quote 0
          • lifeboyL
            lifeboy @stephenw10
            last edited by

            @stephenw10, no, the last IPsec changes we made were early in December 2024. For more than a month all was good and all the configs there.

            I don't have enough history stored to see when it was lost, so I guess we won't know for sure what happened.

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

              Hmm. Well I would still apply that patch, along with all the recommended patches, if you have not yet done so.

              lifeboyL 1 Reply Last reply Reply Quote 0
              • lifeboyL
                lifeboy @stephenw10
                last edited by

                @stephenw10 I'm on the stable branch 2.7.2 up to date. I have now applied all the recommended patches.

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