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

    PfBlocker

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

      pf 2.0 i386 + squid+squidguard+pfblocker 1.0 and 1.0.1 works very well (deny inbound)

      pfblocker 1.0.1+ deny both, crash pfsense!!
      reboot and crash,crash…
      changing to deny inbound,works well again

      Your new system is probably coming with some hyper trash like Windows 8

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

        Can you be more specific on what kind of crash you have?

        I'm using deny both with no issues or crashes.
        Boot process is fine too.

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

        Help a community developer! ;D

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

          @marcelloc:

          I`ve removed scroll call in widget.
          reinstall package in about 15 minutes.

          Seems to work fine now… no forced scrolling to the top when refreshing numbers.

          Thanx !!

          1 Reply Last reply Reply Quote 0
          • AhnHELA
            AhnHEL
            last edited by

            Getting this error now trying to enable pfBlocker, and the widget still looks like the pic i posted above.

            Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 10499768 bytes) in /usr/local/pkg/pfblocker.inc on line 281

            AhnHEL (Angel)

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

              Increase Firewall Maximum Table Entries under System: Advanced: Firewall and NAT
              you may have to increase Firewall Maximum States at some point

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

                @marcelloc:

                fixed javascript again, try reinstall in 15 minutes.

                Reinstalled and now the Dashboard doesn't scroll anymoire  ;D
                Being at it  8) is-it possible to have the option to Enable pfBlocker by default on reinstall?

                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
                • AhnHELA
                  AhnHEL
                  last edited by

                  @RonpfS:

                  Increase Firewall Maximum Table Entries under System: Advanced: Firewall and NAT
                  you may have to increase Firewall Maximum States at some point

                  I'm already up to 2 million entries, even increasing to 200 million doesnt resolve issue.  Been using pfBlocker since it was first introduced and havent had an issue until now.

                  Edit:

                  Using the Top Spammers works fine, it has something to do with the iBlocks lists.  Using the same bunch of lists that I PM'd you back during this post.

                  http://forum.pfsense.org/index.php/topic,42543.msg219723.html#msg219723

                  AhnHEL (Angel)

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

                    I ran into that kind of issue when I played with the Level 1 at some point. I was using alias only.
                    It looked like the table were locked by Firewall Rules, when I disabled pfblocker, the table would still showed up.
                    I removed pfBlocker and the table were still there under Diagnostics: Tables!!!
                    I install pfblocker and at some point I recovered. But I am not using Level 1 at this time.

                    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

                      Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 10499768 bytes) in /usr/local/pkg/pfblocker.inc on line 281

                      It looks like very large lists.

                      Try to remove some lists and enable pfBlocker.

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

                      Help a community developer! ;D

                      1 Reply Last reply Reply Quote 0
                      • M
                        Metu69salemi
                        last edited by

                        @onhel:

                        Getting this error now trying to enable pfBlocker, and the widget still looks like the pic i posted above.

                        Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 10499768 bytes) in /usr/local/pkg/pfblocker.inc on line 281

                        do you have 128GB harddisk? meaning 134217728 bytes divided with 1024 twice is exactly 128GB

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

                          No, its 128mb RAM limit for php set on pfsense.

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

                          Help a community developer! ;D

                          1 Reply Last reply Reply Quote 0
                          • M
                            Metu69salemi
                            last edited by

                            Sorry yes it was MB, not GB's.. assumed still that was kB's.  :-[ :-[

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

                              I tried getting pfblocker to start, doesn't appear to be running in any of my system logs or processes. Tried reinstalling over and over, and the CIRDs in the dashboard widget still show a red down arrow. Any ideas how I can start the process manually via the shell?

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

                                What action did you choose for it?

                                You need at least one rule on interface to get pfBlocker working.

                                check firewall -> rules

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

                                Help a community developer! ;D

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

                                  Ah that was the reason! Didn't know that, thanks!

                                  1 Reply Last reply Reply Quote 0
                                  • J
                                    jroberts31xray
                                    last edited by

                                    Good work guys! Nice new tools, usability and not to mention it works perfectly :P…..thanks for bringing two of my fav PF tools together.....Love it!

                                    btw if anyone is using PF 2.0 as a "bridged router" ...set both options to "lan" .... just something i found out the hard way.  ;D

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

                                      Good work guys! Nice new tools, usability and not to mention it works perfectly …..thanks for bringing two of my fav PF tools together.....Love it!

                                      Thanks for your feedback.

                                      Consider donating to these package developers, we will feel fantastic too. ;)

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

                                      Help a community developer! ;D

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

                                        Does using these large lists slow down the routing at all?  It seems like thousands of IPs in the PF tables would slow it down a bunch… ?

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

                                          @sofakng:

                                          Does using these large lists slow down the routing at all?  It seems like thousands of IPs in the PF tables would slow it down a bunch… ?

                                          It depends entirely on your system. Most hardware platforms will not be affected by 100's of thousands of IP's but an embedded system may. It completely depends.

                                          Basically you want to limit your usage to less than 75 to 80 percent of your available RAM. If you're running other addons like squid then you may want to use less than 50 percent of available RAM.

                                          In the cases where the system is slowed down by larger lists or the accumulation of large list the effects will be so small that you will not notice unless you host or depend on real time apps that are time sensitive. Other wise everything should be okay.

                                          -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
                                          • rdunkleR
                                            rdunkle
                                            last edited by

                                            updated to pfsense 2.01.  Removed country block and ipblock.  Installed pfblocker
                                            pfblock appears to work fine.
                                            I am seeing a frequent messages in system log: 
                                            Dec 29 12:13:35 <user.notice>fw root: IP-Blocklist was found not running
                                            Dec 29 12:16:26 <user.err>fw apinger: ALARM: WANGW(192.168.75.1)  *** delay ***
                                            Dec 29 12:16:36 <user.notice>fw check_reload_status: Reloading filter
                                            Dec 29 12:16:42 <user.notice>fw root: IP-Blocklist was found not running
                                            I do not see IP-Blocklist in the installed packages.
                                            I see a reference in the config.xml :
                                            –-------

                                            <ipblocklist_settings><config><enable>0</enable></config></ipblocklist_settings>

                                            why is IP-Blocklist trying to get restarted ?
                                            Is there another file that still thinks IP-Blocklist is installed ?</user.notice></user.notice></user.err></user.notice>

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