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

    Remove pfblocker settings without package installed?

    Scheduled Pinned Locked Moved pfBlockerNG
    26 Posts 5 Posters 738 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.
    • fireodoF
      fireodo @Klaus2314
      last edited by fireodo

      @Klaus2314 said in Remove pfblocker settings without package installed?:

      So here's the question: how can I remove/delete the old pfb settings without having pfb installed and before running it?

      Only by manual editing the config.xml - but you have to know what you are doing, this is not trivial!

      Regards,
      fireodo

      Kettop Mi4300YL CPU: i5-4300Y @ 1.60GHz RAM: 8GB Ethernet Ports: 4
      SSD: SanDisk pSSD-S2 16GB (ZFS) WiFi: WLE200NX
      pfsense 2.7.2 CE
      Packages: Apcupsd Cron Iftop Iperf LCDproc Nmap pfBlockerNG RRD_Summary Shellcmd Snort Speedtest System_Patches.

      K 1 Reply Last reply Reply Quote 0
      • K
        Klaus2314 @fireodo
        last edited by

        @fireodo said in Remove pfblocker settings without package installed?:

        @Klaus2314 said in Remove pfblocker settings without package installed?:

        How can I prevent pfblocker loading an old setup that's on the pfsense install when I install the pfb package?

        Hi,

        before uninstalling pfBlockerNG make shure the "Keep Settings" is deactivated. The when you uninstall pfBlockerNG all your settings wil be removed from the config.xml and when you reinstall it will be "virgin"
        Bildschirmfoto zu 2024-12-21 14-54-59.png

        Yeah, I'm aware. I wasn't anticipating the 24.11 update having this much of an impact and I didn't want to set everything up from scratch. Now I guess I have to...

        1 Reply Last reply Reply Quote 0
        • K
          Klaus2314 @fireodo
          last edited by

          @fireodo said in Remove pfblocker settings without package installed?:

          @Klaus2314 said in Remove pfblocker settings without package installed?:

          So here's the question: how can I remove/delete the old pfb settings without having pfb installed and before running it?

          Only by manual editing the config.xml - but you have to know what you are doing, this is not trivial!

          Regards,
          fireodo

          OK, bummer. So I basically have to setup the entire firewall from scratch to avoid pfb from starting with the old settings... wow.

          fireodoF S 2 Replies Last reply Reply Quote 0
          • fireodoF
            fireodo @Klaus2314
            last edited by fireodo

            @Klaus2314 said in Remove pfblocker settings without package installed?:

            OK, bummer. So I basically have to setup the entire firewall from scratch to avoid pfb from starting with the old settings... wow.

            Do you have console access when the box is unresponsive?
            Make a backup of you config.xml. (preferably on a external medium)
            Search in the config.xml for this:

            <pfb_keep>on</pfb_keep>
            

            change the "on" to "off"

            then on the console:

            pkg uninstall pfSense-pkg-pfBlockerNG-3.2.0_8 
            

            (I assume you have version 3.2.0_8)

            Do it at your own risk - much safe is, even if the GUI is slow, to try do it via the GUI ...

            Kettop Mi4300YL CPU: i5-4300Y @ 1.60GHz RAM: 8GB Ethernet Ports: 4
            SSD: SanDisk pSSD-S2 16GB (ZFS) WiFi: WLE200NX
            pfsense 2.7.2 CE
            Packages: Apcupsd Cron Iftop Iperf LCDproc Nmap pfBlockerNG RRD_Summary Shellcmd Snort Speedtest System_Patches.

            K 1 Reply Last reply Reply Quote 0
            • K
              Klaus2314 @fireodo
              last edited by

              @fireodo Ok thank you! I tried to roll back to 24.3 but the package manager only offers the most recent version after the roll back wich does not seem to run on 24.3.
              So again a one way road there.
              I'll try what you suggested.

              K 1 Reply Last reply Reply Quote 0
              • K
                Klaus2314 @Klaus2314
                last edited by Klaus2314

                @Klaus2314 This is the 24.11 by the way with NO blocker installed and just the most basic setup. Pretty crazy. It hovrs between 99% and 100% at all times. 24.3 was at around 50% WITH the blocker running!!

                e737579f-a5eb-488c-88f9-93356826f25e-image.png

                fireodoF J 2 Replies Last reply Reply Quote 0
                • fireodoF
                  fireodo @Klaus2314
                  last edited by

                  @Klaus2314 said in Remove pfblocker settings without package installed?:

                  This is the 24.11 by the way with NO blocker installed and just the most basic setup.

                  Take a look with top - maybe you can identify wich process is eating CPU ...

                  Kettop Mi4300YL CPU: i5-4300Y @ 1.60GHz RAM: 8GB Ethernet Ports: 4
                  SSD: SanDisk pSSD-S2 16GB (ZFS) WiFi: WLE200NX
                  pfsense 2.7.2 CE
                  Packages: Apcupsd Cron Iftop Iperf LCDproc Nmap pfBlockerNG RRD_Summary Shellcmd Snort Speedtest System_Patches.

                  K 1 Reply Last reply Reply Quote 0
                  • K
                    Klaus2314 @fireodo
                    last edited by

                    @fireodo acbfa042-fcfe-47d1-8cc8-30dcc210818d-image.png

                    fireodoF 1 Reply Last reply Reply Quote 0
                    • fireodoF
                      fireodo @Klaus2314
                      last edited by

                      @Klaus2314

                      Hmmm ... I cannot see something very unusual ...

                      Have you installed all system patches (if any)?

                      Kettop Mi4300YL CPU: i5-4300Y @ 1.60GHz RAM: 8GB Ethernet Ports: 4
                      SSD: SanDisk pSSD-S2 16GB (ZFS) WiFi: WLE200NX
                      pfsense 2.7.2 CE
                      Packages: Apcupsd Cron Iftop Iperf LCDproc Nmap pfBlockerNG RRD_Summary Shellcmd Snort Speedtest System_Patches.

                      K 1 Reply Last reply Reply Quote 0
                      • K
                        Klaus2314 @fireodo
                        last edited by

                        @fireodo 24.11 has no patches yes

                        K fireodoF 2 Replies Last reply Reply Quote 0
                        • K
                          Klaus2314 @Klaus2314
                          last edited by

                          @Klaus2314 173fc27b-17a0-4756-827f-2a4524ab5078-image.png

                          1 Reply Last reply Reply Quote 0
                          • fireodoF
                            fireodo @Klaus2314
                            last edited by

                            @Klaus2314

                            OK. Maybe we should ask @stephenw10 to jump in because he knows the 24.11 better than I do ... this seams to be something else than pfBlockerNG trouble ...

                            Kettop Mi4300YL CPU: i5-4300Y @ 1.60GHz RAM: 8GB Ethernet Ports: 4
                            SSD: SanDisk pSSD-S2 16GB (ZFS) WiFi: WLE200NX
                            pfsense 2.7.2 CE
                            Packages: Apcupsd Cron Iftop Iperf LCDproc Nmap pfBlockerNG RRD_Summary Shellcmd Snort Speedtest System_Patches.

                            K 1 Reply Last reply Reply Quote 0
                            • K
                              Klaus2314 @fireodo
                              last edited by

                              @fireodo Yeah, the forum seems to be full of posts about excessive CPU usage with 24.11. At the moment 24.11 doesn't seem to be able to run pfblocker on an SG1100. I'll try and roll back to 24.3 somehow and re-install the pfb version that worked with it last.
                              Thanks for chiming in and happy holidays!

                              fireodoF 1 Reply Last reply Reply Quote 0
                              • fireodoF
                                fireodo @Klaus2314
                                last edited by

                                @Klaus2314 said in Remove pfblocker settings without package installed?:

                                Thanks for chiming in and happy holidays!

                                Thank you - for you too!
                                Sorry I could not help more :-(

                                Kettop Mi4300YL CPU: i5-4300Y @ 1.60GHz RAM: 8GB Ethernet Ports: 4
                                SSD: SanDisk pSSD-S2 16GB (ZFS) WiFi: WLE200NX
                                pfsense 2.7.2 CE
                                Packages: Apcupsd Cron Iftop Iperf LCDproc Nmap pfBlockerNG RRD_Summary Shellcmd Snort Speedtest System_Patches.

                                K 1 Reply Last reply Reply Quote 0
                                • K
                                  Klaus2314 @fireodo
                                  last edited by

                                  @fireodo No worries. It seems to be the widgets. Got CPU down to 30% by removing all widgets from the dashboard and just adding back system info.

                                  fireodoF 1 Reply Last reply Reply Quote 0
                                  • fireodoF
                                    fireodo @Klaus2314
                                    last edited by

                                    @Klaus2314 said in Remove pfblocker settings without package installed?:

                                    Got CPU down to 30% by removing all widgets from the dashboard and just adding back system info.

                                    Yeah, I remember to have read something related to widgets and high CPU load in 24.11 ...

                                    Kettop Mi4300YL CPU: i5-4300Y @ 1.60GHz RAM: 8GB Ethernet Ports: 4
                                    SSD: SanDisk pSSD-S2 16GB (ZFS) WiFi: WLE200NX
                                    pfsense 2.7.2 CE
                                    Packages: Apcupsd Cron Iftop Iperf LCDproc Nmap pfBlockerNG RRD_Summary Shellcmd Snort Speedtest System_Patches.

                                    1 Reply Last reply Reply Quote 0
                                    • S
                                      SteveITS Galactic Empire @Klaus2314
                                      last edited by

                                      @Klaus2314 Remove the section(s) for pfB from your config file and restore.

                                      If you install packages ensure you have the correct update branch selected. Installing a package for a later version can break things.

                                      The posts I’ve seen about high CPU usage are re: dashboard widget updating. Quick workaround is not to view the dashboard. There is also a patch to revert the changes there.

                                      Pre-2.7.2/23.09: Only install packages for your version, or risk breaking it. Select your branch in System/Update/Update Settings.
                                      When upgrading, allow 10-15 minutes to restart, or more depending on packages and device speed.
                                      Upvote 👍 helpful posts!

                                      K 1 Reply Last reply Reply Quote 0
                                      • K
                                        Klaus2314 @SteveITS
                                        last edited by Klaus2314

                                        @SteveITS Your hint about the update path did the trick! I was able to roll back to 24.3 and install the pfb version that used to work. Now all is back to normal.
                                        I guess 24.11 and pfb is currently not a good idea to run on an SG1100.

                                        Thank you for helping!

                                        K 1 Reply Last reply Reply Quote 0
                                        • K
                                          Klaus2314 @Klaus2314
                                          last edited by Klaus2314

                                          @Klaus2314 Sorry, spoke too early. 24.3 with the 24.3 update path shows the pfblocker version that only runs on 24.11. Any idea how to install 3.2.0_8 instead of the newer 3.2.0_10 which does not run?

                                          S S 2 Replies Last reply Reply Quote 0
                                          • S
                                            SteveITS Galactic Empire @Klaus2314
                                            last edited by

                                            @Klaus2314 Each update branch has "the current" (for that version) package. So there's not a way to get "some older version" that isn't in the online repos. It has only one place to look.

                                            It sounds like you have ZFS on your 1100 so you can just revert to a previous boot environment...?

                                            About the only ways pfBlocker can "not run" are needing more than the 1 GB RAM (i.e. big lists) on the 1100 or using CPU (often, processing/updating big lists) so I would try to figure out why you are seeing high usage, with the dashboard not visible. You could try to track down the changes between those two minor versions but I would not expect to see much significant.

                                            https://github.com/pfsense/FreeBSD-ports/commits/devel/net/pfSense-pkg-pfBlockerNG
                                            https://forum.netgate.com/topic/187767/pfblockerng-3-2-0_09-to-3-2-0_10
                                            https://forum.netgate.com/topic/188162/pfblockerng-v3-2-0_10/6

                                            Pre-2.7.2/23.09: Only install packages for your version, or risk breaking it. Select your branch in System/Update/Update Settings.
                                            When upgrading, allow 10-15 minutes to restart, or more depending on packages and device speed.
                                            Upvote 👍 helpful posts!

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