OPNSense/ports b936e3fdns/unbound distinfo pkg-plist

dns/unbound: sync with upstream

Taken from: FreeBSD
DeltaFile
+3-3dns/unbound/distinfo
+1-1dns/unbound/pkg-plist
+1-1dns/unbound/Makefile
+5-53 files

OPNSense/core 546de35src/opnsense/www/js opnsense.js

ui: improve form validation error append (#10333)

Since this iterates over a lot of irrelevant IDs and then mismatches
with the target change this by safeguarding against fields that are
likely not going to work without help_block_<id> and switch target
to a suffix match.

One spot where this matters: under kea v6 subnet add "DNS servers"
entry e.g. "::", click auto collect for check mark, click save. Interface
and subnet validation is red, the DNS server one shown is not.
DeltaFile
+10-5src/opnsense/www/js/opnsense.js
+10-51 files

OPNSense/ports 4f03535dns/ddclient distinfo

dns/ddclient: yeah, sure GitHub...
DeltaFile
+3-3dns/ddclient/distinfo
+3-31 files

OPNSense/core 5c51ecdsrc/etc/inc/plugins.inc.d kea.inc

kea: align newwanip hook with reality
DeltaFile
+2-2src/etc/inc/plugins.inc.d/kea.inc
+2-21 files

OPNSense/core fbba9a9src/opnsense/www/js opnsense.js

ui: improve form validation error append

Since this iterates over a lot of irrelevant IDs and then mismatches
with the target change this by safeguarding against fields that are
likely not going to work without help_block_<id> and switch target
to a suffix match.
DeltaFile
+10-5src/opnsense/www/js/opnsense.js
+10-51 files

OPNSense/core 3557f8dsrc/opnsense/www/js opnsense_bootgrid.js

bootgrid: name it what it is
DeltaFile
+4-4src/opnsense/www/js/opnsense_bootgrid.js
+4-41 files

OPNSense/core d741236src/opnsense/mvc/app/controllers/OPNsense/Firewall/Api FilterController.php

firewall: whitespace
DeltaFile
+5-5src/opnsense/mvc/app/controllers/OPNsense/Firewall/Api/FilterController.php
+5-51 files

OPNSense/core ff20a2fsrc/opnsense/mvc/app/controllers/OPNsense/Firewall/Api FilterController.php

Firewall: Rules - missed a spot in https://github.com/opnsense/core/commit/9b8ee2a92f14092f6971a96c86ca2fe138cd7b89
DeltaFile
+1-1src/opnsense/mvc/app/controllers/OPNsense/Firewall/Api/FilterController.php
+1-11 files

OPNSense/core 7d52ccfsrc/opnsense/mvc/app/models/OPNsense/Kea KeaDhcpv6.php

kea: style sweep
DeltaFile
+4-2src/opnsense/mvc/app/models/OPNsense/Kea/KeaDhcpv6.php
+4-21 files

OPNSense/core 5b7c8e6src/etc/inc/plugins.inc.d kea.inc, src/opnsense/mvc/app/controllers/OPNsense/Kea/forms dialogSubnet6.xml

Services: Kea DHCPv6: Dynamic prefix delegation (#10252)

* Add a dynamic_prefix key to the user-context so we know which subnet6 should be enriched in a post apply hook later

* Also add dynamic_prefix to subnet6 dialog

* Add prefix source interface and resolve current prefix via Autoconf::getPrefix

* model bump not needed anymore

* Add validations that disallow users to configure subnet value, pool value and reservations for a dynamic prefix subnet. The subnet must be empty since it is auto configured, the pool is auto configured as ::1000-::2000 and seeded with initial prefix, reservations cannot be created because that would blow up as there is no concept like partial IPv6 addresses in KEA. We always want to bootstrap KEA with an initial working configuration.

* Since the prefix_source is verbatim to a subnet, we only allow its usage once per unique constraint

* Add a mvp for the dynamic pd_pool, the pool is auto generated from the largets possible prefix that does not include the IA_NA generated address pool. Validation ensures the user can only change the delegated prefix length, but not anything about the pool itself. KEA is very strict about validations, auto generation is required here to ensure the model stays sane.

* Make prefix pool validation stricter, if only a /64 prefix exists there is nothing we can do if we offer both IA_NA and IA_PD, at least /63 would be required for one IA_NA and one IA_PD pool.

* Remove config instantiation inside loops

    [89 lines not shown]
DeltaFile
+227-15src/opnsense/mvc/app/models/OPNsense/Kea/KeaDhcpv6.php
+183-0src/opnsense/mvc/app/library/OPNsense/Interface/Idassoc.php
+54-17src/opnsense/mvc/app/controllers/OPNsense/Kea/forms/dialogSubnet6.xml
+70-0src/opnsense/scripts/kea/kea_prefix_renew.py
+59-9src/opnsense/mvc/app/views/OPNsense/Kea/dhcpv6.volt
+31-5src/etc/inc/plugins.inc.d/kea.inc
+624-464 files not shown
+683-5210 files

OPNSense/tools e8ab153config/26.1 ports.conf make.conf

config: prep for OpenSSL 3.5 use in 26.7/15.1
DeltaFile
+1-0config/26.1/ports.conf
+1-0config/26.1/make.conf
+2-02 files

OPNSense/plugins 6333186net/frr/src/opnsense/mvc/app/controllers/OPNsense/Quagga/forms dialogEditOSPF6RouteMaps.xml, net/frr/src/opnsense/mvc/app/models/OPNsense/Quagga OSPF6.xml

Allow multiple prefix list selections in a route map in OSPF6 as well
DeltaFile
+7-3net/frr/src/opnsense/service/templates/OPNsense/Quagga/ospf6d.conf
+5-3net/frr/src/opnsense/mvc/app/models/OPNsense/Quagga/OSPF6.xml
+0-1net/frr/src/opnsense/mvc/app/controllers/OPNsense/Quagga/forms/dialogEditOSPF6RouteMaps.xml
+12-73 files

OPNSense/core 141f5a6Mk version.mk

Revert "pkg: fix numpy version name"

This reverts commit 06291661ef1290b2b6c7a30cd18c0d4a563a0cf0.

Flippety-flop the ports tree went!

(cherry picked from commit 9dcd63d3e5ee8154ce8389108e6f7308b4b00bde)
DeltaFile
+1-1Mk/version.mk
+1-11 files

OPNSense/core 9dcd63dMk version.mk

Revert "pkg: fix numpy version name"

This reverts commit 06291661ef1290b2b6c7a30cd18c0d4a563a0cf0.

Flippety-flop the ports tree went!
DeltaFile
+1-1Mk/version.mk
+1-11 files

OPNSense/core b73465csrc/opnsense/mvc/app/controllers/OPNsense/Firewall/Api FilterController.php, src/opnsense/mvc/app/models/OPNsense/Firewall Filter.xml

Firewall: Rules [new]: Fix action, ipprotocol and protocol translations (legacy rules) (#10299)

* Firewall: Rules [new]: Fix action, ipprotocol and protocol translations. Fix Automatically generated rules category.

* Ensure translations are passed through all the way to icon formatter in view

* Ensure inet46 always shows as Any or *

* Update src/opnsense/mvc/app/models/OPNsense/Firewall/Filter.xml

Co-authored-by: Franco Fichtner <franco at opnsense.org>

* Update src/opnsense/scripts/filter/list_non_mvc_rules.php

Co-authored-by: Franco Fichtner <franco at opnsense.org>

---------

Co-authored-by: Franco Fichtner <franco at opnsense.org>
DeltaFile
+13-13src/opnsense/mvc/app/views/OPNsense/Firewall/filter_rule.volt
+10-3src/opnsense/scripts/filter/list_non_mvc_rules.php
+7-3src/opnsense/mvc/app/controllers/OPNsense/Firewall/Api/FilterController.php
+1-1src/opnsense/mvc/app/models/OPNsense/Firewall/Filter.xml
+31-204 files

OPNSense/plugins 34a9438security/strongswan-legacy/src/www vpn_ipsec_phase1.php

security/strongswan-legacy: follow core in naming IPv4+6 "any"

This will die eventually since "inet46" is only in the legacy code,
but in order to mark this spot as done we do the rename.
DeltaFile
+2-2security/strongswan-legacy/src/www/vpn_ipsec_phase1.php
+2-21 files

OPNSense/core bf685c2src/opnsense/scripts/filter list_non_mvc_rules.php

Update src/opnsense/scripts/filter/list_non_mvc_rules.php

Co-authored-by: Franco Fichtner <franco at opnsense.org>
DeltaFile
+0-1src/opnsense/scripts/filter/list_non_mvc_rules.php
+0-11 files

OPNSense/core 02b1b47src/opnsense/mvc/app/models/OPNsense/Firewall Filter.xml

Update src/opnsense/mvc/app/models/OPNsense/Firewall/Filter.xml

Co-authored-by: Franco Fichtner <franco at opnsense.org>
DeltaFile
+1-1src/opnsense/mvc/app/models/OPNsense/Firewall/Filter.xml
+1-11 files

OPNSense/ports 6d3079cemulators/qemu Makefile distinfo, emulators/qemu/files extra-patch-meson.build patch-block_export_fuse.c

Revert "emulators/qemu: sync with upstream"

This reverts commit 87b787aa8816c462a3388a4cfe3e12a0d64b5722.
DeltaFile
+38-0emulators/qemu/files/extra-patch-meson.build
+16-15emulators/qemu/files/patch-block_export_fuse.c
+6-6emulators/qemu/Makefile
+3-3emulators/qemu/distinfo
+3-0emulators/qemu/pkg-plist
+66-245 files

OPNSense/core 7caec8asrc/opnsense/scripts/interfaces reconfigure_vlans.php reconfigure_vips.php

interfaces: a few "foreach ($config" iterations switched to config_read_array()
DeltaFile
+6-7src/opnsense/scripts/interfaces/reconfigure_vlans.php
+6-2src/opnsense/scripts/interfaces/reconfigure_vips.php
+12-92 files

OPNSense/core 138bff5src/etc/inc/plugins.inc.d captiveportal.inc, src/opnsense/mvc/app/controllers/OPNsense/CaptivePortal/Api AccessController.php

Captive Portal: remove redirection on HTTPS, ditch non-functional pass statement as well

In theory, clients only use HTTP to detect the presence of a portal.
If they were to use HTTPS, the 302 redirect would in most cases
not be accessible, as the certificate presented is most likely not
valid, cutting off the communication before any redirect to a login
page can happen.

The portal itself can and should remain accessible on HTTPS, as this
is the URL the redirect is pointing to. This may be attached to a
valid certificate as well, but the key point is that access to
this URL doesn't strictly need redirection for everything on port
443.

This should prevent clients opening bogus connections to the
captive portal, which consumes a lot of TLS traffic on the network
stack, bogging down lighttpd in bigger setups and creating
a lot of established states in pf.


    [2 lines not shown]
DeltaFile
+34-31src/opnsense/mvc/app/controllers/OPNsense/CaptivePortal/Api/AccessController.php
+10-10src/etc/inc/plugins.inc.d/captiveportal.inc
+11-7src/opnsense/service/templates/OPNsense/Captiveportal/lighttpd-zone.conf
+55-483 files

OPNSense/core e44a05asrc/opnsense/mvc/app/views/OPNsense/IPsec settings.volt

ipsec: move swanctl.conf download button to the tab

This aligns with the aliases actions tab.
DeltaFile
+10-9src/opnsense/mvc/app/views/OPNsense/IPsec/settings.volt
+10-91 files

OPNSense/core ff62effsrc/opnsense/mvc/app/views/OPNsense/Diagnostics traffic.volt

Reporting: Traffic - add Max on Y axis for traffic graphs, closes https://github.com/opnsense/core/pull/10277

(cherry picked from commit 6d94603bb92dc6fb25ed9038230b53bacad153b8)
DeltaFile
+67-16src/opnsense/mvc/app/views/OPNsense/Diagnostics/traffic.volt
+67-161 files

OPNSense/core 3a5befdsrc/opnsense/mvc/app/views/OPNsense/CaptivePortal vouchers.volt, src/opnsense/mvc/app/views/OPNsense/Diagnostics routes.volt systemactivity.volt

bootgrid: replace 'append' with 'replace' for ajax: false grids

Noticed while documenting.

replaceData() is a lot more performant through Tabulator, and since
there are only 3 callers and all of them expect a clear before
updating any data, use a replace instead.

In time these pages should use the default search endpoint anyway,
but this requires an API change.

make sure to keep the append() function for compatibility

(cherry picked from commit d8b07eb02eba635fc253a948b7800cfa40a2be60)
DeltaFile
+1-4src/opnsense/mvc/app/views/OPNsense/Diagnostics/routes.volt
+1-3src/opnsense/mvc/app/views/OPNsense/CaptivePortal/vouchers.volt
+1-3src/opnsense/mvc/app/views/OPNsense/Diagnostics/systemactivity.volt
+4-0src/opnsense/www/js/opnsense_bootgrid.js
+7-104 files

OPNSense/core 0e054basrc/opnsense/mvc/app/views/OPNsense/CaptivePortal vouchers.volt, src/opnsense/mvc/app/views/OPNsense/Diagnostics systemactivity.volt routes.volt

bootgrid: clean up converter compatibility code

Only other consumer is Nginx in plugins, but worst case scenario
these timestamps will render as... timestamps, which in that form
are sortable anyway. It's likely this was throwing an error anyway

The "sorters" weren't actually accounted for in the compat
translation, so this wasn't overridable. Fix this here.

(cherry picked from commit a7ec18550d8cbb4b2a750a5860c3da52bd1d81d7)
DeltaFile
+5-18src/opnsense/www/js/opnsense_bootgrid.js
+3-13src/opnsense/mvc/app/views/OPNsense/CaptivePortal/vouchers.volt
+2-2src/opnsense/mvc/app/views/OPNsense/Diagnostics/systemactivity.volt
+1-1src/opnsense/mvc/app/views/OPNsense/Diagnostics/routes.volt
+11-344 files

OPNSense/core a118274src/opnsense/mvc/app/views/OPNsense/IPsec connections.volt sessions.volt, src/opnsense/mvc/app/views/OPNsense/Kea leases4.volt leases6.volt

ui: clean up useRequestHandlerOnGet usage

This has no use anymore with the current bootgrid code. If a
handler should be overridden, simply defining the function is enough

(cherry picked from commit 4a67e91f0b32f78a2a4de2a792ffba0da4a4e2d2)
DeltaFile
+0-1src/opnsense/mvc/app/views/OPNsense/IPsec/connections.volt
+0-1src/opnsense/mvc/app/views/OPNsense/IPsec/sessions.volt
+0-1src/opnsense/mvc/app/views/OPNsense/IPsec/tunnels.volt
+0-1src/opnsense/mvc/app/views/OPNsense/Kea/leases4.volt
+0-1src/opnsense/mvc/app/views/OPNsense/Kea/leases6.volt
+0-1src/opnsense/mvc/app/views/OPNsense/Unbound/overview.volt
+0-62 files not shown
+0-88 files

OPNSense/core d713a14src/opnsense/mvc/app/models/OPNsense/Kea KeaDhcpv6.xml

Services: Kea DHCPv6: Clean up allocator and pd-allocator terminology (#10330)

(cherry picked from commit 0bd232447b7dfafcd696ec083207188f4848d523)
DeltaFile
+6-5src/opnsense/mvc/app/models/OPNsense/Kea/KeaDhcpv6.xml
+6-51 files

OPNSense/core dc59e5dsrc/opnsense/mvc/app/controllers/OPNsense/Kea/forms dialogSubnet4.xml, src/opnsense/mvc/app/models/OPNsense/Kea KeaDhcpv4.xml KeaDhcpv4.php

Services: Kea DHCP: Kea DHCPv4 - add subnet allocator field (#10327)

(cherry picked from commit 6188aa8902429ea7ff690744799df8c32562ac9c)
(cherry picked from commit 153818d94babffcfb9a2c01933673cc109723939)
DeltaFile
+10-0src/opnsense/mvc/app/controllers/OPNsense/Kea/forms/dialogSubnet4.xml
+8-0src/opnsense/mvc/app/models/OPNsense/Kea/KeaDhcpv4.xml
+4-0src/opnsense/mvc/app/models/OPNsense/Kea/KeaDhcpv4.php
+22-03 files

OPNSense/core ecc01c7src/opnsense/mvc/app/controllers/OPNsense/Kea/forms generalSettings4.xml generalSettings6.xml, src/opnsense/mvc/app/models/OPNsense/Kea KeaDhcpv6.xml KeaDhcpv4.xml

Services: Kea DHCPv4/6: Add decline_probation_period and set lower default to mitigate faulty client implementations to consume the whole pool (#10294)

* Services: Kea DHCPv4/6: Add decline_probation_period and set lower default to mitigate faulty client implementations to consume the whole pool.

* Use isSet() since 0 is allowed

(cherry picked from commit b80995f2135476b7fbeb2f650d74eebca55ad5b3)
DeltaFile
+8-0src/opnsense/mvc/app/controllers/OPNsense/Kea/forms/generalSettings4.xml
+8-0src/opnsense/mvc/app/controllers/OPNsense/Kea/forms/generalSettings6.xml
+3-0src/opnsense/mvc/app/models/OPNsense/Kea/KeaDhcpv6.xml
+3-0src/opnsense/mvc/app/models/OPNsense/Kea/KeaDhcpv4.xml
+2-0src/opnsense/mvc/app/models/OPNsense/Kea/KeaDhcpv4.php
+2-0src/opnsense/mvc/app/models/OPNsense/Kea/KeaDhcpv6.php
+26-06 files

OPNSense/core 35dd72csrc/opnsense/mvc/app/models/OPNsense/Kea KeaDhcpv6.xml KeaDhcpv4.xml

Services: Kea DHCPv4/6: Some cleanup regarding isEmpty) usage when 0 is allowed in IntegerFields, and ensure no IntegerField accepts negative values. (#10295)

(cherry picked from commit 5aa76c203035d41b1b9de10f61367f668ec8be4c)
DeltaFile
+10-3src/opnsense/mvc/app/models/OPNsense/Kea/KeaDhcpv6.xml
+10-3src/opnsense/mvc/app/models/OPNsense/Kea/KeaDhcpv4.xml
+3-3src/opnsense/mvc/app/models/OPNsense/Kea/KeaDhcpv4.php
+3-3src/opnsense/mvc/app/models/OPNsense/Kea/KeaDhcpv6.php
+26-124 files