Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
23.7 Legacy Series
»
Firewall Diagnostic States not searchable after 23.7.4 upgrade
« previous
next »
Print
Pages: [
1
]
Author
Topic: Firewall Diagnostic States not searchable after 23.7.4 upgrade (Read 1462 times)
opnfwb
Sr. Member
Posts: 324
Karma: 46
Firewall Diagnostic States not searchable after 23.7.4 upgrade
«
on:
September 14, 2023, 06:46:17 pm »
Greetings! I'm noticing a small issue where I cannot use the search function when viewing the Firewall/Diagnostics/States. Any search I run in the firewall states diagnostic view always returns with "no results"
Logged
Monviech
Hero Member
Posts: 1310
Karma: 149
Re: Firewall Diagnostic States not searchable after 23.7.4 upgrade
«
Reply #1 on:
September 14, 2023, 07:12:16 pm »
I just tested it too and it only shows results when I type full IPv4 or IPv6 addresses. It doesn't show results when there's just partially written ones.
It happens in sessions and in states.
I just tested it on an older version (OPNsense 23.4.2-amd64) too and there partial strings work.
Logged
Hardware:
DEC740
franco
Administrator
Hero Member
Posts: 17210
Karma: 1566
Re: Firewall Diagnostic States not searchable after 23.7.4 upgrade
«
Reply #2 on:
September 14, 2023, 07:23:11 pm »
If I recall correctly that change was in 23.7.3?
Logged
opnfwb
Sr. Member
Posts: 324
Karma: 46
Re: Firewall Diagnostic States not searchable after 23.7.4 upgrade
«
Reply #3 on:
September 14, 2023, 07:53:07 pm »
Franco you're right. I fired up another VM that still has 23.7.3 on it and I see the same thing.
However, if this is an intentional change I have to admit I much preferred the "old" way of the partial matches. I used to be able to search by keyword of my firewall rule name.
Logged
franco
Administrator
Hero Member
Posts: 17210
Karma: 1566
Re: Firewall Diagnostic States not searchable after 23.7.4 upgrade
«
Reply #4 on:
September 14, 2023, 08:35:22 pm »
It was these two:
https://github.com/opnsense/core/commit/6487512
https://github.com/opnsense/core/commit/3322a2e
# opnsense-patch 6487512 3322a2e
The idea was to search for split terms, but maybe the boundary matching is handled wrongly now.
Cheers,
Franco
Logged
opnfwb
Sr. Member
Posts: 324
Karma: 46
Re: Firewall Diagnostic States not searchable after 23.7.4 upgrade
«
Reply #5 on:
September 15, 2023, 03:37:08 pm »
Thanks Franco, those patches worked.
Logged
opnfwb
Sr. Member
Posts: 324
Karma: 46
Re: Firewall Diagnostic States not searchable after 23.7.4 upgrade
«
Reply #6 on:
February 16, 2024, 09:17:54 pm »
For me I'm still seeing the same behavior after upgrading and am unsure if I can apply these patches on the newer 24.1.x series?
Is this the new intended behavior to not match partial searches in the Firewall Sessions or States view?
Thanks for your time and apologies if I'm being a "squeaky wheel" on this. But I really liked that feature and I miss it.
Logged
AdSchellevis
Administrator
Hero Member
Posts: 904
Karma: 183
Re: Firewall Diagnostic States not searchable after 23.7.4 upgrade
«
Reply #7 on:
February 17, 2024, 09:53:51 am »
Maybe better open a ticket (
https://github.com/opnsense/core
) using our bug report template, it's intentional to search for addresses/networks (e.g. 192.168.1.1, 192.168.0.0/24) when offered, I'm doubting about the text parts in the search phrase.
Best regards,
Ad
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
Archive
»
23.7 Legacy Series
»
Firewall Diagnostic States not searchable after 23.7.4 upgrade