James Sanderson and James 'zofrex' Sanderson
ddc0cd7e1e
ipn/ipnlocal: disconnect and block when key expires even when using seamless
...
Updates tailscale/corp#31478
Signed-off-by: James Sanderson <jsanderson@tailscale.com >
2025-09-17 12:09:09 +01:00
James Sanderson and James 'zofrex' Sanderson
046b8830c7
ipn/ipnlocal: add state change test for key expiry
...
Updates tailscale/corp#31478
Signed-off-by: James Sanderson <jsanderson@tailscale.com >
2025-09-05 15:14:45 +01:00
James Sanderson and James 'zofrex' Sanderson
5731869565
health: add an ETag to UnhealthyState for change detection
...
Updates tailscale/corp#30596
Signed-off-by: James Sanderson <jsanderson@tailscale.com >
2025-07-28 11:50:18 +01:00
James Sanderson and James 'zofrex' Sanderson
e0fcd596bf
tailcfg: send health update if DisplayMessage URL changes
...
Updates tailscale/corp#27759
Signed-off-by: James Sanderson <jsanderson@tailscale.com >
2025-07-15 16:09:37 +01:00
James Sanderson and James 'zofrex' Sanderson
735f15cb49
util/must: add Get2 for functions that return two values
...
Updates #cleanup
Signed-off-by: James Sanderson <jsanderson@tailscale.com >
2025-06-16 19:08:58 +01:00
James Sanderson and James 'zofrex' Sanderson
5716d0977d
health: prefix Warnables received from the control plane
...
Updates tailscale/corp#27759
Signed-off-by: James Sanderson <jsanderson@tailscale.com >
2025-06-09 10:35:22 +01:00
James Sanderson and James 'zofrex' Sanderson
13ee285675
health: show DisplayMessage actions in 'tailscale status'
...
Updates tailscale/corp#27759
Signed-off-by: James Sanderson <jsanderson@tailscale.com >
2025-06-04 13:57:13 +01:00
James Sanderson and James 'zofrex' Sanderson
5fde183754
ipn: add watch opt to include actions in health messages
...
Updates tailscale/corp#27759
Signed-off-by: James Sanderson <jsanderson@tailscale.com >
2025-06-04 11:01:02 +01:00
James Sanderson and James 'zofrex' Sanderson
8a3afa5963
ipn/ipnlocal: fix deadlock when filtering DisplayMessage URLs
...
Updates tailscale/corp#27759
Signed-off-by: James Sanderson <jsanderson@tailscale.com >
2025-06-03 11:09:38 +01:00
James Sanderson and James 'zofrex' Sanderson
11e83f9da5
controlclient,health,ipnlocal,tailcfg: add DisplayMessage support
...
Updates tailscale/corp#27759
Signed-off-by: James Sanderson <jsanderson@tailscale.com >
2025-05-30 14:48:11 +01:00
aa8bc23c49
control/controlclient,health,tailcfg: refactor control health messages ( #15839 )
...
* control/controlclient,health,tailcfg: refactor control health messages
Updates tailscale/corp#27759
Signed-off-by: James Sanderson <jsanderson@tailscale.com >
Signed-off-by: Paul Scott <408401+icio@users.noreply.github.com >
Co-authored-by: Paul Scott <408401+icio@users.noreply.github.com >
2025-05-22 13:40:32 +01:00
James Sanderson and James 'zofrex' Sanderson
85a7abef0c
tsnet: add test for packet filter generation from netmap
...
This is an integration test that covers all the code in Direct, Auto, and
LocalBackend that processes NetMaps and creates a Filter. The test uses
tsnet as a convenient proxy for setting up all the client pieces correctly,
but is not actually a test specific to tsnet.
Updates tailscale/corp#20514
Signed-off-by: James Sanderson <jsanderson@tailscale.com >
2025-05-08 17:18:30 +01:00
James Sanderson and James 'zofrex' Sanderson
1f1c323eeb
control/controlclient,health: add tests for control health tracking
...
Updates tailscale/corp#27759
Signed-off-by: James Sanderson <jsanderson@tailscale.com >
2025-04-29 12:36:38 +01:00
James Sanderson and James 'zofrex' Sanderson
ea79dc161d
tstest/integration/testcontrol: fix AddRawMapResponse race condition
...
Only send a stored raw map message in reply to a streaming map response.
Otherwise a non-streaming map response might pick it up first, and
potentially drop it. This guarantees that a map response sent via
AddRawMapResponse will be picked up by the main map response loop in the
client.
Fixes #15362
Signed-off-by: James Sanderson <jsanderson@tailscale.com >
2025-03-25 10:39:54 +00:00
James Sanderson and James 'zofrex' Sanderson
c261fb198f
tstest: make it clearer where AwaitRunning failed and why
...
Signed-off-by: James Sanderson <jsanderson@tailscale.com >
2025-03-21 13:09:46 +00:00
James Sanderson and James 'zofrex' Sanderson
5668de272c
tsnet: use test logger for testcontrol and node logs
...
Updates #cleanup
Signed-off-by: James Sanderson <jsanderson@tailscale.com >
2025-03-21 12:33:36 +00:00
James Sanderson and James 'zofrex' Sanderson
27ef9b666c
ipn/ipnlocal: add test for CapMap packet filters
...
Updates tailscale/corp#20514
Signed-off-by: James Sanderson <jsanderson@tailscale.com >
2025-03-17 11:24:54 +00:00
James Sanderson and James 'zofrex' Sanderson
fa374fa852
cmd/testwrapper: Display package-level output
...
Updates tailscale/corp#26861
Signed-off-by: James Sanderson <jsanderson@tailscale.com >
2025-03-04 16:01:28 +00:00
James Sanderson and James 'zofrex' Sanderson
45f29a208a
control/controlclient,tailcfg:types: remove MaxKeyduration from NetMap
...
This reverts most of 124dc10261 (#10401 ).
Removing in favour of adding this in CapMaps instead (#14829 ).
Updates tailscale/corp#16016
Signed-off-by: James Sanderson <jsanderson@tailscale.com >
2025-02-14 18:06:23 +00:00
James Sanderson and James 'zofrex' Sanderson
717fa68f3a
tailcfg: read max key duration from node cap map [capver 114]
...
This will be used by clients to make better decisions on when to warn users
about impending key expiry.
Updates tailscale/corp#16016
Signed-off-by: James Sanderson <jsanderson@tailscale.com >
2025-02-14 18:06:23 +00:00
James 'zofrex' Sanderson and GitHub
e142571397
ipn/ipnlocal: add GetFilterForTest ( #15025 )
...
Needed to test full packet filter in e2e tests. See tailscale/corp#26596
Updates tailscale/corp#20514
Signed-off-by: James Sanderson <jsanderson@tailscale.com >
2025-02-14 15:25:48 +00:00
James 'zofrex' Sanderson and GitHub
124dc10261
controlclient,tailcfg,types: expose MaxKeyDuration via localapi ( #10401 )
...
Updates tailscale/corp#16016
Signed-off-by: James Sanderson <jsanderson@tailscale.com >
2024-01-05 12:06:12 +00:00
10c595d962
ipn/ipnlocal: refresh node key without blocking if cap enabled ( #10529 )
...
Updates tailscale/corp#16016
Signed-off-by: James Sanderson <jsanderson@tailscale.com >
Co-authored-by: Maisem Ali <maisem@tailscale.com >
2024-01-04 17:29:04 +00:00