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"
-
@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 -
@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"
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...
-
@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,
fireodoOK, bummer. So I basically have to setup the entire firewall from scratch to avoid pfb from starting with the old settings... wow.
-
@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 ...
-
@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. -
@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!!
-
@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 ...
-
-
Hmmm ... I cannot see something very unusual ...
Have you installed all system patches (if any)?
-
@fireodo 24.11 has no patches yes
-
-
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 ...
-
@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! -
@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 :-( -
@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.
-
@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 ...
-
@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.
-
@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!
-
@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?