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

    pfblockerNG Question(s)

    Scheduled Pinned Locked Moved pfBlockerNG
    26 Posts 3 Posters 2.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.
    • GertjanG
      Gertjan @djtech2k
      last edited by Gertjan

      @djtech2k said in pfblockerNG Question(s):

      it came back with 0.0.0.0 as the IP, which surprised me based on my config.

      Hummm.
      DNSBL files - with the Webserver IP 10.100.1.1, or 0.0.0.0 = Null block, depending on your choice, are (re) build when you do a Force reload All.

      edit : as you said yourself :

      3dde1d9f-f993-4375-be07-9aee7a215ef4-image.png

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

      1 Reply Last reply Reply Quote 0
      • D
        djtech2k
        last edited by

        I did a force reload and repeated the nslookup for a blacklisted site. It still comes back as 0.0.0.0. Its blocked, which is what I want, but I am expecting it to go to the 10.x webserver but it doesn't seem to be.

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

          @djtech2k said in pfblockerNG Question(s):

          but I am expecting it to go to the 10.x webserver

          I agree. pfBockerng is out smarting you ;)
          Not so bad, as You've read this, right ?

          I did a test :

          I switched to :

          8b50999c-00a2-41a4-8f79-1d38202737ef-image.png

          Global setting is :

          8e9000d1-7ad3-4f3c-b5cf-8b13c25f31bd-image.png

          and I executed a Force Reload All.

          I picked a test site from the "Easylist" (https://easylist-downloads.adblockplus.org/easylist_noelemhide.txt) : adxprtz.com and checked it :

          C:\Users\Gauche>nslookup adxprtz.com
          Serveur :   pfSense.bhf.tld
          Address:  2a01:cb19:dead:beef:92ec:77ff:fe29:392c
          
          Réponse ne faisant pas autorité :
          Nom :    adxprtz.com
          Address:  10.10.10.1
          

          so that looks fine.

          I pasted it in the browser

          fd1e96d3-10e4-45f7-9678-1b5fa82a2d5b-image.png

          Cool.
          The site doesn't do a http to https redirect, so it could be safely redirected.
          As many domains, it's actually a dead site (the domain name is probably paid for, but abandoned, there is no real add server behind it anymore - and this goes for most of the listed domain names)

          The more serious blacklisted domains that are actually active and these are the ones you want to be blocked as they really serve adds, like "googleaddservices" won't have this treatment, you'll see an ugly web browser error. No nice 10.10.10.1 page.

          Ok, fine, I went back :

          Set :

          e34a6274-10fe-4b10-80a4-a681f0186cb9-image.png

          and then a Force Reload All

          New test on the PC command line :

          C:\Users\Gauche>nslookup adxprtz.com
          Serveur :   pfSense.bhf.tld
          Address:  2a01:cb19:dead:beef:77ff:fe29:392c
          
          Réponse ne faisant pas autorité :
          Nom :    adxprtz.com
          Address:  0.0.0.0
          

          Note that I even didn't do a

          ipconfig /flushdns
          

          as the TTL was probably already set very low by pfBlockerng so it vanishes from the local PC DNS cache in no time.

          Can you show the last Reload sequence (at the bottom) of this log :

          3dd22ffb-c1fa-42a0-9bd6-d1643550c9d3-image.png

          ?

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

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

            I did read the post and understand that the webserver may be a thing of the past. I am fine to change that setting BUT while I am trying to learn pfblocker better, I'd like to figure out why the results do not seem to match the settings I have. Working through figuring that out will help me better understand pfblocker.

            Here is the reload section of my log from yesterday:

            0afb201e-c6d7-4909-9fba-0bdfe8f0bb85-image.png

            I just went back and changed my feed group setting to null block (logging) and did a reload under update. I flushed DNS client cache and tried the nslookup to collector.github.com, which is on the EasyPrivacy list. It came back 0.0.0.0. So I then reverted the setting back to the webserver and did the force reload again I ran the same nslookup and it also goes to 0.0.0.0. So I do not understand why its getting 0.0.0.0 and not my 10.100.x.x webserver.

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

              @djtech2k

              The complete logs is at a minimum 3, 4 of 5 hundred lines.
              Instead of posting a 1 Mega byte pixel size image that won't fit nowhere, post it like this :

              Here is mine : 2 k of text :

              [ Force Reload Task - All ]
              UPDATE PROCESS START [ v3.2.1_20 ] [ 01/10/25 07:29:37 ]
              
              ===[  DNSBL Process  ]================================================
              
              Loading DNSBL Statistics... completed
              Loading DNSBL SafeSearch... enabled
              Loading DNSBL Whitelist... completed
              Blacklist database(s) ... exists.
              
              [ UT1_agressif ]		 Reload [ 01/10/25 07:29:38 ] . completed ..
               ----------------------------------------------------------------------
               Orig.    Unique     # Dups     # White    # TOP1M    Final                
               ----------------------------------------------------------------------
               265      265        0          0          0          265                  
               ----------------------------------------------------------------------
              
              [ UT1_astrology ]		 Reload . completed ..
               ----------------------------------------------------------------------
               Orig.    Unique     # Dups     # White    # TOP1M    Final                
               ----------------------------------------------------------------------
               28       28         0          0          0          28                   
               ----------------------------------------------------------------------
              
              [ EasyList ]			 Reload . completed ..
               Whitelist: adnxs.net|adsafeprotected.com|amazon-adsystem.com|pips.taboola.com|
               ----------------------------------------------------------------------
               Orig.    Unique     # Dups     # White    # TOP1M    Final                
               ----------------------------------------------------------------------
               29589    29589      0          4          0          29585                
               ----------------------------------------------------------------------
              
              [ StevenBlack_ADs ]		 Reload [ 01/10/25 07:29:39 ] . completed ..
               Whitelist: 15.taboola.com|aax-eu.amazon-adsystem.com|addthis.com|adsafeprotected.com|am-match.taboola.com|am-sync.taboola.com|am-trc-events.taboola.com|am-vid-events.taboola.com|am-wf.taboola.com|amazon-adsystem.com|api-s2s.taboola.com|api.taboola.com|assets.taboola.com|beacon.taboola.com|bs.eyeblaster.akadns.net|bs.serving-sys.com|c2.taboola.com|c3.taboola.com|cdn-yjp.taboola.com|cdn.taboola.com|cds.taboola.com|ch-match.taboola.com|ch-sync.taboola.com|ch-vid-events.taboola.com|ch-wf.taboola.com|control.kochava.com|convchmp.taboola.com|convhkmp.taboola.com|convlatbmp.taboola.com|convnjmp.taboola.com|device-metrics-us-2.amazon.com|fls-na.amazon.com|geolocation.onetrust.com|googletagmanager.com|hk-match.taboola.com|hk-sync.taboola.com|hk-vid-events.taboola.com|hk-wf.taboola.com|images-dl.taboola.com|images.taboola.com|impr.taboola.com|imprammp.taboola.com|imprchmp.taboola.com|imprhkmp.taboola.com|imprlatbmp.taboola.com|imprnjmp.taboola.com|imprsgmp.taboola.com|la-match.taboola.com|la-sync.taboola.com|la-trc-events.taboola.com|la-vid-events.taboola.com|la-wf.taboola.com|localhost.localdomain|match.taboola.com|mb.taboola.com|mpg.taboola.com|nr-events.taboola.com|nr.taboola.com|opps.taboola.com|parkingcrew.net|pi.pardot.com|pixel.adsafeprotected.com|popup.taboola.com|px.moatads.com|resources.taboola.com|secure-gl.imrworldwide.com|sg-match.taboola.com|sg-sync.taboola.com|sg-trc-events.taboola.com|sg-vid-events.taboola.com|sg-wf.taboola.com|sync-t1.taboola.com|sync.taboola.com|taboola.com|timeinc.trc.taboola.com|trace.svc.ui.com|tracking.taboola.com|trc-events.taboola.com|trc.taboola.com|us-match.taboola.com|us-sync.taboola.com|us-vid-events.taboola.com|us-wf.taboola.com|vidanalytics.taboola.com|vidstat.taboola.com|vidstatb.taboola.com|vidutils.taboola.com|wf.taboola.com|wildcard.moatads.com.edgekey.net|www.addthis.com|www.api.taboola.com|www.c2.taboola.com|www.cdn.taboola.com|www.googletagmanager.com|www.images.taboola.com|www.parkingcrew.net|www.popup.taboola.com|www.taboola.com|www.trc.taboola.com|
               ----------------------------------------------------------------------
               Orig.    Unique     # Dups     # White    # TOP1M    Final                
               ----------------------------------------------------------------------
               117135   117135     806        99         0          116230               
               ----------------------------------------------------------------------
              
              ------------------------------------------------------------------------
              Assembling DNSBL database...... completed [ 01/10/25 07:29:46 ]
              TLD:
              TLD analysis.. completed [ 01/10/25 07:29:49 ]
              TLD finalize...
              ----------------------------------------
              Original    Matches    Removed    Final     
              ----------------------------------------
              146108      65425      44417      101691    
              -----------------------------------------
              TLD finalize... completed [ 01/10/25 07:29:52 ]
              
              Saving DNSBL statistics... completed [ 01/10/25 07:29:53 ]
              Reloading Unbound Resolver (DNSBL python).
              Stopping Unbound Resolver.
              Unbound stopped in 2 sec.
              Additional mounts (DNSBL python):
               No changes required.
              Starting Unbound Resolver... completed [ 01/10/25 07:29:56 ]
              Resolver cache restored [ 01/10/25 07:29:58 ]
              DNSBL update [ 101691 | PASSED  ]... completed
              ------------------------------------------------------------------------
              
              ===[  GeoIP Process  ]============================================
              
              [ pfB_Europe_v4 ]		 Changes found... Updating
              
               Aggregation Stats:
               ------------------
               Original Final      
               ------------------
               35609    14269      
               ------------------
              
              
              ===[  IPv4 Process  ]=================================================
              
              [ MS_1_v4 ]			 Reload [ 01/10/25 07:29:59 ] . completed ..
              
               Aggregation Stats:
               ------------------
               Original Final      
               ------------------
               2866     2679       
               ------------------
               ------------------------------
               Original Master     Final     
               ------------------------------
               2876     2679       2679        [ Pass ] 
               -----------------------------------------------------------------
              
              
              ===[  Aliastables / Rules  ]==========================================
              
              No changes to Firewall rules, skipping Filter Reload
              
              Updating: pfB_Europe_v4
              no changes.
              Updating: pfB_PRI5_v4
              no changes.
              
              Saving config changes... completed
              ===[  Kill States  ]==================================================
              
              Firewall state(s) validation for [ 19 ] IPv4 address(es)...
              Firewall state(s) validation for [ 38 ] IPv6 address(es)...
              No matching states found
              
              ======================================================================
              
              ===[ FINAL Processing ]=====================================
              
                [ Original IP count   ]  [ 38485 ]
              
                [ Final IP Count  ]  [ 2679 ]
              
              
              ===[ Permit List IP Counts ]=========================
              
                14269 /var/db/pfblockerng/permit/pfB_Europe_v4.txt
              
              ===[ Deny List IP Counts ]===========================
              
                 2679 /var/db/pfblockerng/deny/MS_1_v4.txt
              
              ===[ DNSBL Domain/IP Counts ] ===================================
              
               146108 total
               116230 /var/db/pfblockerng/dnsbl/StevenBlack_ADs.txt
                29585 /var/db/pfblockerng/dnsbl/EasyList.txt
                  265 /var/db/pfblockerng/dnsbl/UT1_agressif.txt
                   28 /var/db/pfblockerng/dnsbl/UT1_astrology.txt
              
              ====================[ IPv4/6 Last Updated List Summary ]==============
              
              Dec 31	12:37	MS_1_v4
              Jan 10	07:29	pfB_Europe_v4
              
              ====================[ DNSBL Last Updated List Summary ]==============
              
              Jan 6	00:05	EasyList
              Jan 6	00:15	UT1_agressif
              Jan 6	00:15	UT1_astrology
              Jan 6	00:15	StevenBlack_ADs
              ===============================================================
              
              Database Sanity check [  PASSED  ]
              ------------------------
              Masterfile/Deny folder uniq check
              Deny folder/Masterfile uniq check
              
              Sync check (Pass=No IPs reported)
              ----------
              
              Alias table IP Counts
              -----------------------------
                16948 total
                14269 /var/db/aliastables/pfB_Europe_v4.txt
                 2679 /var/db/aliastables/pfB_PRI5_v4.txt
              
              pfSense Table Stats
              -------------------
              table-entries hard limit   800000
              Table Usage Count         19757
              
              UPDATE PROCESS ENDED [ 01/10/25 07:30:00 ]
              

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

              1 Reply Last reply Reply Quote 0
              • D
                djtech2k
                last edited by

                This post is deleted!
                1 Reply Last reply Reply Quote 0
                • D
                  djtech2k
                  last edited by

                  I thought you only wanted that specific section. Here is the entire latest force reload section.

                   [ Force Reload Task - DNSBL ]
                   UPDATE PROCESS START [ v3.2.0_20 ] [ 01/10/25 08:35:44 ]
                  ===[  DNSBL Process  ]================================================
                   Loading DNSBL Statistics... completed
                   Loading DNSBL SafeSearch... disabled
                   Loading DNSBL Whitelist... completed
                  [ EasyList ]			 Reload . completed ..
                    ----------------------------------------------------------------------
                    Orig.    Unique     # Dups     # White    # TOP1M    Final                
                    ----------------------------------------------------------------------
                    29672    29672      0          0          0          29672                
                    ----------------------------------------------------------------------
                    IPv4 count=101
                  [ EasyPrivacy ]			 Reload . completed ..
                    ----------------------------------------------------------------------
                    Orig.    Unique     # Dups     # White    # TOP1M    Final                
                    ----------------------------------------------------------------------
                    41424    41423      0          0          0          41423                
                    ----------------------------------------------------------------------
                    IPv4 count=8
                  Saving DNSBL statistics... completed [ 01/10/25 08:35:45 ]
                  ------------------------------------------------------------------------
                  Assembling DNSBL database...... completed
                  Reloading Unbound Resolver (DNSBL python).
                  Stopping Unbound Resolver.
                  Unbound stopped in 2 sec.
                  Additional mounts (DNSBL python):
                    No changes required.
                  Starting Unbound Resolver... completed [ 01/10/25 08:35:47 ]
                  Resolver cache restored
                  DNSBL update [ 71095 | PASSED  ]... completed
                  ------------------------------------------------------------------------
                  ===[  GeoIP Process  ]============================================
                  ===[  IPv4 Process  ]=================================================
                  [ Abuse_Feodo_C2_v4 ]		 exists.
                  [ Abuse_SSLBL_v4 ]		 exists.
                  [ CINS_army_v4 ]		 exists.
                  [ ET_Block_v4 ]			 exists.
                  [ ET_Comp_v4 ]			 exists.
                  [ ISC_Block_v4 ]		 exists.
                  [ Spamhaus_Drop_v4 ]		 exists.
                  [ Talos_BL_v4 ]			 Downloading update .. 200 OK. completed ..
                  [ pfB_PRI1_v4 Talos_BL_v4 ] No IPs found! Ensure only IP based Feeds are used! ]
                  [ BDS_TOR_v4 ]			 exists. [ 01/10/25 08:35:48 ]
                  [ DMe_TOR_EN_v4 ]		 exists.
                  [ ET_TOR_All_v4 ]		 exists.
                  [ ISC_TOR_v4 ]			 exists.
                  [ PROJECT_TOR_EN_v4 ]		 exists.
                  [ RUECKGR_TOR_All_v4 ]		 exists.
                  [ SFS_IPs_v4 ]			 exists.
                  [ DNSBLIP_v4 ]			 Downloading update .. completed ..
                    Aggregation Stats:
                    ------------------
                    Original Final      
                    ------------------
                    109      72         
                    ------------------
                    ------------------------------
                    Original Master     Final     
                    ------------------------------
                    109      72         72          [ Pass ] 
                    -----------------------------------------------------------------
                  ===[  Aliastables / Rules  ]==========================================
                  No changes to Firewall rules, skipping Filter Reload
                   Updating: pfB_DNSBLIP_v4
                  no changes.
                  Saving config changes... completed
                  ===[  Kill States  ]==================================================
                  No matching states found
                  ======================================================================
                  ===[ FINAL Processing ]=====================================
                     [ Original IP count   ]  [ 207257 ]
                     [ Final IP Count  ]  [ 174653 ]
                  ===[ Deny List IP Counts ]===========================
                    174654 total
                    150429 /var/db/pfblockerng/deny/SFS_IPs_v4.txt
                     11928 /var/db/pfblockerng/deny/CINS_army_v4.txt
                      5404 /var/db/pfblockerng/deny/BDS_TOR_v4.txt
                      3651 /var/db/pfblockerng/deny/ET_TOR_All_v4.txt
                      1322 /var/db/pfblockerng/deny/ET_Block_v4.txt
                       565 /var/db/pfblockerng/deny/DMe_TOR_EN_v4.txt
                       562 /var/db/pfblockerng/deny/ET_Comp_v4.txt
                       403 /var/db/pfblockerng/deny/RUECKGR_TOR_All_v4.txt
                       294 /var/db/pfblockerng/deny/ISC_TOR_v4.txt
                        72 /var/db/pfblockerng/deny/DNSBLIP_v4.txt
                         9 /var/db/pfblockerng/deny/Spamhaus_Drop_v4.txt
                         7 /var/db/pfblockerng/deny/ISC_Block_v4.txt
                         6 /var/db/pfblockerng/deny/PROJECT_TOR_EN_v4.txt
                         1 /var/db/pfblockerng/deny/Abuse_SSLBL_v4.txt
                         1 /var/db/pfblockerng/deny/Abuse_Feodo_C2_v4.txt
                  ====================[ Empty Lists w/127.1.7.7 ]==================
                  Abuse_SSLBL_v4.txt
                  ===[ DNSBL Domain/IP Counts ] ===================================
                     71204 total
                     41423 /var/db/pfblockerng/dnsbl/EasyPrivacy.txt
                     29672 /var/db/pfblockerng/dnsbl/EasyList.txt
                       101 /var/db/pfblockerng/dnsbl/EasyList_v4.ip
                         8 /var/db/pfblockerng/dnsbl/EasyPrivacy_v4.ip
                  ====================[ IPv4/6 Last Updated List Summary ]==============
                  Jan 3	06:40	Abuse_SSLBL_v4
                  Jan 9	00:30	ET_Block_v4
                  Jan 9	06:35	Spamhaus_Drop_v4
                  Jan 9	11:54	BDS_TOR_v4
                  Jan 9	17:15	ET_TOR_All_v4
                  Jan 9	17:15	ET_Comp_v4
                  Jan 10	06:40	ISC_TOR_v4
                  Jan 10	06:52	CINS_army_v4
                  Jan 10	07:00	ISC_Block_v4
                  Jan 10	07:30	PROJECT_TOR_EN_v4
                  Jan 10	07:31	DMe_TOR_EN_v4
                  Jan 10	07:55	Abuse_Feodo_C2_v4
                  Jan 10	07:55	SFS_IPs_v4
                  Jan 10	08:01	RUECKGR_TOR_All_v4
                  Jan 10	08:35	Talos_BL_v4
                  Jan 10	08:35	DNSBLIP_v4
                  ====================[ DNSBL Last Updated List Summary ]==============
                  Jan 9	21:55	EasyPrivacy
                  Jan 9	23:54	EasyList
                  ===============================================================
                  Database Sanity check [  PASSED  ]
                  ------------------------
                  Masterfile/Deny folder uniq check
                  Deny folder/Masterfile uniq check
                  Sync check (Pass=No IPs reported)
                  ----------
                  Alias table IP Counts
                  -----------------------------
                    174654 total
                    150429 /var/db/aliastables/pfB_SFS_v4.txt
                     13830 /var/db/aliastables/pfB_PRI1_v4.txt
                     10323 /var/db/aliastables/pfB_TOR_v4.txt
                        72 /var/db/aliastables/pfB_DNSBLIP_v4.txt
                  pfSense Table Stats
                  -------------------
                  table-entries hard limit   400000
                  Table Usage Count         174668
                   UPDATE PROCESS ENDED [ 01/10/25 08:35:50 ]
                  
                  
                  1 Reply Last reply Reply Quote 0
                  • S SteveITS referenced this topic on
                  • D
                    djtech2k
                    last edited by

                    I still have not figured out why my packets are resolving to 0.0.0.0 but its more of a curiosity thing at this point. resolving to 0.0.0.0 still blocks it, so that's my goal. Just would like to figure out why it is going there and not to the 10.x webserver.

                    I have been slowly adding more feeds to pfblocker and I have been trying to check out the logs to see how much is being blocked, and also how the logs look. I have been noticing that a few feeds are repeatedly failing to update both on the scheduled update and when I force it manually. When I go to the feed listed in pfsense, I am able to click the link and download the feed just fine but in the logs it says the updates fail because it can't download the feed.

                    Are any of you seeing this behavior and is it normal? For example, I am getting it on Talos_BL_v4 and DMe_TOR_EN_v4.

                    S 1 Reply Last reply Reply Quote 0
                    • S
                      SteveITS Galactic Empire @djtech2k
                      last edited by

                      @djtech2k Talos basically isn't valid anymore, see thread
                      https://forum.netgate.com/topic/190566/pfb_pri1_v4-talos_bl_v4-download-fail

                      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!

                      1 Reply Last reply Reply Quote 0
                      • D
                        djtech2k
                        last edited by

                        OK thanks. Good to know. I will remove it then.

                        1 Reply Last reply Reply Quote 0
                        • D
                          djtech2k
                          last edited by

                          I recently added the ISC_Miner list and looks like it may be dead too.

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