Feature #12616
closedOption to filter state table contents by rule ID
100%
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.
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
Updated by Reid Linnemann almost 3 years ago
- Assignee set to Reid Linnemann
- Start date set to 03/02/2022
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
Updated by Reid Linnemann almost 3 years ago
- Status changed from Resolved to Feedback
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
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.
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.