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

    PfBlockerNG v2.1 w/TLD

    pfBlockerNG
    42
    124
    251.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.
    • P
      pftdm007
      last edited by

      OK so I tried unchecking the "Keep settings" and "Enable pfb" checkboxes then saving.  Then I checked them back on and did a force update.  The process never ended.  45minutes later, everything was dead and the last thing I could see on the WebUI was "Rstsarting Unbound".

      The hard drive gpoes completely off charts while this happens.  I tried getting the system logs after the hard reset but it goes only up to 22:35 which is already 5 minutes after I manually reset the pfsense box.

      Tomorrow I will try to simulate this once more, and gather all logs I will be able to find.  My feeling, somehow, since I lose all network connectivity, is that unbound crashes hard probably due to lack of RAM??  Is it even possible?  I am saying that because when this happens I have network connectivity for a few minutes then everything drops.  Then I cant even connect to my internal clients (same subnet).

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

        If outbound crashes, you should still be able to access the FW by it's IP. So open one tab in your browser using the FW IP and have Diagnostics / System activity open so you can see what is happening while you run Force Reload on another tab with the FW FQDN.
        Again, you won't get any log from Resolver(unbound) if you do not restart it right after reboot.

        Could you be running out of disk space ? Do you have /var in RAM Disk? Maybe your hard disk is failing.

        Before enabling pfBlockerNG, disable the tables and enable them progressively to pinpoint the problem.

        Then before enabling DSNBL, disable the tables and go progressively until the issue appears.

        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
        • P
          pftdm007
          last edited by

          BBcan177, private email sent.

          1 Reply Last reply Reply Quote 0
          • S
            spittlbm
            last edited by

            Same issues as lpallard.  I mostly resolved this by bumping Max table entries above 2MM and disabling/enabling PFBNG.

            1 Reply Last reply Reply Quote 0
            • B
              blueduckdock
              last edited by

              Trying to figure out pfblocker on CARP….

              I've used this extensively on single installs but not via CARP. Are there any considerations I should take into account? I was told by pfsense support when I first installed that firewalls should mirror (ie. have pfblocker installed on both, etc.)
              Am I ok to configure FW1 on 10.0.10.1 with whatever pfblocker stuff I want then simply sync to 10.0.10.2 (FW2?) I don't have to worry about the CARP interface or sync issues between this package and that right (let's say CARP interface is on 10.0.10.250)

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

                @blueduckdock:

                Trying to figure out pfblocker on CARP….

                I've used this extensively on single installs but not via CARP. Are there any considerations I should take into account? I was told by pfsense support when I first installed that firewalls should mirror (ie. have pfblocker installed on both, etc.)
                Am I ok to configure FW1 on 10.0.10.1 with whatever pfblocker stuff I want then simply sync to 10.0.10.2 (FW2?) I don't have to worry about the CARP interface or sync issues between this package and that right (let's say CARP interface is on 10.0.10.250)

                Hi blueduckdock,

                You can use CARP/HA in pfSense without issue. The package has an XMLRPC sync Tab that allows for the configuration of the package to be sync'd to other boxes… But with the current DNSBL code, this will cause issues with the DNSBL VIP, as both pfSense boxes will have the same DNSBL VIP address..

                I had one user several months ago ask if this could be addressed and I did create a patch to get this addressed... If you are able to test it out, shoot me a PM if that works for you...

                "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
                • B
                  blueduckdock
                  last edited by

                  @BBcan177:

                  @blueduckdock:

                  Trying to figure out pfblocker on CARP….

                  I've used this extensively on single installs but not via CARP. Are there any considerations I should take into account? I was told by pfsense support when I first installed that firewalls should mirror (ie. have pfblocker installed on both, etc.)
                  Am I ok to configure FW1 on 10.0.10.1 with whatever pfblocker stuff I want then simply sync to 10.0.10.2 (FW2?) I don't have to worry about the CARP interface or sync issues between this package and that right (let's say CARP interface is on 10.0.10.250)

                  Hi blueduckdock,

                  You can use CARP/HA in pfSense without issue. The package has an XMLRPC sync Tab that allows for the configuration of the package to be sync'd to other boxes… But with the current DNSBL code, this will cause issues with the DNSBL VIP, as both pfSense boxes will have the same DNSBL VIP address..

                  I had one user several months ago ask if this could be addressed and I did create a patch to get this addressed... If you are able to test it out, shoot me a PM if that works for you...

                  Yeah, I saw that post about DNSBL. Sucks because that's a big part of what I'm looking for with this.

                  Unfortunately I cannot test on that (it's prod.) If I get to it, I'll try to set either my home up with CARP (was thinking about doing it in the future between proxmox and physical anyway) or at least two pfsense VMs in my homelab.

                  I will let you know as I'd like to test it and help out. I've used pfblocker for so long it's the least I can do.

                  Thanks BBcan

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

                    @blueduckdock:

                    Yeah, I saw that post about DNSBL. Sucks because that's a big part of what I'm looking for with this.

                    Unfortunately I cannot test on that (it's prod.) If I get to it, I'll try to set either my home up with CARP (was thinking about doing it in the future between proxmox and physical anyway) or at least two pfsense VMs in my homelab.

                    I will let you know as I'd like to test it and help out. I've used pfblocker for so long it's the least I can do.

                    Thanks BBcan

                    Thanks, if/when you have a test environement setup, shoot me a PM and we can go from there!

                    I've used pfblocker for so long it's the least I can do.

                    Thanks, I appreciate that! ;)

                    "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
                    • T
                      tonymorella
                      last edited by

                      Running the latest 2.1.1_4

                      When force updates via the GUI all control is lost but I can see the updates. The only way to get it back is to ssh and reset using 11 and 16, or close the browser and wait a while before login back in. If I run the updates via console do not have the same issue, I think it's has something to do with the live logs.

                      Thanks
                      Tony

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

                        @tonymorella:

                        Running the latest 2.1.1_4

                        When force updates via the GUI all control is lost but I can see the updates. The only way to get it back is to ssh and reset using 11 and 16, or close the browser and wait a while before login back in. If I run the updates via console do not have the same issue, I think it's has something to do with the live logs.

                        Your back from the netherworld ;)

                        With the change to NGINX, the "View" button in the Update Tab is not working 100% ….  I have that on the list of things to fix, but it might be removed from future releases as I don't think there is a good resolution for that one...

                        "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
                        • RonpfSR
                          RonpfS
                          last edited by

                          @tonymorella:

                          Running the latest 2.1.1_4

                          When force updates via the GUI all control is lost but I can see the updates. The only way to get it back is to ssh and reset using 11 and 16, or close the browser and wait a while before login back in. If I run the updates via console do not have the same issue, I think it's has something to do with the live logs.

                          Thanks
                          Tony

                          It's just your browser that is sometimes unable to open any connections to the FW FQDN when you run Force Update. You can still access the FW in another tab using the FW IP, or with another browser, or from another computer.

                          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
                          • BBcan177B
                            BBcan177 Moderator
                            last edited by

                            Malvertising in Action:

                            Published on Sep 1, 2016
                            Exploit kits are a class of threat that indiscriminately attempt to compromise all users. Malicious advertisements, or malvertising, are a common vector adversaries use to try and redirect users to an exploit kit.

                            https://www.youtube.com/watch?v=-E56rSF01no&feature=youtu.be

                            "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
                            • T
                              ToxIcon
                              last edited by

                              Hi all
                              I am looking for some  IP/DNSBL  blocklist / blacklist with very small false positive and was wondering from your experience with using different block lists which one would you recommend.

                              Thanks in advance for taking the time to respond.

                              1 Reply Last reply Reply Quote 0
                              • R
                                renegade
                                last edited by

                                can someone help me on that:
                                i bave many firewall log entries like

                                Sep 26 11:05:04 LAN   10.0.0.80:45511   127.0.0.1:8443

                                why is it blocked by pfblock rule?
                                and why 127.0.0.1??

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

                                  @renegade:

                                  can someone help me on that:
                                  i bave many firewall log entries like

                                  Sep 26 11:05:04 LAN   10.0.0.80:45511   127.0.0.1:8443

                                  why is it blocked by pfblock rule?
                                  and why 127.0.0.1??

                                  Goto the General tab, and enable "Suppression", the Force Reload - All…. This will remove all RFC1918 and loopback addresses...

                                  "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
                                  • R
                                    renegade
                                    last edited by

                                    Okay thank you. Did that 8)

                                    1 Reply Last reply Reply Quote 0
                                    • L
                                      ledj
                                      last edited by

                                      Is it possible to use some of the paid databases from Maxmind with pfBlockerNG ? (other than GeoLite2)

                                      And if possible, how ?

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

                                        @ledj:

                                        Is it possible to use some of the paid databases from Maxmind with pfBlockerNG ? (other than GeoLite2)

                                        And if possible, how ?

                                        Hi, I have not tested it, but if you do have a paid subscription, I would think that they would give you an API key that could be added to the MaxMind URL…

                                        You could manually edit the URL in  /usr/local/www/pfblockerng/pfblockerng.php

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

                                        And adjust the MaxMind cron task to run once a week (I think thats the update freq. of the paid subscription database).

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

                                        "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
                                        • L
                                          LIGISTX
                                          last edited by

                                          @RonpfS:

                                          http://10.10.10.1:8443 return a gif

                                          It should be https://10.10.10.1:443 but that doesn't return and doesn't it log to dnsbl.log either.

                                          Sorry guys if this is dumb, or I missed something obvious. I am power reading as much as I can possibly stand (eyes starting to hurt) about PFBNG, and I came across this and from my understanding from previous reading, this site should be blocked via all of the settings I have… I think?

                                          I navigated to https://10.10.10.1:443 in chrome and got the "Your connection is not private" warning, not a Gif. This tells me something isn't working correct. I am not even sure where to start with my question, so I will start at the obvious:

                                          This does mean something isn't working, correct? If so, what exactly may that be?

                                          Once again, just trying to get my feet wet and start actually using pfsense for what its worth, I have had my box deployed for about a month now with no packages running, and for better or worse this was my first package to try!

                                          Edit

                                          Also, is there a list somewhere of all of the available DNSBL Feeds? I have read through lots of pages and have input all of BBCan's lists that I have found, I didn't document them.... and I am not sure how to printout a list of all that are currently running on my pfsense box. Like I said, pretty noob, but very interested in learning :)

                                          I guess to this same question, like I said, I haven't kept a list, would it be an issue to have the same feed in multiple groups? I don't think this has happened, but without keeping valiant records of what I have added, it would be hard to even figure this out unless there is a way to show what all has been loaded and running (I assume there is a way to do this).

                                          And what I have seen BBCan117 write SO MANY times is, its better not to block the world, still trying to figure out exactly how to do that...

                                          Also, what I can say, I am somewhat happy I started using this, finally using the 8 GBs of RAM I put in this box! Up to almost 70% utalization, before PFBNG I was at ~2% LOL!

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

                                            See the following:
                                            https://forum.pfsense.org/index.php?topic=119954.msg663601#msg663601

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