tailscale/cmd/derper
Brad Fitzpatrick f68431fc02 cmd/derper: add /bootstrap-dns handler
For option (d) of #1405.

For an HTTPS request of /bootstrap-dns, this returns e.g.:

{
  "log.tailscale.io": [
    "2600:1f14:436:d603:342:4c0d:2df9:191b",
    "34.210.105.16"
  ],
  "login.tailscale.com": [
    "2a05:d014:386:203:f8b4:1d5a:f163:e187",
    "3.121.18.47"
  ]
}

Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
2021-02-26 09:29:28 -08:00
..
bootstrap_dns.go cmd/derper: add /bootstrap-dns handler 2021-02-26 09:29:28 -08:00
derper.go cmd/derper: add /bootstrap-dns handler 2021-02-26 09:29:28 -08:00
derper_test.go derp, cmd/derper: add frameWatchConns, framePeerPresent for inter-DERP routing 2020-06-03 08:03:29 -07:00
mesh.go derp/derphttp: add a context and infoLogger option to RunWatchConnectionLoop 2021-02-12 10:59:11 -08:00