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

    Error loading the rules

    Scheduled Pinned Locked Moved IPv6
    7 Posts 4 Posters 10.7k 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.
    • J
      jigpe
      last edited by

      Good Morning!

      Ipv6/Ipv4 is working well. But why i have this errors in Status: System logs: System:

      Apr 4 09:26:39 php: : New alert found: There were error(s) loading the rules: /tmp/rules.debug:103: cannot define table bogonsv6: Cannot allocate memory pfctl: Syntax error in config file: pf rules not loaded - The line in question reads [103]: table <bogonsv6>persist file "/etc/bogonsv6"

      How to remove this error? i try to "touch /etc/bogonsv6" still the errors keep appearing on System logs…

      Thanks,
      jigp</bogonsv6>

      1 Reply Last reply Reply Quote 0
      • W
        wagonza
        last edited by

        Out of curiosity, how much RAM do you have in that box?

        Follow me on twitter http://twitter.com/wagonza
        http://www.thepackethub.co.za

        1 Reply Last reply Reply Quote 0
        • I
          iFloris
          last edited by

          A few weeks ago I ran across the same problem.
          My box is a vm with 2 physical processors and 6 gb ram allocated.
          Manually setting Firewall Maximum Table Entries to 1000000 in system -> advanced -> Firewall / NAT seems to have solved the problem.

          one layer of information
          removed

          1 Reply Last reply Reply Quote 0
          • J
            jigpe
            last edited by

            Hi!

            @wagonza - 3GB RAM and im the only one user connected. No packages installed too. I have NAT enable manually…

            @Floris - Ok ill use your method and test it.

            Thanks,
            jigpe

            1 Reply Last reply Reply Quote 0
            • J
              jigpe
              last edited by

              @Floriz - Ive tried that now..then reset states and reboot..Same thing..Error still the same.. Ive tried Firewall Optimization Options set to normal,high latency,aggressive even conservative (reset state and reboot every options) nothing happen still the same error..

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

                That would be tied to the table space size. It's under System > Advanced on the Firewall/NAT page.

                Do you have any other really large aliases? Or something that loads a bunch of table entries like pfBlocker?

                The bogonsv6 list can be quite large when it's loaded, over 54,000 entries, so it will take quite a bit of table space.

                When you run out of table room you end up in a chicken-and-egg scenario where it needs to load the rules to increase the table size but it can't increase the table size because it can't load the rules. You can sidestep that by running:

                pfctl -F Tables
                

                Then forcing a filter reload (Status > Filter Reload)

                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
                • J
                  jigpe
                  last edited by

                  After making changes on the state and reboot it for 2x, the box freezed :( I saw no errors. I cant even connect to ssh pf menu.. Ill reformat it now and use the latest snapshot http://snapshots.pfsense.org/FreeBSD_RELENG_8_3/i386/pfSense_HEAD/livecd_installer/pfSense-LiveCD-2.1-DEVELOPMENT-i386-20120409-1444.iso.gz

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