26.7.9: core patches and caddy-custom plugin pins
The CMM restart on interface reassignment moves to the MVC assignment API, which replaced interfaces_assign.php in 26.7. The mirror patch is unchanged but for the plist, where upstream's trusted key changed. Both apply to core 26.7.9 with git am. caddy-custom's plugins are pinned at their versions of 2026-11-11, when 26.7.9 was tagged. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
e1b9aa77fd
commit
569b1f3b95
4 changed files with 253 additions and 3 deletions
15
RELEASE.md
15
RELEASE.md
|
|
@ -535,9 +535,18 @@ reboot
|
|||
## Major upgrade (26.1 to 26.7)
|
||||
|
||||
1. **Kernel fork:** rebase `stable/26.7` of the src fork onto the 26.7.x tag
|
||||
(see README.md).
|
||||
2. **Core patches:** write `patches/26.7/` against core 26.7.x. The
|
||||
repositories XML differs.
|
||||
(see README.md). For 26.7.9 (2026-11-23), Mono's 27 commits on 26.7
|
||||
rebased onto the tag without conflicts; Mono's tip is tagged
|
||||
`mono/stable/26.7`.
|
||||
2. **Core patches:** write `patches/26.7/` against core 26.7.x. For 26.7.9:
|
||||
- the CMM restart moved from `interfaces_assign.php`, which 26.7 no
|
||||
longer has, to the MVC assignment API
|
||||
(`Interfaces/Api/AssignmentController::reconfigureAction`, after its
|
||||
filter reload);
|
||||
- the mirror patch applied as is, except for the `plist` lines, where
|
||||
upstream's trusted key changed (`pkg.opnsense.org.20260608`).
|
||||
- Also pin `www/caddy-custom`'s plugins at the release's tag date in
|
||||
`config/make-26.7.conf` (build step 4).
|
||||
3. **Board package:** fix this repository's drivers for the FreeBSD 15 kernel
|
||||
interfaces. `build` compiles the modules right after the kernel, so this
|
||||
fails early.
|
||||
|
|
|
|||
11
config/make-26.7.conf
Normal file
11
config/make-26.7.conf
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
# Added to tools' make.conf for the 26.7 ports builds (release/build.sh, ports_make_conf).
|
||||
#
|
||||
# xcaddy fetches www/caddy-custom's plugins while it builds, at their newest versions
|
||||
# unless a version is given (see make-26.1.conf). So tools' list, pinned at the
|
||||
# versions of 2026-11-11, when 26.7.9 was tagged (proxy.golang.org); each one's go.mod
|
||||
# requires at most the ports tree's caddy 2.11.9. caddy-dynamicdns has no tags: the
|
||||
# pseudo-version of its last commit before then.
|
||||
CADDY_CUSTOM_PLUGINS= github.com/mholt/caddy-dynamicdns@v0.0.0-20260805195708-67d107a42c02 \
|
||||
github.com/mholt/caddy-l4@v0.1.3 \
|
||||
github.com/mholt/caddy-ratelimit@v0.1.0 \
|
||||
github.com/caddy-dns/cloudflare@v0.2.4
|
||||
|
|
@ -0,0 +1,31 @@
|
|||
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
||||
From: Tomaz Zaman <tomaz@mono.si>
|
||||
Date: Fri, 3 Apr 2026 16:54:29 +0200
|
||||
Subject: [PATCH 1/2] interfaces: restart CMM on interface reassignment
|
||||
|
||||
When interfaces are reassigned, CDX hardware flow tables retain stale
|
||||
entries from the old interface mapping. CMM catches address changes via
|
||||
route socket events, but reassignment can happen without IP changes.
|
||||
Trigger a CMM restart via configd after saving interface assignments
|
||||
to flush stale offload state and re-discover interfaces.
|
||||
|
||||
26.7: interface assignments are applied by the MVC assignment API
|
||||
(Interfaces\Api\AssignmentController::reconfigureAction) instead of
|
||||
interfaces_assign.php.
|
||||
---
|
||||
.../OPNsense/Interfaces/Api/AssignmentController.php | 2 ++
|
||||
1 file changed, 2 insertions(+)
|
||||
|
||||
diff --git a/src/opnsense/mvc/app/controllers/OPNsense/Interfaces/Api/AssignmentController.php b/src/opnsense/mvc/app/controllers/OPNsense/Interfaces/Api/AssignmentController.php
|
||||
index 61193fc..4b1188f 100644
|
||||
--- a/src/opnsense/mvc/app/controllers/OPNsense/Interfaces/Api/AssignmentController.php
|
||||
+++ b/src/opnsense/mvc/app/controllers/OPNsense/Interfaces/Api/AssignmentController.php
|
||||
@@ -186,6 +186,8 @@ class AssignmentController extends ApiMutableModelControllerBase
|
||||
$this->getModel()->flush_todo();
|
||||
/* exec filter reload after doing accounting */
|
||||
$backend->configdRun('filter reload skip_alias', true);
|
||||
+ /* flush stale hardware offload state (Mono Gateway CMM/CDX) */
|
||||
+ $backend->configdRun('cmm restart', true);
|
||||
return ["status" => "ok"];
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,199 @@
|
|||
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
||||
From: Jeremy Karst <jeremy@karsttech.com>
|
||||
Date: Tue, 17 Nov 2026 18:12:05 -0500
|
||||
Subject: [PATCH 2/2] firmware: use the opnsense.karsttech.com aarch64 mirror
|
||||
and signing key
|
||||
|
||||
Upstream publishes no aarch64 builds and the vendor mirror
|
||||
opnsense.mono.si is gone, so the Mono Gateway builds are signed and
|
||||
published at https://opnsense.karsttech.com:
|
||||
|
||||
- CORE_PACKAGESITE points at the new mirror
|
||||
- trust its key opnsense.karsttech.com.20261117
|
||||
- revoke the vendor keys opnsense.mono.si.20260305 and .20260716
|
||||
- the mirror list offers only the new mirror; the business and devel
|
||||
families and subscription flavours do not exist for aarch64
|
||||
|
||||
The vendor's separate MonoGateway repository is dropped: the board
|
||||
package is published in the OPNsense repository so that major upgrades
|
||||
(opnsense-update -P only upgrades OPNsense) carry it across ABIs.
|
||||
|
||||
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
||||
---
|
||||
Mk/version.mk | 2 +-
|
||||
plist | 3 +
|
||||
.../revoked/opnsense.mono.si.20260305 | 2 +
|
||||
.../revoked/opnsense.mono.si.20260716 | 2 +
|
||||
.../trusted/opnsense.karsttech.com.20261117 | 2 +
|
||||
.../OPNsense/Core/repositories/opnsense.xml | 86 +------------------
|
||||
6 files changed, 13 insertions(+), 84 deletions(-)
|
||||
create mode 100644 src/etc/pkg/fingerprints/OPNsense/revoked/opnsense.mono.si.20260305
|
||||
create mode 100644 src/etc/pkg/fingerprints/OPNsense/revoked/opnsense.mono.si.20260716
|
||||
create mode 100644 src/etc/pkg/fingerprints/OPNsense/trusted/opnsense.karsttech.com.20261117
|
||||
|
||||
diff --git a/Mk/version.mk b/Mk/version.mk
|
||||
index 556d914..447f0ec 100644
|
||||
--- a/Mk/version.mk
|
||||
+++ b/Mk/version.mk
|
||||
@@ -36,7 +36,7 @@ CORE_CONFLICTS?=firewall wireguard wireguard-go
|
||||
CORE_COMMENT?= ${CORE_PRODUCT} ${CORE_TYPE} release
|
||||
CORE_MAINTAINER?= project@opnsense.org
|
||||
CORE_ORIGIN?= opnsense/${CORE_NAME}
|
||||
-CORE_PACKAGESITE?= https://pkg.opnsense.org
|
||||
+CORE_PACKAGESITE?= https://opnsense.karsttech.com
|
||||
CORE_PRODUCT?= OPNsense
|
||||
CORE_WWW?= https://opnsense.org/
|
||||
CORE_USER?= wwwonly
|
||||
diff --git a/plist b/plist
|
||||
index c1d673c..838cea0 100644
|
||||
--- a/plist
|
||||
+++ b/plist
|
||||
@@ -60,6 +60,8 @@
|
||||
/usr/local/etc/opnsense-beep.d/start
|
||||
/usr/local/etc/opnsense-beep.d/stop
|
||||
/usr/local/etc/opnsense-update.conf
|
||||
+/usr/local/etc/pkg/fingerprints/OPNsense/revoked/opnsense.mono.si.20260305
|
||||
+/usr/local/etc/pkg/fingerprints/OPNsense/revoked/opnsense.mono.si.20260716
|
||||
/usr/local/etc/pkg/fingerprints/OPNsense/revoked/pkg.opnsense.org.20150402
|
||||
/usr/local/etc/pkg/fingerprints/OPNsense/revoked/pkg.opnsense.org.20160104
|
||||
/usr/local/etc/pkg/fingerprints/OPNsense/revoked/pkg.opnsense.org.20160630
|
||||
@@ -82,6 +84,7 @@
|
||||
/usr/local/etc/pkg/fingerprints/OPNsense/revoked/pkg.opnsense.org.20241217
|
||||
/usr/local/etc/pkg/fingerprints/OPNsense/revoked/pkg.opnsense.org.20250710
|
||||
/usr/local/etc/pkg/fingerprints/OPNsense/revoked/pkg.opnsense.org.20260120
|
||||
+/usr/local/etc/pkg/fingerprints/OPNsense/trusted/opnsense.karsttech.com.20261117
|
||||
/usr/local/etc/pkg/fingerprints/OPNsense/trusted/pkg.opnsense.org.20260608
|
||||
/usr/local/etc/rc
|
||||
/usr/local/etc/rc.bootup
|
||||
diff --git a/src/etc/pkg/fingerprints/OPNsense/revoked/opnsense.mono.si.20260305 b/src/etc/pkg/fingerprints/OPNsense/revoked/opnsense.mono.si.20260305
|
||||
new file mode 100644
|
||||
index 0000000..af63017
|
||||
--- /dev/null
|
||||
+++ b/src/etc/pkg/fingerprints/OPNsense/revoked/opnsense.mono.si.20260305
|
||||
@@ -0,0 +1,2 @@
|
||||
+function: "sha256"
|
||||
+fingerprint: "ed8c6cdf38383853b0d6f4c6bf70efa1793d76a57e78317a53653404bcabd931"
|
||||
diff --git a/src/etc/pkg/fingerprints/OPNsense/revoked/opnsense.mono.si.20260716 b/src/etc/pkg/fingerprints/OPNsense/revoked/opnsense.mono.si.20260716
|
||||
new file mode 100644
|
||||
index 0000000..4836210
|
||||
--- /dev/null
|
||||
+++ b/src/etc/pkg/fingerprints/OPNsense/revoked/opnsense.mono.si.20260716
|
||||
@@ -0,0 +1,2 @@
|
||||
+function: "sha256"
|
||||
+fingerprint: "8da295f8c3c4bc0817ac630e00c284fb2354f4fd27af4b72c58105186ff425f3"
|
||||
diff --git a/src/etc/pkg/fingerprints/OPNsense/trusted/opnsense.karsttech.com.20261117 b/src/etc/pkg/fingerprints/OPNsense/trusted/opnsense.karsttech.com.20261117
|
||||
new file mode 100644
|
||||
index 0000000..da2fd81
|
||||
--- /dev/null
|
||||
+++ b/src/etc/pkg/fingerprints/OPNsense/trusted/opnsense.karsttech.com.20261117
|
||||
@@ -0,0 +1,2 @@
|
||||
+function: "sha256"
|
||||
+fingerprint: "5fc1e2bf74e0386a2ea1ee60d085d683735a9d7cd8090647be0f476c779c0dc3"
|
||||
diff --git a/src/opnsense/mvc/app/models/OPNsense/Core/repositories/opnsense.xml b/src/opnsense/mvc/app/models/OPNsense/Core/repositories/opnsense.xml
|
||||
index da4f293..bf3fc00 100644
|
||||
--- a/src/opnsense/mvc/app/models/OPNsense/Core/repositories/opnsense.xml
|
||||
+++ b/src/opnsense/mvc/app/models/OPNsense/Core/repositories/opnsense.xml
|
||||
@@ -5,100 +5,20 @@
|
||||
<description>(default)</description>
|
||||
</mirror>
|
||||
<mirror>
|
||||
- <url>https://mirrors.dotsrc.org/opnsense</url>
|
||||
- <description>Aalborg University (HTTPS, Aalborg, DK)</description>
|
||||
- </mirror>
|
||||
- <mirror>
|
||||
- <url>https://opnsense.aivian.org</url>
|
||||
- <description>Aivian (HTTPS, Shaoxing, CN)</description>
|
||||
- </mirror>
|
||||
- <mirror has_subscription="true">
|
||||
- <url>https://opnsense-update.deciso.com</url>
|
||||
- <description>Deciso (HTTPS, Commercial)</description>
|
||||
- </mirror>
|
||||
- <mirror has_subscription="true">
|
||||
- <url>https://nl.opnsense-update.deciso.com</url>
|
||||
- <description>Deciso (HTTPS, NL, Commercial)</description>
|
||||
- </mirror>
|
||||
- <mirror has_subscription="true">
|
||||
- <url>https://us-east.opnsense-update.deciso.com</url>
|
||||
- <description>Deciso (HTTPS, US, Commercial)</description>
|
||||
- </mirror>
|
||||
- <mirror>
|
||||
- <url>https://opnsense.c0urier.net</url>
|
||||
- <description>c0urier.net (HTTPS, Horsens, DK)</description>
|
||||
- </mirror>
|
||||
- <mirror>
|
||||
- <url>https://mirror.cloudfence.com.br/opnsense</url>
|
||||
- <description>Cloudfence (HTTPS, Sao Paulo, Brazil)</description>
|
||||
- </mirror>
|
||||
- <mirror>
|
||||
- <url>https://opnsense-mirror.hiho.ch</url>
|
||||
- <description>HiHo (HTTPS, Zurich, CH)</description>
|
||||
- </mirror>
|
||||
- <mirror>
|
||||
- <url>https://mirror-opnsense.serverbase.ch</url>
|
||||
- <description>ServerBase AG (HTTPS, Zurich, CH)</description>
|
||||
- </mirror>
|
||||
- <mirror>
|
||||
- <url>https://mirror.ams1.nl.leaseweb.net/opnsense</url>
|
||||
- <description>LeaseWeb (HTTPS, Amsterdam, NL)</description>
|
||||
- </mirror>
|
||||
- <mirror>
|
||||
- <url>https://mirror.fra10.de.leaseweb.net/opnsense</url>
|
||||
- <description>LeaseWeb (HTTPS, Frankfurt, DE)</description>
|
||||
- </mirror>
|
||||
- <mirror>
|
||||
- <url>https://mirror.sfo12.us.leaseweb.net/opnsense</url>
|
||||
- <description>LeaseWeb (HTTPS, San Francisco, US)</description>
|
||||
- </mirror>
|
||||
- <mirror>
|
||||
- <url>https://mirror.wdc1.us.leaseweb.net/opnsense</url>
|
||||
- <description>LeaseWeb (HTTPS, Washington, D.C., US)</description>
|
||||
- </mirror>
|
||||
- <mirror>
|
||||
- <url>http://quantum-mirror.hu/mirrors/pub/opnsense</url>
|
||||
- <description>Quantum Mirror (HTTP, Hungary, HU)</description>
|
||||
- </mirror>
|
||||
- <mirror>
|
||||
- <url>http://mirror.marwan.ma/opnsense/</url>
|
||||
- <description>MARWAN (HTTP, Rabat, MA)</description>
|
||||
- </mirror>
|
||||
- <mirror>
|
||||
- <url>https://mirrors.nycbug.org/pub/opnsense</url>
|
||||
- <description>NYC*BUG (HTTPS, New York, US)</description>
|
||||
- </mirror>
|
||||
- <mirror>
|
||||
- <url>https://pkg.opnsense.org</url>
|
||||
- <description>OPNsense (HTTPS, Amsterdam, NL)</description>
|
||||
- </mirror>
|
||||
- <mirror>
|
||||
- <url>https://www.mirrorservice.org/sites/opnsense.org</url>
|
||||
- <description>University of Kent (HTTPS, Kent, GB)</description>
|
||||
- </mirror>
|
||||
- <mirror>
|
||||
- <url>http://mirror.venturasystems.tech/opnsense</url>
|
||||
- <description>Ventura Systems (HTTP, Medellin, CO)</description>
|
||||
+ <url>https://opnsense.karsttech.com</url>
|
||||
+ <description>Karst Tech (HTTPS, aarch64 Mono Gateway)</description>
|
||||
</mirror>
|
||||
</mirrors>
|
||||
<flavours>
|
||||
- <flavour has_subscription="true">
|
||||
+ <flavour>
|
||||
<name/>
|
||||
<description>(default)</description>
|
||||
</flavour>
|
||||
</flavours>
|
||||
<families>
|
||||
- <family has_subscription="true">
|
||||
- <name>business</name>
|
||||
- <description>Business</description>
|
||||
- </family>
|
||||
<family>
|
||||
<name/>
|
||||
<description>Community</description>
|
||||
</family>
|
||||
- <family>
|
||||
- <name>devel</name>
|
||||
- <description>Development</description>
|
||||
- </family>
|
||||
</families>
|
||||
</firmware>
|
||||
Loading…
Add table
Reference in a new issue