0f18801716
cmd/cloner: support maps with clone ptrs
...
In order to clone DERPMaps, it was necessary to extend the cloner so that it supports
nested pointers inside of maps which are also cloneable. This also adds cloning for DERPRegions
and DERPNodes because they are on DERPMap's maps.
Signed-off-by: julianknodt <julianknodt@gmail.com >
2021-06-22 22:11:38 -07:00
0debb99f08
tailcfg: add DNSConfig.ExtraRecords
...
Updates #1748
Updates #1235
Updates #2055
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com >
2021-06-16 15:52:21 -07:00
cd282ec00f
tailcfg: add DNSConfig.CertDomains
...
Updates #1235
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com >
2021-06-15 14:05:46 -07:00
28ba20d733
tailcfg: add FallbackResolvers to DNSConfig.
...
Signed-off-by: David Anderson <danderson@tailscale.com >
2021-04-20 12:49:48 -07:00
670838c45f
tailcfg, control/controlclient: (mapver 16) add Node.Online, MapResponse.OnlineChange
...
And fix PeerSeenChange bug where it was ignored unless there were
other peer changes.
Updates tailscale/corp#1574
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com >
2021-04-15 20:07:24 -07:00
fad21af01c
tailcfg: add DNS routes and advanced resolver config.
...
Signed-off-by: David Anderson <danderson@tailscale.com >
2021-04-08 15:29:08 -07:00
2f60ab92dd
tailcfg: add Node.Capabilities, remove old stuff
...
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com >
2021-04-01 15:09:08 -07:00
ef7bac2895
tailcfg, net/portmapper, wgengine/magicsock: add NetInfo.HavePortMap
...
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com >
2021-03-09 15:17:24 -08:00
73552eb32e
tailcfg: add Hostinfo.Package
...
Updates tailscale/corp#440
2021-02-15 12:58:56 -08:00
4dab0c1702
tailcfg: update node display name fields and methods ( #1207 )
...
Signed-off-by: Sonia Appasamy <sonia@tailscale.com >
Consolidates the node display name logic from each of the clients into
tailcfg.Node. UI clients can use these names directly, rather than computing
them independently.
2021-01-27 11:50:31 -05:00
567c5a6d9e
tailcfg, controlclient: add DisplayName field to tailcfg.Node and populate it from controlclient ( #1191 )
...
Signed-off-by: Sonia Appasamy <sonia@tailscale.com >
2021-01-25 17:41:39 -05:00
49d00b6a28
tailcfg: add StableID to Node. #1178
...
Signed-off-by: David Anderson <danderson@tailscale.com >
2021-01-21 13:33:19 -08:00
560da4884f
tailcfg: add Node.Sharer field
...
Updates #992
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com >
2021-01-05 13:53:00 -08:00
2fe770ed72
all: replace wgcfg.IP and wgcfg.CIDR with netaddr types
...
Signed-off-by: Josh Bleecher Snyder <josh@tailscale.com >
2020-12-28 13:00:42 -08:00
c0af7deb86
tailcfg, cmd/tailscale: add Hostinfo.ShareeNode, hide in "tailscale status"
2020-12-01 15:29:18 -08:00
0710fca0cd
tailcfg: include ShieldsUp in HostInfo
2020-11-24 10:51:13 -05:00
7616acd118
tailcfg: add Clone method for RegisterResponse
...
Signed-off-by: David Crawshaw <crawshaw@tailscale.com >
2020-10-06 14:06:11 -04:00
96160973ce
tailcfg: regenerate Clone methods
...
cmd/cloner has changed. Regenerate.
Signed-off-by: Josh Bleecher Snyder <josh@tailscale.com >
2020-09-04 16:25:18 -07:00
95cddfcc75
tailcfg: add Clone methods to Login and DNSConfig
...
Signed-off-by: David Crawshaw <crawshaw@tailscale.com >
2020-09-04 07:48:45 -04:00
9e2e8c80af
tailcfg: more Clone methods
...
Signed-off-by: David Crawshaw <crawshaw@tailscale.com >
2020-08-21 08:38:08 -04:00
ec4feaf31c
cmd/cloner, tailcfg: fix nil vs len 0 issues, add tests, use for Hostinfo
...
Also use go:generate and https://golang.org/s/generatedcode header style.
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com >
2020-07-27 14:11:41 -07:00
990e2f1ae9
tailcfg: generate some Clone methods
...
Signed-off-by: David Crawshaw <crawshaw@tailscale.com >
2020-07-27 11:08:09 +10:00