IPsec mode not working with IPv6 overlays #3151
Labels
area/transit/encryption
Issues or PRs related to transit encryption (IPSec, SSL).
area/transit/ipv6
Issues or PRs related to IPv6.
kind/bug
Categorizes issue or PR as related to a bug.
priority/important-longterm
Important over the long term, but may not be staffed and/or may need multiple releases to complete.
Describe the bug
In an IPv6-only cluster, trying to enable IPv6 doesn't work (so far I have tried with VXLAN tunnels only). There is no connectivity between Pods across different Nodes, and no IPsec Security Associations are being created.
To Reproduce
Apply the
antrea-ipsec.yml
manifest in an IPv6-only K8s cluster, check Pod connectivity.Versions:
Antrea v1.4 and ToT
Additional context
I am trying to get some help from the strongSwan community: strongswan/strongswan#821
I actually did run some tests with GRE after tentatively adding support for the
ip6gre
OVS tunnel type (see #3150). However, becauseovs-monitor-ipsec
does not actually supportip6gre
(https://github.com/openvswitch/ovs/blob/11441385c2f788320799ba29b344098b917d8827/ipsec/ovs-monitor-ipsec.in#L34-L80), no connection entries are generated in/etc/ipsec.conf
. If we do manage to make UDP tunnels work, we should consider submitting a patch to OVS adding support forip6gre
.If we cannot get help from the strongSwan community, it may be worth it to test with libreSwan to check if we run into the same issue.
The text was updated successfully, but these errors were encountered: