Error - "There were error(s) loading the rules"
-
No hints?
-
Does /var/db/aliastables/pfB_Top_v4.txt exist?
Is /var/db/aliastables/pfB_Top_v4.txt a regular file?
Are the contents of /var/db/aliastables/pfB_Top_v4.txt OK?That would be coming from pfBlocker, so you might need to kick something in there to update/refresh that file. Maybe manually remove it (rm /var/db/aliastables/pfB_Top_v4.txt) and then force a pfBlocker update
-
A reload of the IP and DNS in pfBlocker’s update tab should recreate that file and any others affected for you.
-
1 - Yes it does
2 - Yes
3 - As far as I can understand, yes.
4 - Already tried to reload it, but the error comes again after some timeThanks
Does /var/db/aliastables/pfB_Top_v4.txt exist?
Is /var/db/aliastables/pfB_Top_v4.txt a regular file?
Are the contents of /var/db/aliastables/pfB_Top_v4.txt OK?That would be coming from pfBlocker, so you might need to kick something in there to update/refresh that file. Maybe manually remove it (rm /var/db/aliastables/pfB_Top_v4.txt) and then force a pfBlocker update
-
A reload of the IP and DNS in pfBlocker’s update tab should recreate that file and any others affected for you.
Yes but the error comes again after some time.
-
Try to re-download the MaxMind database:
php -f /usr/local/www/pfblockerng/pfblockerng.php dc
Then run a Force Reload - ALL
-
Try to re-download the MaxMind database:
php -f /usr/local/www/pfblockerng/pfblockerng.php dc
Then run a Force Reload - ALL
UPDATE PROCESS START [ 05/04/18 10:05:00 ]
Clearing all DNSBL Feeds…
** DNSBL Disabled **===[ Continent Process ]============================================
[ pfB_Top_v4 ] Changes found… Updating
===[ IPv4 Process ]=================================================
[ ET_Block_IP_Ranges ] Reload [ 05/04/18 10:05:01 ] . completed ..
[ ET_Com_IPs ] Reload . completed ..
[ BD_IPs ] Reload . completed ..
[ Firehol3 ] Reload . completed ..
[ Firehol2 ] Reload . completed ..
[ RW_IPBL ] Reload [ 05/04/18 10:05:02 ] . completed ..
===[ IPv6 Process ]=================================================
===[ Aliastables / Rules ]==========================================
No changes to Firewall rules, skipping Filter Reload
Updating: pfB_Top_v4
533 addresses added.90 addresses deleted.
Updating: pfB_EmergingThreatsDShield
no changes.
Updating: pfB_BinaryDefense
no changes.
Updating: pfB_Firehol3
no changes.
Updating: pfB_Firehol2
no changes.
Updating: pfB_ransomwaretrackerabusech
no changes.===[ FINAL Processing ]=====================================
[ Original IP count ] [ 85691 ]
===[ Deny List IP Counts ]===========================
85692 total
 34564 /var/db/pfblockerng/deny/pfB_Top_v4.txt
 24207 /var/db/pfblockerng/deny/Firehol3.txt
 18064 /var/db/pfblockerng/deny/Firehol2.txt
  5469 /var/db/pfblockerng/deny/BD_IPs.txt
  2231 /var/db/pfblockerng/deny/ET_Block_IP_Ranges.txt
  856 /var/db/pfblockerng/deny/ET_Com_IPs.txt
  301 /var/db/pfblockerng/deny/RW_IPBL.txt====================[ Last Updated List Summary ]==============
May 3 04:30 ET_Block_IP_Ranges
May 3 04:30 ET_Com_IPs
May 3 11:00 Firehol3
May 3 11:00 Firehol2
May 4 09:55 RW_IPBL
May 4 10:00 BD_IPs
May 4 10:05 pfB_Top_v4IPv4 alias tables IP count
–---------------------------
85692IPv6 alias tables IP count
0
Alias table IP Counts
85692 total
 34564 /var/db/aliastables/pfB_Top_v4.txt
 24207 /var/db/aliastables/pfB_Firehol3.txt
 18064 /var/db/aliastables/pfB_Firehol2.txt
  5469 /var/db/aliastables/pfB_BinaryDefense.txt
  3087 /var/db/aliastables/pfB_EmergingThreatsDShield.txt
  301 /var/db/aliastables/pfB_ransomwaretrackerabusech.txtpfSense Table Stats
table-entries hard limit 4000000
Table Usage Count    89341UPDATE PROCESS ENDED [ 05/04/18 10:05:03 ]
I'll give you feedback asap…
-
Same problem:
There were error(s) loading the rules: /tmp/rules.debug:27: cannot load "/var/db/aliastables/pfB_Top_v4.txt": Invalid argument - The line in question reads [27]: table <pfB_Top_v4> persist file "/var/db/aliastables/pfB_Top_v4.txt"
@ 2018-05-05 10:00:04 -
Same problem:
There were error(s) loading the rules: /tmp/rules.debug:27: cannot load "/var/db/aliastables/pfB_Top_v4.txt": Invalid argument - The line in question reads [27]: table <pfB_Top_v4> persist file "/var/db/aliastables/pfB_Top_v4.txt"
@ 2018-05-05 10:00:04If you goto the pfSense Firewall Interface rules and hover over this rule, do you get a popup showing the IPs?
View the file and see if you find any non-IP lines ```
/var/db/aliastables/pfB_Top_v4.txt -
Hi,
I am having a similar issue, please tell me if I need to create another thread.
Here is the issue:
There were error(s) loading the rules: /tmp/rules.debug:30: cannot load "/var/db/aliastables/pfB_Asia_v4.txt": Invalid argument - The line in question reads [30]: table <pfB_Asia_v4> persist file "/var/db/aliastables/pfB_Asia_v4.txt"
Any help is welcome!
-
I've not tried to read a file directly, but since the country aliases were created as URL aliases I copied that to create https://127.0.0.1:443/pfblockerng/pfblockerng.php?pfb=pfB_GeoIPUSv4. Can you try loading via URL? Our Asia alias for instance is https://127.0.0.1:443/pfblockerng/pfblockerng.php?pfb=pfB_Asia_v4 and I'm pretty sure I didn't create that one.