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 88cc0ad9f7 util/linuxfw: remove yet-unused code to fix linux/arm64 crash
The util/linuxfw/iptables.go had a bunch of code that wasn't yet used
(in prep for future work) but because of its imports, ended up
initializing code deep within gvisor that panicked on init on arm64
systems not using 4KB pages.

This deletes the unused code to delete the imports and remove the
panic. We can then cherry-pick this back to the branch and restore it
later in a different way.

A new test makes sure we don't regress in the future by depending on
the panicking package in question.

Fixes #8658

Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
11 months ago
..
linuxfwtest util/linuxfw: initial implementation of package 1 year ago
helpers.go util/linuxfw: initial implementation of package 1 year ago
iptables.go util/linuxfw: remove yet-unused code to fix linux/arm64 crash 11 months ago
iptables_runner.go util/linuxfw: add nftables support 11 months ago
iptables_runner_test.go util/linuxfw: decoupling IPTables logic from linux router 1 year ago
linuxfw.go util/linuxfw: add nftables support 11 months ago
linuxfw_unsupported.go util/linuxfw: add new arch build constraints 1 year ago
nftables.go util/linuxfw: add new arch build constraints 1 year ago
nftables_runner.go util/linuxfw: add nftables support 11 months ago
nftables_runner_test.go util/linuxfw: add nftables support 11 months ago
nftables_types.go util/linuxfw: add new arch build constraints 1 year ago