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

    pfBlockerNG/pfBlockerNG-devel v3.2.0_2

    Scheduled Pinned Locked Moved pfBlockerNG
    57 Posts 20 Posters 21.5k 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.
    • P
      pfsjap @james2432
      last edited by

      @james2432 You have v3.2.0_2 already?

      J 1 Reply Last reply Reply Quote 0
      • J
        james2432 @pfsjap
        last edited by

        @pfsjap no

        1 Reply Last reply Reply Quote 0
        • T
          tman222
          last edited by

          Thanks @BBcan177 for the new version - I assume the issue raised here is also included in the list of fixes?

          https://forum.netgate.com/topic/177632/pfblockerng-update-errors

          Just curious as I ran into this today after upgrading to 23.01. Thanks in advance!

          1 Reply Last reply Reply Quote 0
          • P
            pdavis
            last edited by

            Hi Bbcan177 - thank you for all your work on this great package!

            After upgrading to pfSense 23.01, I uninstalled the devel version and moved to straight pfBlockerNG (3.2.0_1) per the Netgate upgrade documentation

            I use python mode, and reenabled DCHP registration per that documentation, but got an error message that the python mode was disabled and the red x dnsbl status on the home page. When I check the DNSBL Mode, though, python is still enabled.

            I assume that the error message and status are legacy, and going to be removed in future updateof pfBlockerNG? Let me know, thanks

            [pfBlockerNG]: Terminating DNSBL Python mode due to DNS Resolver DHCP Registration option enabled! (include)

            E M 2 Replies Last reply Reply Quote 0
            • E
              emikaadeo @pdavis
              last edited by

              @pdavis

              1. https://forum.netgate.com/topic/177870/23-01-release-pfblockerng-v3-2-0_1-not-ready-for-dhcp-registration-with-python-mode

              2. https://github.com/pfsense/FreeBSD-ports/pull/1228

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

                @bbcan177 said in pfBlockerNG/pfBlockerNG-devel v3.2.0_2:

                Fix issue with Feed URL validations failing due to local hostnames being appended to the DNS Validation query

                is there a way to easily confirm if this could be the problem I am seeing?

                since upgrading (22.05 -> 23.01) v3.2.0_1 of pfB ( I notice that on the dashboard wizard the updated times are not updating through the cron job. there is little in the view when the cron runs
                CRON PROCESS START [ v3.2.0_1 ] [ 02/18/23 02:00:00 ]

                No Updates required.
                CRON PROCESS ENDED
                UPDATE PROCESS ENDED

                Previously it would at least list the various feeds and then say no update - somewhere else I can check?

                My schedule has not changed. The feed list has not changed.
                The pervious pfB was uninstalled (keep setting) before update and then reinstalled 3.2.0_1 after system update. The reload at that point worked, but hasn't done an update since. All the feeds are there and it is running and blocking based on the feeds from ~48 hours ago.

                the error log has nothing special, and the pfblockerng.log just a sequence as noted above.

                1 Reply Last reply Reply Quote 0
                • M
                  michmoor LAYER 8 Rebel Alliance @pdavis
                  last edited by

                  @pdavis The documentation got ahead of the merge request. Thats whats causing confusion on reddit and here.
                  The fix is still pending.

                  Firewall: NetGate,Palo Alto-VM,Juniper SRX
                  Routing: Juniper, Arista, Cisco
                  Switching: Juniper, Arista, Cisco
                  Wireless: Unifi, Aruba IAP
                  JNCIP,CCNP Enterprise

                  1 Reply Last reply Reply Quote 1
                  • provelsP
                    provels
                    last edited by

                    Am I the only one not seeing this being available? Pulled from Package Manager?

                    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 1
                    • J
                      jrey
                      last edited by

                      @provels

                      Lucky you, lol.

                      I'm really just trying to see how I can confirm if the fix that is suppose to be in it is the potential cause of the "nothing" happening with the feeds being updated that I am seeing in V3.2.0_1 With nothing in the error.log, and only cron entries that report "No Updates required" it is making difficult to see the "real" problem.

                      BBcan177B P 2 Replies Last reply Reply Quote 0
                      • BBcan177B
                        BBcan177 Moderator @jrey
                        last edited by

                        @jrey disable TLD Wildcard feature as there is a regression with FreeBSD Grep. Might need a reboot to clear the long running grep task. Working on a solution.

                        "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 2 Replies Last reply Reply Quote 2
                        • J
                          jrey @BBcan177
                          last edited by jrey

                          @bbcan177

                          Thanks but this already is and always has been disabled

                          Screen Shot 2023-02-18 at 3.04.30 PM.png

                          it is not just the DNSBL lists - custom lists where I am providing a specific url to get IP addresses to block from are it is not obtaining updates there either. (and I can confirm they have in fact been updated at source)

                          The system is still working on all the same lists it had before the system was updated.
                          (that is to say all the files in /var/db/pfblockerng/original have time stamps from before the update applied)
                          those would have to update first and that doesn't appear to be happening, through cron, or manual.
                          i was able to get one update by adding an IP to the custom list at the bottom, but the feeds on the same set above it never pulled new files.
                          just doesn't seem to be any error logged in any file I can find.

                          BBcan177B 1 Reply Last reply Reply Quote 0
                          • J
                            james2432 @tbr281
                            last edited by

                            @tbr281 said in pfBlockerNG/pfBlockerNG-devel v3.2.0_2:

                            @BBcan177 I upgrated to pfsense 23.01 last night and that crashed pfblocker... im not too worried about it since i wanted a clean install of pfblocker.. just wanted to give you a heads up. hope the new build corrects the issue.

                            I fixed mine by accessing pfBlockerNG's settings page via the dashboard tool(wrench).

                            Going to "keep settings" and unchecking. Save. Uninstall pfBlockerNG, reinstall.

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

                              @jrey Can you pm or email (bbcan177 at gmail.com) your pfblockerng.log for review?

                              "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
                              • J
                                jrey @BBcan177
                                last edited by jrey

                                @bbcan177

                                So not sure this will help.

                                I went into the previously mentioned /var/db/pfblockerng/origianal directory and deleted one of the smaller files created within a larger group of feeds.

                                Cron didn't even know it was missing -- (maybe there is an index that needs to be adjusted, didn't look)

                                logged
                                CRON PROCESS START [ v3.2.0_1 ] [ 02/18/23 16:00:01 ]

                                No Updates required.
                                CRON PROCESS ENDED
                                UPDATE PROCESS ENDED
                                end

                                from here I went to the force a manual "update" the file in question didn't even appear on the list of files that "exist" but it didn't download it either... interesting.

                                wait a few minutes, and update again this time "reload" all file except the one I had deleted indicated "reload [date] completed"
                                the file I had deleted guess what...
                                Downloading update [ 02/18/23 16:20:15 ] .. 200 OK. completed ..

                                based on historical updates I would expect this particular file will update (at source) again in the next few hours, so I am going to leave everything now - and see if it updates itself next time (when the source updates).

                                Deleting original file
                                Cron - did not download the file (or recognize it as missing)
                                Manual update - does not download the file (didn't list it here either)
                                Manual reload - yeah a new updated file !!!

                                no changes made to the feeds or other settings at all in between tests.

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

                                  @bbcan177 said in pfBlockerNG/pfBlockerNG-devel v3.2.0_2:

                                  Can you pm or email (bbcan177 at gmail.com) your pfblockerng.log for review?

                                  There is honestly nothing much in it since the update
                                  every cron job that has run since the update only has entries like those already provided
                                  CRON PROCESS START [ v3.2.0_1 ] [ 02/18/23 02:00:00 ]

                                  No Updates required.
                                  CRON PROCESS ENDED
                                  UPDATE PROCESS ENDED

                                  the reload and update I tried earlier (without the file being delete) show
                                  either nothing downloaded just a list of the files the "exist" and then a reload compete for each of the existing files and never downloading anything.
                                  There are not other messages of concern in these, the update and/or reload just didn't achieve the results of getting the newer files.

                                  I finally thought just delete one of the existing files and see what happens, that is described in my other post.

                                  What I have noticed has not been logged since the update is entries like for each file. (in my lists) but then again the logs have been pretty boring.

                                  Remote timestamp: Thu, 16 Feb 2023 11:19:37 GMT
                                  Local timestamp: Wed, 15 Feb 2023 11:19:43 GMT Update found

                                  there is nothing in the error.og since the update.. prior to the update it would occasionally show (for example)
                                  [ pfB_PRI1_v4 - Talos_BL_v4 ] Download Fail [ 02/16/23 10:00:18 ]
                                  DNSBL, Firewall, and IDS (Legacy mode only) are not blocking download.
                                  [ 02/16/23 10:00:18 ]
                                  Restoring previously downloaded file contents... [ 02/16/23 10:00:18 ]

                                  that entry is in fact is the last entry in the error log.
                                  (I wasn't concerned about it because as several others have noted that particular feed has been up and down) a bunch and it would always get it later)
                                  The other feeds I use have never logged any errors, prior to update or now (only the Talos one goes missing once and a while) although it also hasn't reported MIA since the update either, I don't think that has anything to do with the feed, but rather that it appears not to check at all)
                                  My other post details the steps taken and the results.

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

                                    @jrey next time delete from the deny folder. That's is the monitored folder. Not the original folder.

                                    "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 johnpozJ 2 Replies Last reply Reply Quote 0
                                    • J
                                      jrey @BBcan177
                                      last edited by

                                      @bbcan177

                                      Ok there was a cron within 10 minutes of your ask, so I nuked one file.

                                      with the file now removed from the deny directory only the cron job now logged the same.
                                      CRON PROCESS START [ v3.2.0_1 ] [ 02/18/23 18:00:01 ]

                                      No Updates required.
                                      CRON PROCESS ENDED
                                      UPDATE PROCESS ENDED

                                      and the file I removed from deny has not returned. If fact all the files in there still show the time stamp of my previous run at ~16:20 when the reload with the one file missing from original "reloaded" all the files and "downloaded" the one I had nuked.

                                      So my next step delete the file in original (a different file from the one previously) but now the same one I just deleted from deny before cron and run a manual reload
                                      Again all the files "reload" except the one in original that I nuked.
                                      It downloaded
                                      Downloading update [ 02/18/23 18:09:54 ] .. 200 OK. completed ..

                                      and is now back in both "original" and "deny"

                                      next test, delete another different one in deny and go directly to manual "update" not reload,
                                      Downloading update .. 200 OK. completed ..
                                      (no time stamp in that message however) but an update did download it and it updated the one in original as well

                                      So at least I know at this point that I can delete the files in deny, run either a manual reload or update and they will download. kind of rules out the original question is it related to the DNS item I quoted.

                                      Thanks
                                      JR

                                      1 Reply Last reply Reply Quote 0
                                      • S SteveITS referenced this topic on
                                      • S SteveITS referenced this topic on
                                      • johnpozJ
                                        johnpoz LAYER 8 Global Moderator @BBcan177
                                        last edited by

                                        @bbcan177 silly question, maybe I just need more coffee this morning.

                                        I just updated to 23.01, and pfblocker seems to be working just fine and currently at 3.2.0_1, my take is that _2 just not available yet..

                                        But my question is more to devel vs non devel version. I notice version numbers and package dependence for _1 seem to be in sync between the versions.

                                        Is there any reason to move away from devel version and change over to just the NG version?

                                        An intelligent man is sometimes forced to be drunk to spend time with his fools
                                        If you get confused: Listen to the Music Play
                                        Please don't Chat/PM me for help, unless mod related
                                        SG-4860 24.11 | Lab VMs 2.8, 24.11

                                        S J M 3 Replies Last reply Reply Quote 1
                                        • S
                                          SteveITS Galactic Empire @johnpoz
                                          last edited by

                                          @johnpoz it was in the 23.01 release notes I believe ;) but they migrated devel to non devel so they are equivalent at the moment.

                                          Pre-2.7.2/23.09: Only install packages for your version, or risk breaking it. Select your branch in System/Update/Update Settings.
                                          When upgrading, allow 10-15 minutes to restart, or more depending on packages and device speed.
                                          Upvote 👍 helpful posts!

                                          johnpozJ 1 Reply Last reply Reply Quote 1
                                          • johnpozJ
                                            johnpoz LAYER 8 Global Moderator @SteveITS
                                            last edited by johnpoz

                                            @steveits said in pfBlockerNG/pfBlockerNG-devel v3.2.0_2:

                                            it was in the 23.01 release notes I believe

                                            Well F me then ;) hehehe you are correct good sir..

                                            https://docs.netgate.com/pfsense/en/latest/releases/23-01.html

                                            The pfBlockerNG package has been updated to match pfBlockerNG-devel. After upgrade it is safe to uninstall pfBlockerNG-devel (keeping settings) and install pfBlockerNG instead.
                                            

                                            How did I miss that? Doh! Thanks!

                                            edit: successfully moved to just NG version of package vs -devel, all looking good here..

                                            An intelligent man is sometimes forced to be drunk to spend time with his fools
                                            If you get confused: Listen to the Music Play
                                            Please don't Chat/PM me for help, unless mod related
                                            SG-4860 24.11 | Lab VMs 2.8, 24.11

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