Skip to content

Find Stale Firewall Rules Using Logs and Hit Counts

Admin
November 20, 2026
5 min read
Intermediate
๐Ÿ’ป Target OS: pfSense (web console)

Before you begin

  • Applies to:Firewall rule reviews using configuration and log evidence. The click paths use pfSense.
  • Where to start:Open the firewall console and log platform with delegated read access.
  • What you need:Identify rule owners and normal business cycles. Confirm how rule counters behave after reloads or failover.
Guide tools
Guide tools
0/0 Steps (0%)

Investigation Steps

01

Build a rule review inventory

Where to click

  1. Open Firewall โ†’ Rules on the firewall.
  2. Select the interface and identify the exact rule and its logging status.

What to look for ยท Record rule identifiers, order, interfaces, sources, destinations, services, owner, purpose, and change references. Assess whether floating rules, aliases, NAT, HA, or time schedules change how the rule applies.

02

Compare counters with the right observation window

Where to click

  1. Open Status โ†’ System Logs โ†’ Firewall and filter the review window.

What to look for ยท Use the platformโ€™s read-only ruleset or reports for hit evidence. Compare both active and standby paths as applicable. Validate logging and counter reset behavior. Include business cycles such as month-end, failover tests, and backups.

03

Ask the business owner to confirm the dependency

Record any matching traffic and its approved purpose. For zero-hit candidates, confirm with owners and approved logs before proposing removal. If another rule supersedes it, document the applicable order and conditions.

04

Stage the approved change and verify

Verify

Back up the current configuration and record the exact restore path. Disable one approved rule in a change window if appropriate. Test a known permitted workflow and expected deny behavior. Check logs and roll back if expected traffic fails.

Decide What to Do Next

FindingNext action
Counter is zero and logging is disabledEstablish coverage before calling the rule stale.
Owner confirms the dependency is retiredStage the change with verification and rollback.

References

Comments