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 716 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.
    • K
      Klaus2314
      last edited by Klaus2314

      Hi there,

      the update to 24.11 seems to have inrtoduced a ton more strain onto my little SG1100 so when I re-install pfb to 24.11 it makes the whole machine slow down to a crawl and GUI becomes EXTREMELY unresponsive. (same setup ran totally fine under 24.3)
      So I installed a new boot environmen with no pfb which runs fine but now I want to setup pfb from scratch with less feeds but as soon as I install the package it finds the old settings and runs those feeds so I end up with the same situation. So here's the question: how can I remove/delete the old pfb settings without having pfb installed and before running it?
      Thanks!

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

        @Klaus2314 Maybe I should rephrase the question:

        How can I prevent pfblocker loading an old setup that's on the pfsense install when I install the pfb package?
        Can I delete the old setup via the shell before doing a clean install and start fresh?

        Thanks!

        fireodoF 1 Reply Last reply Reply Quote 0
        • K Klaus2314 referenced this topic on
        • fireodoF
          fireodo @Klaus2314
          last edited by

          @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

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