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

    PfBlockerNG

    Scheduled Pinned Locked Moved pfBlockerNG
    1.2k Posts 211 Posters 2.1m 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.
    • H
      humm3r
      last edited by

      Hi There,

      Let me start by saying this is an awesome package and I love all your hard work on it!

      I have a bit of an issue from time to time with the DNSBL. It seems some sites, in this case youtube.com, are getting falsely blocked with unbound/DNSBL. It comes up with "No Match" yet the block rule is still firing away. Any thuoghts as to why?

      I've tried reinstalling the package, doing updates/reloads, to no avail. It does seem to work temporarily if I disable DNSBL, and works for a while until the states reset or DNS refreshes I guess when I re-enable DNSBL.

      Picture attached. Note that youtube.com is already in the suppress list as well to whitelist it!

      Cheers
      Humm3r

      ![false positive dnsbl.PNG](/public/imported_attachments/1/false positive dnsbl.PNG)
      ![false positive dnsbl.PNG_thumb](/public/imported_attachments/1/false positive dnsbl.PNG_thumb)

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

        https://forum.pfsense.org/index.php?topic=116490.0

        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
        • H
          humm3r
          last edited by

          @RonpfS:

          https://forum.pfsense.org/index.php?topic=116490.0

          This has been on and off for a week. I've tried updating as per the thread you linked to all week, but hasn't helped.

          I'll keep trying to update and see what happens. let me know if there's anything else you can suggest, I do appreciate the link! :)

          ![updated not working.PNG](/public/imported_attachments/1/updated not working.PNG)
          ![updated not working.PNG_thumb](/public/imported_attachments/1/updated not working.PNG_thumb)

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

            Did you put youtube-ui.l.google.com in the whitelist ?

            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
            • H
              humm3r
              last edited by

              @RonpfS:

              Did you put youtube-ui.l.google.com in the whitelist ?

              That helped, but IE still gets an error about the certificates. I'm guessing this has to do with the ads being blocked. Just wanted to post back my findings, thanks for the help :)

              It works fine in Chrome which is my main browser.

              ![youtube ads.PNG](/public/imported_attachments/1/youtube ads.PNG)
              ![youtube ads.PNG_thumb](/public/imported_attachments/1/youtube ads.PNG_thumb)
              ![pfblockerng alerts.PNG](/public/imported_attachments/1/pfblockerng alerts.PNG)
              ![pfblockerng alerts.PNG_thumb](/public/imported_attachments/1/pfblockerng alerts.PNG_thumb)

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

                To install or re-install pfBlockerNG 2.1.1_2

                https://forum.pfsense.org/index.php?topic=102470.msg647719#msg647719

                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
                • N8LBVN
                  N8LBV
                  last edited by

                  Crazy Question:
                  Have up to date PFsense,  2.3.2-RELEASE (i386)
                  built on Tue Jul 19 13:09:39 CDT 2016

                  Installed pfBlockerNG package from web interface.
                  INSTALLED SUCCESSFULLY as it said when it completed.

                  Could not find (it) anywhere in the web interface.

                  REBOOTED

                  Shows Installed: pfBlockerNG 2.1.1_2

                  Still cannot find it or anywhere in the web interface.
                  I understand it should show up under <firewall>in the web interface but is not there.

                  Rebooting does not fix it.

                  I have no clue what to try next.</firewall>

                  I feel more like I do now.

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

                    Check the installation logs, /var/log/pfblockerng/*, Dashboard for crash report etc.
                    and look here https://forum.pfsense.org/index.php?topic=102470.msg647719#msg647719

                    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
                    • N8LBVN
                      N8LBV
                      last edited by

                      Thanks will do.

                      I feel more like I do now.

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

                        Here is a link to PR # 175 for pfBlockerNG v2.1.1_3

                        https://forum.pfsense.org/index.php?topic=115357.msg649167#msg649167

                        "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
                        • P
                          pfBasic Banned
                          last edited by

                          I want to clarify my understanding of blocking and whitelisting here. I'm running a home network with no open WAN ports.

                          I have turned off default allow any lan, anti lockout rules, put up a floating block everything rule and write a couple LAN pass rules to allow the ports I need.

                          On pfBNG I'm using a bunch of lists the BBCan177 suggested. I'm also using DNSBL lists he suggested and the easy lists. Finally I have the top20 spammers country lists. ALL of these rules are LAN deny outbound.

                          I see everywhere that you should not block the world and only allow what you need, but it seems like that is directed to setups with open WAN ports. Is LAN deny outbound for country lists valid? I am getting a lot of blocks for the top spammers country lists.

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

                            @pfBasic:

                            I am getting a lot of blocks for the top spammers country lists.

                            If your just using the TOP20, that's not "Blocking the World"… Some users, are clicking every Country in every Continent except for a few, and that's what "B.T.W." was referencing...

                            You can review the Alerts Tab, to see what's getting blocked... You can also refine the Alerts by using the "Alert Filter" tool.

                            "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
                            • P
                              pfBasic Banned
                              last edited by

                              OK great, so setting up my pfBNG rules as LAN deny outbound is ideal and I'm not just wasting processing power?

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

                                @pfBasic:

                                OK great, so setting up my pfBNG rules as LAN deny outbound is ideal and I'm not just wasting processing power?

                                NP. ;)

                                "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
                                • N8LBVN
                                  N8LBV
                                  last edited by

                                  @RonpfS:

                                  Check the installation logs, /var/log/pfblockerng/*, Dashboard for crash report etc.
                                  and look here https://forum.pfsense.org/index.php?topic=102470.msg647719#msg647719

                                  Been a busy week not had any time to dig into the issue yet. 
                                  Looks like many people are having to change or increase memory limits and PHP stuff?
                                  I'm guessing that may be the direction that I may need to go?

                                  Please forgive my newbieness here but isn't the point of an installable package that they should just work?
                                  Should not the package install itself modify memory settings as/if needed? and anything else?

                                  I don't have any other packages installed nor am I doing anything crazy memory hungry. 
                                  Wasn't going to do anything fancy with the blocker either just wanted to try it out and only have it block the "top ten" fist and see how that worked.

                                  I'm also reading that uninstalling the package and/or reinstalling it is an absolute NO-NO and can break things even worse!!!  WTF! :) 
                                  So being a package I'm not able to just uninstall it or reinstall it.   
                                  I'll reference this if need be but right now I just noticed mention of it in a few threads I read.

                                  I feel more like I do now.

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

                                    An update to the package is now available https://forum.pfsense.org/index.php?topic=115357.msg649167#msg649167 & https://forum.pfsense.org/index.php?topic=115357.msg649605#msg649605

                                    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
                                    • M
                                      metalliqaz
                                      last edited by

                                      Is there any real documentation for this package?

                                      I installed it and all it seemed to do was destroy DNS lookups for all clients, including the firewall itself, for about 45 minutes.  The configuration page is a huge array of settings that are unexplained.  The package doesn't seem to be doing anything at all.  There are no new rules in the firewall, there seems to be no way of viewing any block lists at all.  I can't even find any obvious setting to tell it which sources to use.  Serously, where did everyone learn how to use this?

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

                                        @metalliqaz:

                                        Is there any real documentation for this package?

                                        I installed it and all it seemed to do was destroy DNS lookups for all clients, including the firewall itself, for about 45 minutes.  The configuration page is a huge array of settings that are unexplained.  The package doesn't seem to be doing anything at all.  There are no new rules in the firewall, there seems to be no way of viewing any block lists at all.  I can't even find any obvious setting to tell it which sources to use.  Serously, where did everyone learn how to use this?

                                        Start with the first pages of each of these threads:
                                        pfBlockerNG
                                        pfBlockerNG v2.0 w/DNSBL
                                        pfBlockerNG v2.1 w/TLD
                                        And over time ;) why not read all pages.

                                        Also there are plenty of Information boxes on almost every page, click on them.
                                        And start slowly, go with one feature at a time, IPV4, IPV6, GeoIP, DNSBL until you get things running.

                                        Go to Firewall / pfBlockerNG / Log Browser, there you can see the log file and pfBlockerNG files. Also visit the Diagnostics /Tables.

                                        InfoBox1.JPG
                                        InfoBox1.JPG_thumb
                                        InfoBox2.JPG
                                        InfoBox2.JPG_thumb

                                        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
                                        • M
                                          metalliqaz
                                          last edited by

                                          Those are only useful if you already know the function of the config page in the first place.

                                          Firewall / pfBlockerNG / Update / Update Settings:

                                          Well, it obviously schedules a cron job, but what does the cron job do?  No indication whatsoever.
                                          What's the difference between update, cron, and reload?  No idea.

                                          Firewall / pfBlockerNG / Alerts / Alert Settings:

                                          Well, each category gets a number.  What that number means is not explained.  Doesn't seem to matter though, because there is nothing in any alert queue.

                                          Firewall / pfBlockerNG / Alerts / IPv4:

                                          What does this do? It's just an "Add" button.  Probably IPv4 rules?  Okay lets make a rule, click Add:
                                          Good lord.  Apparently I need to find lists myself, unlike ABP in my browser.  What format does it need? What are valid sources? What is the purpose of country codes?

                                          Can you, being serious and honest with yourself, say that anyone could come in completely cold and actually be able to configure something that works?

                                          Nah, I don't have time.  The mysterious disruption of DNS site-wide gives me an uneasy feeling, and the lack of documentation and a homepage seals it.

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

                                            Again if you clicked on some infobox you would get many answers.
                                            As for finding the lists, yes I could go thru the posts and fetch them to you, but you are probably able to do that on you own.

                                            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.