OPNSense/core b27881csrc/etc/inc/plugins.inc.d core.inc

interfaces: move radvd and rtsold to system log where they belong

We've long moved dhcp6c to this spot but we're still missing a bit of
context during debugging, e.g. why rtsold keeps restarting dhcp6c with
a SIGHUP.
DeltaFile
+1-1src/etc/inc/plugins.inc.d/core.inc
+1-11 files

OPNSense/core 862b1d7src/opnsense/mvc/app/controllers/OPNsense/Trust/Api CrlController.php

System: Trust: Revocation - forgot to persist new lifetime, causing the following exception:

Exception: Failed to parse time string (+ days) at position 0 (+): Unexpected character in /usr/local/opnsense/mvc/app/controllers/OPNsense/Trust/Api/CrlController.php:347
Stack trace:
DeltaFile
+1-0src/opnsense/mvc/app/controllers/OPNsense/Trust/Api/CrlController.php
+1-01 files

OPNSense/core 633ba99src/opnsense/mvc/app/views/OPNsense/Trust crl.volt

System: Trust: Revocation - check input before use on revoked selectors
DeltaFile
+1-1src/opnsense/mvc/app/views/OPNsense/Trust/crl.volt
+1-11 files

OPNSense/core 4aa0d5asrc/opnsense/mvc/app/models/OPNsense/Trust Ca.xml Cert.xml

System/Trust: Make description in Trust required (#7403)

* Make description in Trust required, since it is used to display the certificate in many parts of the system.

* Revert model version bump to 1.0.0
DeltaFile
+3-1src/opnsense/mvc/app/models/OPNsense/Trust/Ca.xml
+3-1src/opnsense/mvc/app/models/OPNsense/Trust/Cert.xml
+6-22 files

OPNSense/core 7194fdbsrc/opnsense/www/js jquery.bootgrid.js

jquery-bootgrid - sync with https://github.com/opnsense/jquery-bootgrid/pull/7

(cherry picked from commit 08ee9c0175c5012cd8fea1d6f4f18026d9692805)
DeltaFile
+1-1src/opnsense/www/js/jquery.bootgrid.js
+1-11 files

OPNSense/core 7ef6fbfsrc/opnsense/service/conf/actions.d actions_syslog.conf

system: make log rotate action available to cron

(cherry picked from commit 917cfdc2cbf70c29eaad493b04e66818086bc04c)
DeltaFile
+1-0src/opnsense/service/conf/actions.d/actions_syslog.conf
+1-01 files

OPNSense/core dda4df2src/opnsense/scripts/syslog log_archive

System: Settings: Logging - maximum log file size ignored when there's only one file in the directory. closes https://github.com/opnsense/core/issues/7397

The rotate function needed the next file to calculate the suffix, which is problematic if someone just cleaned all logs. This patch improves the match a bit (last _ instead of assuming _ doesn't exist in the name) and uses "1" for the first rotate action.

(cherry picked from commit 73c3b88eb0653898d067515b4860c3961a4f8c84)
DeltaFile
+11-6src/opnsense/scripts/syslog/log_archive
+11-61 files

OPNSense/core 9023883src/opnsense/scripts/dhcp prefixes.php, src/opnsense/service/conf/actions.d actions_dhcpd.conf actions_dhcpd6.conf

dhcpd: make private consumers actually private where it matters

(cherry picked from commit b53fe7c1d9dd9c217b704f8a895c099e6179bee1)
DeltaFile
+1-1src/opnsense/scripts/dhcp/prefixes.php
+1-1src/opnsense/service/conf/actions.d/actions_dhcpd.conf
+1-1src/opnsense/service/conf/actions.d/actions_dhcpd6.conf
+3-33 files

OPNSense/core 4b64e32src/opnsense/mvc/app/controllers/OPNsense/Wireguard/forms dialogConfigBuilder.xml

misquelling of address in wireguard peer generator (#7398)

(cherry picked from commit 81676259d357fc444a78d511f6f1b11f98d94af7)
DeltaFile
+1-1src/opnsense/mvc/app/controllers/OPNsense/Wireguard/forms/dialogConfigBuilder.xml
+1-11 files

OPNSense/core 60fdfddsrc/opnsense/mvc/app/controllers/OPNsense/OpenVPN/Api ServiceController.php

VPN: OpenVPN: Connection Status - fix "attempt to read property...", closes https://github.com/opnsense/core/issues/7388

(cherry picked from commit 8071c8700f39c9f23dd06e941aab540a102e46ad)
DeltaFile
+1-1src/opnsense/mvc/app/controllers/OPNsense/OpenVPN/Api/ServiceController.php
+1-11 files

OPNSense/core ebd7d39src/www guiconfig.inc authgui.inc

system: remove get_current_theme() and align code for safety related to #7336

(cherry picked from commit 16085a24c999031a36dc661526f69e7267878766)
(cherry picked from commit df5680b123a06eee02017c251449a92e27d7919d)
DeltaFile
+32-19src/www/guiconfig.inc
+11-13src/www/authgui.inc
+5-19src/www/head.inc
+6-6src/www/fbegin.inc
+3-3src/www/index.php
+57-605 files

OPNSense/core 885aba5src/opnsense/mvc/app/controllers/OPNsense/Trust/Api CertController.php

System: Trust: Certificates - missing lock on delete action, closes https://github.com/opnsense/core/issues/7402
DeltaFile
+1-0src/opnsense/mvc/app/controllers/OPNsense/Trust/Api/CertController.php
+1-01 files

OPNSense/core 5db3c34src/etc/inc interfaces.inc interfaces.lib.inc

interfaces: detect and ignore "detached" state for IPv6

PR: https://forum.opnsense.org/index.php?topic=39995.0
DeltaFile
+2-1src/etc/inc/interfaces.inc
+3-0src/etc/inc/interfaces.lib.inc
+5-12 files

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

src: style sweep
DeltaFile
+3-2src/opnsense/mvc/app/models/OPNsense/Kea/KeaDhcpv4.php
+1-1src/opnsense/mvc/app/controllers/OPNsense/Kea/forms/dialogOption4.xml
+1-1src/opnsense/www/js/widgets/Memory.js
+5-43 files

OPNSense/core 3f184a6src/opnsense/mvc/app/controllers/OPNsense/Kea DhcpController.php, src/opnsense/mvc/app/controllers/OPNsense/Kea/Api Dhcpv4Controller.php

Services: Kea DHCP: Kea DHCPv4 - Add Custom Options tab to assign "vendor-encapsulated-options-space" options to subnets, for https://github.com/opnsense/core/pull/7361
DeltaFile
+56-0src/opnsense/mvc/app/models/OPNsense/Kea/KeaDhcpv4.php
+56-0src/opnsense/mvc/app/models/OPNsense/Kea/KeaDhcpv4.xml
+39-0src/opnsense/mvc/app/controllers/OPNsense/Kea/forms/dialogOption4.xml
+37-0src/opnsense/mvc/app/views/OPNsense/Kea/dhcpv4.volt
+28-7src/opnsense/mvc/app/controllers/OPNsense/Kea/Api/Dhcpv4Controller.php
+1-0src/opnsense/mvc/app/controllers/OPNsense/Kea/DhcpController.php
+217-71 files not shown
+218-77 files

OPNSense/core 8f6499e. plist

plist
DeltaFile
+1-0plist
+1-01 files

OPNSense/core 73c3b88src/opnsense/scripts/syslog log_archive

System: Settings: Logging - maximum log file size ignored when there's only one file in the directory. closes https://github.com/opnsense/core/issues/7397

The rotate function needed the next file to calculate the suffix, which is problematic if someone just cleaned all logs. This patch improves the match a bit (last _ instead of assuming _ doesn't exist in the name) and uses "1" for the first rotate action.
DeltaFile
+11-6src/opnsense/scripts/syslog/log_archive
+11-61 files

OPNSense/core 8167625src/opnsense/mvc/app/controllers/OPNsense/Wireguard/forms dialogConfigBuilder.xml

misquelling of address in wireguard peer generator (#7398)

DeltaFile
+1-1src/opnsense/mvc/app/controllers/OPNsense/Wireguard/forms/dialogConfigBuilder.xml
+1-11 files

OPNSense/core f0e62a3src/opnsense/mvc/app/controllers/OPNsense/Trust/Api CaController.php

System: Trust: Authorities - missing return on "add" action, problem described in https://github.com/opnsense/core/issues/7390
DeltaFile
+1-0src/opnsense/mvc/app/controllers/OPNsense/Trust/Api/CaController.php
+1-01 files

OPNSense/core 917cfdcsrc/opnsense/service/conf/actions.d actions_syslog.conf

system: make log rotate action available to cron
DeltaFile
+1-0src/opnsense/service/conf/actions.d/actions_syslog.conf
+1-01 files

OPNSense/core be5ad0fsrc/opnsense/mvc/app/controllers/OPNsense/Core/Api DashboardController.php, src/opnsense/www/js/widgets Memory.js

dashboard: memory widget: missing endpoint declaration and title change
DeltaFile
+3-1src/opnsense/www/js/widgets/Memory.js
+1-1src/opnsense/mvc/app/controllers/OPNsense/Core/Api/DashboardController.php
+4-22 files

OPNSense/core a2e14b2src/opnsense/mvc/app/controllers/OPNsense/Core/Api SystemController.php DashboardController.php, src/opnsense/www/css dashboard.css

dashboard: memory widget

Also some minor performance improvements as suggested by https://www.chartjs.org/docs/latest/general/performance.html.

in contrast to the old dashboard memory calculation, this widget does not consider ARC to be part of used memory anymore.
DeltaFile
+131-0src/opnsense/www/js/widgets/Memory.js
+35-0src/opnsense/mvc/app/controllers/OPNsense/Core/Api/SystemController.php
+0-20src/opnsense/www/css/dashboard.css
+6-0src/opnsense/mvc/app/controllers/OPNsense/Core/Api/DashboardController.php
+1-5src/opnsense/www/js/widgets/InterfaceStatistics.js
+3-2src/opnsense/www/js/widgets/Traffic.js
+176-272 files not shown
+182-288 files

OPNSense/core 6d770f2src/opnsense/www/js opnsense_bootgrid_plugin.js

mvc/bootgrid edit dialog - lock save button while in progress to prevent duplicate input. closes https://github.com/opnsense/core/issues/7390
DeltaFile
+37-6src/opnsense/www/js/opnsense_bootgrid_plugin.js
+37-61 files

OPNSense/core 4b93d59src/opnsense/mvc/app/views/OPNsense/Trust cert.volt, src/www system_usermanager.php

System: Access: Users - change user certificate handling to align with the new MVC module.

Remove the previous link from the user to the certificate as this suggest some relation between the two that doesn't exist (other than the name).
In the userview, the certificate list contains all client certs with the same commonname and verifies if the logged in user is able to access the trust module to prevent data leakage.

closes https://github.com/opnsense/core/issues/7387
DeltaFile
+25-51src/www/system_usermanager.php
+16-1src/opnsense/mvc/app/views/OPNsense/Trust/cert.volt
+41-522 files

OPNSense/core 8071c87src/opnsense/mvc/app/controllers/OPNsense/OpenVPN/Api ServiceController.php

VPN: OpenVPN: Connection Status - fix "attempt to read property...", closes https://github.com/opnsense/core/issues/7388
DeltaFile
+1-1src/opnsense/mvc/app/controllers/OPNsense/OpenVPN/Api/ServiceController.php
+1-11 files

OPNSense/core 80b65b0src/etc/inc/plugins.inc.d kea.inc, src/opnsense/service/conf/actions.d actions_kea.conf

Services: Kea DHCP [new]: Kea DHCPv4 - move json file generation to a plugin hook, process feedback from https://github.com/opnsense/core/commit/d241cfda9071ceedbad8b357c9d78f3f132c1781

(ref: https://github.com/opnsense/core/pull/7361)
DeltaFile
+6-17src/etc/inc/plugins.inc.d/kea.inc
+3-3src/opnsense/service/conf/actions.d/actions_kea.conf
+5-0src/opnsense/service/templates/OPNsense/Kea/rc.conf.d
+14-203 files

OPNSense/core 08ee9c0src/opnsense/www/js jquery.bootgrid.js

jquery-bootgrid - sync with https://github.com/opnsense/jquery-bootgrid/pull/7
DeltaFile
+1-1src/opnsense/www/js/jquery.bootgrid.js
+1-11 files

OPNSense/core bad7f25src/etc/inc/plugins.inc.d dhcpd.inc dhcrelay.inc, src/opnsense/mvc/app/controllers/OPNsense/DHCRelay/Api SettingsController.php

dhcrelay: functional MVC/API replacement #6983

(cherry picked from commit 672e8ba9e14e9c12dbd7822552dd0f39645be41b)
(cherry picked from commit 7d80f955de6a761a652d714cc778df27a2c23dfe)
(cherry picked from commit 301a9b7f8ea67c418045e31a1ad516343a0b988a)
(cherry picked from commit a38b887e29f7dbe9db7ee1d82a97dd0ff5b226c0)
(cherry picked from commit 666222651c1b57cfa3444e916dc85319405ccb21)
(cherry picked from commit 52e0dd48fab0f2c8f7079bd1449472797c5af1e6)
(cherry picked from commit 53a95b01909b4aa7e11a3641a5419c844cd37746)
(cherry picked from commit ad5fed3c4d5efed6fe5d7553caac195b4139d4d2)
(cherry picked from commit e1b313852a0168100c934010145cecac6b83f053)
(cherry picked from commit 0eb267f04855712fe8a4ce297f9b91a010f53cb9)
(cherry picked from commit 8b87c8caba42b363261ec78dcd1402eb22603b56)
(cherry picked from commit d48dd6f9a3bad88756b3111de514b58181093489)
(cherry picked from commit 972f6ce3475a26096952a6284b2e7fdba0c71704)
(cherry picked from commit b09e5c3d220e078418528bde5305d0ff042cf4e2)
(cherry picked from commit 0256a2754f192f96a169586e0cbf3ccc24476e59)
(cherry picked from commit b0087d5606285de4864d8352363fac2a3c07c61b)
(cherry picked from commit 46ea5ba6b4b35570d4e514d9dc469f7e009c1b5d)
DeltaFile
+2-253src/etc/inc/plugins.inc.d/dhcpd.inc
+192-0src/etc/inc/plugins.inc.d/dhcrelay.inc
+0-186src/www/services_dhcpv6_relay.php
+0-186src/www/services_dhcp_relay.php
+118-0src/opnsense/mvc/app/views/OPNsense/DHCRelay/relay.volt
+105-0src/opnsense/mvc/app/controllers/OPNsense/DHCRelay/Api/SettingsController.php
+417-62522 files not shown
+899-68528 files

OPNSense/core 3d4aa3esrc/opnsense/mvc/app/controllers/OPNsense/Base ApiMutableModelControllerBase.php, src/opnsense/mvc/app/controllers/OPNsense/Firewall/Api CategoryController.php

mvc: style sweep

(cherry picked from commit af459fff31b8aa3322ad0d2ba412335feaa52b24)
DeltaFile
+2-1src/opnsense/mvc/app/controllers/OPNsense/Base/ApiMutableModelControllerBase.php
+1-1src/opnsense/mvc/app/controllers/OPNsense/Firewall/Api/CategoryController.php
+3-22 files

OPNSense/core 8855fd8src/opnsense/mvc/app/controllers/OPNsense/IDS/Api SettingsController.php

Service: IDS - query all fields for searchBase actions (implemented by https://github.com/opnsense/core/commit/2d45b78f744059089078d56b3c108765b2d23608)

sample for for https://github.com/opnsense/core/issues/7094

(cherry picked from commit fb2a9b839159333f3b9b918310c93dfa144b673f)
DeltaFile
+3-3src/opnsense/mvc/app/controllers/OPNsense/IDS/Api/SettingsController.php
+3-31 files