7ed3681cbe
To record wether user is using iptables or nftables after we add support to nftables on linux, we are adding a field FirewallMode to NetInfo in HostInfo to reflect what firewall mode the host is running, and form metrics. The information is gained from a global constant in hostinfo.go. We set it when selection heuristic made the decision, and magicsock reports this to control. Updates: tailscale/corp#13943 Signed-off-by: KevinLiang10 <kevinliang@tailscale.com> |
||
---|---|---|
.. | ||
hostinfo.go | ||
hostinfo_darwin.go | ||
hostinfo_freebsd.go | ||
hostinfo_linux.go | ||
hostinfo_linux_test.go | ||
hostinfo_test.go | ||
hostinfo_uname.go | ||
hostinfo_windows.go |