OPNSense/core 8b88393 — src/etc/inc interfaces.inc

interfaces: reports say 26.8.9 fixed this which may have been a kernel issue

We do have PPP defer now which also tests well so we don't need this anymore.
DeltaFile
+0-5src/etc/inc/interfaces.inc
+0-51 files

OPNSense/core 98cddf7 — src/etc/inc system.inc

system: implemement far gateway for IPv6 #10578

Apparently this works on recent FreeBSD and WG VPN providers
like the coolness of /128 addresses being given out.  Fix both
static routes and gateways, but do not add an auto-detect for
IPv6 which isn't needed for this use case and also not otherwise
known to happen out in the wild.

Since the 'missing' gateway error print doesn't bring much to
the table remove it and prevent empty gateway from being used
below which wouldn't work anyway.

Co-authored-by: @cayossarian
DeltaFile
+16-12src/etc/inc/system.inc
+16-121 files

OPNSense/core 3074f8e — src/etc rc.reboot rc.halt, src/etc/inc system.inc

system: simplify rc.halt and rc.reboot and use it during firmware upgrades as well

Run stop through our /etc/rc.shutdown hook and use the RC scripts everywhere.

Related to: https://forum.opnsense.org/index.php?topic=53287.0
DeltaFile
+1-5src/etc/inc/system.inc
+2-4src/etc/rc.halt
+2-3src/etc/rc.reboot
+1-1src/etc/rc.syshook.d/early/05-upgrade
+6-134 files

OPNSense/core f05b958 — src/sbin pluginctl

pluginctl: enforce primary mode as selected by user

While here sort the mode cases and add a print_help() wrapper.
DeltaFile
+198-164src/sbin/pluginctl
+198-1641 files

OPNSense/core f016b8d — src/opnsense/scripts/captiveportal cp-background-process.py

Services: Captive Portal - partially revert https://github.com/opnsense/core/commit/2bb88a77bdc6643174e10ab1f3ae59cdf0b30b8f for https://github.com/opnsense/core/issues/11214

Although roaming is only relevevant for IPv6 addresses, the signed in client could still have a dual stack ipv4 address.
Looking at the original issue https://github.com/opnsense/core/issues/11092, that would already have been solved by not trying to roam when a static address is requested, this seemed to have solved in the same commit.
DeltaFile
+15-2src/opnsense/scripts/captiveportal/cp-background-process.py
+15-21 files

OPNSense/core abdea4d — src/opnsense/scripts/shell restore.sh

shell: add a prompt for restore diff as well
DeltaFile
+1-4src/opnsense/scripts/shell/restore.sh
+1-41 files

OPNSense/core c450563 — src/opnsense/scripts/shell restore.sh

shell: restore: skip files in /conf/backup the system didn't name, and don't abort on a backup it can't read (#11187)

Option 13 read the part of every config-*.xml name after "config-" as a
timestamp and ran date -r on it.  Under set -e, one name that isn't a
timestamp ended the script before any backup was listed, and so did a
backup xmllint can't parse.  Only take names with a digit after
"config-", skip those whose timestamp isn't all digits, and list a
backup whose user and notes can't be read without them.

Per review: run date -r once per backup and skip a name it can't read,
and skip a backup that isn't valid XML (xmllint --noout) rather than
listing it without notes, since it couldn't be restored anyway.  The
user and notes lookups are back as they were.  Fix the indent of the
following if.
DeltaFile
+5-3src/opnsense/scripts/shell/restore.sh
+5-31 files

OPNSense/core 99a9054 — src/opnsense/mvc/app/models/OPNsense/Monit Monit.xml

Update polltime mask to include slash character (#11059)

Monit 6.0.0 deprecates the "every N cycles" statement in favour of cron-style
schedules such as every "*/3 * * * *". The polltime field of the Monit
service dialog rejects "/", so the recommended cron step syntax cannot be
entered from the GUI.

This extends the polltime mask in Monit.xml to allow "/" and updates the
validation message accordingly. No backend change is required: cron-style
values are already passed through and quoted correctly by the monitrc template.

Tested operationally on OPNsense 26.7.7 with Monit 6.0.0:

entered */3 * * * * for services previously set to every 3 cycles
generated monitrc contains every "*/3 * * * *"
monit -t passes, the "every N cycles" deprecation warnings are gone
alerting behaviour unchanged
Fixes: #11058
DeltaFile
+2-2src/opnsense/mvc/app/models/OPNsense/Monit/Monit.xml
+2-21 files

OPNSense/core 5053941 — src/opnsense/mvc/app/controllers/OPNsense/Firewall AliasController.php, src/opnsense/mvc/app/controllers/OPNsense/Firewall/Api FilterBaseController.php

firewall: fix alias edit links and scope it down to valid uuids only (#11195)

https://forum.opnsense.org/index.php?topic=53340
(cherry picked from commit 6ad17c522c6a03ec6044bf855ae65cd6f343ab38)
DeltaFile
+1-15src/opnsense/mvc/app/views/OPNsense/Firewall/alias.volt
+7-4src/opnsense/mvc/app/views/OPNsense/Firewall/nat_rule.volt
+7-4src/opnsense/mvc/app/views/OPNsense/Firewall/filter_rule.volt
+4-1src/opnsense/mvc/app/controllers/OPNsense/Firewall/Api/FilterBaseController.php
+1-2src/opnsense/mvc/app/controllers/OPNsense/Firewall/AliasController.php
+20-265 files

OPNSense/core 91537a3 — src/sbin pluginctl

use string list
DeltaFile
+2-2src/sbin/pluginctl
+2-21 files

OPNSense/core 5efc0d2 — src/sbin pluginctl

pluginctl: minor adjustment for future extension
DeltaFile
+3-2src/sbin/pluginctl
+3-21 files

OPNSense/core c5cfe4c — src/sbin pluginctl

pluginctl: enforce primary mode as selected by user

While here sort the mode cases and add a print_help() wrapper.
DeltaFile
+197-164src/sbin/pluginctl
+197-1641 files

OPNSense/core a2288d2 — src/opnsense/mvc/app/controllers/OPNsense/Firewall/Api AliasController.php, src/opnsense/mvc/app/models/OPNsense/Firewall/FieldTypes AliasContentField.php

Firewall: Aliases - remove unused "EU" workaround (Maxmind seems to have removed these entries) and add Kosovo which isn't in IANA's list. closes https://github.com/opnsense/core/issues/11210
DeltaFile
+3-2src/opnsense/mvc/app/controllers/OPNsense/Firewall/Api/AliasController.php
+1-2src/opnsense/mvc/app/models/OPNsense/Firewall/FieldTypes/AliasContentField.php
+4-42 files

OPNSense/core 4b19d33 — src/opnsense/service/templates/OPNsense/Unbound/core blocklists.conf

Remove deprecated blocklist entries (#11212)
DeltaFile
+0-18src/opnsense/service/templates/OPNsense/Unbound/core/blocklists.conf
+0-181 files

OPNSense/core a58787b — src/opnsense/service/templates/OPNsense/Monit monitrc

monit: wants \0x not \x #11051
DeltaFile
+1-1src/opnsense/service/templates/OPNsense/Monit/monitrc
+1-11 files

OPNSense/core d20f63c — src/opnsense/mvc/app/models/OPNsense/Firewall Filter.php

Firewall: Rules - replyto/routeto validation, closes https://github.com/opnsense/core/issues/11199
DeltaFile
+11-0src/opnsense/mvc/app/models/OPNsense/Firewall/Filter.php
+11-01 files

OPNSense/core 6ad17c5 — src/opnsense/mvc/app/controllers/OPNsense/Firewall AliasController.php, src/opnsense/mvc/app/controllers/OPNsense/Firewall/Api FilterBaseController.php

firewall: fix alias edit links and scope it down to valid uuids only (#11195)

https://forum.opnsense.org/index.php?topic=53340
DeltaFile
+1-15src/opnsense/mvc/app/views/OPNsense/Firewall/alias.volt
+7-4src/opnsense/mvc/app/views/OPNsense/Firewall/nat_rule.volt
+7-4src/opnsense/mvc/app/views/OPNsense/Firewall/filter_rule.volt
+4-1src/opnsense/mvc/app/controllers/OPNsense/Firewall/Api/FilterBaseController.php
+1-2src/opnsense/mvc/app/controllers/OPNsense/Firewall/AliasController.php
+20-265 files

OPNSense/core 81e8a9b — src/opnsense/mvc/app/controllers/OPNsense/Firewall AliasController.php, src/opnsense/mvc/app/controllers/OPNsense/Firewall/Api FilterBaseController.php

firewall: fix alias edit links and scope it down to valid uuids only

https://forum.opnsense.org/index.php?topic=53340
DeltaFile
+1-15src/opnsense/mvc/app/views/OPNsense/Firewall/alias.volt
+7-4src/opnsense/mvc/app/views/OPNsense/Firewall/nat_rule.volt
+7-4src/opnsense/mvc/app/views/OPNsense/Firewall/filter_rule.volt
+4-1src/opnsense/mvc/app/controllers/OPNsense/Firewall/Api/FilterBaseController.php
+1-2src/opnsense/mvc/app/controllers/OPNsense/Firewall/AliasController.php
+20-265 files

OPNSense/core 149a836 — src/opnsense/mvc/app/controllers/OPNsense/Diagnostics/Api SystemController.php, src/opnsense/mvc/app/views/OPNsense/Core firmware.volt

firmware: business now uses 26.10.0p1 for patch releases

Because 26.10p1 is bigger than 26.10.1 we need to add a .0 to the
releases even though we tried to avoid it for a decade.  Initial
releaes are still without .0 which makes 26.10 equal 26.10.0 but
the lookup code doesn't know that.

Since we also don't use 26.07 we can split at .0 no problem.
DeltaFile
+2-2src/opnsense/mvc/app/views/OPNsense/Core/firmware.volt
+1-1src/opnsense/scripts/firmware/latest.php
+1-1src/opnsense/mvc/app/controllers/OPNsense/Diagnostics/Api/SystemController.php
+4-43 files

OPNSense/core e102045 — src/opnsense/scripts/auth add_user.php

system: fix automation user scope set since validation was tightened; closes #11192

While here remove the defunct -o option since it is broken and would
not make any sense anyway with the current validations in place.

Also make the script a bit prettier in use from the command line.

(cherry picked from commit 855dbea44aef4b88712b6e4008998a8fa6d0d697)
DeltaFile
+13-7src/opnsense/scripts/auth/add_user.php
+13-71 files

OPNSense/core 855dbea — src/opnsense/scripts/auth add_user.php

system: fix automation user scope set since validation was tightened; closes #11192

While here remove the defunct -o option since it is broken and would
not make any sense anyway with the current validations in place.

Also make the script a bit prettier in use from the command line.
DeltaFile
+13-7src/opnsense/scripts/auth/add_user.php
+13-71 files

OPNSense/core 0b01ca1 — src/opnsense/mvc/app/controllers/OPNsense/Diagnostics/Api FirewallController.php, src/opnsense/mvc/app/controllers/OPNsense/Hostdiscovery SettingsController.php

Interfaces: Hostwatch: Add async pf state information as statistics column, with link to states per host (#11180)

* Interfaces: Hostwatch: Add async pf state information as statistics column, with link to states per host

* Lets rather put this into the controller, so we can also add a refresh button like in the firewall rules

* Immediately render the spinner when statistics are refreshed

* tiny bit more min width for ip addresses so all ipv6 addresses render without elipse

* Only unhide columns if the ACL allows access, guard calls if user is not privileged, move state lookup as aggregated action to the firewall controller

* Simplify new controller actions a bit
DeltaFile
+146-12src/opnsense/mvc/app/views/OPNsense/Hostdiscovery/settings.volt
+47-0src/opnsense/mvc/app/controllers/OPNsense/Diagnostics/Api/FirewallController.php
+22-0src/opnsense/mvc/app/controllers/OPNsense/Hostdiscovery/SettingsController.php
+3-1src/opnsense/mvc/app/views/OPNsense/Diagnostics/fw_states.volt
+3-0src/opnsense/mvc/app/models/OPNsense/Core/ACL/ACL.xml
+0-1src/opnsense/mvc/app/models/OPNsense/Hostdiscovery/ACL/ACL.xml
+221-146 files

OPNSense/core 6fc719c — src/opnsense/mvc/app/controllers/OPNsense/Base ControllerRoot.php, src/www authgui.inc

system: fix Norwegian/Vietnamese not being translated
DeltaFile
+7-7src/www/authgui.inc
+9-5src/opnsense/mvc/app/controllers/OPNsense/Base/ControllerRoot.php
+16-122 files

OPNSense/core 6f05a71 — src/opnsense/mvc/app/controllers/OPNsense/Diagnostics/Api FirewallController.php

Simplify new controller actions a bit
DeltaFile
+3-4src/opnsense/mvc/app/controllers/OPNsense/Diagnostics/Api/FirewallController.php
+3-41 files

OPNSense/core 953df50 — src/opnsense/service/templates/OPNsense/Kea keactrl.conf

kea: Add comments about kea-ctrl-agent in keactrl.conf file
DeltaFile
+2-0src/opnsense/service/templates/OPNsense/Kea/keactrl.conf
+2-01 files

OPNSense/core e17827d — src/etc/inc/plugins.inc.d kea.inc, src/opnsense/mvc/app/controllers/OPNsense/Kea/Api CtrlAgentController.php

Services: Kea DHCPv4/6: Remove Kea control agent as it is deprecated (#11183)

* Services: Kea DHCPv4/6: Remove Kea control agent as it is deprecated and removed upstream

* We don't need ctrl_agent=no anymore as its only started with yes anyway

* Adjust help text so an overlap with captive portal is less likely now that we have the chance

* Use ULA in IPv6 example

* Change case here for @fichtner
DeltaFile
+0-73src/opnsense/mvc/app/models/OPNsense/Kea/KeaCtrlAgent.php
+0-50src/opnsense/mvc/app/controllers/OPNsense/Kea/Api/CtrlAgentController.php
+0-48src/opnsense/mvc/app/views/OPNsense/Kea/ctrl_agent.volt
+0-23src/opnsense/mvc/app/models/OPNsense/Kea/KeaCtrlAgent.xml
+0-20src/opnsense/mvc/app/controllers/OPNsense/Kea/forms/agentSettings.xml
+0-10src/etc/inc/plugins.inc.d/kea.inc
+0-22411 files not shown
+5-25917 files

OPNSense/core 0c8de3a — src/opnsense/mvc/app/controllers/OPNsense/Kea/forms generalSettings6.xml generalSettings4.xml

Change case here for @fichtner
DeltaFile
+1-1src/opnsense/mvc/app/controllers/OPNsense/Kea/forms/generalSettings6.xml
+1-1src/opnsense/mvc/app/controllers/OPNsense/Kea/forms/generalSettings4.xml
+2-22 files

OPNSense/core 35fc312 — src/etc/rc.d kea_supervisor

KEA ctrl_agent is deprecated, remove
DeltaFile
+1-1src/etc/rc.d/kea_supervisor
+1-11 files

OPNSense/core 7b557d1 — src/opnsense/mvc/app/controllers/OPNsense/Kea/forms dialogPeer6.xml

Use ULA in IPv6 example
DeltaFile
+1-1src/opnsense/mvc/app/controllers/OPNsense/Kea/forms/dialogPeer6.xml
+1-11 files

OPNSense/core 9b03434 — src/opnsense/mvc/app/controllers/OPNsense/Kea/forms dialogPeer6.xml dialogPeer4.xml

Adjust help text so an overlap with captive portal is less likely now that we have the chance
DeltaFile
+1-2src/opnsense/mvc/app/controllers/OPNsense/Kea/forms/dialogPeer6.xml
+1-2src/opnsense/mvc/app/controllers/OPNsense/Kea/forms/dialogPeer4.xml
+2-42 files