Services: Dnsmasq DNS & DHCP: Since client-id is a valid IPv4 reservation type as well, ensure the lease view handles it correctly. The same is also true for MAC address as IPv6 reservation type.
dashboard: firewall: add semantic groups coloring option (#9907)
* firewall.js should keep coloring after reload, use sematic groups block = red
* fixes for review, hash simplification, color palette, action matching
* action is string, include interface, add default color
* Use color schema for chart colors, vary by shades
* fix blocks
* make color schema configurable for widet, defaults to contrast uses Classic10
* changed from select_multi to select, contrast mode matches the old behavior
* use options.colorscheme, fix color cycling bug
* Update src/opnsense/www/js/widgets/Firewall.js
[15 lines not shown]
bootgrid: require selection to be enabled for delete-selected
Logically, multiSelect should be enabled here as well, but leave this
out for now as it may be too wide.
(cherry picked from commit 3069c256806065fc18e4492b0319878d872cd34d)
An unknown option should only allow hex, otherwise we accidentally allow all encoding types. The IANA list may contain options that are not inside the DHCPv4 or DHCPv6 maps
captive portal: fix regression in 369630d, addresses kept bouncing between zones
If there are multiple zones defined, we shouldn't look at the ipfw output
as it has no notion of zones, therefore the ips were flagged for removal
during each iteration. Limit it to pf instead, as was the case before.
While here, we don't have to query the db for this each time, as the
list_session_ips() call filters out deleted clients.
mvc: BaseField: add setValues() for generic use
A small follow-up to make setValues() work like getValues()
including stripping empty values. Works from everywhere now
and adds a few tests in order to make sure it will keep working.
firewall: fix mvc code vs. legacy rules display issues #9931
These functions only pertain to printing automatic rules in the
old GUI so eventually we can all scrap them.