tailscale/cmd/derper
Aaron Klotz 44f13d32d7 cmd/tailscaled, util/winutil: log Windows service diagnostics when the wintun device fails to install
I added new functions to winutil to obtain the state of a service and all
its depedencies, serialize them to JSON, and write them to a Logf.

When tstun.New returns a wrapped ERROR_DEVICE_NOT_AVAILABLE, we know that wintun
installation failed. We then log the service graph rooted at "NetSetupSvc".
We are interested in that specific service because network devices will not
install if that service is not running.

Updates https://github.com/tailscale/tailscale/issues/5531

Signed-off-by: Aaron Klotz <aaron@tailscale.com>
2022-09-28 16:09:10 -06:00
..
bootstrap_dns_test.go cmd/derper: add support for unpublished bootstrap DNS entries (#5529) 2022-09-02 14:48:30 -04:00
bootstrap_dns.go cmd/derper: add support for unpublished bootstrap DNS entries (#5529) 2022-09-02 14:48:30 -04:00
cert.go cmd/derper: fix data race & server panic in manual cert mode 2022-08-10 15:14:09 -07:00
depaware.txt cmd/tailscaled, util/winutil: log Windows service diagnostics when the wintun device fails to install 2022-09-28 16:09:10 -06:00
derper_test.go cmd/derper: refactor STUN path for testing, add serverSTUN benchmark 2021-09-13 10:12:32 -07:00
derper.go refactor: move from io/ioutil to io and os packages 2022-09-15 21:45:53 -07:00
mesh.go derp: use new node key type. 2021-10-28 16:02:11 -07:00
websocket.go cmd/derper, control/controlhttp: disable WebSocket compression 2022-09-15 15:35:49 -07:00