Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/3] package/strongswan: enable kernel-libipsec
@ 2026-09-20  7:40 Wei Dai
  2026-09-20  7:40 ` [Buildroot] [PATCH 2/3] package/strongswan: add eap-aka-3gpp support Wei Dai
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Wei Dai @ 2026-09-20  7:40 UTC (permalink / raw)
  To: buildroot; +Cc: Jérôme Pouiller, Wei Dai

The kernel-libipsec plugin for libcharon provides an IPsec
backend that runs entirely in userland, using TUN devices and
strongSwan's own libipsec implementation.

Unlike the default kernel-netlink and kernel-pfkey backends,
which install SAs into the OS IPsec stack, this plugin is a
useful alternative when the kernel IPsec stack does not support
a required algorithm (e.g. AES-GCM on platforms lacking it).
It generally performs worse than the kernel stack, so it is
not recommended for high-throughput security gateways.

Enable it with --enable-kernel-libipsec. A network kernel
backend (kernel-netlink or kernel-pfroute) is still required.

Signed-off-by: Wei Dai <daiwei@sunkaisens.com>
---
 package/strongswan/strongswan.mk | 1 +
 1 file changed, 1 insertion(+)

diff --git a/package/strongswan/strongswan.mk b/package/strongswan/strongswan.mk
index 2e20b244ad..0823732d1b 100644
--- a/package/strongswan/strongswan.mk
+++ b/package/strongswan/strongswan.mk
@@ -17,6 +17,7 @@ STRONGSWAN_CONF_OPTS += \
 	--enable-led \
 	--enable-pkcs11=yes \
 	--enable-kernel-netlink=yes \
+	--enable-kernel-libipsec=yes \
 	--enable-socket-default=yes \
 	--enable-botan=$(if $(BR2_PACKAGE_STRONGSWAN_BOTAN),yes,no) \
 	--enable-openssl=$(if $(BR2_PACKAGE_STRONGSWAN_OPENSSL),yes,no) \
-- 
2.47.3

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2026-10-11  7:25 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-09-20  7:40 [Buildroot] [PATCH 1/3] package/strongswan: enable kernel-libipsec Wei Dai
2026-09-20  7:40 ` [Buildroot] [PATCH 2/3] package/strongswan: add eap-aka-3gpp support Wei Dai
2026-09-20 12:24   ` Thomas Petazzoni via buildroot
2026-09-20  7:40 ` [Buildroot] [PATCH 3/3] package/strongswan: add systemd support Wei Dai
2026-09-20 12:24   ` Thomas Petazzoni via buildroot
2026-09-20 12:26 ` [Buildroot] [PATCH 1/3] package/strongswan: enable kernel-libipsec Thomas Petazzoni via buildroot
2026-09-29  7:21   ` Thomas Petazzoni via buildroot
2026-09-29  9:01     ` [Buildroot] 回复: " 戴维
2026-10-11  7:25       ` Thomas Petazzoni via buildroot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox