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

    PfBlockerNG

    Scheduled Pinned Locked Moved pfBlockerNG
    1.2k Posts 210 Posters 1.8m 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

      @AmosK:

      Is it possible to block a list of dynamic IP's but only specific ports?

      We get a lot of spam H.323 calls originating from AWS (185+ EC2 IP ranges) and DigitalOcean (10+ IP ranges) and others. We'd like to automate the blacklisting but only on port's 1503 and 1720.

      Expert Mode Question: Most of the originator calls are named "unknown" or "cisco" and it would be great to parse those out and block those, though I'm betting that's beyond the scope of pfBlockerNG.

      You can use the "Adv. Inbound Firewall" rule settings to protect only certain ports/Dest IPs etc… I will be adding "Adv. Outbound Firewall" rule settings in the next release. You can also use "Alias" type rules, and manually create the firewall rules to suit more complex setups...

      "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
        ToddCsense
        last edited by

        pfBlockcerNG IPv4-lists: Changes from script: as of 2016-01-18

        Re: https://forum.pfsense.org/index.php?topic=86212.msg510369;topicseen#msg510369

        After perusing the log from the CRON run for pfBlockerNG_import.php script as listed here, it appears that there are a couple changes that might reduce errors that I have documented below.

        Might want to delete the "no access," "discontinued" and "not found" or change status to "off."

        Cheers,

        Todd

        *Startlist


        • Abuse_Spyeye
          from: https://spyeyetracker.abuse.ch/blocklist.php?download=ipblocklist
          to: discontinued

        as per: https://spyeyetracker.abuse.ch/ :

        SpyEye Tracker has been disconntinued. More information will follow soon on https://www.abuse.ch

        Thanks for all your support!



        • Snort_BL
          from: https://labs.snort.org/feeds/ip-filter.blf
          to: http://talosintel.com/feeds/ip-filter.blf

        as per: http://blog.snort.org/2015/09/ip-blacklist-feed-has-moved-locations.html :
        Wednesday, September 2, 2015
        IP Blacklist feed has moved locations!
        For those of you using the IP Blacklist feed on labs.snort.org, we've had to move the URL to the new link.
        You can find it at the following URL: http://talosintel.com/feeds/ip-filter.blf



        • Infiltrated
          from: http://www.infiltrated.net/blacklisted
          to: no access

        as per: http://www.infiltrated.net/blacklisted
        Forbidden
        You don't have permission to access /blacklisted on this server.



        • Geospy
          from: http://www.geopsy.org/blacklist.html
          to: not found

        as per: http://www.geopsy.org/blacklist.html
        Not Found
        The requested URL /blacklist.html was not found on this server.


        *Endlist

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

          Is it possible to import "Easylist Germany" to "DNSBL Easylist" from AdBlock Plus into pfBlockerNG?

          Easylist Germany: https://easylist.adblockplus.org/de/

          1 Reply Last reply Reply Quote 0
          • O
            oddworld19
            last edited by

            @BBCan17
            I am having trouble viewing the pfblockerNG alerts.

            On the main index page, I can see (for example) X packets for "pfB_NAmericav4" (I created an inbound rule/alias to block everything inbound on WAN that's not from United States).

            I can see that it blocked 475 packets.

            Clicking on it bring me to the alerts page, which says "Found 29 Alert Entries - Insufficient Firewall Alerts found."

            Why does it only find 29 of the 475 blocked packets?

            I've disabled remote logging for the moment to hopefully eliminate a variable. I've also
            -disenable/re-enable pfbng
            -force update
            -force cron
            -force reload
            -clear logs (from firewall settings tab)

            pics below

            Supermicro SYS-5018A-FTN4 (Atom c2758)
            pfSense 2.3.2

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

              @oddworld19:

              I am having trouble viewing the pfblockerNG alerts.
              Why does it only find 29 of the 475 blocked packets?

              Hi oddworld19,

              The Alerts Tab takes its info from the pfSense Firewall Log. So if the Firewall log doesn't contain those Alerts, it won't show in the pfBNG Alerts Tab.

              You should disable the "Log Firewall Default Block" option. They are filling your log with unneeded data. You could keep the last two "Bogons" and "Private" as those shouldn't fill your logs as much.

              Then clear your firewall logs. Followed by Disable and Re-Enable of pfBlockerNG to clear the widget packet Counts and see how it goes from there.

              There is a also known issue that I reported to the Devs, but haven't had a response. But that is only specific if you define Ports in the firewall rules. From your post, it doesn't look like you have this issue.

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

              update:

              The Widget has a customization setting to define the "Max packets for Alerts Tab pivot"… Make sure this is set to meet with your requirements.

              "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
              • I
                Ip Man
                last edited by

                The "IPv4 Custom list" seem to be inactive in pfBlockerNG. It worked fine before. I have several IPs I want to block manually in that list but it is not working. Force update and force reload has no effect. The custom list does not appear on the dashboard either. Anyone familiar with this?

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

                  @Ip:

                  The "IPv4 Custom list" seem to be inactive in pfBlockerNG. It worked fine before. I have several IPs I want to block manually in that list but it is not working. Force update and force reload has no effect. The custom list does not appear on the dashboard either. Anyone familiar with this?

                  Can you post a screenshot of the Alias? Did you select the "List Action" and define the "Alias" name?

                  "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
                  • I
                    Ip Man
                    last edited by

                    @BBcan177:

                    @Ip:

                    The "IPv4 Custom list" seem to be inactive in pfBlockerNG. It worked fine before. I have several IPs I want to block manually in that list but it is not working. Force update and force reload has no effect. The custom list does not appear on the dashboard either. Anyone familiar with this?

                    Can you post a screenshot of the Alias? Did you select the "List Action" and define the "Alias" name?

                    Well, the alias name is kind of personal  ;). Contains one space but no "pfBlocker" or "pfB_". List action is "Deny Both".

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

                      @Ip:

                      @BBcan177:

                      @Ip:

                      The "IPv4 Custom list" seem to be inactive in pfBlockerNG. It worked fine before. I have several IPs I want to block manually in that list but it is not working. Force update and force reload has no effect. The custom list does not appear on the dashboard either. Anyone familiar with this?

                      Can you post a screenshot of the Alias? Did you select the "List Action" and define the "Alias" name?

                      Well, the alias name is kind of personal  ;). Contains one space but no "pfBlocker" or "pfB_". List action is "Deny Both".

                      Its probably not going to create the alias if its just a "single space" as the Alias name… Give it a proper name and it should be fine. It can't contain and special or International characters.

                      "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
                      • I
                        Ip Man
                        last edited by

                        @BBcan177:

                        @Ip:

                        @BBcan177:

                        @Ip:

                        The "IPv4 Custom list" seem to be inactive in pfBlockerNG. It worked fine before. I have several IPs I want to block manually in that list but it is not working. Force update and force reload has no effect. The custom list does not appear on the dashboard either. Anyone familiar with this?

                        Can you post a screenshot of the Alias? Did you select the "List Action" and define the "Alias" name?

                        Well, the alias name is kind of personal  ;). Contains one space but no "pfBlocker" or "pfB_". List action is "Deny Both".

                        Its probably not going to create the alias if its just a "single space" as the Alias name… Give it a proper name and it should be fine. It can't contain and special or International characters.

                        I renamed it abc123 and now it appears as pfB_abc123 on my dashboard. Thanks!

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

                          Is spam404, one of the DNSBL feeds, gone?

                          Release: pfSense 2.4.3(amd64)
                          M/B: Supermicro A1SRi-2558F
                          HDD: Intel X25-M 160G
                          RAM: 2x8Gb Kingston ECC ValueRAM
                          AP: Netgear R7000 (XWRT), Unifi AC Pro

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

                            @pfcode:

                            Is spam404, one of the DNSBL feeds, gone?

                            Would have been best to post this in pfBNG v2.0 thread:

                            Looks like they moved the Spam404 feed to Github:
                            https://raw.githubusercontent.com/Dawsey21/Lists/master/main-blacklist.txt

                            "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
                              pfcode
                              last edited by

                              @BBcan177:

                              @pfcode:

                              Is spam404, one of the DNSBL feeds, gone?

                              Would have been best to post this in pfBNG v2.0 thread:

                              Oops, sorry.

                              Release: pfSense 2.4.3(amd64)
                              M/B: Supermicro A1SRi-2558F
                              HDD: Intel X25-M 160G
                              RAM: 2x8Gb Kingston ECC ValueRAM
                              AP: Netgear R7000 (XWRT), Unifi AC Pro

                              1 Reply Last reply Reply Quote 0
                              • C
                                CIURI
                                last edited by

                                Hello ,

                                is there a possibility to add the negate rule on ports also ? I don't want to block some ports , aka in the top 20 country list . I modified the xml  and the inc file but it seems to ignore the option. Is there an other file that I must change that makes the option work ? Thx.

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

                                  @CIURI:

                                  Hello ,

                                  is there a possibility to add the negate rule on ports also ? I don't want to block some ports , aka in the top 20 country list . I modified the xml  and the inc file but it seems to ignore the option. Is there an other file that I must change that makes the option work ? Thx.

                                  Sure I can add that to the next release… I will also be adding "Adv. Outbound" settings with other additional options...

                                  Here is a screenshot of what to expect:
                                  http://i.imgur.com/XWqznm2.png

                                  "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

                                    @BBcan177:

                                    @CIURI:

                                    Hello ,

                                    is there a possibility to add the negate rule on ports also ? I don't want to block some ports , aka in the top 20 country list . I modified the xml  and the inc file but it seems to ignore the option. Is there an other file that I must change that makes the option work ? Thx.

                                    Sure I can add that to the next release… I will also be adding "Adv. Outbound" settings with other additional options...

                                    Here is a screenshot of what to expect:
                                    http://i.imgur.com/XWqznm2.png

                                    Hi CIURI,

                                    I don't think there is an option to use "!" negate a Ports Alias in pfSense… You can edit an existing pfBNG Rule and see if you see it any different?

                                    "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
                                      pfsenseboonie
                                      last edited by

                                      Hi all,

                                      I find my dropbox syncing is blocked.

                                      In logs I see

                                      IBlock_BT_Hijack list contains 162.125.0.0/24 which is used dropbox.

                                      How should I proceed to get dropbox working again.

                                      Thanks.

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

                                        @pfsenseboonie:

                                        Hi all,

                                        I find my dropbox syncing is blocked.

                                        In logs I see

                                        IBlock_BT_Hijack list contains 162.125.0.0/24 which is used dropbox.

                                        How should I proceed to get dropbox working again.

                                        Thanks.


                                        You need to create a Permit Outbound pass rule for the IP of you seedbox
                                        or get an IP outside that range from your provider.

                                        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
                                          pfsenseboonie
                                          last edited by

                                          @RonpfS:

                                          @pfsenseboonie:

                                          Hi all,

                                          I find my dropbox syncing is blocked.

                                          In logs I see

                                          IBlock_BT_Hijack list contains 162.125.0.0/24 which is used dropbox.

                                          How should I proceed to get dropbox working again.

                                          Thanks.


                                          You need to create a Permit Outbound pass rule for the IP of you seedbox
                                          or get an IP outside that range from your provider.

                                          Just to be clear when I say dropbox I mean as in Dropbox the company
                                          Their client desktop app is trying to connect out to 162.125.17.0/24 and 162.125.32.0/24

                                          I've enabled suppression and manually added both above networks to pfBlockerNGSuppress Alias.  And then "reloaded"

                                          What I do not understand is your reference to a seedbox.  I am not sure if I have one of those or not … and yes I feel silly saying this.
                                          How/Where do I create this Permit outbound pass rule.  And how does pfBlockerNGSuppress tie in?

                                          I went ahead and creating a pass outbound in floating rules and moved it to the very top of the list.  I am not sure if this is what you meant or if it is correct.

                                          floating.png
                                          floating.png_thumb

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

                                            Seedbox … Dropbox, whatever rock you boat  :P

                                            Did you read the section in the picture.

                                            It tell you NOT to use pfBlockerNGSuppress Alias in FW rules  :o
                                            It tell you that suppression ONLY work for /32 or /24 networks.
                                            IBlock_BT_Hijack specify 162.125.0.0/16, so the "+" icon is not available in the Alerts Tab,
                                            Putting  162.125.17.0/24 and 162.125.32.0/24 in pfBlockerNGSuppress  is useless.

                                            So move the 2 networks to a new alias pfBlockerWhiteList
                                            Create a FW rule on LAN pass pfBlockerWhiteList
                                            or on the floating tab selecting all LANs interfaces

                                            pfBlockerNGWhiteList.JPG
                                            pfBlockerNGWhiteList.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
                                            • First post
                                              Last post
                                            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.