-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
With support being added for IPv6 in the overlay, we need to ensure that there is proper isolation of the underlay and overlay networks.
The concern is that the switch would allow the following scenario:
- Instance sends packet with DIP in underlay IPv6 prefix
- OPTE uses IPv6 default external route
- OPTE encaps packet, sends to switch
- Switch decaps packet
- Switch does v6 route lookup on inner packet (DIP == underlay ip)
- Switch routes inner packet via backplane link to the host that owns the underlay ip
If this flow is possible, it could allow arbitrary instances to send arbitrary payloads to the host OS.
This may turn out to be a non-issue due to an implementation detail I'm not aware of, but it's a property of our sidecar implementation that needs to always be upheld.
This was a non-issue when the overlay was IPv4 only, since the overlay/underlay isolation was provided by the two being separate address-families. With IPv6 in the overlay, there is no such implicit separation.