Project

General

Profile

Actions

Bug #16812

closed

GUI alias and rule changes are not applied to the running PF ruleset ( pfctl -sr / pfctl -t unchanged), causing new firewall rules to not work, likely due to pfBlockerNG overriding tables.

Added by Jacob Simon 12 days ago. Updated 11 days ago.

Status:
Not a Bug
Priority:
Normal
Assignee:
-
Category:
pfBlockerNG
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Plus Target Version:
Affected Version:
Affected Plus Version:
26.03
Affected Architecture:

Description

The issue is reproducible on pfSense Plus 26.03 and appears isolated to scenarios where pfBlockerNG is enabled.
Observed behavior:
With pfBlockerNG disabled:
Firewall rules added or removed in the GUI are immediately reflected in the active ruleset and visible via pfctl -sr.
Alias changes made in the GUI correctly update the associated PF tables (pfctl -t <alias> -T show).
With pfBlockerNG enabled:
Firewall rule additions or deletions made in the GUI do not appear in pfctl -sr, and newly added rules do not function.
Alias edits made in the GUI do not update the corresponding PF tables (pfctl -t <alias> -T show remains unchanged).
Notably, alias changes remain pending and only take effect when pfBlockerNG is toggled (disabled and re‑enabled) or the firewall is rebooted.
Disabling pfBlockerNG restores normal behavior, and re‑enabling it forces both aliases and rules to synchronize.
Impact:
This behavior prevents new or modified firewall rules from being applied in real time and leaves the system in an inconsistent state unless pfBlockerNG is manually toggled or the firewall is rebooted, which is disruptive.
This suggests that when pfBlockerNG is enabled, it interferes with or overrides the normal filter reload process, and that alias and rule updates only fully apply when pfBlockerNG performs its own reload cycle.

Clarification:
- The pfSense Plus 26.03 system is on the latest package of pfBlockerNG 3.2.16
- "Force Reload" on "All" in pfBlockerNG > Update completes, but does not help at all
The GUI saves changes correctly.
- Apply completes without error.
- However, the running PF ruleset is not updated.

Verification:
- `pfctl sr` shows no changes after apply.
`pfctl -t <alias> -T show` remains unchanged.

Isolation:
- Toggling pfBlockerNG from Enabled to Disabled or vice-versa immediately updates the PF ruleset.
- Re-enabling pfBlockerNG causes subsequent rule/alias changes to stop applying.

This indicates a PF ruleset reload interaction issue rather than expected behavior.

Actions #1

Updated by Marcos M 12 days ago

  • Project changed from pfSense Plus to pfSense Packages
  • Category changed from Rules / NAT to pfBlockerNG
  • Status changed from New to Duplicate
  • Release Notes deleted (Default)
Actions #2

Updated by Marcos M 12 days ago

  • Is duplicate of Bug #16756: Editing a Firewall Rule before Forcing pfBlockerNG Update Empties All Aliases added
Actions #3

Updated by Marcos M 12 days ago

  • Description updated (diff)
  • Status changed from Duplicate to Incomplete

Please open a thread on the forum discussing this further (feel free to post a link here for reference) until detailed and reproducible steps are confirmed.

Actions #4

Updated by Marcos M 12 days ago

  • Is duplicate of deleted (Bug #16756: Editing a Firewall Rule before Forcing pfBlockerNG Update Empties All Aliases)
Actions #5

Updated by Jacob Simon 12 days ago

Marcos M wrote in #note-3:

Please open a thread on the forum discussing this further (feel free to post a link here for reference) until detailed and reproducible steps are confirmed.

Thanks, thread has been opened: https://forum.netgate.com/topic/200607/gui-alias-and-rule-changes-are-not-applied-to-the-running-pf-ruleset-pfctl-sr-pfctl-t-unchanged-causing-new-firewall-rules-to-not-work-likely-due-to-pfblockerng-overriding-tables.

Actions #6

Updated by Jacob Simon 11 days ago

Jacob Simon wrote in #note-5:

Marcos M wrote in #note-3:

Please open a thread on the forum discussing this further (feel free to post a link here for reference) until detailed and reproducible steps are confirmed.

Thanks, thread has been opened: https://forum.netgate.com/topic/200607/gui-alias-and-rule-changes-are-not-applied-to-the-running-pf-ruleset-pfctl-sr-pfctl-t-unchanged-causing-new-firewall-rules-to-not-work-likely-due-to-pfblockerng-overriding-tables.

Hi, the issue has been solved. I have posted the solution in the linked thread.

It was due to IPv6 tables allocating too much memory. Solution was to disable the IPv6 table that was causing an issue.

Thank you for your support

Actions #7

Updated by Marcos M 11 days ago

  • Status changed from Incomplete to Not a Bug
Actions

Also available in: Atom PDF