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
Brad Fitzpatrick e40e5429c2 cmd/tailscale/cli: make 'tailscale up' protect --advertise-exit-node removal
The new "tailscale up" checks previously didn't protect against
--advertise-exit-node being omitted in the case that
--advertise-routes was also provided. It wasn't done before because
there is no corresponding pref for "--advertise-exit-node"; it's a
helper flag that augments --advertise-routes. But that's an
implementation detail and we can still help users. We just have to
special case that pref and look whether the current routes include
both the v4 and v6 /0 routes.

Fixes #1767

Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
5 years ago
..
cloner all: adjust Unix permissions for those without umasks 5 years ago
derper cmd/derper: add /bootstrap-dns handler 5 years ago
hello client/tailscale/apitype: move local API types to new apitype package 5 years ago
microproxy cmd/microproxy: add -insecure flag 5 years ago
mkpkg cmd/mkpkg: support adding empty directories. 6 years ago
tailscale cmd/tailscale/cli: make 'tailscale up' protect --advertise-exit-node removal 5 years ago
tailscaled cmd/tailscaled: don't block ipnserver startup behind engine init on Windows 5 years ago
tsshd net/interfaces: remove IsTailscaleIP, make callers use tsaddr. 5 years ago