Project

General

Profile

Actions

Feature #12616

closed

Option to filter state table contents by rule ID

Added by Steve Wheeler about 3 years ago. Updated over 2 years ago.

Status:
Resolved
Priority:
Normal
Category:
Web Interface
Target version:
Start date:
03/02/2022
Due date:
% Done:

100%

Estimated time:
Plus Target Version:
22.05
Release Notes:
Default

Description

The Diag > States page can already filter by ruleid but only when the page is called with that via the firewall rules page.

Add a filtering option on the page to allow doing so manually from there. That would also serve to indicate the rules are filtered and by what IDs when coming from the firewall rules page.

Displaying the rule label next to the IDs would be helpful for the user as the ruleids are not generally used elsewhere in the gui.

Actions #1

Updated by Steve Wheeler about 3 years ago

See also: https://redmine.pfsense.org/issues/12092 Utilize new ``pfctl`` ability to kill states by label

Actions #2

Updated by Reid Linnemann almost 3 years ago

  • Assignee set to Reid Linnemann
  • Start date set to 03/02/2022
Actions #3

Updated by Reid Linnemann almost 3 years ago

  • Status changed from New to Resolved

Input field added in 87b9ecff572e364f58b36293981b4c9b9ae20683

Mapping states to rules by rule id to get descriptions is problematic at the moment, as the rule id for a long-lived state can be stale if the rules have been reloaded, and pfSense_get_pf_rules() does not export all of the labels. This will be deferred for a future enhancement, during which point the rule based state filtering will likely utilize the more reliable tracker id instead of the volatile rule id

Actions #4

Updated by Reid Linnemann almost 3 years ago

  • % Done changed from 0 to 100
Actions #5

Updated by Reid Linnemann almost 3 years ago

  • Status changed from Resolved to Feedback
Actions #6

Updated by Jim Pingle over 2 years ago

  • Target version changed from CE-Next to 2.7.0
  • Plus Target Version changed from Plus-Next to 22.05
Actions #7

Updated by Jim Pingle over 2 years ago

  • Subject changed from Allow filtering Diag > States by ruleid to Option to filter state table contents by rule ID

Updating subject for release notes.

Actions #8

Updated by Christopher Cope over 2 years ago

  • Status changed from Feedback to Resolved

Tested successfully on

22.05-BETA (amd64)
built on Fri May 13 06:28:24 UTC 2022
FreeBSD 12.3-STABLE

Marking resolved.

Actions

Also available in: Atom PDF