Bug #10927
closedpfBlockerNG-devel fullfill the pfsense config history when RAM disk in use
0%
Description
Hi !
I set pfBlockerNG-devel to update DNSBL hourly, and it works fine.
But this hourly update use to be logged in the pfsense config history, and this cause the history to be full of pfBlockerNG-devel update, so we are unable to restore settings from other services.
On thread
https://forum.netgate.com/topic/156827/pfblockerng-fullfill-the-pfsense-config-history
A guy named John told me that is coming from the usage of RAM disk
He said "It looks like there is a issue in the pfb code (bad reference var usage in pfb_aliastables()) where it tries to create the earlyshellcmd and shellcmdsettings. Those changes never make it into the config.xml, so it just keeps trying to write them everytime pfb updates.
It might be a problem if you are using ramdisks. It is actually writing a "new" config file every time, so the logging is correct."
Files
Updated by Jim Pingle about 4 years ago
- Project changed from pfSense to pfSense Packages
- Category set to pfBlockerNG
Updated by Viktor Gurov about 4 years ago
Updated by Renato Botelho about 4 years ago
- Status changed from New to Feedback
- Assignee set to Renato Botelho
PR has been merged. Thanks!
Updated by Azamat Khakimyanov about 4 years ago
- Status changed from Feedback to Resolved
Tested on 2.4.4_p3, on 2.4.5_p1 and on 2.5.0-DEVELOPMENT (built on Wed Nov 11 01:06:53 EST 2020)
On 2.4.4_p3 I still see '(system): pfBlockerNG: saving earlyshellcmd' in Config History which occur every hour.
But on 2.4.5_p1 and 2.5.0-DEV I don't see this behavior any more.
This bug can be marked resolved.