Project

General

Profile

Bug #10927

pfBlockerNG-devel fullfill the pfsense config history when RAM disk in use

Added by Laurent BONNIN about 1 month ago. Updated 13 days ago.

Status:
Feedback
Priority:
Normal
Category:
pfBlockerNG
Target version:
-
Start date:
09/24/2020
Due date:
% Done:

0%

Estimated time:
Affected Version:
2.4.5-p1
Affected Architecture:
amd64

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."

pfsense.jpg (171 KB) pfsense.jpg Laurent BONNIN, 09/24/2020 03:21 AM
pfsenseramdisk.jpg (92.8 KB) pfsenseramdisk.jpg Laurent BONNIN, 09/24/2020 03:27 AM

History

#1 Updated by Jim Pingle about 1 month ago

  • Project changed from pfSense to pfSense Packages
  • Category set to pfBlockerNG

#3 Updated by Renato Botelho 13 days ago

  • Status changed from New to Feedback
  • Assignee set to Renato Botelho

PR has been merged. Thanks!

Also available in: Atom PDF