tailscale/hostinfo
KevinLiang10 7ed3681cbe tailcfg: Add FirewallMode to NetInfo to record wether host using iptables or nftables
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>
2023-08-15 18:52:51 -04:00
..
hostinfo.go tailcfg: Add FirewallMode to NetInfo to record wether host using iptables or nftables 2023-08-15 18:52:51 -04:00
hostinfo_darwin.go all: update copyright and license headers 2023-01-27 15:36:29 -08:00
hostinfo_freebsd.go all: update copyright and license headers 2023-01-27 15:36:29 -08:00
hostinfo_linux.go various: add detection and Taildrop for Unraid 2023-05-04 13:40:13 -07:00
hostinfo_linux_test.go all: update copyright and license headers 2023-01-27 15:36:29 -08:00
hostinfo_test.go all: update copyright and license headers 2023-01-27 15:36:29 -08:00
hostinfo_uname.go all: update copyright and license headers 2023-01-27 15:36:29 -08:00
hostinfo_windows.go all: update copyright and license headers 2023-01-27 15:36:29 -08:00