OPNSense/core 633bc0bsrc/opnsense/mvc/app/controllers/OPNsense/Unbound/Api SettingsController.php

unbound: move this up
DeltaFile
+7-7src/opnsense/mvc/app/controllers/OPNsense/Unbound/Api/SettingsController.php
+7-71 files

OPNSense/core e24d3cdsrc/etc/inc interfaces.inc, src/etc/inc/plugins.inc.d dhcpd.inc

isc-dhcp: interalize interfaces_staticarp_configure(); closes #9476

Instead of making the interface code pluggable, push the code that
causes the persistent side effect to the ISC DHCP plugin which then
gets to fix the stuck static ARP flag after disable/deinstall and a
reboot.  The situation isn't ideal, but much better than before.
DeltaFile
+26-8src/etc/inc/plugins.inc.d/dhcpd.inc
+5-23src/etc/inc/interfaces.inc
+31-312 files

OPNSense/core 5100521src/opnsense/mvc/app/models/OPNsense/Firewall/FieldTypes FilterRuleField.php

firewall: not taking any chances with isset() then via @adschellevis
DeltaFile
+3-1src/opnsense/mvc/app/models/OPNsense/Firewall/FieldTypes/FilterRuleField.php
+3-11 files

OPNSense/core c39134asrc/opnsense/mvc/app/controllers/OPNsense/Unbound/Api SettingsController.php

unbound: style
DeltaFile
+0-1src/opnsense/mvc/app/controllers/OPNsense/Unbound/Api/SettingsController.php
+0-11 files

OPNSense/core 37e5056src/opnsense/mvc/app/models/OPNsense/Firewall/FieldTypes FilterRuleField.php

firewall: make missing interface floating too in FilterRuleField
DeltaFile
+2-3src/opnsense/mvc/app/models/OPNsense/Firewall/FieldTypes/FilterRuleField.php
+2-31 files

OPNSense/core 344c322src/opnsense/mvc/app/controllers/OPNsense/Unbound/Api SettingsController.php

unbound: overview: fix quick allow/blocklist actions

The quick fix here is to block & allow on every defined policy. Ideally
one should be able to select a policy where an entry should apply
to in the case of a block action, and map back to the policy in case
of an allow action. The latter isn't possible in the current construct
yet as it needs a slight adjustment to the data format.
DeltaFile
+40-34src/opnsense/mvc/app/controllers/OPNsense/Unbound/Api/SettingsController.php
+40-341 files

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

mvc: a bit more of asInt() and friends
DeltaFile
+9-7src/opnsense/mvc/app/controllers/OPNsense/Firewall/Api/FilterController.php
+4-6src/opnsense/mvc/app/models/OPNsense/Firewall/Filter.php
+4-4src/opnsense/mvc/app/models/OPNsense/Firewall/FieldTypes/FilterRuleField.php
+1-1src/opnsense/mvc/app/models/OPNsense/Kea/KeaCtrlAgent.php
+1-1src/opnsense/mvc/app/models/OPNsense/TrafficShaper/TrafficShaper.php
+19-195 files

OPNSense/core 1194bdfsrc/etc/inc util.inc

backend: use mwexecf(m) where possible
DeltaFile
+6-8src/etc/inc/util.inc
+6-81 files

OPNSense/core af157c1src/etc/inc filter.inc

firewall: safe execution changes in rules reloading code
DeltaFile
+12-13src/etc/inc/filter.inc
+12-131 files

OPNSense/core ef7286csrc/etc/inc filter.inc

firewall: tweak previous a bit more
DeltaFile
+5-5src/etc/inc/filter.inc
+5-51 files

OPNSense/core d13fa46src/etc/inc filter.inc

firewall: this looks a little better
DeltaFile
+1-1src/etc/inc/filter.inc
+1-11 files

OPNSense/core a8072d0src/opnsense/mvc/app/controllers/OPNsense/Kea DhcpController.php, src/opnsense/mvc/app/controllers/OPNsense/Kea/Api LeasesController.php

dhcp/kea: Add lease commands, tabulator GroupBy, URL hashes (#9409)

(cherry picked from commit cc2fa5ff1f30167a06a2500effb0f22a1cb41202)
(cherry picked from commit b6b61f9e94dccf6a5308fbb99cc0c930953e300a)
(cherry picked from commit 6d1ff4c975f8468dacd0c8416c09b0e8ba49a0d0)
DeltaFile
+119-75src/opnsense/mvc/app/views/OPNsense/Kea/dhcpv6.volt
+97-40src/opnsense/mvc/app/views/OPNsense/Kea/dhcpv4.volt
+47-1src/opnsense/mvc/app/views/OPNsense/Kea/leases4.volt
+46-0src/opnsense/mvc/app/views/OPNsense/Kea/leases6.volt
+25-0src/opnsense/mvc/app/controllers/OPNsense/Kea/Api/LeasesController.php
+7-7src/opnsense/mvc/app/controllers/OPNsense/Kea/DhcpController.php
+341-1233 files not shown
+355-1259 files

OPNSense/core e0d429fsrc/opnsense/mvc/app/views/OPNsense/Diagnostics fw_log.volt

firewall: live log: revert static property, persistence is disabled for this grid

ref: https://forum.opnsense.org/index.php?topic=49874.0
(cherry picked from commit c11efa62bda8af907ff4b6877727b4c100334560)
DeltaFile
+0-1src/opnsense/mvc/app/views/OPNsense/Diagnostics/fw_log.volt
+0-11 files

OPNSense/core c49f1fdsrc/opnsense/mvc/app/views/OPNsense/Diagnostics fw_log.volt

firewall: live view: restructure DOM layout to reduce wasted space. Closes https://github.com/opnsense/core/issues/9416

(cherry picked from commit d698b4e5ad41b30c5b89e2cdd842b6889543178f)
DeltaFile
+6-11src/opnsense/mvc/app/views/OPNsense/Diagnostics/fw_log.volt
+6-111 files

OPNSense/core 800a641src/opnsense/mvc/app/models/OPNsense/Base/FieldTypes BaseField.php

mvc: typ typo
DeltaFile
+1-1src/opnsense/mvc/app/models/OPNsense/Base/FieldTypes/BaseField.php
+1-11 files

OPNSense/core d128db0src/etc/inc console.inc

shell: rewite timeout() using safe execution functions

This now works like opnsense-importer does it except for the print
which still counts here instead of showing a character per second.
Instead of returning the character we return the error if a key was
pressed, i.e. reversed to signal that timeout() was an actual timeout
or interrupted.
DeltaFile
+16-29src/etc/inc/console.inc
+16-291 files

OPNSense/core 96f2c34src/opnsense/scripts/filter/lib/alias __init__.py

Firewall: Aliases - do not support nesting in geoip aliases to prevent overlapping countries with existing alias contents, closes https://github.com/opnsense/core/issues/9482

(cherry picked from commit 7b9aaf9f5dd6f747f1eaafefa5ba1bd5bd6549c3)
DeltaFile
+11-2src/opnsense/scripts/filter/lib/alias/__init__.py
+11-21 files

OPNSense/core 7b9aaf9src/opnsense/scripts/filter/lib/alias __init__.py

Firewall: Aliases - do not support nesting in geoip aliases to prevent overlapping countries with existing alias contents, closes https://github.com/opnsense/core/issues/9482
DeltaFile
+11-2src/opnsense/scripts/filter/lib/alias/__init__.py
+11-21 files

OPNSense/core 59b04a6src/opnsense/mvc/app/library/OPNsense/Base UIModelGrid.php

mvc:model - default sort order ignore in fetchBindRequest() when sort is an ampty array (which is tabulators default now). spotted while working on https://github.com/opnsense/core/issues/8401

(cherry picked from commit 7d2d9682dc984241bc0591539f801ef19d84261a)
DeltaFile
+1-1src/opnsense/mvc/app/library/OPNsense/Base/UIModelGrid.php
+1-11 files

OPNSense/core 97f0543src/opnsense/mvc/app/controllers/OPNsense/Core/Api FirmwareController.php

firmware: replace one execution call with Shell class in controller
DeltaFile
+2-1src/opnsense/mvc/app/controllers/OPNsense/Core/Api/FirmwareController.php
+2-11 files

OPNSense/core 676bbbesrc/opnsense/mvc/app/controllers/OPNsense/Core/Api BackupController.php

system: replace history diff exec with shell_safe #9325

(cherry picked from commit c9559bcc9f173194fc3a6ea4c4559992c20bdeac)
DeltaFile
+2-2src/opnsense/mvc/app/controllers/OPNsense/Core/Api/BackupController.php
+2-21 files

OPNSense/core df29635src/etc/inc config.inc

backend: minor shell execution changes and readability
DeltaFile
+5-18src/etc/inc/config.inc
+5-181 files

OPNSense/core faf8553src/opnsense/mvc/app/library/OPNsense/Backup Base.php

system: replace exec() in config encrypt/decrypt #9325

Although these are very safe the calls are much more portable now
and this was also the last exec() in the MVC code.  Plus, Shell
class was already being used elsewhere here.

(cherry picked from commit ae4bac8bada187005dfd0cd186b891ffb02ffdfb)
DeltaFile
+23-26src/opnsense/mvc/app/library/OPNsense/Backup/Base.php
+23-261 files

OPNSense/core 1bc4bdesrc/opnsense/mvc/app/controllers/OPNsense/Unbound/Api SettingsController.php

Services: Unbound DNS: Overrides - missing lock in  del_host_override action.

(cherry picked from commit 0f3daf70e4a5eaf848dace40eb2f5bdabb2ef296)
DeltaFile
+1-0src/opnsense/mvc/app/controllers/OPNsense/Unbound/Api/SettingsController.php
+1-01 files

OPNSense/core 1898772src/opnsense/mvc/app/controllers/OPNsense/IPsec/Api ConnectionsController.php, src/opnsense/mvc/app/models/OPNsense/IPsec Swanctl.php

VPN: IPsec: Connections - prevent model caching when refering items within the same model

PR: https://github.com/opnsense/core/issues/9459

(cherry picked from commit cf5b944d63a6853fa5d0d2736db154fd6f2ca5f4)
(cherry picked from commit b5cfa1a0b4423cc7c77dc2b4e64de6320fc7b5b2)
(cherry picked from commit 27beef43a5047c52a0993ef367762b1a625d7b09)
DeltaFile
+3-0src/opnsense/mvc/app/models/OPNsense/IPsec/Swanctl.php
+1-1src/opnsense/mvc/app/controllers/OPNsense/IPsec/Api/ConnectionsController.php
+4-12 files

OPNSense/core 27beef4src/opnsense/mvc/app/models/OPNsense/IPsec Swanctl.xml

VPN: IPsec: Connections - fix regression in https://github.com/opnsense/core/commit/b5cfa1a0b4423cc7c77dc
DeltaFile
+1-1src/opnsense/mvc/app/models/OPNsense/IPsec/Swanctl.xml
+1-11 files

OPNSense/core 3d586c6. plist, src/etc/rc.syshook.d/backup 20-duid

system: no longer back up DUID but add some compat glue to importer

(cherry picked from commit 4988b0390dd383fc394c008fff75b76848a5868a)
(cherry picked from commit 88f8ed0ee631f078897b924232c0c2a6f3c7616d)
(cherry picked from commit bc1a33057879119842b02e46705c798e549d346d)
DeltaFile
+0-16src/etc/rc.syshook.d/backup/20-duid
+14-2src/sbin/opnsense-importer
+0-1plist
+14-193 files

OPNSense/core bf08bb2. plist

pkg: fix plist
DeltaFile
+1-0plist
+1-01 files

OPNSense/core 05feeffsrc/etc/inc/plugins.inc.d dhcpd.inc core.inc

isc-dhcp: move syslog definitions to plugin file

(cherry picked from commit c76fda51b7183a3c6d5305b40960323e0df3080a)
DeltaFile
+5-0src/etc/inc/plugins.inc.d/dhcpd.inc
+0-1src/etc/inc/plugins.inc.d/core.inc
+5-12 files

OPNSense/core 4112651src/etc/inc filter.inc

firewall: run filterlog directly after rules apply and remove promiscous mode

PR: #9449

(cherry picked from commit c6eaefc1e26550085b09abf1cca73fdc8f76db13)
(cherry picked from commit 7b1528a823822ab692b6bc2748c71d4fc727870f)
DeltaFile
+7-10src/etc/inc/filter.inc
+7-101 files