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.
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
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
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.
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
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
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.
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)
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.
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
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