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

    Shallalist and UT1 lists not working on 2.4.5-RELEASE/pfBlockerNG-devel 2.2.5_29

    Scheduled Pinned Locked Moved pfBlockerNG
    15 Posts 4 Posters 1.7k 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.
    • BBcan177B
      BBcan177 Moderator
      last edited by

      See this thread:

      https://www.reddit.com/r/pfBlockerNG/comments/fqjdc5/pfblockerngdevel_downloading_lists_but_not_able/flqzkgp/

      "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/

      provelsP 1 Reply Last reply Reply Quote 0
      • BBcan177B
        BBcan177 Moderator @riften
        last edited by

        @riften said in Shallalist and UT1 lists not working on 2.4.5-RELEASE/pfBlockerNG-devel 2.2.5_29:

        And on the REPORTS/ALERTS, I have the Unk issue, GEOIP not working.

        What version of pfBlockerNG are you using? First make sure that MaxMind Key has been properly entered and that MaxMind was downloaded. Then restart the "pfb_filter" service (pfBlockerNG-devel).

        "unk" will show the the Alerts tab - GeoIP column when MaxMind database is not found, so it can't report the correct Country.

        "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/

        R 1 Reply Last reply Reply Quote 0
        • provelsP
          provels @BBcan177
          last edited by

          @BBcan177 said in Shallalist and UT1 lists not working on 2.4.5-RELEASE/pfBlockerNG-devel 2.2.5_29:

          See this thread:

          https://www.reddit.com/r/pfBlockerNG/comments/fqjdc5/pfblockerngdevel_downloading_lists_but_not_able/flqzkgp/

          Fixed Shallalist and UT1 for me, thank you!

          Peder

          MAIN - pfSense+ 24.11-RELEASE - Adlink MXE-5401, i7, 16 GB RAM, 64 GB SSD. 500 GB HDD for SyslogNG
          BACKUP - pfSense+ 23.01-RELEASE - Hyper-V Virtual Machine, Gen 1, 2 v-CPUs, 3 GB RAM, 8GB VHDX (Dynamic)

          1 Reply Last reply Reply Quote 0
          • R
            riften @BBcan177
            last edited by

            @BBcan177 Thanks for the help! Been using PFBlocker for about a year without issue till now. I'm on 2.2.5_29 devel. Yes I put the KEY in, actually went to MAXMIND site and generated new key and am using that. Also went into folder where the files should be and they are there. The 'edit' icons show on the right of the rules on the IP/GEOIP tab when the KEY is listed and they are not there when the key field is blank. It was working fine till I upgraded PFSense. I do NOT get any indication that the page saved or any flag from MAXMIND when I insert the KEY and save. It just does a quick screen refresh. So yesterday I installed fresh from a memory stick (to my SSD) and then imported a prior backup made on the last ver of PFSense. Issue persists. I just found that one of the feeds I just started using, Quidsup_Trackers, was blocking maxmind.com so I disabled it and can now get to it BTW.
            From CRON just now:

            Downloading Blacklist Database(s) [ shallalist (~10MB) ] ... Please wait ...
            Shallalist ... Completed

            [ Shallalist_aggressive ] Downloading update [ 03/28/20 09:52:06 ] .
            [ Shallalist_aggressive ] file_get_contents(/var/db/pfblockerng/shallalist/shallalist_aggressive): failed to open stream: No such file or directory

            [ DNSBL_Shallalist - Shallalist_aggressive ] Download FAIL
            Local File Failure

            [ Shallalist_costtraps ] Downloading update .
            [ Shallalist_costtraps ] file_get_contents(/var/db/pfblockerng/shallalist/shallalist_costtraps): failed to open stream: No such file or directory

            [ DNSBL_Shallalist - Shallalist_costtraps ] Download FAIL
            Local File Failure

            [ Shallalist_spyware ] Downloading update .
            [ Shallalist_spyware ] file_get_contents(/var/db/pfblockerng/shallalist/shallalist_spyware): failed to open stream: No such file or directory

            [ DNSBL_Shallalist - Shallalist_spyware ] Download FAIL
            Local File Failure

            [ Shallalist_tracker ] Downloading update .
            [ Shallalist_tracker ] file_get_contents(/var/db/pfblockerng/shallalist/shallalist_tracker): failed to open stream: No such file or directory

            [ DNSBL_Shallalist - Shallalist_tracker ] Download FAIL
            Local File Failure

            [ Shallalist_violence ] Downloading update .
            [ Shallalist_violence ] file_get_contents(/var/db/pfblockerng/shallalist/shallalist_violence): failed to open stream: No such file or directory

            [ DNSBL_Shallalist - Shallalist_violence ] Download FAIL
            Local File Failure

            [ Shallalist_warez ] Downloading update .
            [ Shallalist_warez ] file_get_contents(/var/db/pfblockerng/shallalist/shallalist_warez): failed to open stream: No such file or directory

            [ DNSBL_Shallalist - Shallalist_warez ] Download FAIL
            Local File Failure

            provelsP 1 Reply Last reply Reply Quote 0
            • provelsP
              provels @riften
              last edited by

              @riften do @BBcan177 's edit from the Reddit thread.

              49 minutes ago
              Ok I think I found the issue.
              
              Can you edit this file: /usr/local/pkg/pfblockerng/pfblockerng.inc
              
              and change Line #2346
              
              From:
              
              if ($file_type == 'application/x-gzip') {
              
              To:
              
              if ($file_type == 'application/x-gzip' || $file_type == 'application/gzip') {
              
              Example here:
              
              https://github.com/pfsense/FreeBSD-ports/blob/devel/net/pfSense-pkg-pfBlockerNG-devel/files/usr/local/pkg/pfblockerng/pfblockerng.inc#L2346
              
              Then try a Force Update
              

              Peder

              MAIN - pfSense+ 24.11-RELEASE - Adlink MXE-5401, i7, 16 GB RAM, 64 GB SSD. 500 GB HDD for SyslogNG
              BACKUP - pfSense+ 23.01-RELEASE - Hyper-V Virtual Machine, Gen 1, 2 v-CPUs, 3 GB RAM, 8GB VHDX (Dynamic)

              BBcan177B 1 Reply Last reply Reply Quote 0
              • BBcan177B
                BBcan177 Moderator @provels
                last edited by

                @provels said in Shallalist and UT1 lists not working on 2.4.5-RELEASE/pfBlockerNG-devel 2.2.5_29:

                @riften do @BBcan177 's edit from the Reddit thread.
                49 minutes ago
                Ok I think I found the issue.

                Can you edit this file: /usr/local/pkg/pfblockerng/pfblockerng.inc

                and change Line #2346

                From:

                if ($file_type == 'application/x-gzip') {

                To:

                if ($file_type == 'application/x-gzip' || $file_type == 'application/gzip') {

                Example here:

                https://github.com/pfsense/FreeBSD-ports/blob/devel/net/pfSense-pkg-pfBlockerNG-devel/files/usr/local/pkg/pfblockerng/pfblockerng.inc#L2346

                Then try a Force Update

                Yes there was a change to the file mime-types in pfSense 2.4.5 and the change to fix Shallalist and UT1 is also needed to download one of the MaxMind databases.

                Follow those instructions in the reddit post and redownload MaxMind from the shell with this command:

                php -f /usr/local/www/pfblockerng/pfblockerng.php dc
                

                I will post a fix for this now.

                "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/

                R 1 Reply Last reply Reply Quote 0
                • R
                  riften @BBcan177
                  last edited by

                  @BBcan177 Thank you again for your help! Yes I followed the Reddit thread and that fixed Shallalist. I can see it working. Unk still shows as GEOIP though it appears to be working.

                  BBcan177B 1 Reply Last reply Reply Quote 0
                  • BBcan177B
                    BBcan177 Moderator @riften
                    last edited by

                    @riften
                    Did you run the php command above? Restart the pfb_filter Service? Keep in mind that this will only change new IP Block events and not the old events.

                    "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/

                    R 1 Reply Last reply Reply Quote 0
                    • R
                      riften @BBcan177
                      last edited by

                      @BBcan177
                      Yep I did, but then spent the day doing my taxes. Looking at it again now, yes it is working again! Thank you!

                      1 Reply Last reply Reply Quote 0
                      • G
                        GregBinSD
                        last edited by

                        @BBcan177
                        I just did a clean install of pfSense 2.4.5, and I want to perform the install of pfBlockerNG-devel from the Package Manager. The latest change log entry is from February 8, 2020. I would like to wait until you have pushed the changes to the Package Manager. Can you tell me how long that might be?
                        Thank you.

                        BBcan177B 1 Reply Last reply Reply Quote 0
                        • BBcan177B
                          BBcan177 Moderator @GregBinSD
                          last edited by

                          @GregBinSD said in Shallalist and UT1 lists not working on 2.4.5-RELEASE/pfBlockerNG-devel 2.2.5_29:

                          Can you tell me how long that might be?

                          The pfSense devs need to review and approve. Hopefully next week.

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