| Name | Modified | Size | Downloads / Week |
|---|---|---|---|
| Parent folder | |||
| strongswan-6.0.5.tar.gz.sig | 2026-03-23 | 659 Bytes | |
| strongswan-6.0.5.tar.bz2.sig | 2026-03-23 | 659 Bytes | |
| strongswan-6.0.5.tar.gz | 2026-03-23 | 8.2 MB | |
| strongswan-6.0.5.tar.bz2 | 2026-03-23 | 4.9 MB | |
| README.md | 2026-03-23 | 6.9 kB | |
| strongSwan 6.0.5 source code.tar.gz | 2026-03-23 | 6.7 MB | |
| strongSwan 6.0.5 source code.zip | 2026-03-23 | 12.8 MB | |
| Totals: 7 Items | 32.6 MB | 0 | |
Vulnerabilities
- Fixed a vulnerability in the
eap-ttlsplugin related to processing EAP-TTLS AVPs that can lead to resource exhaustion or a crash. This vulnerability has been registered as CVE-2026-25075. Please refer to our blog for details.
New Features
- The new
icmpoption enables the forwarding of certain ICMP error messages (e.g. Fragmentation Needed), even if their source address doesn't match the negotiated traffic selectors, when running on Linux kernels that support this (v6.9+). If enabled, the kernel matches the IP header contained in the error message against the policies to decide whether to forward it. Note that the source IP of ICMP errors generated on a VPN gateway itself is currently not technically correct, it's set to the destination address of the triggering packet (to force a match with the policy) instead of using the IP of the gateway. This will be fixed in a future kernel release (likely v7.1). - charon-cmd now supports childless IKE SA initiation with the
--childlessoption, which takes an optionalforceargument to abort the initiation if the peer doesn't support the extension (d0c36baef98ef16fffd90fc7b64e1eadde64be3a). Also added support for IKEv2 PSK authentication to interoperate with some public test servers (757dce2ed3b90e8b49a4e458190e4a9c152bd600).
Enhancements and Optimizations
- The
dhcpplugin now keeps track of address leases across make-before-break reauthentications to avoid releasing the address when the old SA is terminated, which could e.g. mess with DNS resolution or even cause the IP to get reassigned to a different client (79a52c488d9a778bf688ee14fca11ba3f61cef5a, [#2967]). - When installing routes, the
kernel-netlinkplugin previously defaulted to setting the peer's address as next hop if there was no actual next hop found. This caused issues in certain cases (e.g. for routes over point-to-point interfaces). Instead, the next hop is now omitted if at least an interface was found (8a6f9ba70eae87e66aef1b42b5edd206beaf789c, [#2548]). - Added support for
organizationIdentifierRDNs, which are used in e.g. eIDAS certificates, when parsing ASN.1 DN identities from strings (d68044b216485e1bc9d564c5c56def2f616294e3). - If
--remote-identityis used , charon-cmd now sends IDr and matches it strictly against the returned value (e248fac362b0d2a17b9a04491b5b5ab40c2d6f45). When defaulting to--hostas identity, it continues to not send IDr and match the identity also against SANs in the received server certificate. - The
swanctltool now uses its own set of default plugins. Previously, it loaded all enabled libstrongswan-specific plugins, even though many were not used (5fe1d712041d7ab0feff137cf51603577543cab8). - The unnecessary execute permission on UNIX sockets created via stream service abstraction has been removed (b8d8277ae07608c50793ed784c72662cc1d45740).
Fixes
- Avoid an incorrect down event if deleting a rekeyed Child SA fails (3df3af8eb7e7d98db018d0ae9fb6361fab37ceed, [#3003])
- Fixed handling acquires from PF_KEY that don't provide a sequence number, which are used since 6.0.2 (#2975).
- Fixed handling recursive calls to
array_sort()ifqsort_r()is not supported, which could cause crashes if there were multiple Child SAs since 6.0.2 (7fa4d54b3c6906d95fab932e28a7c43b370927c0, [#2926]). - Fixed handling unknown public key authentication methods, which was caused by a conflict with the config switch based on EAP-Identity that was added with 6.0.2 (e73af66f4a7852eb17691e6fa151ea0204307539, [#2979]).
- Fixed a deadlock introduced with 6.0.3 that's caused by disconnecting clients in the
whitelistplugin (14cbe0bf242319ec468b7b857030ef1095ad8af7, [#3005]). - Fixed a crash in the
viciplugin when parsing messages that incorrectly encode VICI_END (e535e130796ab708611df310ed991c072902fe30). - The
gmpplugin rejects loading RSA public keys with public exponenteless than 3 (358653d06a416401206ee618e2c691a0cd66c1cd).
Plugin and Configuration Changes
- Added a new configure script option (
--with-plugins-packaged-separately) intended for distributions that package plugins separately (e.g. Debian/Ubuntu). Its only effect is currently that the message logged if a plugin can't be loaded (because the package that contains it isn't installed) is changed and logged on level 2. - Fixed the installation of IKE daemon-specific config snippets in
/etc/strongswan.dand of plugin-specific snippets in/etc/strongswan.d/charon, which are included by the default strongswan.conf (docs.strongswan.org) file, ifcharon-systemdorcharon-svcis enabled but the classiccharondaemon is not (b23387a3d6cdd70dcd563bbee21deebfa1d81fb9). - Plugin-specific config snippets are now also installed for
charon-cmdandcharon-nm, which don't inherit options from thecharonsection in strongswan.conf and use a different set of default plugins. Accordingly, thecharon-cmd.conf(new) andcharon-nm.conf(updated, note that existing files are not replaced) files in/etc/strongswan.denable modular plugin loading and include these snippets (0d10fa6dda5bc105029280187687b94fd0835267). - Changed how command line arguments are parsed in the
swanctlandpkitools. In particular, the options shared by all commands,--debugand--optionsfor both tools and--uriforswanctl, can now be passed even before the command. And the log level is now always changed before initializing the libraries and plugins. Because the short options of some of the commands conflict with these now global options, the following changes were necessary: - For
swanctl, the short option of--versionwas changed to-Vand that of--uninstallto-U. - For
pki, the short option of--verifywas changed to-V.
For Developers
- The
kernel_net_t::get_nexthop()method may now return0.0.0.0or::if an interface but no actual next hop is found. As mentioned above, the implementation in thekernel-netlinkplugin does so.
Refer to the 6.0.5 milestone for a list of all closed issues and pull requests.