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

    Cannot Define Table Bogonsv6

    Scheduled Pinned Locked Moved 2.1 Snapshot Feedback and Problems - RETIRED
    6 Posts 2 Posters 2.3k 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.
    • N Offline
      NOYB
      last edited by

      After a fresh install getting this bogonsv6 table error.

      
      Dec 14 15:00:01	php: : The command '/sbin/pfctl -o basic -f /tmp/rules.debug' returned exit code '1', the output was '/tmp/rules.debug:152: cannot define table bogonsv6: Cannot allocate memory pfctl: Syntax error in config file: pf rules not loaded'
      
      Dec 14 15:00:01	php: : New alert found: There were error(s) loading the rules: /tmp/rules.debug:152: cannot define table bogonsv6: Cannot allocate memory pfctl: Syntax error in config file: pf rules not loaded - The line in question reads [152]: table <bogonsv6>persist file "/etc/bogonsv6"
      
      Dec 14 15:00:02	php: : There were error(s) loading the rules: /tmp/rules.debug:152: cannot define table bogonsv6: Cannot allocate memory pfctl: Syntax error in config file: pf rules not loaded - The line in question reads [152]: table <bogonsv6>persist file "/etc/bogonsv6"</bogonsv6></bogonsv6> 
      

      Found this in another post.
      "Go to system advanced and increase the limits for the tables."

      Perhaps the default for new installs should be increased.

      1 Reply Last reply Reply Quote 0
      • B Offline
        bardelot
        last edited by

        Do you have any packages installed? I believe the default table entries limit is 200000 and with 5000 IPv4 and 65000 IPv6 bogons there should be enough space on a default install.

        1 Reply Last reply Reply Quote 0
        • N Offline
          NOYB
          last edited by

          No addtional packages.  Pretty basic installation.

          1 Reply Last reply Reply Quote 0
          • B Offline
            bardelot
            last edited by

            Post the output of the following commands:

            pfctl -s memory
            pfctl -s Tables

            or

            /tmp/rules.debug for everything

            1 Reply Last reply Reply Quote 0
            • N Offline
              NOYB
              last edited by

              @bardelot:

              Post the output of the following commands:

              pfctl -s memory
              pfctl -s Tables

              or

              /tmp/rules.debug for everything

              I cannot.  Have repurposed that machine.  It no longer exists as pfSense router.

              1 Reply Last reply Reply Quote 0
              • N Offline
                NOYB
                last edited by

                On my main system which does not exhibit the issue the default max table entries is 200000.
                This system is an old DELL Insprion 5100 notebook with 2GB RAM.

                On the system that exhibited the problem the default max table entries was only 100000.
                That system is an i3 NUC with 8GB RAM.

                I'm thinking there is a problem with the default size calculation.  Perhaps a variable that needs to be a larger data type.

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