tailscale/cmd/derper
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
..
bootstrap_dns_test.go all: use tstest.Replace more 2023-03-04 12:24:55 -08:00
bootstrap_dns.go util/slicesx: add package for generic slice functions, use 2023-03-03 16:25:48 -05:00
cert.go cmd/derper: disable http2 2023-04-26 20:45:32 -07:00
depaware.txt util/linuxfw: remove yet-unused code to fix linux/arm64 crash 2023-07-20 23:18:40 -07:00
derper_test.go all: update copyright and license headers 2023-01-27 15:36:29 -08:00
derper.go cmd/derper,tsweb: consistently add HTTP security headers (#8579) 2023-07-11 11:53:46 -07:00
mesh.go all: update to Go 1.20, use strings.CutPrefix/Suffix instead of our fork 2023-02-01 15:23:54 -08:00
websocket.go all: update copyright and license headers 2023-01-27 15:36:29 -08:00