Cannot Define Table Bogonsv6



  • 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.



  • 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.



  • No addtional packages.  Pretty basic installation.



  • Post the output of the following commands:

    pfctl -s memory
    pfctl -s Tables

    or

    /tmp/rules.debug for everything



  • @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.



  • 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.


Locked