Libreswan's Online Documentation
View the Project on GitHub libreswan/libreswan.github.io
SupportHere’s a brief list showing which kernel features are supported.
Since the feature may require modifications to both the kernel and Libreswan, the version field can contain the following:
kN.M is the first kernel to support the feature
vN.M is the first Libreswan release to support the feature
v?.? means that libreswan needs changes
YYYY the year the feature was added to the kernel
Blank just means no one has tested this.
| RFC | Feature | Linux | FreeBSD | NetBSD | OpenBSD | Comments |
|---|---|---|---|---|---|---|
| ipsec interface | k4.19 2018 |
k11.1 2017 |
k8.0 2018 |
k7.4 2023 |
||
| ipsec-interface w/ IPv4+IPv6 through single SA | Yes | Yes | No | Yes | ||
| All combinations of IPv4, IPv6, IPCOMP, TRANSPORT, TUNNEL | k6.3? | 10.0 | ||||
| Kernel NAT keepalive | Yes v?.? |
Libreswan needs changes | ||||
| Hardware Offload (i.e., ConnectX-7) | Yes | 15.1 2026 |
No | |||
| Host-Host | Yes | v5.4 | v5.4 | v5.4 | Remember vN.M is the Libreswan version |
|
| Kernel Algorithms | ||||||
| AES_GCM | Yes | Yes | Yes | Yes | ||
| CHACHA | Yes | Yes | No | Yes | ||
| draft | Use of SHA-3 in the Internet Key Exchange Protocol Version 2 (IKEv2) and IPsec | It’s comming | ||||
| Sequence Numbers and Sliding Windows | ||||||
| ESP without sliding window | w/ Hardware it can be cheaper to decrypt packets | |||||
| RFC 4302 | Appendix B: Extended (64-bit) Sequence Numbers (AH) | Yes | Yes | No | Yes | |
| RFC 4303 | Appendix A: Extended (64-bit) Sequence Numbers (ESP) | Yes | Yes | No | Yes | |
| RFC 6479 | IPsec Anti-Replay Algorithm without Bit Shifting | Interesting Idea | ||||
| Large Sliding Window | Yes | Yes | No | |||
| RFC 3948 | UDP Encapsulation of IPsec ESP Packets | Yes | Yes | Yes | Yes | |
| RFC 4302 | IP Authentication Header (AH) | Yes | Yes | Yes | Yes | |
| RFC 4303 | IP Encapsulating Security Payload (ESP) | Yes | Yes | Yes | Yes | |
| RFC 9329 | TCP Encapsulation of Internet Key Exchange Protocol (IKE) and IPsec Packets | k5.1 | No | |||
| draft | Separate Transports for IKE and ESP | Motivated by PQ | ||||
| RFC 9347 | Aggregation and Fragmentation Mode for Encapsulating Security Payload (ESP) and Its Use for IP Traffic Flow Security (IP-TFS) | k6.14 | ||||
| RFC 9478 | Labeled IPsec Traffic Selector Support for the Internet Key Exchange Protocol Version 2 (IKEv2) | Yes | Does anyone care? | |||
| draft | Enhanced Encapsulating Security Payload (EESP) |