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
There exists a use case for sourcing tunnel traffic from a /32 address assigned to the lo interface of the node. The lo interface typically comes with a localhost address (ie. 127.0.0.1). This change excludes localhost addresses from acting as the tunnel source. It also permits using a /32 address for the tunnel source if the host-tunnel-src variable is set to true (false by default).
Signed-off-by: Anthony Timmins <anthony.timmins@crowdstrike.com>
---------
Signed-off-by: Anthony Timmins <anthony.timmins@crowdstrike.com>
Signed-off-by: netdever <46330739+netdever@users.noreply.github.com>
Co-authored-by: Anthony Timmins <anthony.timmins@crowdstrike.com>
argNodeName=pflag.String("node-name", "", "Name of the node on which the daemon is running on.")
89
90
argIface=pflag.String("iface", "", "The iface used to inter-host pod communication, can be a nic name or a group of regex separated by comma (default the default route iface)")
91
+
argHostTunnelSrc=pflag.Bool("host-tunnel-src", false, "Enable /32 address selection for the tunnel source, excludes localhost addresses unless explicitly allowed.")
90
92
argDPDKTunnelIface=pflag.String("dpdk-tunnel-iface", "br-phy", "Specifies the name of the dpdk tunnel iface.")
91
93
argMTU=pflag.Int("mtu", 0, "The MTU used by pod iface in overlay networks (default iface MTU - 100)")
0 commit comments