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
Aaron Klotz f8a4df66de cmd/tailscale/cli, ipn: move exit node IP parsing and validation from cli into prefs.
We need to be able to provide the ability for the GUI clients to resolve and set
the exit node IP from an untrusted string, thus enabling the ability to specify
that information via enterprise policy.

This patch moves the relevant code out of the handler for `tailscale up`,
into a method on `Prefs` that may then be called by GUI clients.

We also update tests accordingly.

Updates https://github.com/tailscale/corp/issues/4239

Signed-off-by: Aaron Klotz <aaron@tailscale.com>
3 years ago
..
addlicense
cloner tailcfg: make Node.Hostinfo a HostinfoView 3 years ago
derper cmd/derper: add --stun-port flag 3 years ago
derpprobe cmd/derpprobe: check derper TLS certs too 3 years ago
hello tailcfg: make Node.Hostinfo a HostinfoView 3 years ago
mkpkg
printdep cmd/printdep: add flag to print out Go toolchain tarball URL 3 years ago
speedtest
tailscale cmd/tailscale/cli, ipn: move exit node IP parsing and validation from cli into prefs. 3 years ago
tailscaled ssh/tailssh: create login sessions for new connections 3 years ago
testcontrol
tsshd tsshd: fix double exit with different exit codes 3 years ago