Project

General

Profile

Actions

Feature #12616

closed

Option to filter state table contents by rule ID

Added by Steve Wheeler 5 months ago. Updated 9 days 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 5 months ago

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

Actions #2

Updated by Reid Linnemann 3 months ago

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

Updated by Reid Linnemann 2 months 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 2 months ago

  • % Done changed from 0 to 100
Actions #5

Updated by Reid Linnemann 2 months ago

  • Status changed from Resolved to Feedback
Actions #6

Updated by Jim Pingle about 2 months 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 about 2 months 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 9 days 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