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>
2023-07-20 23:18:40 -07:00
..
linuxfwtest util/linuxfw: initial implementation of package 2023-02-09 14:20:24 -05:00
helpers.go util/linuxfw: initial implementation of package 2023-02-09 14:20:24 -05:00
iptables_runner_test.go util/linuxfw: decoupling IPTables logic from linux router 2023-06-27 19:54:27 -04:00
iptables_runner.go util/linuxfw: add nftables support 2023-07-19 14:33:23 -04:00
iptables.go util/linuxfw: remove yet-unused code to fix linux/arm64 crash 2023-07-20 23:18:40 -07:00
linuxfw_unsupported.go util/linuxfw: add new arch build constraints 2023-06-30 18:22:15 -04:00
linuxfw.go util/linuxfw: add nftables support 2023-07-19 14:33:23 -04:00
nftables_runner_test.go util/linuxfw: add nftables support 2023-07-19 14:33:23 -04:00
nftables_runner.go util/linuxfw: add nftables support 2023-07-19 14:33:23 -04:00
nftables_types.go util/linuxfw: add new arch build constraints 2023-06-30 18:22:15 -04:00
nftables.go util/linuxfw: add new arch build constraints 2023-06-30 18:22:15 -04:00