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

    Strange error: There were error(s) loading the rules: pfctl: pfctl_rules

    Scheduled Pinned Locked Moved General pfSense Questions
    102 Posts 13 Posters 16.2k 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.
    • D
      djrobx @kprovost
      last edited by

      @kprovost I ran into this and don't have a captive portal either. My configuration is pretty much the same that I have been using since 2.4.5, so not using any "new" features. I have not seen the issue recur since applying the kernel patch though.

      1 Reply Last reply Reply Quote 0
      • artooroA
        artooro @lukeskyscraper
        last edited by

        @lukeskyscraper what kind of hardware are you using? There is a patch for Intel and some ARM devices, which has been working for us.

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

          Yeah, there is a test kernel for 2205 still available earlier in this thread. It was very much for testing only but it might be a good test if you're hitting it without any layer2 rules.

          Because this is a compiled in-kernel change it's not something we can release as a run-time patch. It would require a complete point release.

          23.01 snapshots are currently available. Although right now there is some back end work happening which might mean they are not for while today.

          Steve

          1 Reply Last reply Reply Quote 0
          • L
            lukeskyscraper @artooro
            last edited by

            @artooro This particular box is a Netgate 7100, so if there's an intel patch available, I'd be happy to try it.

            artooroA 1 Reply Last reply Reply Quote 0
            • artooroA
              artooro @lukeskyscraper
              last edited by

              @lukeskyscraper ok try these commands in an SSH prompt

              rm -r /boot/kernel.old
              mv /boot/kernel /boot/kernel.old
              curl -o /tmp/kernel.tar.bz2 https://people.freebsd.org/~kp/kernel.tar.bz2
              tar -xjf /tmp/kernel.tar.bz2 -C /boot
              

              And then reboot

              Make sure you have a config backup in case it goes wrong.

              L mardacs27M 2 Replies Last reply Reply Quote 2
              • stephenw10S
                stephenw10 Netgate Administrator
                last edited by

                And an install image. Preferably on a USB drive ready to go. 😉

                1 Reply Last reply Reply Quote 3
                • L
                  lukeskyscraper @artooro
                  last edited by

                  @artooro Awesome thanks. The firewall is remote, at a site we visit weekly. If this issue crops up again by next week, then I'll try this kernel while someone is on site.

                  1 Reply Last reply Reply Quote 0
                  • mardacs27M
                    mardacs27 @artooro
                    last edited by

                    @artooro can this also be tested on SG-2440 (Intel)?

                    1 Reply Last reply Reply Quote 0
                    • GertjanG Gertjan referenced this topic on
                    • stephenw10S
                      stephenw10 Netgate Administrator
                      last edited by

                      Yes, it will work on any amd64 device, they all share the same 22.05 kernel.

                      1 Reply Last reply Reply Quote 1
                      • stephenw10S stephenw10 referenced this topic on
                      • S
                        sandie
                        last edited by sandie

                        Hello colleagues,
                        I am skim-reading this thread. Is this problem (https://redmine.pfsense.org/issues/13408) resolved in 23.01 (I am Plus with 7100-DT)? I was affected by discussed problem too and so far reboots always helped (we do not change rules very often).
                        I did not check much, but prior last reboot/problem I can confirm that /tmp/rules.debug was quite large file (non-empty / 346 lines in my case). Status / Filter Reload was bringing errors at the time of "problem", until router rebooted.
                        Did I understand correctly that for 22.05 Plus there is kernel fix that should manually be applied? I think I can live little longer with reboots, but would like to confirm that it was fixed in 23.01.
                        Sorry for bringing this thread from ashes.
                        BTW. I am not using Captive Portal and 6to4 tunnels too.
                        Kind regards
                        Pawel

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

                          There was a test kernel that contained the fix for 22.05 but at this point it's better to test 23.01 if you can. If you're running ZFS you can always roll back the BE snap to 22.05 if required.

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