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

    PfBlocker

    Scheduled Pinned Locked Moved pfSense Packages
    896 Posts 143 Posters 1.3m 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.
    • marcellocM
      marcelloc
      last edited by

      The countryipblocks.net removed the lists  :-[
      I will point it to files.pfsense.

      [b]EDIT

      Just did it.

      wait 15 minutes and reinstall package.

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

      Help a community developer! ;D

      1 Reply Last reply Reply Quote 0
      • jimpJ
        jimp Rebel Alliance Developer Netgate
        last edited by

        Probably should not have users directly pull those lists anyhow, but keep them local and update them periodically. I have a feeling that too many people accessing their systems automatically may have been part of their decision to shut the service down.

        Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

        Need help fast? Netgate Global Support!

        Do not Chat/PM for help!

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

          Yeah, I'm doing it now.

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

          Help a community developer! ;D

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

            Just released version 0.1.4.6 with fixes in float rules check and about section in gui.

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

            Help a community developer! ;D

            1 Reply Last reply Reply Quote 0
            • chpalmerC
              chpalmer
              last edited by

              From Countryblocks site…

              We have temporarily suspended certain services as our donation stream has suffered a significant decrease here in the fourth quarter. We are pursuing some other financing options to help us focus on providing you with our services. This temporary suspension may last a few hours or a few days. If you would like to help us expedite the process please consider making a donation to Country IP Blocks through the PayPal link (on their site)

              Triggering snowflakes one by one..
              Intel(R) Core(TM) i5-4590T CPU @ 2.00GHz on an M400 WG box.

              1 Reply Last reply Reply Quote 0
              • T
                tommyboy180
                last edited by

                If you can, please donate to Country IP Blocks

                Site: http://www.countryipblocks.net/

                We need to support this site.

                -Tom Schaefer
                SuperMicro 1U 2X Intel pro/1000 Dual Core Intel 2.2 Ghz - 2 Gig RAM

                Please support pfBlocker | File Browser | Strikeback

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

                  @marcelloc:

                  Just released version 0.1.4.6 with fixes in float rules check and about section in gui.

                  Reinstalled, Floating rules are still there after a pfBlocker save, great  ::)
                  Counter updates when pinging from pfsense box.
                  Counter is reseted on firewall rule changes.

                  When I select loopback interface, where does it put the rules?

                  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
                  • marcellocM
                    marcelloc
                    last edited by

                    @RonpfS:

                    When I select loopback interface, where does it put the rules?

                    Nothing  :)

                    As we only use pfsense's framework components, interface selection includes loopback.

                    If you select just loopback, pfBlocker send you a warning.

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

                    Help a community developer! ;D

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

                      On reinstall we always get the Reload status missing alias error: php: : New alert found: # unresolvable dest aliases
                      This is because pfBlocker is disabled by default on install.

                      if you click ACKNOWLEDGE ALL in the Package Installer window, you ended up with:

                      Installation of  FAILED!
                      -------------------------
                      Installation halted.
                      
                      

                      Everything is fine and working after you enable pfBlocker.

                      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
                      • marcellocM
                        marcelloc
                        last edited by

                        @RonpfS:

                        On reinstall we always get the Reload status missing alias error: php: : New alert found: # unresolvable dest aliases

                        Please, remove custom alias before removing package.
                        pfBlocker is just doing what you asked him to do (do not touch my rules).

                        @RonpfS:

                        if you click ACKNOWLEDGE ALL in the Package Installer window, you ended up with:

                        Installation of  FAILED!
                        -------------------------
                        Installation halted.
                        
                        

                        when you click ACKNOWLEDGE ALL you reload the page, and then get a 'reinstallation' error.

                        This is not related to pfBlocker.

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

                        Help a community developer! ;D

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

                          I've pushed a fix in cron call to check if pfBlocker is enabled or not.

                          if you have installed pfBlocker before now + 15 min, reinstall package.

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

                          Help a community developer! ;D

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

                            Done.
                            Everything is running fine.

                            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
                            • marcellocM
                              marcelloc
                              last edited by

                              Great news, thanks for your feedback.

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

                              Help a community developer! ;D

                              1 Reply Last reply Reply Quote 0
                              • K
                                kilko
                                last edited by

                                I'm running on Alix 2D13.
                                Installed pfSense-1.2.3-RELEASE-2g-nanobsd.img.gz on a 2GB card.
                                Version 2.0-RELEASE (i386) built on Tue Sep 13 18:02:53 EDT 2011
                                Platform nanobsd (2g)
                                CPU Type Geode(TM) Integrated Processor by AMD PCS
                                Uptime 31 days +


                                I'm running Peerblocker on a local windows xp machine.
                                Is is possible to have a stripped down pfsense server - to do the same job as peerblocker (http://www.peerblock.com/) ?
                                (it now has 2.301.808.963 IPs and counting..)

                                Or should I look else where ?

                                1 Reply Last reply Reply Quote 0
                                • E
                                  eri--
                                  last edited by

                                  It seems that peerblocker is another thing and meant for windows.

                                  Unless you convince a unix knowledgable to port it to unix i do not think you will have much success in that way.

                                  1 Reply Last reply Reply Quote 0
                                  • T
                                    tommyboy180
                                    last edited by

                                    @kilko:

                                    I'm running on Alix 2D13.
                                    Installed pfSense-1.2.3-RELEASE-2g-nanobsd.img.gz on a 2GB card.
                                    Version 2.0-RELEASE (i386) built on Tue Sep 13 18:02:53 EDT 2011
                                    Platform nanobsd (2g)
                                    CPU Type Geode(TM) Integrated Processor by AMD PCS
                                    Uptime 31 days +


                                    I'm running Peerblocker on a local windows xp machine.
                                    Is is possible to have a stripped down pfsense server - to do the same job as peerblocker (http://www.peerblock.com/) ?
                                    (it now has 2.301.808.963 IPs and counting..)

                                    Or should I look else where ?

                                    pfBlocker does the same job as peerblocker. pfBlocker replaces IP-Blocklist and IP-Blocklist was created to mimic peerblocker. You can use the same lists that you are using in peerblocker and apply them to pfBlocker. This way you get protection not just on a single machine but your entire network.

                                    pfBlocker is Peerblock for pfsense.

                                    -Tom Schaefer
                                    SuperMicro 1U 2X Intel pro/1000 Dual Core Intel 2.2 Ghz - 2 Gig RAM

                                    Please support pfBlocker | File Browser | Strikeback

                                    1 Reply Last reply Reply Quote 0
                                    • I
                                      ipv6kid
                                      last edited by

                                      We need a way to verify that PfBlocker is downloading lists properly and blocking. It should display the number of IP's being blocked from downloaded lists.

                                      1 Reply Last reply Reply Quote 0
                                      • T
                                        tommyboy180
                                        last edited by

                                        @ipv6kid:

                                        We need a way to verify that PfBlocker is downloading lists properly and blocking. It should display the number of IP's being blocked from downloaded lists.

                                        There is. Marcello built that into the widget. You can add it on the home page HUD by pressing the '+' button.

                                        This widget counts the CIDRs currently applied in your tables that pfblocker creates.

                                        -Tom Schaefer
                                        SuperMicro 1U 2X Intel pro/1000 Dual Core Intel 2.2 Ghz - 2 Gig RAM

                                        Please support pfBlocker | File Browser | Strikeback

                                        1 Reply Last reply Reply Quote 0
                                        • I
                                          ipv6kid
                                          last edited by

                                          @ Tommyboy - Thanks for that I did not know to look at the widget.

                                          I am getting the following error with PFblocker now. It reports "out of memory" but RAM usage is only about 53%:

                                          : The command '/sbin/pfctl -o basic -f /tmp/rules.debug' returned exit code '1', the output was '/tmp/rules.debug:20: cannot define table pfBlockerLevel1Inbound: Cannot allocate memory /tmp/rules.debug:22: cannot define table pfBlockerLevel1Outbound: Cannot allocate memory pfctl: Syntax error in config file: pf rules not loaded'

                                          Does anybody know how to remedy this?

                                          1 Reply Last reply Reply Quote 0
                                          • I
                                            ipv6kid
                                            last edited by

                                            Getting more errors:

                                            There were error(s) loading the rules: /tmp/rules.debug:20: cannot define table pfBlockerLevel1Inbound: Cannot allocate memory
                                            /tmp/rules.debug:22: cannot define table pfBlockerLevel1Outbound: Cannot allocate memory
                                            /tmp/rules.debug:36: cannot define table pfBlockerPrimaryThreats: Cannot allocate memory
                                            pfctl: Syntax error in config file: pf rules not loaded The line in question reads [20]: table <pfblockerlevel1inbound>persist file "/var/db/aliastables/pfBlockerLevel1Inbound.txt"

                                            My router is a laptop router and is not out of memory.</pfblockerlevel1inbound>

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