[SOLVED] cannot define table bogonsv6: Cannot allocate memory

Started by GOCE, April 11, 2018, 05:32:42 PM

Previous topic - Next topic
Since updating to 18.1.5 I got a lot of these errors (see attached screenshot).

My only workaround was to disable the "Block bogon networks" checkbox on my WAN interfaces.
The "Block bogon networks" rule was only applied to WAN interfaces.

The firewalls have 16GB RAM with default (10%) setting for "Firewall Maximum States".
Tried it also with 4000000 (25%) for "Firewall Maximum States" without any positive change.

Don"t know what could have caused these errors and would be thankful if anybody could help
me debug the root cause for these errors.

Regards

I have the same with 18.1.6:
There were error(s) loading the rule: /tmp/rules.debug:15: cannot define table bogonsv6: Cannot allocate memory - The line in questions reads [15]: table persist file /usr/local/etc/bogonsv6.

Just in case it helps;
I saw this too. We don't use IPv6 so I disabled IPv6 in the firewall settings and the problem went away, and allows us to still block IPv4 Bogons.

This has been frequently reported and answered.

Go to Firewall: Settings: Advanced: enter a maximum table entries value of "500000".

The bogons file for IPv6 seems to have grown recently as provided by https://www.team-cymru.com/bogon-reference.html and we are working on a more permanent fix but it's not ready for general consumption just yet.


Cheers,
Franco



Unfortunately that is not the workaround, it's the fix. But we will put an automatic fix in place to avoid such problems in the future. :)


Cheers,
Franco

Glad to see I am not the only one who was having the issue.  Thanks for the fix information. 

The automatic table size fix I spoke of ships today.


Cheers,
Franco