Page MenuHomeFreeBSD

Add UDP encapsulation of ESP in IPv6
Needs ReviewPublic

Authored by aurelien.cazuc.external_stormshield.eu on Nov 19 2019, 2:02 PM.

Details

Reviewers
ae
bz
Group Reviewers
Contributor Reviews (base)
Summary

This patch provides UDP encapsulation of ESP packets over IPv6.
It mostly consist of porting IPv4 code to IPv6 and adding support of IPv6 in udpencap.c
As required by the RFC and unlike in IPv4 encapsulation, UDP checksums are calculated

Sponsored by: Stormshield

Test Plan

After enabling UDP encapsulation, pings are correctly encapsulated in UDP, transfered and decapsulated on the other side of the tunnel

Diff Detail

Repository
rS FreeBSD src repository
Lint
Lint Skipped
Unit
Unit Tests Skipped