Download Latest Version strongSwan 6.1.0 source code.zip (12.2 MB)
Home / 6.0.5
Name Modified Size InfoDownloads / 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-ttls plugin 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 icmp option 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 --childless option, which takes an optional force argument 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 dhcp plugin 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-netlink plugin 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 organizationIdentifier RDNs, which are used in e.g. eIDAS certificates, when parsing ASN.1 DN identities from strings (d68044b216485e1bc9d564c5c56def2f616294e3).
  • If --remote-identity is used , charon-cmd now sends IDr and matches it strictly against the returned value (e248fac362b0d2a17b9a04491b5b5ab40c2d6f45). When defaulting to --host as identity, it continues to not send IDr and match the identity also against SANs in the received server certificate.
  • The swanctl tool 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() if qsort_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 whitelist plugin (14cbe0bf242319ec468b7b857030ef1095ad8af7, [#3005]).
  • Fixed a crash in the vici plugin when parsing messages that incorrectly encode VICI_END (e535e130796ab708611df310ed991c072902fe30).
  • The gmp plugin rejects loading RSA public keys with public exponent e less 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.d and of plugin-specific snippets in /etc/strongswan.d/charon, which are included by the default strongswan.conf (docs.strongswan.org) file, if charon-systemd or charon-svc is enabled but the classic charon daemon is not (b23387a3d6cdd70dcd563bbee21deebfa1d81fb9).
  • Plugin-specific config snippets are now also installed for charon-cmd and charon-nm, which don't inherit options from the charon section in strongswan.conf and use a different set of default plugins. Accordingly, the charon-cmd.conf (new) and charon-nm.conf (updated, note that existing files are not replaced) files in /etc/strongswan.d enable modular plugin loading and include these snippets (0d10fa6dda5bc105029280187687b94fd0835267).
  • Changed how command line arguments are parsed in the swanctl and pki tools. In particular, the options shared by all commands, --debug and --options for both tools and --uri for swanctl, 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 --version was changed to -V and that of --uninstall to -U.
  • For pki, the short option of --verify was changed to -V.

For Developers

  • The kernel_net_t::get_nexthop() method may now return 0.0.0.0 or :: if an interface but no actual next hop is found. As mentioned above, the implementation in the kernel-netlink plugin does so.

Refer to the 6.0.5 milestone for a list of all closed issues and pull requests.

Source: README.md, updated 2026-03-23