• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login
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.1k 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
    NOYB
    last edited by Dec 14, 2012, 11:05 PM

    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
      bardelot
      last edited by Dec 15, 2012, 1:14 AM

      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
        NOYB
        last edited by Dec 15, 2012, 1:23 AM

        No addtional packages.  Pretty basic installation.

        1 Reply Last reply Reply Quote 0
        • B
          bardelot
          last edited by Dec 15, 2012, 2:31 AM Dec 15, 2012, 2:22 AM

          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
            NOYB
            last edited by Dec 16, 2012, 12:50 AM Dec 16, 2012, 12:48 AM

            @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
              NOYB
              last edited by Dec 16, 2012, 7:52 AM

              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
              6 out of 6
              • First post
                6/6
                Last post
              Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
                This community forum collects and processes your personal information.
                consent.not_received