pfBlockerNG errors when GoeIP enabled
-
I have only been using pfSense a couple weeks now and I installed pfBlockerNG to use for ad blocking. That has been working fine.
Then I saw you could also use it to block other countries using GeoIP. I watched a quick video on setting it up / using it. Highlight what you want then choose the list action and then save.
after doing this I started seeing a red notification bell and these are an example of the errors I'm gettingFilter Reload • There were error(s) loading the rules: /tmp/rules.debug:30: cannot define table pfB_Top_v4: Cannot allocate memory - The line in question reads [30]: table <pfB_Top_v4> persist file "/var/db/aliastables/pfB_Top_v4.txt" @ 2018-08-08 19:23:48 • There were error(s) loading the rules: /tmp/rules.debug:30: cannot define table pfB_Top_v4: Cannot allocate memory - The line in question reads [30]: table <pfB_Top_v4> persist file "/var/db/aliastables/pfB_Top_v4.txt" @ 2018-08-08 19:25:01 • There were error(s) loading the rules: /tmp/rules.debug:30: cannot define table pfB_Top_v4: Cannot allocate memory - The line in question reads [30]: table <pfB_Top_v4> persist file "/var/db/aliastables/pfB_Top_v4.txt" @ 2018-08-08 19:26:32 • There were error(s) loading the rules: /tmp/rules.debug:30: cannot define table pfB_Top_v4: Cannot allocate memory - The line in question reads [30]: table <pfB_Top_v4> persist file "/var/db/aliastables/pfB_Top_v4.txt" @ 2018-08-08 19:30:09 • There were error(s) loading the rules: /tmp/rules.debug:30: cannot define table pfB_Top_v4: Cannot allocate memory - The line in question reads [30]: table <pfB_Top_v4> persist file "/var/db/aliastables/pfB_Top_v4.txt" @ 2018-08-08 19:30:38 • There were error(s) loading the rules: /tmp/rules.debug:32: cannot load "/var/db/aliastables/pfB_Top_v6.txt": No such file or directory - The line in question reads [32]: table <pfB_Top_v6> persist file "/var/db/aliastables/pfB_Top_v6.txt" @ 2018-08-08 19:31:58 •
-
In pfSense > System > Advanced > Firewall & NAT > "Firewall Maximum Table Entries"
The package should default that to "2000000" entries.
Follow that with a Filter Reload
-
That setting was default to 400000. I'll change it and try again.
Thanks
Edit: Tried and works without errors now.
Thanks -
@BBcan177 said in pfBlockerNG errors when GoeIP enabled:
In pfSense > System > Advanced > Firewall & NAT > "Firewall Maximum Table Entries"
The package should default that to "2000000" entries.
Follow that with a Filter Reload
Hello,
I have 2 new Netgate firewalls and they both had this issue. I set the "Firewall Maximum Table Entries" as directed on both... the problem is resolved on one and is still occurring on one.
Error:
There were error(s) loading the rules: /tmp/rules.debug:48: cannot define table pfB_Top_v4: Cannot allocate memory - The line in question reads [48]: table <pfB_Top_v4> persist file "/var/db/aliastables/pfB_Top_v4.txt" @ 2019-08-20 10:26:33
Any other ideas?
Thanks!
-
@BBcan177 said in pfBlockerNG errors when GoeIP enabled:
In pfSense > System > Advanced > Firewall & NAT > "Firewall Maximum Table Entries"
The package should default that to "2000000" entries.
Follow that with a Filter Reload
Increase Firewall Maximum Table Entries again.
-
@RonpfS said in pfBlockerNG errors when GoeIP enabled:
@BBcan177 said in pfBlockerNG errors when GoeIP enabled:
In pfSense > System > Advanced > Firewall & NAT > "Firewall Maximum Table Entries"
The package should default that to "2000000" entries.
Follow that with a Filter Reload
Increase Firewall Maximum Table Entries again.
I increased it to 3000000 and had the same issue when reloading the filter.
What is the maximum upper limit?
The systems are:
Netgate SG-3100
ARM Cortex-A9 r4p1 (ECO: 0x00000000)
Multiprocessing, Thumb2, Security, VMSAv7, Coherent Walk
2 CPUs:
SOC: Marvell 88F6820, TClock 250MHz, Frequency 1600MHz
Crypto: Marvell Cryptographic Engine and Security Accelerator
2028 MiB memory -
@BrainLinq Did you ran a Force Reload All ?
2GB isn't much memory if you are using DNSBL. -
After changing the "Max Table Entries", try a Reboot.