OPNSense/core ac55f10src/opnsense/mvc/app/models/OPNsense/Unbound Unbound.xml

unbound: trim option values

This works since https://github.com/opnsense/core/commit/b187227683de93cb705d6290090aaa708354edf1
DeltaFile
+11-11src/opnsense/mvc/app/models/OPNsense/Unbound/Unbound.xml
+11-111 files

OPNSense/core 7484d4bsrc/opnsense/mvc/app/models/OPNsense/TrafficShaper TrafficShaper.xml

firewall: this works and I don't get it
DeltaFile
+1-1src/opnsense/mvc/app/models/OPNsense/TrafficShaper/TrafficShaper.xml
+1-11 files

OPNSense/core 251559esrc/opnsense/mvc/app/models/OPNsense/Firewall Filter.xml, src/opnsense/mvc/app/models/OPNsense/Interfaces Lagg.xml

src: expand lint and fix a few easy ones
DeltaFile
+16-16src/opnsense/mvc/app/models/OPNsense/Firewall/Filter.xml
+13-13src/opnsense/mvc/app/models/OPNsense/TrafficShaper/TrafficShaper.xml
+6-6src/opnsense/mvc/app/models/OPNsense/Trust/General.xml
+6-6src/opnsense/mvc/app/models/OPNsense/Interfaces/Lagg.xml
+5-5src/opnsense/mvc/app/models/OPNsense/Syslog/Syslog.xml
+4-4src/opnsense/mvc/app/models/OPNsense/Monit/Monit.xml
+50-504 files not shown
+58-5810 files

OPNSense/core 2769ae5src/opnsense/mvc/app/views/OPNsense/Diagnostics netflow.volt

trim this as well
DeltaFile
+1-1src/opnsense/mvc/app/views/OPNsense/Diagnostics/netflow.volt
+1-11 files

OPNSense/core e05881csrc/opnsense/mvc/app/controllers/OPNsense/Unbound/forms dnsreporting.xml

trim this
DeltaFile
+1-3src/opnsense/mvc/app/controllers/OPNsense/Unbound/forms/dnsreporting.xml
+1-31 files

OPNSense/core 87784f0src/opnsense/mvc/app/views/OPNsense/Unbound overview.volt

leftover here
DeltaFile
+0-1src/opnsense/mvc/app/views/OPNsense/Unbound/overview.volt
+0-11 files

OPNSense/core 37ff114src/opnsense/mvc/app/models/OPNsense/Diagnostics/Migrations M1_0_0.php

safeguard post as well
DeltaFile
+4-0src/opnsense/mvc/app/models/OPNsense/Diagnostics/Migrations/M1_0_0.php
+4-01 files

OPNSense/core 73df876src/opnsense/mvc/app/controllers/OPNsense/Kea/forms generalSettings4.xml, src/opnsense/mvc/app/models/OPNsense/Kea KeaDhcpv4.xml KeaDhcpv4.php

Services: Kea DHCPv4: Add DHCP4 compatibility options (#10336)

Refs: https://kea.readthedocs.io/en/stable/arm/dhcp4-srv.html#dhcp4-compatibility"

Co-authored-by: Franco Fichtner <franco at lastsummer.de>
Co-authored-by: Monviech <79600909+Monviech at users.noreply.github.com>
DeltaFile
+10-0src/opnsense/mvc/app/controllers/OPNsense/Kea/forms/generalSettings4.xml
+9-0src/opnsense/mvc/app/models/OPNsense/Kea/KeaDhcpv4.xml
+4-0src/opnsense/mvc/app/models/OPNsense/Kea/KeaDhcpv4.php
+23-03 files

OPNSense/core d7f455bsrc/opnsense/mvc/app/controllers/OPNsense/Unbound/Api DiagnosticsController.php OverviewController.php, src/opnsense/mvc/app/models/OPNsense/Unbound Unbound.xml

unbound: blocklist improvements (#10149)

* Organizes DNSBLs by provider/category.
* Adds the Social Network blocklist by hegizi.
* The tester now gives you the DNSBL name and category instead of its shortcode.
DeltaFile
+41-30src/opnsense/mvc/app/models/OPNsense/Unbound/Unbound.xml
+17-4src/opnsense/mvc/app/views/OPNsense/Unbound/overview.volt
+14-0src/opnsense/mvc/app/controllers/OPNsense/Unbound/Api/DiagnosticsController.php
+8-1src/opnsense/mvc/app/controllers/OPNsense/Unbound/Api/OverviewController.php
+1-0src/opnsense/service/templates/OPNsense/Unbound/core/blocklists.conf
+81-355 files

OPNSense/core 2254237src/opnsense/mvc/app/models/OPNsense/Core/Menu Menu.xml, src/opnsense/mvc/app/models/OPNsense/Diagnostics/ACL ACL.xml

fix ACL and menu
DeltaFile
+0-1src/opnsense/mvc/app/models/OPNsense/Core/Menu/Menu.xml
+0-1src/opnsense/mvc/app/models/OPNsense/Diagnostics/ACL/ACL.xml
+0-22 files

OPNSense/core 8bf0da9. plist

update plist
DeltaFile
+1-2plist
+1-21 files

OPNSense/core 0d14c48src/opnsense/mvc/app/controllers/OPNsense/Diagnostics/Api SystemhealthController.php, src/opnsense/mvc/app/models/OPNsense/Diagnostics SystemHealth.php

Reporting: Settings: convert to MVC
DeltaFile
+0-311src/www/reporting_settings.php
+192-68src/opnsense/mvc/app/views/OPNsense/Diagnostics/health.volt
+59-11src/opnsense/mvc/app/views/OPNsense/Unbound/overview.volt
+53-3src/opnsense/mvc/app/controllers/OPNsense/Diagnostics/Api/SystemhealthController.php
+27-10src/opnsense/mvc/app/views/OPNsense/Diagnostics/netflow.volt
+35-0src/opnsense/mvc/app/models/OPNsense/Diagnostics/SystemHealth.php
+366-40314 files not shown
+473-40920 files

OPNSense/core 8ae0a6cMk lint.mk

make: add linter pass for the situation b187227683d addresses
DeltaFile
+3-0Mk/lint.mk
+3-01 files

OPNSense/core b187227src/opnsense/mvc/app/models/OPNsense/Base/FieldTypes OptionField.php, src/opnsense/mvc/app/models/OPNsense/Firewall Alias.xml

mvc: OptionField: allow empty values in options

This falls back to the key which isn't going to be translated
since it's likely a technical term or keyword.

Also translate the $subvalue which appears to have been missed
before.
DeltaFile
+5-5src/opnsense/mvc/app/models/OPNsense/Firewall/Alias.xml
+3-3src/opnsense/mvc/app/models/OPNsense/Base/FieldTypes/OptionField.php
+8-82 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/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/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/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/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