• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login
Netgate Discussion Forum
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login

pfBlockerNG errors when GoeIP enabled

Scheduled Pinned Locked Moved pfBlockerNG
8 Posts 4 Posters 1.6k 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.
  • T
    Techsanity
    last edited by Aug 8, 2018, 11:40 PM

    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 getting

    Filter 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
    	•	
    
    
    1 Reply Last reply Reply Quote 0
    • B
      BBcan177 Moderator
      last edited by Aug 10, 2018, 12:02 AM

      In pfSense > System > Advanced > Firewall & NAT > "Firewall Maximum Table Entries"

      The package should default that to "2000000" entries.

      Follow that with a Filter Reload

      "Experience is something you don't get until just after you need it."

      Website: http://pfBlockerNG.com
      Twitter: @BBcan177  #pfBlockerNG
      Reddit: https://www.reddit.com/r/pfBlockerNG/new/

      B 1 Reply Last reply Aug 20, 2019, 3:40 PM Reply Quote 2
      • T
        Techsanity
        last edited by Techsanity Aug 10, 2018, 1:29 AM Aug 10, 2018, 1:01 AM

        That setting was default to 400000. I'll change it and try again.
        Thanks
        Edit: Tried and works without errors now.
        Thanks

        1 Reply Last reply Reply Quote 0
        • B
          BrainLinq @BBcan177
          last edited by Aug 20, 2019, 3:40 PM

          @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!

          R 1 Reply Last reply Aug 20, 2019, 6:46 PM Reply Quote 0
          • R
            RonpfS @BrainLinq
            last edited by Aug 20, 2019, 6:46 PM

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

            2.4.5-RELEASE-p1 (amd64)
            Intel Core2 Quad CPU Q8400 @ 2.66GHz 8GB
            Backup 0.5_5, Bandwidthd 0.7.4_4, Cron 0.3.7_5, pfBlockerNG-devel 3.0.0_16, Status_Traffic_Totals 2.3.1_1, System_Patches 1.2_5

            B 1 Reply Last reply Aug 20, 2019, 7:44 PM Reply Quote 0
            • B
              BrainLinq @RonpfS
              last edited by Aug 20, 2019, 7:44 PM

              @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

              R 1 Reply Last reply Aug 20, 2019, 10:57 PM Reply Quote 0
              • R
                RonpfS @BrainLinq
                last edited by Aug 20, 2019, 10:57 PM

                @BrainLinq Did you ran a Force Reload All ?
                2GB isn't much memory if you are using DNSBL.

                2.4.5-RELEASE-p1 (amd64)
                Intel Core2 Quad CPU Q8400 @ 2.66GHz 8GB
                Backup 0.5_5, Bandwidthd 0.7.4_4, Cron 0.3.7_5, pfBlockerNG-devel 3.0.0_16, Status_Traffic_Totals 2.3.1_1, System_Patches 1.2_5

                B 1 Reply Last reply Aug 21, 2019, 1:37 AM Reply Quote 0
                • B
                  BBcan177 Moderator @RonpfS
                  last edited by Aug 21, 2019, 1:37 AM

                  After changing the "Max Table Entries", try a Reboot.

                  "Experience is something you don't get until just after you need it."

                  Website: http://pfBlockerNG.com
                  Twitter: @BBcan177  #pfBlockerNG
                  Reddit: https://www.reddit.com/r/pfBlockerNG/new/

                  1 Reply Last reply Reply Quote 0
                  • First post
                    Last post
                  Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
                    This community forum collects and processes your personal information.
                    consent.not_received