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/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>
12 months ago
..
bootstrap_dns.go util/slicesx: add package for generic slice functions, use 1 year ago
bootstrap_dns_test.go all: use tstest.Replace more 1 year ago
cert.go cmd/derper: disable http2 1 year ago
depaware.txt util/linuxfw: remove yet-unused code to fix linux/arm64 crash 12 months ago
derper.go cmd/derper,tsweb: consistently add HTTP security headers (#8579) 12 months ago
derper_test.go all: update copyright and license headers 1 year ago
mesh.go all: update to Go 1.20, use strings.CutPrefix/Suffix instead of our fork 1 year ago
websocket.go all: update copyright and license headers 1 year ago