Open lincolnmantracer opened 1 year ago
I was able to work around this by creating the handle with netlink.NewHandleAt(namespace, unix.NETLINK_GENERIC)
. I don't really understand whether this is intended behavior. It seems like NETLINK_GENERIC
should be in SupportedNlFamilies
.
Using
handle.FouAdd
seems to add a FoU decapsulation endpoint to the host, even when run with a docker container namespace. I'm using (basically) the following code:But the fou endpoint/thingy shows only on the host:
I thought maybe this was a general FoU problem, but iproute2 seems to do this just fine: