tailscale/ipn
Brad Fitzpatrick 96d806789f ipn: add Notify.LocalTCPPort field for macOS Network Extension to use
We want the macOS Network Extension to share fate with the UI frontend,
so we need the backend to know when the frontend disappears.

One easy way to do that is to reuse the existing TCP server it's
already running (for tailscale status clietns).

We now tell the frontend our ephemeral TCP port number, and then have
the UI connect to it, so the backend can know when it disappears.

There are likely Swift ways of doing this, but I couldn't find them
quickly enough, so I reached for the hammer I knew.
2020-07-09 09:11:23 -07:00
..
ipnserver ipn, ipn/ipnserver: add support for serving in error-message-only mode 2020-07-08 14:20:01 -07:00
ipnstate cmd/tailscale: add tailscale status region name, last write, consistently star 2020-07-03 13:44:22 -07:00
policy ipn, ipn/policy: filter portlist to a short list of "interesting" ports 2020-04-01 10:03:44 -07:00
backend.go ipn: add Notify.LocalTCPPort field for macOS Network Extension to use 2020-07-09 09:11:23 -07:00
doc.go Move Linux client & common packages into a public repo. 2020-02-09 09:32:57 -08:00
fake_test.go ipn, wgengine/filter: remove exported type aliases 2020-05-11 07:19:17 -07:00
handle.go ipn, wgengine/filter: remove exported type aliases 2020-05-11 07:19:17 -07:00
local.go ipn, control/controlclient: fix some data races 2020-07-08 16:51:17 -07:00
message.go ipn, ipn/ipnserver: add support for serving in error-message-only mode 2020-07-08 14:20:01 -07:00
message_test.go Add tstest.PanicOnLog(), and fix various problems detected by this. 2020-05-13 23:12:35 -04:00
prefs.go ipn: add Hostname override to Prefs 2020-06-02 21:40:27 +02:00
prefs_test.go ipn: add Hostname override to Prefs 2020-06-02 21:40:27 +02:00
store.go ipn: have NewFileStore try to create directories as needed 2020-03-03 11:51:44 -08:00
store_test.go Add tstest.PanicOnLog(), and fix various problems detected by this. 2020-05-13 23:12:35 -04:00