Hi all, a short status of the EESP (Enhanced ESP) draft and implementation in Linux. We focused on the implementation the last months. The EESP data path works end to end in the kernel and the SAs can be set up and the traffic debugged from userspace.
Draft status: ============ - https://datatracker.ietf.org/doc/draft-ietf-ipsecme-eesp/04/ - Stable, no changes since IETF 126. Implementation status (Linux Kernel): ===================================== - https://git.kernel.org/pub/scm/linux/kernel/git/klassert/linux-stk.git/log/?h=ipsec-next-eesp-v6 Implemented and verified ------------------------ - EESP data path in the kernel: IPv4 and IPv6, tunnel and transport mode, inbound and outbound processing. - Replay protection per sub SA, with sequence number overflow detection. - Per CPU sub SAs for inbound and outbound processing. - Packet format as the draft specifies: base header, peer header with the 64 bit sequence number, Payload Info Header, payload, padding and ICV. The full and the optimized format are selected per mode. - The full 64 bit sequence number is taken from the wire and used for the anti-replay check. - AAD construction as the draft specifies: base header plus peer header, with a crypto API check for the EESP associated data length. - AEAD only, as the draft requires: separate encryption and authentication algorithms are refused. - Version and reserved bits of the base header are checked on receive; packets with a wrong version or with reserved bits set are dropped. - Linux Kernel selftest: 95 of 95 test cases pass with rfc4106(gcm(aes)), including one new end to end EESP tunnel test. Partly implemented or missing ----------------------------- - Header options (Pad1, PadN, Crypt Offset) are not implemented. - The sub SA key derivation (SSKDF) is not implemented, all sub SAs share one key. - The EESP specific auditing events are missing. - BEET mode is implemented, but untested. - UDP and TCP encapsulation for EESP is implemented, but untested. - IP-TFS mode is not implemented. - Per QoS sub SAs are not implemented. Steffen _______________________________________________ IPsec mailing list -- [email protected] To unsubscribe send an email to [email protected]
