You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tailscale/util/linuxfw
Brad Fitzpatrick cec779e771 util/slicesx: add FirstElementEqual and LastElementEqual
And update a few callers as examples of motivation. (there are a
couple others, but these are the ones where it's prettier)

Updates #cleanup

Change-Id: Ic8c5cb7af0a59c6e790a599136b591ebe16d38eb
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
2 months ago
..
linuxfwtest util/linuxfw: initial implementation of package 2 years ago
detector.go util/linuxfw: fall back to nftables when iptables not found 2 months ago
fake.go cmd/containerboot,cmd/k8s-operator: enable IPv6 for fqdn egress proxies (#12577) 4 months ago
helpers.go util/slicesx: add FirstElementEqual and LastElementEqual 2 months ago
iptables.go util/linuxfw: fall back to nftables when iptables not found 2 months ago
iptables_runner.go util/linuxfw: don't try cleaning iptables on gokrazy 5 months ago
iptables_runner_test.go util/linuxfw,go.{mod,sum}: don't log errors when deleting non-existant chains and rules (#11852) 6 months ago
linuxfw.go all: add test for package comments, fix, add comments as needed 4 months ago
linuxfw_unsupported.go all: cleanup unused code, part 2 (#10670) 11 months ago
nftables.go util/cmpx: delete now that we're using Go 1.22 9 months ago
nftables_runner.go util/linuxfw: return nil interface not concrete type 3 months ago
nftables_runner_test.go util/linuxfw: fix IPv6 availability check for nftables (#12009) 6 months ago
nftables_types.go util/linuxfw: add new arch build constraints 1 year ago