You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
kubelet: block non-forwarded packets from crossing the localhost boundary
We set route_localnet so that host-network processes can connect to
<127.0.0.1:NodePort> and it still works. This, however, is too
permissive.
So, block martians that are not already in conntrack.
See: kubernetes#90259
Signed-off-by: Casey Callendrello <[email protected]>
klog.Errorf("Failed to ensure rule to drop packet marked by %v in %v chain %v: %v", KubeMarkDropChain, utiliptables.TableFilter, KubeFirewallChain, err)
78
78
return
79
79
}
80
+
81
+
// drop all non-local packets to localhost if they're not part of an existing
82
+
// forwarded connection. See #90259
83
+
if!kl.iptClient.IsIPv6() { // ipv6 doesn't have this issue
0 commit comments