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/ipn/localapi
Anton Tolchanov db34cdcfe7 cmd/tailscale/cli: add a risk message about rp_filter
We already present a health warning about this, but it is easy to miss
on a server when blackholing traffic makes it unreachable.

In addition to a health warning, present a risk message when exit node
is enabled.

Example:

```
$ tailscale up --exit-node=lizard
The following issues on your machine will likely make usage of exit nodes impossible:
- interface "ens4" has strict reverse-path filtering enabled
- interface "tailscale0" has strict reverse-path filtering enabled
Please set rp_filter=2 instead of rp_filter=1; see https://github.com/tailscale/tailscale/issues/3310
To skip this warning, use --accept-risk=linux-strict-rp-filter
$
```

Updates #3310

Signed-off-by: Anton Tolchanov <anton@tailscale.com>
6 months ago
..
cert.go cmd/tailscale: add --min-validity flag to the cert command (#12822) 1 year ago
debugderp.go derp/derphttp,ipn/localapi,net/captivedetection: add cache resistance to captive portal detection 10 months ago
disabled_stubs.go all: update copyright and license headers 3 years ago
localapi.go cmd/tailscale/cli: add a risk message about rp_filter 6 months ago
localapi_test.go net/netmon: publish events to event bus 8 months ago
pprof.go all: update copyright and license headers 3 years ago