]>
git.ipfire.org Git - thirdparty/strongswan.git/log
Andreas Steffen [Wed, 5 Feb 2025 14:48:02 +0000 (15:48 +0100)]
testing: rw-ml-kem-dsa scenarios
Andreas Steffen [Thu, 26 Dec 2024 10:42:51 +0000 (11:42 +0100)]
ml: Add ML-DSA support
Andreas Steffen [Sat, 4 Jan 2025 19:48:44 +0000 (20:48 +0100)]
ml: Bug fix in ml_bitpacker
Andreas Steffen [Mon, 23 Dec 2024 20:12:15 +0000 (21:12 +0100)]
botan: Add ML-DSA support
Andreas Steffen [Sat, 21 Dec 2024 11:10:44 +0000 (12:10 +0100)]
unit-tests: Added ml_dsa test suite
Andreas Steffen [Sat, 21 Dec 2024 11:09:46 +0000 (12:09 +0100)]
scripts: Added nist_acvp script
Andreas Steffen [Sun, 8 Dec 2024 19:24:06 +0000 (20:24 +0100)]
wolfssl: Add ML-DSA support
Andreas Steffen [Mon, 9 Dec 2024 15:11:59 +0000 (16:11 +0100)]
pki: Add ML-DSA support
Andreas Steffen [Thu, 26 Dec 2024 10:40:41 +0000 (11:40 +0100)]
curve25519: Use of public_key_info_encode()
Andreas Steffen [Sat, 7 Dec 2024 11:10:59 +0000 (12:10 +0100)]
libstrongswan: Add definitions for ML-DSA keys and signatures
Tobias Brunner [Mon, 14 Jul 2025 09:01:14 +0000 (11:01 +0200)]
nm: Version bump to 1.6.3
Andreas Steffen [Sun, 13 Jul 2025 07:56:49 +0000 (09:56 +0200)]
Version bump to 6.0.2
Tobias Brunner [Fri, 11 Jul 2025 09:45:37 +0000 (11:45 +0200)]
testing: Use alternative approach for retransmits in ikev1/dpd-restart scenario
With a long delay, the retransmit might not get sent before further tests
are evaluated on faster machines, while more retransmits should still allow
the scenario to succeed on slower ones.
Tobias Brunner [Fri, 11 Jul 2025 06:50:30 +0000 (08:50 +0200)]
child-cfg: Actually force narrowing TS in transport mode only as initiator
Closes strongswan/strongswan#2830
Fixes: ad1ad2159f0b ("child-cfg: Use traffic selector list")
Tobias Brunner [Fri, 11 Jul 2025 09:42:47 +0000 (11:42 +0200)]
openssl: Don't allocate salt if PRF/hash is unknown
This can happen if e.g. AES-XCBC is selected.
Fixes: 2dbeecfc029b ("openssl: Fix testing KDF_PRF in the constructor with OpenSSL 3.5.1")
Tobias Brunner [Thu, 10 Jul 2025 17:07:13 +0000 (19:07 +0200)]
github: Shorten name for crypto-plugin job and reverse matrix arguments
This gives us more readable names in the UI. Instead of
crypto-plugins (ubuntu-latest, b...
crypto-plugins (ubuntu-latest, b...
crypto-plugins (ubuntu-latest, ...
crypto-plugins (ubuntu-latest, ...
crypto-plugins (ubuntu-latest, o...
crypto-plugins (ubuntu-latest, o...
we now get
crypto (botan, ubuntu-latest, no)
crypto (botan, ubuntu-latest, yes)
crypto (wolfssl, ubuntu-latest, no)
crypto (wolfssl, ubuntu-latest, yes)
crypto (openssl, ubuntu-latest, no)
crypto (openssl, ubuntu-latest, yes)
Tobias Brunner [Thu, 10 Jul 2025 16:11:19 +0000 (18:11 +0200)]
openssl: Fix testing KDF_PRF in the constructor with OpenSSL 3.5.1
Setting the salt to NULL now fails, so we set it to hash length's zeroes,
which is the default value for HKDF-Extract if no salt is passed.
Fixes strongswan/strongswan#2828
Tobias Brunner [Tue, 8 Jul 2025 11:13:06 +0000 (13:13 +0200)]
Doxyfile: Don't hide set_seed() method
Tobias Brunner [Tue, 8 Jul 2025 08:54:49 +0000 (10:54 +0200)]
Fixed some typos, courtesy of codespell
Andreas Steffen [Mon, 7 Jul 2025 08:57:25 +0000 (10:57 +0200)]
Version bump to 6.0.2rc1
Tobias Brunner [Mon, 7 Jul 2025 08:31:56 +0000 (10:31 +0200)]
NEWS: Add news for 6.0.2
Tobias Brunner [Tue, 1 Jul 2025 06:32:46 +0000 (08:32 +0200)]
github: Use AWS-LC 1.55.0 for tests
Tobias Brunner [Tue, 1 Jul 2025 12:16:49 +0000 (14:16 +0200)]
github: Use OpenSSL 3.5.1 for tests
Thomas Egerer [Wed, 2 Jul 2025 10:46:30 +0000 (12:46 +0200)]
vici: Allow backlog size configuration via compile option
Signed-off-by: Thomas Egerer <thomas.egerer@secunet.com>
Tobias Brunner [Mon, 7 Jul 2025 09:55:01 +0000 (11:55 +0200)]
github: Make sure at least one run with the same content is not skipped
Andreas Steffen [Thu, 3 Jul 2025 09:43:53 +0000 (11:43 +0200)]
Version bump to 6.0.2dr3
orbea [Tue, 5 Mar 2024 23:46:30 +0000 (15:46 -0800)]
nm: Don't set DL_LIBS to 'none required' in configure script
This copies the AC_SEARCH_LIBS check from the main strongSwan
configure.ac.
When building networkmanager-strongswan with slibtool if fails.
ld: cannot find none: No such file or directory
ld: cannot find required: No such file or directory
This is because configure.ac uses AC_SEARCH_LIBS to find dlopen which
sets the value of $ac_cv_search_dlopen to 'none required' which then
gets set in DL_LIBS and passed to slibtool.
With GNU libtool it silently ignores the unknown arguments.
Gentoo issue: https://bugs.gentoo.org/914100
Closes strongswan/strongswan#2141
Signed-off-by: orbea <orbea@riseup.net>
Tobias Brunner [Fri, 27 Jun 2025 07:13:38 +0000 (09:13 +0200)]
Merge branch 'android-http-proxy'
Adds support for HTTP proxy server.
Closes strongswan/strongswan#2789
Tobias Brunner [Fri, 6 Jun 2025 09:11:34 +0000 (11:11 +0200)]
android: New release after adding HTTP proxy configuration
Tobias Brunner [Thu, 5 Jun 2025 14:34:52 +0000 (16:34 +0200)]
android: Apply proxy server setting when creating TUN device
This is only available with Android 10+ (SDK 29+).
Tobias Brunner [Thu, 5 Jun 2025 14:31:16 +0000 (16:31 +0200)]
android: Avoid proxy settings in the internal fetcher
Tobias Brunner [Thu, 5 Jun 2025 14:13:45 +0000 (16:13 +0200)]
android: Allow setting proxy settings in managed profiles
Tobias Brunner [Thu, 5 Jun 2025 14:10:21 +0000 (16:10 +0200)]
android: Import proxy server settings
Tobias Brunner [Thu, 5 Jun 2025 14:09:50 +0000 (16:09 +0200)]
android: Make proxy server configurable
Tobias Brunner [Thu, 5 Jun 2025 13:15:04 +0000 (15:15 +0200)]
android: Add properties to VPN profiles for proxy server configuration
Tobias Brunner [Mon, 2 Jun 2025 12:58:36 +0000 (14:58 +0200)]
android: Don't mention IKEv1 and L2TP in app description
Also removed on Play so the app does not show up when people search
for these keywords (they tend to not read the actual description and
then are surprised that neither protocol is supported).
Tobias Brunner [Mon, 2 Jun 2025 12:55:19 +0000 (14:55 +0200)]
android: Update dependencies
Tobias Brunner [Mon, 16 Jun 2025 07:28:40 +0000 (09:28 +0200)]
identification: Clarify that ID_USER_FQDN is just an alias for ID_RFC822_ADDR
This means userfqdn: is a valid prefix for regular expressions.
Tobias Brunner [Fri, 6 Jun 2025 12:19:09 +0000 (14:19 +0200)]
swanctl: Document that IP-TFS mode is subject to mode negotiation
Tobias Brunner [Fri, 6 Jun 2025 09:17:38 +0000 (11:17 +0200)]
testing: Make sure ML-KEM scenarios use our ml plugin
We now support OpenSSL's implementation in the openssl plugin. This
makes sure our plugin is used on at least one of the hosts if we ever
switch to an OpenSSL version that supports ML-KEM.
In the ikev2/rw-mlkem scenario the logic is reversed. There the ml plugin
is preferred on moon to test the responder side (and carol for the
initiator) and dave will switch to OpenSSL if it ever provides ML-KEM.
Andreas Steffen [Thu, 5 Jun 2025 11:43:21 +0000 (13:43 +0200)]
Version bump to 6.0.2dr2
Andreas Steffen [Thu, 5 Jun 2025 11:42:41 +0000 (13:42 +0200)]
testing: soup plugin removed from test environment
Andreas Steffen [Wed, 4 Jun 2025 17:45:05 +0000 (19:45 +0200)]
Version bump to 6.0.2dr1
Tobias Brunner [Wed, 4 Jun 2025 17:09:33 +0000 (19:09 +0200)]
Merge branch 'libsoup3'
Ports the soup plugin to libsoup 3.
Closes strongswan/strongswan#2788
Tobias Brunner [Wed, 4 Jun 2025 16:07:35 +0000 (18:07 +0200)]
github: Use libsoup 3 for tests
Requires installing libxml2-dev explicitly for the alpine build as
libsoup-dev had a dependency on it.
Tobias Brunner [Wed, 4 Jun 2025 15:51:55 +0000 (17:51 +0200)]
leak-detective: Remove whitelisted libsoup2.x functions
As mentioned in
0f141fb095a41a9fdfe5c111269eb643dc643494 , we can't
really whitelist the "leaks" in GLib, so don't even try to do anything
with libsoup3.x.
Mike Gorse [Tue, 3 Jun 2025 21:13:41 +0000 (16:13 -0500)]
soup: Port to libsoup 3
Tobias Brunner [Tue, 3 Jun 2025 15:37:24 +0000 (17:37 +0200)]
fetcher: Remove unused FETCH_HTTP_VERSION_1_0 option
Was only used by the removed scepclient and does not serve any purpose
nowadays anyway.
Tobias Brunner [Wed, 4 Jun 2025 15:14:08 +0000 (17:14 +0200)]
unit-tests: Serial number tests depend on X.509 certificate parsing
Requires additional plugin features, but if this is available, the
others are usually as well.
Tobias Brunner [Wed, 4 Jun 2025 16:25:22 +0000 (18:25 +0200)]
wolfssl: Fix build if wolfSSL was built in OpenSSL-compat mode
Tobias Brunner [Mon, 2 Jun 2025 09:31:03 +0000 (11:31 +0200)]
Merge branch 'wolfssl-fips'
Fixes various issues when building the wolfssl plugin against wolfSSL's
FIPS module.
References strongswan/strongswan#2603
Closes strongswan/strongswan#2771
Juliusz Sosinowicz [Wed, 23 Apr 2025 14:32:52 +0000 (16:32 +0200)]
wolfssl: Unlock keys if necessary when using FIPS module
Wrap the functions that require it in PRIVATE_KEY_UNLOCK/PRIVATE_KEY_LOCK.
This can't be done at plugin initialization because it needs to be done
for every thread. strongSwan currently doesn't provide on-thread-create
callbacks for plugins so we need to wrap each direct call. Another reason
to do so is that some functions we call (e.g. wc_EccKeyToDer) internally
call PRIVATE_KEY_UNLOCK/PRIVATE_KEY_LOCK and would leave the keys locked
for that particular thread.
Juliusz Sosinowicz [Wed, 23 Apr 2025 13:56:09 +0000 (15:56 +0200)]
wolfssl: Properly initialize ECC private key object
Tobias Brunner [Fri, 21 Feb 2025 07:09:31 +0000 (08:09 +0100)]
wolfssl: Set a dummy key when testing KDF implementations
In FIPS mode, wolfSSL enforces a minimum key size for these algorithms.
Tobias Brunner [Tue, 18 Feb 2025 13:24:08 +0000 (14:24 +0100)]
test-vectors: Remove HMAC PRF test vectors with key size 4
Some implementations enforce a minimum key size (e.g. wolfSSL in FIPS
mode) and in practice, the keys will be longer anyway (e.g. our nonces
are 32 bytes).
Tobias Brunner [Fri, 29 Nov 2024 07:45:53 +0000 (08:45 +0100)]
wolfssl: Include settings.h in case WOLFSSL_USER_SETTINGS is defined
Tobias Brunner [Thu, 28 Nov 2024 08:28:28 +0000 (09:28 +0100)]
wolfssl: Use consistent defines for ECC public/private key loading
HAVE_ECC_KEY_IMPORT can be defined while HAVE_ECC_SIGN is not.
So just use the same defines we use when defining the load functions.
Tobias Brunner [Tue, 26 Nov 2024 09:19:33 +0000 (10:19 +0100)]
wolfssl: Call wc_SetSeed_Cb() as required for FIPS-mode
Tobias Brunner [Wed, 28 May 2025 14:48:42 +0000 (16:48 +0200)]
Merge branch 'iptfs'
This adds basic support for IP-TFS/AGGFRAG (RFC 9347). The Linux kernel,
since 6.14, only supports aggregation/fragmentation so far. The actual
TFS features will get added later.
Tobias Brunner [Fri, 16 May 2025 08:28:16 +0000 (10:28 +0200)]
testing: Add ikev2/net2net-iptfs scenario
Tobias Brunner [Fri, 16 May 2025 08:22:20 +0000 (10:22 +0200)]
testing: Add config for Linux 6.14
This has IP-TFS enabled.
Tobias Brunner [Thu, 15 May 2025 10:58:12 +0000 (12:58 +0200)]
conf: Document global IP-TFS settings
Tobias Brunner [Thu, 15 May 2025 10:57:38 +0000 (12:57 +0200)]
child-create: Negotiate IP-TFS mode if configured
Tobias Brunner [Thu, 15 May 2025 08:37:01 +0000 (10:37 +0200)]
notify-payload: Add notify type for IP-TFS/AGGFRAG
Tobias Brunner [Thu, 15 May 2025 07:22:17 +0000 (09:22 +0200)]
kernel-netlink: Support IPTFS mode and attributes
Tobias Brunner [Thu, 15 May 2025 10:56:00 +0000 (12:56 +0200)]
child-sa: Allow disabling fragmenting packets across AGGFRAG payloads
This is necessary if the peer isn't able to handle such fragments.
Tobias Brunner [Thu, 15 May 2025 07:20:52 +0000 (09:20 +0200)]
kernel-ipsec: Add flag to disable sending fragments across AGGFRAG payloads
We have to set this if the peer indicates that it doesn't support
handling such fragments in the notify.
Tobias Brunner [Wed, 14 May 2025 08:13:44 +0000 (10:13 +0200)]
vici: Make IP-TFS mode configurable
Tobias Brunner [Wed, 14 May 2025 08:16:55 +0000 (10:16 +0200)]
include: Add XFRM mode and attributes for IP-TFS
Tobias Brunner [Wed, 14 May 2025 08:11:12 +0000 (10:11 +0200)]
ipsec-types: Add new mode for IP-TFS
Added at the end as the numeric mode is e.g. used in SQL databases.
Tobias Brunner [Wed, 28 May 2025 14:36:10 +0000 (16:36 +0200)]
Merge branch 'per-cpu-sas'
This adds support for per-CPU SAs (RFC 9611).
Tobias Brunner [Wed, 16 Jun 2021 07:45:57 +0000 (09:45 +0200)]
testing: Add ikev2/per-cpu-sas-encap-transport scenario
Tests transport mode and UDP encapsulation with random source ports.
Interestingly, the responder always uses the same SA to respond (maybe
due to the cache on the policy).
Tobias Brunner [Tue, 15 Jun 2021 09:13:35 +0000 (11:13 +0200)]
testing: Add ikev2/per-cpu-sas-encap scenario
Basically the same as the one without UDP encapsulation, but here the
outbound SAs use random source ports.
Tobias Brunner [Tue, 22 Apr 2025 09:19:34 +0000 (11:19 +0200)]
kernel-netlink: Suppress NAT mapping updates for per-CPU SAs
As we set the remote port to 0, we'd get a mapping change message with
every packet. Setting the threshold avoids all kernel messages after the
first, which we suppress explicitly as well.
Tobias Brunner [Tue, 15 Jun 2021 09:11:14 +0000 (11:11 +0200)]
child-sa: Configure UDP encapsulation for per-CPU SAs
As the kernel does not support processing UDP-encapsulated and plain ESP
for the same SA, we require forcing UDP encapsulation if there is no NAT.
Tobias Brunner [Tue, 15 Jun 2021 09:10:40 +0000 (11:10 +0200)]
vici: Make UDP encapsulation for per-CPU SAs configurable
Tobias Brunner [Tue, 15 Jun 2021 07:46:31 +0000 (09:46 +0200)]
child-cfg: Add flag to enable UDP encapsulation for per-CPU SAs
Tobias Brunner [Wed, 2 Jun 2021 15:07:01 +0000 (17:07 +0200)]
testing: Add per-CPU SA test scenario
Tobias Brunner [Mon, 31 May 2021 14:46:41 +0000 (16:46 +0200)]
testing: Configure multiple virtual CPUs for moon and sun
This allows testing per-CPU SAs by e.g. pinging over a specific CPU
via taskset.
Tobias Brunner [Mon, 31 May 2021 15:09:28 +0000 (17:09 +0200)]
testing: Enable SMP support for latest kernels
Tobias Brunner [Thu, 20 May 2021 08:32:09 +0000 (10:32 +0200)]
swanctl: Report per-CPU information in --list-sas
Tobias Brunner [Thu, 20 May 2021 08:19:41 +0000 (10:19 +0200)]
vici: Report per-CPU SA information
Tobias Brunner [Thu, 20 May 2021 08:12:30 +0000 (10:12 +0200)]
vici: Make per-CPU CHILD_SAs configurable
Tobias Brunner [Thu, 20 May 2021 08:04:46 +0000 (10:04 +0200)]
kernel-netlink: Forward CPU ID from acquires
Tobias Brunner [Thu, 20 May 2021 07:46:55 +0000 (09:46 +0200)]
trap-manager: Add support to handle acquires for per-CPU SAs
Tobias Brunner [Mon, 26 Sep 2022 14:55:00 +0000 (16:55 +0200)]
kernel-handler: Log CPU ID that's passed with an acquire
Tobias Brunner [Mon, 26 Sep 2022 14:47:46 +0000 (16:47 +0200)]
kernel-interface: Optionally pass CPU ID for which an acquire was triggered
Tobias Brunner [Wed, 19 May 2021 13:11:53 +0000 (15:11 +0200)]
ike-sa: Accept optional CPU ID when initiating CHILD_SAs
Tobias Brunner [Thu, 20 May 2021 07:41:54 +0000 (09:41 +0200)]
ike-sa: Sort CHILD_SAs by CPU ID
This might make debugging easier and also ensures that a possible
fallback SA without CPU ID is established first when reestablishing
an IKE_SA. Because even if such an SA is established first initially,
that might change later depending on when per-CPU SAs are rekeyed.
Tobias Brunner [Wed, 19 May 2021 10:00:39 +0000 (12:00 +0200)]
child-rekey: Maintain per-CPU values during rekeying
Tobias Brunner [Wed, 19 May 2021 08:59:03 +0000 (10:59 +0200)]
child-create: Add support to negotiate per-CPU SAs
Tobias Brunner [Mon, 31 May 2021 14:12:27 +0000 (16:12 +0200)]
updown: Don't call the script for per-CPU SAs
Rules are installed for the fallback SA that has no CPU ID assigned.
Tobias Brunner [Mon, 31 May 2021 13:26:27 +0000 (15:26 +0200)]
ha: Ignore per-CPU CHILD_SAs
These only work on initiators (with trap policies), which is something
the plugin doesn't support.
Tobias Brunner [Mon, 31 May 2021 13:21:46 +0000 (15:21 +0200)]
forecast: Ignore per-CPU CHILD_SAs
Not sure if this combination does make sense as the plugin itself would
be a major bottleneck.
Similar to the connmark plugin, PREROUTING rules list SPIs or UDP ports,
which would be necessary for all SAs while the OUTPUT rules would only be
required once.
Tobias Brunner [Mon, 31 May 2021 13:06:41 +0000 (15:06 +0200)]
connmark: Ignore per-CPU CHILD_SAs
The combination probably doesn't make much sense.
The OUTPUT rules would definitely only be required once, while the INPUT
and PREROUTING rules list individual SPIs and/or UDP ports, which would
be necessary for all SAs.
By the way, the rules in PREROUTING might actually not be necessary
anymore if the set_mark_in option was used for such SAs.
Tobias Brunner [Tue, 11 May 2021 15:55:21 +0000 (17:55 +0200)]
child-sa: Add support for per-CPU SAs
The CPU ID is also set on inbound SAs as it can be used to configure RSS
or some eBPF program.
Tobias Brunner [Tue, 11 May 2021 14:24:38 +0000 (16:24 +0200)]
kernel-netlink: Add support to enable per-CPU acquires on policies
Tobias Brunner [Tue, 11 May 2021 14:07:39 +0000 (16:07 +0200)]
kernel-netlink: Add support to set CPU ID on SA
Tobias Brunner [Mon, 10 May 2021 14:28:15 +0000 (16:28 +0200)]
ipsec-types: Add identifier for the maximum (=no) CPU ID
Tobias Brunner [Mon, 10 May 2021 14:23:20 +0000 (16:23 +0200)]
include: Add XFRM identifiers for per-CPU SAs/acquires