OPNSense/core 676d307src/opnsense/service/conf/actions.d actions_unbound.conf actions_system.conf

configd: further restrict configd actions to root and wwwonly for more sensitive actions (stopping services, reading certain data, ..) that won't be scheduled anyway and should have no other consumers.

addition to https://github.com/opnsense/core/commit/a313cbd5bdcfc3c9d4a55704fcdb8bbcf7182069

In the long run we might consider swapping the defaults, but since the chance of regressions is rather larger and most callouts aren't that problematic anyway, opt for explicit elevated rights for now.
DeltaFile
+8-0src/opnsense/service/conf/actions.d/actions_unbound.conf
+7-0src/opnsense/service/conf/actions.d/actions_system.conf
+6-0src/opnsense/service/conf/actions.d/actions_filter.conf
+5-0src/opnsense/service/conf/actions.d/actions_zfs.conf
+4-0src/opnsense/service/conf/actions.d/actions_netflow.conf
+4-0src/opnsense/service/conf/actions.d/actions_ipsec.conf
+34-014 files not shown
+54-020 files

OPNSense/core 513234csrc/opnsense/mvc/app/library/OPNsense/Firewall ForwardRule.php Rule.php

Firewall: NAT: Destination NAT - fix missing "well-known" in local-port, closes https://github.com/opnsense/core/issues/10612

While here, also suppress a php warning for an non-existing entry.
DeltaFile
+9-2src/opnsense/mvc/app/library/OPNsense/Firewall/ForwardRule.php
+1-1src/opnsense/mvc/app/library/OPNsense/Firewall/Rule.php
+10-32 files

OPNSense/core 5c7830dsrc/opnsense/mvc/app/models/OPNsense/Trust Ca.xml Cert.xml

system: support RSA 7680

PR: https://forum.opnsense.org/index.php?topic=52537.0
DeltaFile
+1-0src/opnsense/mvc/app/models/OPNsense/Trust/Ca.xml
+1-0src/opnsense/mvc/app/models/OPNsense/Trust/Cert.xml
+2-02 files

OPNSense/core 3753e35src/opnsense/mvc/app/views/layout_partials base_form.volt base_dialog.volt

MVC: UI: Parenthesize the filtered static value so Volt applies the default before negating it, avoiding undefined array key warnings. (#10608)
DeltaFile
+3-3src/opnsense/mvc/app/views/layout_partials/base_form.volt
+3-3src/opnsense/mvc/app/views/layout_partials/base_dialog.volt
+6-62 files

OPNSense/core a8ab435src/opnsense/mvc/app/views/layout_partials base_dialog.volt base_form.volt

MVC: UI: Parenthesize the filtered static value so Volt applies the default before negating it, avoiding undefined array key warnings.
DeltaFile
+3-3src/opnsense/mvc/app/views/layout_partials/base_dialog.volt
+3-3src/opnsense/mvc/app/views/layout_partials/base_form.volt
+6-62 files

OPNSense/core 65370c4src/opnsense/mvc/app/views/layout_partials base_tabs_header.volt

MVC: UI: base_tabs_header fix tab activation (#10606)
DeltaFile
+2-2src/opnsense/mvc/app/views/layout_partials/base_tabs_header.volt
+2-21 files

OPNSense/core e30c30bsrc/www services_ntpd_pps.php services_ntpd.php

network time: restart change for #9352
DeltaFile
+26-27src/www/services_ntpd_pps.php
+1-2src/www/services_ntpd.php
+1-2src/www/services_ntpd_gps.php
+28-313 files

OPNSense/core 2e6ffc6. plist, src/opnsense/service/conf/actions.d actions_plugins.conf actions_dns.conf

system: configure dhcp via backend, move dns over #9352
DeltaFile
+11-0src/opnsense/service/conf/actions.d/actions_plugins.conf
+0-6src/opnsense/service/conf/actions.d/actions_dns.conf
+2-2src/www/system_advanced_admin.php
+2-2src/www/system_general.php
+1-1src/www/services_opendns.php
+1-0plist
+17-116 files

OPNSense/core 12265f3src/www diag_backup.php

system: move backup restore to /var/lib/php/tmp #9352
DeltaFile
+1-1src/www/diag_backup.php
+1-11 files

OPNSense/core 56e2655src/opnsense/service/conf/actions.d actions_dns.conf, src/www system_advanced_admin.php system_general.php

system: add dns reconfigure #9352
DeltaFile
+6-0src/opnsense/service/conf/actions.d/actions_dns.conf
+1-1src/www/system_advanced_admin.php
+1-1src/www/system_general.php
+8-23 files

OPNSense/core 13d152fsrc/etc/inc/plugins.inc.d core.inc, src/www system_general.php

system: switch timezone and hostname restarts #9352
DeltaFile
+20-0src/etc/inc/plugins.inc.d/core.inc
+2-2src/www/system_general.php
+22-22 files

OPNSense/core 4fee2bbsrc/www system_advanced_misc.php

system: replace kernel/powerd restart now that it works #9352
DeltaFile
+10-10src/www/system_advanced_misc.php
+10-101 files

OPNSense/core 6e71db0src/etc/inc plugins.inc, src/etc/inc/plugins.inc.d core.inc

system: change approach due to MVC entanglement

Frist approach did not work.  Make it a bit more obvious.
DeltaFile
+7-2src/etc/inc/xmlrpc/service.inc
+7-2src/sbin/pluginctl
+2-5src/etc/inc/plugins.inc
+2-2src/etc/inc/plugins.inc.d/core.inc
+18-114 files

OPNSense/core c441b18src/opnsense/mvc/app/views/layout_partials base_tabs_header.volt

MVC: UI: base_tabs_header fix tab activation
DeltaFile
+2-2src/opnsense/mvc/app/views/layout_partials/base_tabs_header.volt
+2-21 files

OPNSense/core 86d6fd2src/opnsense/mvc/app/controllers/OPNsense/Firewall/Api DNatController.php, src/opnsense/mvc/app/models/OPNsense/Firewall/FieldTypes SourceNatRuleField.php FilterRuleField.php

Firewall: Rules and NAT: Group invalid rules to the end of the ruleset. These rules are skipped by PF processing because they do not have a valid interface. (#10550)


---------

Co-authored-by: Stephan de Wit <stephan.de.wit at deciso.com>
DeltaFile
+72-84src/opnsense/mvc/app/views/OPNsense/Firewall/filter_rule.volt
+52-55src/opnsense/mvc/app/views/OPNsense/Firewall/nat_rule.volt
+30-2src/opnsense/mvc/app/models/OPNsense/Firewall/FieldTypes/SourceNatRuleField.php
+21-2src/opnsense/mvc/app/controllers/OPNsense/Firewall/Api/DNatController.php
+13-0src/opnsense/mvc/app/models/OPNsense/Firewall/FieldTypes/FilterRuleField.php
+188-1435 files

OPNSense/core 539b002src/etc/inc plugins.inc, src/etc/inc/plugins.inc.d core.inc

system: add hidden services so they can be operated by pluginctl -s #9352

For now that's kernel and powerd.  Eventually these workarounds will
go away anyway.
DeltaFile
+20-0src/etc/inc/plugins.inc.d/core.inc
+9-6src/etc/inc/plugins.inc
+1-1src/sbin/pluginctl
+30-73 files

OPNSense/core 4a20d0bsrc/www system_advanced_admin.php system_advanced_firewall.php

system: replace login/sysctl restart for #9352
DeltaFile
+1-1src/www/system_advanced_admin.php
+1-1src/www/system_advanced_firewall.php
+2-22 files

OPNSense/core 035c571src/www system_advanced_admin.php system_advanced_misc.php

system: switch resolver reload for #9352
DeltaFile
+1-1src/www/system_advanced_admin.php
+1-1src/www/system_advanced_misc.php
+1-1src/www/system_general.php
+1-1src/www/services_opendns.php
+4-44 files

OPNSense/core 6c13660src/opnsense/mvc/app/views/OPNsense/Firewall alias.volt

aliases: enable virtualDOM here and refactor commands
DeltaFile
+13-9src/opnsense/mvc/app/views/OPNsense/Firewall/alias.volt
+13-91 files

OPNSense/core 9b6529bsrc/opnsense/mvc/app/views/layout_partials base_form.volt

MVC:ui Fix collapsible form section rendering in base_form.volt in f8c0ba6 (#10604)
DeltaFile
+2-2src/opnsense/mvc/app/views/layout_partials/base_form.volt
+2-21 files

OPNSense/core 8ff4256src/www diag_backup.php services_ntpd.php

system: replace cron restart in legacy pages #9352

This probably slows down execution, but either we solve this later
on or just live with it as these pages are going away eventually.
DeltaFile
+1-1src/www/diag_backup.php
+1-1src/www/services_ntpd.php
+1-1src/www/system_advanced_firewall.php
+1-1src/www/system_advanced_misc.php
+4-44 files

OPNSense/core 76e92c0src/etc/inc util.inc, src/opnsense/mvc/app/controllers/OPNsense/IPsec/Api TunnelController.php KeyPairsController.php

system: move old dirty file markers to /var/lib/php/tmp #9352
DeltaFile
+5-5src/opnsense/mvc/app/controllers/OPNsense/IPsec/Api/TunnelController.php
+3-3src/etc/inc/util.inc
+3-3src/opnsense/mvc/app/controllers/OPNsense/IPsec/Api/KeyPairsController.php
+2-2src/opnsense/mvc/app/controllers/OPNsense/IPsec/Api/LegacySubsystemController.php
+13-134 files

OPNSense/core 9057ebbsrc/www firewall_schedule_edit.php firewall_scrub.php

www: avoid filter_configure() to make backend call less obscure #9352

We need to switch all other configuration to the backend as well so
it makes sense to deprecate filter_configure() and later match all
the other configuration functions using similar backend calls.
DeltaFile
+1-1src/www/firewall_schedule_edit.php
+1-1src/www/firewall_scrub.php
+1-1src/www/interfaces.php
+1-1src/www/system_advanced_admin.php
+1-1src/www/system_advanced_firewall.php
+1-1src/www/system_general.php
+6-62 files not shown
+8-88 files

OPNSense/core 9db869dsrc/opnsense/mvc/app/views/layout_partials base_form.volt

Fix collapsible form section rendering in base_form.volt
DeltaFile
+2-2src/opnsense/mvc/app/views/layout_partials/base_form.volt
+2-21 files

OPNSense/core 066b199src/opnsense/mvc/app/views/OPNsense/Firewall filter_rule.volt

firewall: move commands from formatters to commands structure. Depends on https://github.com/opnsense/core/commit/b3112e5630f3d32c2f37b5aefcd07e8dd79d443b
DeltaFile
+69-93src/opnsense/mvc/app/views/OPNsense/Firewall/filter_rule.volt
+69-931 files

OPNSense/core f8c0ba6src/opnsense/mvc/app/controllers/OPNsense/Base ControllerBase.php, src/opnsense/mvc/app/views/layout_partials base_form.volt base_dialog.volt

MVC:ui - regression in 3d9cccfe4038802807219621ddd49cf668a05144, breaks collapse/static keywords, should fix https://github.com/opnsense/core/issues/10601
DeltaFile
+6-6src/opnsense/mvc/app/views/layout_partials/base_form.volt
+6-6src/opnsense/mvc/app/views/layout_partials/base_dialog.volt
+3-2src/opnsense/mvc/app/controllers/OPNsense/Base/ControllerBase.php
+15-143 files

OPNSense/core e34a649src/opnsense/mvc/app/views/OPNsense/Firewall filter_rule.volt nat_rule.volt

Hide all commands except delete for defunct rules, also hide enabled/disabled rowtoggle
DeltaFile
+12-1src/opnsense/mvc/app/views/OPNsense/Firewall/filter_rule.volt
+10-2src/opnsense/mvc/app/views/OPNsense/Firewall/nat_rule.volt
+22-32 files

OPNSense/core 2065c4esrc/opnsense/mvc/app/models/OPNsense/Firewall/FieldTypes FilterRuleField.php, src/opnsense/mvc/app/views/OPNsense/Firewall filter_rule.volt

Collapse defunct bucket per default
DeltaFile
+1-1src/opnsense/mvc/app/views/OPNsense/Firewall/filter_rule.volt
+0-1src/opnsense/mvc/app/models/OPNsense/Firewall/FieldTypes/FilterRuleField.php
+1-22 files

OPNSense/core 9804725src/opnsense/mvc/app/controllers/OPNsense/Firewall/Api DNatController.php, src/opnsense/mvc/app/models/OPNsense/Firewall/FieldTypes FilterRuleField.php

Fix previous
DeltaFile
+0-5src/opnsense/mvc/app/controllers/OPNsense/Firewall/Api/DNatController.php
+1-1src/opnsense/mvc/app/views/OPNsense/Firewall/filter_rule.volt
+1-1src/opnsense/mvc/app/views/OPNsense/Firewall/nat_rule.volt
+1-0src/opnsense/mvc/app/models/OPNsense/Firewall/FieldTypes/FilterRuleField.php
+3-74 files

OPNSense/core 3a5eb93src/opnsense/mvc/app/controllers/OPNsense/Firewall/Api DNatController.php, src/opnsense/mvc/app/models/OPNsense/Firewall/FieldTypes SourceNatRuleField.php FilterRuleField.php

Firewall: Rules and NAT: Group invalid rules to the end of the ruleset. These rules are skipped by PF processing because they do not have a valid interface.
DeltaFile
+30-2src/opnsense/mvc/app/models/OPNsense/Firewall/FieldTypes/SourceNatRuleField.php
+26-2src/opnsense/mvc/app/controllers/OPNsense/Firewall/Api/DNatController.php
+13-0src/opnsense/mvc/app/models/OPNsense/Firewall/FieldTypes/FilterRuleField.php
+1-0src/opnsense/mvc/app/views/OPNsense/Firewall/nat_rule.volt
+1-0src/opnsense/mvc/app/views/OPNsense/Firewall/filter_rule.volt
+71-45 files