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

    PfBlockerNG

    Scheduled Pinned Locked Moved pfBlockerNG
    1.2k Posts 211 Posters 1.9m 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.
    • BBcan177B
      BBcan177 Moderator
      last edited by

      @fragged:

      Why do I occasionally see items on the "Permit" part of the Alerts tab when I have 0 permit rules?
      When I search my firewall log for the source, nothing pops up. I have logging enabled for all my pass/block/deny rules.

      I haven't seen this before. But let me know if its repeating…

      "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
      • D
        doktornotor Banned
        last edited by

        @BBcan177:

        Look at the "Alerts" Tab, and find the IP that is being blocked. Then create a new "Permit Outbound" alias. You can add the IP to the Custom Text Box at the bottom of this new Alias. This is the recommended method to overcome blocking when "Country Blocking" is occuring.

        If you are using any of those *.pool.ntp.org things or whatever similar for NTP, you really need some alias with FQDNs for those, otherwise you'll be hunting IPs for quite some time.

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

          A couple of notes about my upgrade 1.0 -> 1.01 upgrade. (Xeon amd64 4GB RAM)

          My /var/db/aliastables/ were all wiped out.
          I followed the steps given by BBcan177 to set it right again -> https://forum.pfsense.org/index.php?topic=86212.msg484133#msg484133

          also - A curiosity
          The Maxmind AnonProxy A1 list in pfBlockerNG seems more accurate than the one on Maxmind's website.

          Example: This IP  63.141.198.54 is A1 (and is in pfBlockerNG).
          re: http://www.ip-tracker.org/locator/ip-lookup.php?ip=63.141.198.54
          re: https://www.iptomaps.com/country_block/12245

          but it isn't on Maxmind's web-list of A1 IPs
          https://www.maxmind.com/en/anonymous_proxies

          Just an oddity and a welcome one at that.

          1 Reply Last reply Reply Quote 0
          • marcellocM
            marcelloc
            last edited by

            The pull request is merged. Package is available on list.

            Treinamentos de Elite: http://sys-squad.com

            Help a community developer! ;D

            1 Reply Last reply Reply Quote 0
            • D
              doktornotor Banned
              last edited by

              @marcelloc:

              The pull request is merged. Package is available on list.

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

                @LinuxTracker:

                A curiosity
                The Maxmind AnonProxy A1 list in pfBlockerNG seems more accurate than the one on Maxmind's website.

                Example: This IP  63.141.198.54 is A1 (and is in pfBlockerNG)
                but it isn't on Maxmind's web-list of A1 IPs
                https://www.maxmind.com/en/anonymous_proxies

                I think as this is a "Free" service, that they don't update the Web Site so frequently. The Database is updated the First Tuesday of each month, but I have noticed that it can change before that time.

                I checked the Maxmind Database file and it is listed there.

                GeoIPCountryWhois.csv:"63.141.198.0","63.141.199.255","1066255872","1066256383","A1","Anonymous Proxy"

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

                  @doktornotor:

                  @marcelloc:

                  The pull request is merged. Package is available on list.

                  Yes this pic is worth repeating as I am buying the next Round! Just don't expect me to be in any position to fix any bugs tomorrow!  ;D

                  I have hammered at this package with my troop of loyal Beta Testers (just over 25 of them)… A really big Thanks to those Guys for really helping put the package thru real world testing. Any bugs you guys do find, let me know and I"m sure we can get them resolved. You Beta Testers are the Salt of the Earth kinda guys... Just what Open Source is all about. Hope you guys like the package. Its been fun!

                  "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
                  • S
                    samham
                    last edited by

                    great news!!! thank you BBcan177 and everyone else who worked on this great package.

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

                      @wbennett77:

                      pfBlockerNG v1.0 – Official Release

                      Thanks to wbennett77 for allowing me to commandeer his First post in this thread …
                      https://forum.pfsense.org/index.php?topic=86212.msg472670#msg472670

                      "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
                      • F
                        Firemedic46
                        last edited by

                        Noticed pfBlockerng is not showing up in the Dashboard services status Widgets. Not sure how to reload it after modification.

                        Thanks

                        http://www.speedtest.net/my-result/6030868890

                        1 Reply Last reply Reply Quote 0
                        • D
                          doktornotor Banned
                          last edited by

                          It's not a running service, no business in there.

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

                            @Firemedic46:

                            Noticed pfBlockerng is not showing up in the Dashboard services status Widget.

                            pfBlockerNG does not have a service as doktornotor indicated. So it will not show in the services menu. But when pfBlockerNG is enabled, you will see at the top left corner of the pfBNG widget, a similar Service Status Icon showing that pfBNG is "Enabled"

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

                              It seems I can't avoid blocks from showing up in system logs->firewall, even with "Global Enable Logging" unchecked. Is it just me?

                              1 Reply Last reply Reply Quote 0
                              • D
                                doktornotor Banned
                                last edited by

                                You have individual settings per each block list.

                                1 Reply Last reply Reply Quote 0
                                • H
                                  Hugovsky
                                  last edited by

                                  ;) you're the man…. thank you.

                                  1 Reply Last reply Reply Quote 0
                                  • W
                                    wbennett77
                                    last edited by

                                    Just did a very smooth reinstall/upgrade to 1.01. Thanks BBcan177 for an amazing package and thanks for all the support.

                                    Cheers!

                                    Dell Optiplex 390 Pfsense 2.2 / Asus AC56U Wireless AP / Asus Switch

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

                                      Not seeing any aliases being created after selecting various country blocks. Nor do I see them on the dashboard widget. Its empty.

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

                                        Did you enable pfBlockerNG in the General tab? Did you force an update?

                                        @Asterix:

                                        Not seeing any aliases being created after selecting various country blocks. Nor do I see them on the dashboard widget. Its empty.

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

                                          Yup..

                                          EDIT: A reboot fixed it.

                                          Quick question…..

                                          Do u enable the floating rules options on the general tab?

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

                                            After seeing some users installation of pfBNG, I would like to suggest the following:

                                            1. Enable "Keep Settings" in the General Tab. On any re-install you will lose all settings without it.

                                            2. With the new "Alerts" Tab, you don't need to break-out each List into a single Alias. You can create an "Alias" Category, say IBlock and put most of the IBlock lists into one Alias. You can create another Alias for "Mail Servers" etc.. The Alerts tab will tell you which list was responsible for the Blocked event.

                                            3. If you create an "Alias Permit/Deny/Match/Native", name the Alias  pfb_   All lowercase. The widget is designed to pick this Prefix in the Rules so that it can be displayed with the other Auto rules that are prefixed  pfB_. For any Alias only type list, never use  pfB_ as a prefix. The package will remove it at each Cron event.

                                            4. Match can be used if you want to Monitor a group of IPs, this will just log the activity without Blocking. These Match rules will populate in the Floating Tab. You can use a URL or post IPs in the "Custom Box" provided in each Alias.

                                            5. "Alias Native" are lists that do not undergo any De-Duplication/Reputation, this can be used for Lists like the IBlock Anti-Infringement or when you want to Block Facebook for example.

                                            6. With the new "html" format, you can Deny, Permit or Match sites like Twitter, Facebook for example. You can use Hurricane Electric to pull the IPs that are part of these networks. You would also need to create a list for IPv6 if you use that in your network. Again use the "Alias Native" for these types of lists if you want to Block them. For Permit or Match, you can use the Auto-Type Rule Settings.

                                            http://bgp.he.net/search?search%5Bsearch%5D=twitter&commit=Search
                                                http://bgp.he.net/search?search%5Bsearch%5D=facebook&commit=Search
                                                http://bgp.he.net/search?search%5Bsearch%5D=spotify&commit=Search
                                                http://bgp.he.net/search?search%5Bsearch%5D=dropbox&commit=Search

                                            1. And as always no one reads the tech notes on each setting. So I advise you to read each one to familiarize yourself with each function.

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