Old rules deprecation

Started by dbd, January 29, 2026, 01:55:03 PM

Previous topic - Next topic
Today at 12:26:44 PM #15 Last Edit: Today at 12:30:55 PM by OPNenthu
One more thing: the hyperlinks in Firewall->Groups continue to point to the legacy Rules UI which is now empty.  I'm guessing that's the case in more places wherever links exist to 'firewall_rules.php' or 'firewall_rules.php?if=<name>'.

Since the legacy rules UI is going to be around for a long while still, could we have an option to update all the links in OPNsense to point to the new UI?  Or is that not really in the cards because the links are static?

Can you add a ticket for this? There's two spots actually.

src/opnsense/mvc/app/views/OPNsense/Firewall/group.volt:                                return '<a href="/firewall_rules.php?if='+row.ifname+'">'+row.ifname+'</a>';
src/opnsense/mvc/app/views/OPNsense/Interface/overview.volt:                                    $a_fw = $anchor.clone().attr('href', '/firewall_rules.php?if=' + row.identifier);

Not sure what to do.  We can't make a single decision here and removing the links may be better.


Cheers,
Franco


Quote from: Seimus on January 29, 2026, 06:48:34 PMWould it be possible to have the Statistic section in a single row if I expand its section?
https://github.com/opnsense/core/issues/9674

Regards,
S.
Networking is love. You may hate it, but in the end, you always come back to it.

OPNSense HW
APU2D2 - deceased
N5105 - i226-V | Patriot 2x8G 3200 DDR4 | L 790 512G - VM HA(SOON)
N100   - i226-V | Crucial 16G  4800 DDR5 | S 980 500G - PROD

Today at 05:41:53 PM #19 Last Edit: Today at 05:44:34 PM by julsssark
Could rule # be displayed in the statics column (or it's own column)? If it's a feasible request, I can open an issue and help test.

If you mean the rule refid (aka whats used in the live log), that is volatile and only exists inside the lifetime of the log. It cannot be added to the rules.
Hardware:
DEC740

Quote from: Monviech (Cedrik) on Today at 05:48:11 PMIf you mean the rule refid (aka whats used in the live log), that is volatile and only exists inside the lifetime of the log. It cannot be added to the rules.

Wait what?  Do you mean this?

You cannot view this attachment.

I think I wrote a post on another thread where I suggested to use the rule ID for parsing firewall logs with Monit and nobody corrected me! Uff.

Do rules in OPNsense have a persistent identifier at all?

Oh thats the UUID I think, you can just use the bootgrid menu to unhide it. At the top left next to the number dropdown that changes how many lines can be seen (50).
Hardware:
DEC740