From 61849d299f5f0d3675bf5ae587446a1835d40e97 Mon Sep 17 00:00:00 2001 From: Giacomo Sanchietti Date: Fri, 15 May 2026 11:57:59 +0200 Subject: [PATCH 1/2] fix(ipsec): add restart dpd_action The init file from upstream replaces the dpd_action option values. Notably it replaces `restart` with `start`, but `start` value is not supported by Strongswan 6. Make sure if `restart` is set, the value is preserved. From the manual: Action to perform for this CHILD_SA on DPD timeout. The default clear closes the CHILD_SA and does not take further action. trap installs a trap policy, which will catch matching traffic and tries to re-negotiate the tunnel on-demand (note that this is redundant if start_action includes trap. restart immediately tries to re-negotiate the CHILD_SA under a fresh IKE_SA. --- .../packages/100-strongswan-dpd-action-restart.patch | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 patches/feeds/packages/100-strongswan-dpd-action-restart.patch diff --git a/patches/feeds/packages/100-strongswan-dpd-action-restart.patch b/patches/feeds/packages/100-strongswan-dpd-action-restart.patch new file mode 100644 index 000000000..8f16df2a3 --- /dev/null +++ b/patches/feeds/packages/100-strongswan-dpd-action-restart.patch @@ -0,0 +1,12 @@ +diff --git a/net/strongswan/files/swanctl.init b/net/strongswan/files/swanctl.init +--- a/net/strongswan/files/swanctl.init ++++ b/net/strongswan/files/swanctl.init +@@ -314,7 +314,7 @@ + hold) + dpdaction="trap" ;; + restart) +- dpdaction="start" ;; ++ dpdaction="restart" ;; + trap|start) + # already using new syntax + ;; From 84ad864ccf6ef9d849865ba59d5c3a8a2e5fe12f Mon Sep 17 00:00:00 2001 From: Giacomo Sanchietti Date: Fri, 15 May 2026 13:51:15 +0200 Subject: [PATCH 2/2] chore(ui): bump to dev commit --- packages/ns-ui/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/ns-ui/Makefile b/packages/ns-ui/Makefile index ee852564b..db0c137a4 100644 --- a/packages/ns-ui/Makefile +++ b/packages/ns-ui/Makefile @@ -12,7 +12,7 @@ PKG_RELEASE:=1 PKG_SOURCE_PROTO:=git PKG_SOURCE_URL:=https://github.com/NethServer/nethsecurity-ui.git -PKG_SOURCE_VERSION:=6c362f1eb30c8ef6b034d4127885d928e6640553 +PKG_SOURCE_VERSION:=d95a3d9df55b18df2db9afbe01421901e655ac58 PKG_SOURCE_SUBDIR:=nethsecurity-ui-$(PKG_SOURCE_VERSION) PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_SOURCE_SUBDIR) PKG_MIRROR_HASH:=skip