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

    pfBlockerNG-devel v3.1.0_9 / v3.1.0_15

    pfBlockerNG
    20
    54
    17.1k
    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 BBcan177

      Two Pull Request have submitted to the pfSense Devs!

      Once these have been approved and merged, they will be available for Installation.

      pfBlockerNG_devel v3.1.0_9 - pfSense versions 2.6 and 22.x
      https://github.com/pfsense/FreeBSD-ports/pull/1206
      ** Note that for pfSense 2.6 there is no v3.1.0_8.

      pfBlockerNG_devel v3.1.0_15 - pfSense versions 23.x and 2.7.x
      https://github.com/pfsense/FreeBSD-ports/pull/1205

      Changelog:

      • Fix issue causing Resolver issues in certain cases

      • Fix issue with Header Field Auto-Sort

      • Fix issue with 'Whois' Format

      • Fix issue saving URLs in the IPv4/v6/DNSBL Tab.
        Each save would repeat the htmlspecialchars() encoding resulting in duplicate ";amp" tags being added.
        Please review any IP Aliaes/ DNSBL Groups that have been saved since the last update and manually remove any of these erroneous tags.
        I assume that these will still download ok, so its more cosmetic, and these Feeds will show in the Feeds Tab - Unknown User defined feeds at the bottom of the page.

      See Patreon for additional details. Thanks!

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

      J T D JeGrJ 4 Replies Last reply Reply Quote 13
      • BBcan177B BBcan177 pinned this topic on
      • J
        jdeloach @BBcan177
        last edited by

        @bbcan177

        Just upgraded from v3.1.0_7 on pfSense 2.6 to v3.1.0_9 with no issues. Everything appears to be working okay, of course, I didn't have any issues with running with v3.1.0_7 either. Will let you know if I run accross any problems.

        I appreciate all the hard work you put into supporting this package.

        1 Reply Last reply Reply Quote 3
        • T
          TheXman @BBcan177
          last edited by

          @bbcan177

          I also upgraded pfSense v2.6.0 from pfBNG v3.1.0_7 to v3.1.0_9. I haven't experienced any of the issues that I described in the previous topic. Everything is working smoothly so far.

          Thanks for getting the fixes out so quickly. I sincerely appreciate all of your efforts in maintaining pfB.

          👍

          1 Reply Last reply Reply Quote 2
          • N
            NRgia
            last edited by

            Updated to 3.1.0_9 on pfSense+ 22.05, no issues to report.
            Thank you for the update

            1 Reply Last reply Reply Quote 0
            • A
              AberDino
              last edited by

              I had unbound problems when I upgraded from v3.1.0_6 to v3.1.0_7, but I am pleased to confirm all seems well with v3.1.0_9 🙂 . Thank you 👍

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

                v3.1.0_9 fix issue saving URLs in the IPv4/v6/DNSBL Tab doesn't work.

                error.log:
                PFB_FILTER - 2 | pfb_download_failure [ 12/21/22 16:51:46 ] Invalid URL (not allowed) [ https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts ]
                PFB_FILTER - 2 | Category_edit [ 12/21/22 16:55:00 ] Invalid URL (not allowed) [ https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts ]

                Unbenannt.PNG
                Unbenannt2.PNG

                Edit:
                solved with v3.2.0_2

                dennypageD 1 Reply Last reply Reply Quote 0
                • dennypageD
                  dennypage @juliokele
                  last edited by

                  @juliokele said in pfBlockerNG-devel v3.1.0_9 / v3.1.0_15:

                  v3.1.0_9 fix issue saving URLs in the IPv4/v6/DNSBL Tab doesn't work.

                  error.log:
                  PFB_FILTER - 2 | pfb_download_failure [ 12/21/22 16:51:46 ] Invalid URL (not allowed) [ https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts ]

                  The URL is valid, and contains no escaped characters. Is it possible that you had a DNS resolution failure?

                  J 1 Reply Last reply Reply Quote 0
                  • J
                    juliokele @dennypage
                    last edited by juliokele

                    @dennypage DNS resolution is ok, curl working just fine.

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

                      @juliokele said in pfBlockerNG-devel v3.1.0_9 / v3.1.0_15:

                      DNS resolution is ok, curl working just fine.

                      What does this reply with?

                      ping raw.githubusercontent.com
                      

                      Then in pfSense Diag / Execute PHP Commands:

                      print_r(is_ipaddr_configured('IP FROM PING COMMAND ABOVE HERE'));
                      

                      Post the Response

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

                      J 1 Reply Last reply Reply Quote 0
                      • planedropP
                        planedrop
                        last edited by

                        FYI, still digging on this a bit, but seems I can't save alert settings to stop auto refreshing with this version. I uncheck the box, click Save Alert, but it continues to auto refresh and the box isn't unchecking.

                        T 1 Reply Last reply Reply Quote 0
                        • T
                          TheXman @planedrop
                          last edited by TheXman

                          @planedrop
                          I had noticed the same thing. I'm not sure if it is the way that @BBcan177 will ultimately fix it, but I was able to resolve the issue by changing line 42 of /usr/local/www/pfblockerng/pfblockerng_alerts.php to the following:

                          $alertrefresh	= $pfb['aglobal']['alertrefresh']	!= ''	? $pfb['aglobal']['alertrefresh']	: 'off';  //Modified by TheXman
                          

                          If $pfb['aglobal']['alertrefresh'] had not been previously set, it was defaulting $alertrefresh to "on". I changed it to default to "off". This also corrected an issue where every time the page refreshed, it did a DNS query of the pfSense host name. After making the change and refreshing the page, it should recognize and save the value of the checkbox.

                          planedropP 1 Reply Last reply Reply Quote 0
                          • A
                            alexander.deca
                            last edited by

                            We have upgraded to this release and we have suddenly dropped rules as IPv4's have been deleted in the GeoIPv4 lists -> after the cron job runs to update the GeoIPv4 every 2 hours, when manually doing an update force reload it works again as it adds many address again to the different lists (see below) and it breaks again when the cron job runs again. So temporarily disabled the cron job and it is stable.

                            (re-installed the package but this did not help) Any advice or what we can do to troubleshoot?

                            Updating: pfB_PRI1_v4
                            1941 addresses added.9 addresses deleted.
                            Updating: pfB_PRI2_v4
                            no changes.
                            Updating: pfB_PRI3_v4
                            2647 addresses added.11 addresses deleted.
                            Updating: pfB_PRI4_v4
                            1811 addresses added.64 addresses deleted.
                            Updating: pfB_PRI5_v4
                            no changes.
                            Updating: pfB_GeoIP_Unifi_v4
                            2058 addresses added.
                            Updating: pfB_GeoIP_Belgium_v4
                            898 addresses added.
                            Updating: pfB_GeoIP_IPN_clients_v4
                            5617 addresses added.39 addresses deleted.
                            Updating: pfB_GeoIP_3CX_clients_v4
                            9496 addresses added.48 addresses deleted.
                            Updating: pfB_GeoIP_SBC_dyn_clients_v4
                            15411 addresses added.293 addresses deleted.
                            Updating: pfB_IPN_Client_3CX_pub_EDL_v4
                            no changes.
                            Updating: pfB_GeoIP_EU_v4
                            9 addresses added.88 addresses deleted.

                            best regards

                            1 Reply Last reply Reply Quote 0
                            • C
                              crsesilva
                              last edited by

                              Hello,

                              Is anyone else having this problem?

                              2022-12-23_01-41.png

                              After upgrading to pfBlockerNG-devel v3.1.0_9, using UT1 blacklist.

                              The error only with this category the others are Ok.

                              Thanks.

                              GertjanG 1 Reply Last reply Reply Quote 0
                              • GertjanG
                                Gertjan @crsesilva
                                last edited by Gertjan

                                @crsesilva

                                The issue : the "header" is "ut1_audio-video", this is checked, like our own feeds.
                                One of the criteria for the 'headers' is is : letters and underscores only. ( see preg_match("/\W/", $input) on line 447, pfblockerng.inc )
                                The thing is : "ut1_audio-video" contains a dash : '-' => the \W check fails.

                                Take a look at all the files here : /var/db/pfblockerng/ut1/
                                All the file names are correct, only '/var/db/pfblockerng/ut1/ut1_audio-video' has a dash, which should be a underscore, I guess.

                                So, rename the file, change the - for _, the file name becomes : ut1_audio_video
                                Edit /usr/local/pkg/pfblockerng/ut1_global_usage and locate (line 112 ?) "NAME: audio-video"
                                Change it for "NAME: audio_video".
                                Save.

                                Back in pfBlockerng :

                                Disable :

                                5812ddc0-ecf8-4e6e-a8e8-a6f12a4318c4-image.png

                                and a full reload.

                                Enable again.
                                What I saw : our "Audio video" is now unchecked, it was checked before -> normal, we changed the internal name.
                                Check it.
                                ( I polluted the config now ?)
                                and a full reload.

                                0da20e23-bca4-435e-9385-932dc039edba-image.png

                                Champagne !

                                ( this is as it is : it worked for me [ because I found the issue during debugging, and I think I found it] - my solution is only a work around )

                                No "help me" PM's please. Use the forum, the community will thank you.
                                Edit : and where are the logs ??

                                C 1 Reply Last reply Reply Quote 1
                                • C
                                  crsesilva @Gertjan
                                  last edited by

                                  @gertjan

                                  Thanks for responding so quickly.

                                  I applied the mentioned changes and it worked great.

                                  I sincerely appreciate all your efforts.

                                  Thanks so much for your time and support.

                                  1 Reply Last reply Reply Quote 0
                                  • J
                                    juliokele @BBcan177
                                    last edited by juliokele

                                    @bbcan177 the response is always empty:
                                    Unbenannt.PNG

                                    I've figured it out, v3.1.0_9 don't work with my HA/HAProxy setup.
                                    More precisely with Host Overrides for HAProxy on LAN-Carp-VIP Address (192.168.1.254).
                                    v3.1.0_7 working fine.

                                    Unbenannt4.PNG
                                    Unbenannt2.PNG
                                    Unbenannt3.PNG
                                    Unbenannt5.PNG

                                    1 Reply Last reply Reply Quote 0
                                    • GertjanG Gertjan referenced this topic on
                                    • GertjanG Gertjan referenced this topic on
                                    • D
                                      Draco @BBcan177
                                      last edited by Draco

                                      @bbcan177 Just upgraded to 3.1.0_9 (from _7) on 22.05-RELEASE (amd64) after disabling pfBlocker before install (enable after, and ran Update). Everything looks great so far!

                                      1 Reply Last reply Reply Quote 0
                                      • planedropP
                                        planedrop @TheXman
                                        last edited by

                                        @thexman I'll give this a shot and see how it goes, thank you!

                                        1 Reply Last reply Reply Quote 0
                                        • GertjanG Gertjan referenced this topic on
                                        • JeGrJ
                                          JeGr LAYER 8 Moderator @BBcan177
                                          last edited by JeGr

                                          @bbcan177 Hi,

                                          after upgrading to _9 installations that utilized the IOC lists from ThreatFox / abuse.ch
                                          (https://threatfox.abuse.ch/export/)
                                          won't download the list anymore. Be it the JSON file from the last 48 hours or the full data dump (zipped with "zip" not gzip), it always ends in a MIME Type Error:

                                          [ Abuse_ThreatFox_v4 ]		 Downloading update .. 200 OK.
                                           PFB_FILTER - 18 | pfb_download Failed or invalid Mime Type Compressed: [application/x-decompression-error-gzip-Unknown-compression-format|0]
                                          

                                          or

                                          [ Abuse_ThreatFox_48h_v4 ]	 Downloading update .. 200 OK
                                          [PFB_FILTER - 17] Failed or invalid Mime Type: [application/json|0]
                                          
                                           [ pfB_PRI1_v4 - Abuse_ThreatFox_48h_v4 ] Download FAIL
                                            DNSBL, Firewall, and IDS (Legacy mode only) are not blocking download.
                                          

                                          That only happened recently after upgrading, before it was running fine with _6 or _7 I believe the systems were on. The old list from before the update was/is still being used so it worked before.

                                          List URLs are working via shell/curl or in browser so no problem on that front. It's only when trying to download it with pfB that those Mime Type errors pop up.

                                          Edit: Edit: Curl in shell sees normal content types: content-type: application/json or content-type: application/zip so no clue where that failed or invalid types come from.

                                          Cheers
                                          \jens

                                          Don't forget to upvote 👍 those who kindly offered their time and brainpower to help you!

                                          If you're interested, I'm available to discuss details of German-speaking paid support (for companies) if needed.

                                          fireodoF BBcan177B 2 Replies Last reply Reply Quote 0
                                          • fireodoF
                                            fireodo @JeGr
                                            last edited by

                                            @jegr

                                            Hi and a good New Year.

                                            Read this: Mime Types

                                            I guess it adress your problem.

                                            Cheers,
                                            fireodo

                                            Kettop Mi4300YL CPU: i5-4300Y @ 1.60GHz RAM: 8GB Ethernet Ports: 4
                                            SSD: SanDisk pSSD-S2 16GB (ZFS) WiFi: WLE200NX
                                            pfsense 2.7.2 CE
                                            Packages: Apcupsd Cron Iftop Iperf LCDproc Nmap pfBlockerNG RRD_Summary Shellcmd Snort Speedtest System_Patches.

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