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

    Error loading rules

    Scheduled Pinned Locked Moved pfSense Packages
    6 Posts 2 Posters 3.2k 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.
    • J
      johnabbot
      last edited by

      Anyone else see this?

      There were error(s) loading the rules: /tmp/rules.debug:230: macro 'pfB_Africa_v4' not defined - The line in question reads [230]: block log quick on { pppoe0 } inet from $pfB_Africa_v4 to any tracker 1770009617 label "USER_RULE: pfB_Africa_v4 auto rule" @ 2016-08-25 15:17:02

      J

      1 Reply Last reply Reply Quote 0
      • RonpfSR
        RonpfS
        last edited by

        What version of pfBlockerNG are you using ?

        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

        1 Reply Last reply Reply Quote 0
        • J
          johnabbot
          last edited by

          2.1.1_4 with TLD enabled

          1 Reply Last reply Reply Quote 0
          • RonpfSR
            RonpfS
            last edited by

            @johnabbot:

            2.1.1_4 with TLD enabled

            And what does pfblockerng.log extras.log , Status System Logs, Resolver Logs shows? Any crash report in Dashboard?

            Did you raise the Firewall Maximum Table Entries?

            Go to Firewall / pfBlockerNG / Africa tab and see if your selection are still fine. Hit Save, then do a Force Reload IP. Check the logs after.

            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

            1 Reply Last reply Reply Quote 0
            • J
              johnabbot
              last edited by

              @RonpfS:

              @johnabbot:

              2.1.1_4 with TLD enabled

              And what does pfblockerng.log extras.log , Status System Logs, Resolver Logs shows?

              Mothing in any of these logs.

              Any crash report in Dashboard?

              The one I posted

              Did you raise the Firewall Maximum Table Entries?

              No

              Go to Firewall / pfBlockerNG / Africa tab and see if your selection are still fine. Hit Save, then do a Force Reload IP. Check the logs after.

              Force Reload IP gives this

              [ DNSBL FAIL ] [ Skipping : GJTech ]

              [1472209734] unbound-checkconf[85421:0] error: error parsing local-data at 30 '}).filter(' 60 IN A 10.10.10.1': Syntax error, could not parse the RR's TTL
              [1472209734] unbound-checkconf[85421:0] error: Bad local-data RR }).filter(' 60 IN A 10.10.10.1
              [1472209734] unbound-checkconf[85421:0] fatal error: failed local-zone, local-data configuration

              I don't see anything in the logs

              1 Reply Last reply Reply Quote 0
              • RonpfSR
                RonpfS
                last edited by

                @johnabbot:

                The one I posted

                That's not a crash report, probably a failure to load the table.

                @johnabbot:

                Did you raise the Firewall Maximum Table Entries?

                No

                It is mentionned many many times that if you are using GeoIP tables, you need to raise Firewall Maximum Table Entries in System / Advanced / Firewall & NAT

                @johnabbot:

                Go to Firewall / pfBlockerNG / Africa tab and see if your selection are still fine. Hit Save, then do a Force Reload IP. Check the logs after.

                Force Reload IP gives this

                [ DNSBL FAIL ] [ Skipping : GJTech ]

                [1472209734] unbound-checkconf[85421:0] error: error parsing local-data at 30 '}).filter(' 60 IN A 10.10.10.1': Syntax error, could not parse the RR's TTL
                [1472209734] unbound-checkconf[85421:0] error: Bad local-data RR }).filter(' 60 IN A 10.10.10.1
                [1472209734] unbound-checkconf[85421:0] fatal error: failed local-zone, local-data configuration

                I don't see anything in the logs

                @RonpfS:

                The http://adblock.gjtech.net/?format=unix-hosts doesn't seem to be available anymore.
                Just turn the list state to OFF.

                When a list fails to load, use the URL and load it in the browser. That URL is now just a standard Web page, the same as http://adblock.gjtech.net, so something changed at that site. Fetching a Web page to pfBlockerNG will certain cause failure.

                It is good practice to monitor the pfblockerng.log on a regular basis to see what is happening. That list has been broken since 08/13/16.

                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

                1 Reply Last reply Reply Quote 0
                • First post
                  Last post
                Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.