IDS: allow % in policy descriptions (#11270)
The policy file is read with ConfigParser interpolation, so a % in a
policy description (or a content value) aborted installRules.py, which
fails Apply and, silently, the scheduled rule update. Read it without
interpolation.
Signed-off-by: Gennaro Cimmino <gcimmino at rayonra.net>
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