System: Trust: Authorities - extend checkAndThrowValueInUse() to support multiple entries and direct assignments, imlpement for CA's, closes https://github.com/opnsense/core/pull/11259
Interfaces: Devices: Point-to-Point - validate array fields as well. (#11263)
The line ending validation only covered scalar POST fields, while the per-link fields are posted as arrays. Validate the array elements as well and require the per-link MTU, MRU and MRRU values to be integers.
PR: GHSA-f35q-c34m-pfw3
VPN: WireGuard - proposed fix for https://github.com/opnsense/core/issues/11106
When an interface has been removed and is recreated, it depends on a filter reload to re-attach the connected groups.
This change forces a restart on changes. If this is too expensive, alternatively we could opt for ifgroup_setup() instead.
make: support CORE_TREE and related plumbing
Rename CORE_COMMIT to make it less ambiguous as CORE_HASH is the
commit hash and CORE_TREE is the tree hash. It was also in the
metadata for no apparent reason.
Firewall: Migration Assistant: Fallback generate an UUID when empty, to prevent duplicates if export is imported twice and some entries lack UUID (#11244)
* Firewall: Migration Assistant: Generate an uuid on export, to at least prevent duplicates if users import the same legacy export twice.
* Generate a UUID from the target_rule to make it stable across exports
* For unlikely cases, add the same uuid fallback to the legacy firewall exporter as well
Services: Kea DHCPv4/6: Align domain registration of static reservations with ddns_qualifying_suffix instead of overloading DHCP options (#11243)
* Services: Kea DHCPv4/6: Align domain registration of static reservations with ddns_qualifying_suffix instead of overloading DHCP options"
* Fix small issue that when one address family was disabled it also skipped registration of the other
firmware: make subscription and flavour use more strict
While here also mark firmware component as "unrestricted", because
being able to update is a sensitive administrative task always.
PR: GHSA-89wp-xvvm-9pp4
System: Configuration: Wizard - show the current DNS override setting (#11241)
* System: Configuration: Wizard - show the current DNS override setting
Problem: The "General Information" tab of System: Configuration: Wizard does not show the current setting for "Allow DNS server list to be overridden by DHCP/PPP on WAN". It always shows the default (on). If the user completes the wizard, the wizard writes the default back to the config.
Cause: InitialSetup::init() loads the other general settings from the config, but not system.dnsallowoverride. The field keeps its model default (1).
Fix: load system.dnsallowoverride in init(), as a boolean, like the other boolean settings.
Tested on OPNsense 26.7.9-amd64: with the setting off, the wizard shows it
off. With the setting on, the wizard shows it on.
* Fix undesired formatting changes
netflow: adjust name and help text for WAN interfaces setting
Just "WAN" isn't corrent anymore so change it to "NAT interfaces".
The underlying egress_only is also still technically correct but
does a poorer job of describing the setting.