You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Nick Khyl
f3f2f72f96
ipn/ipnlocal: do not attempt to start the auditlogger with a nil transport
...
(*LocalBackend).setControlClientLocked() is called to both set and reset b.cc.
We shouldn't attempt to start the audit logger when b.cc is being reset (i.e., cc is nil).
However, it's fine to start the audit logger if b.cc implements auditlog.Transport, even if it's not a controlclient.Auto but a mock control client.
In this PR, we fix both issues and add an assertion that controlclient.Auto is an auditlog.Transport. This ensures a compile-time failure if controlclient.Auto ever stops being a valid transport due to future interface or implementation changes.
Updates tailscale/corp#26435
Signed-off-by: Nick Khyl <nickk@tailscale.com>
1 year ago
..
auditlog
control/controlclient, ipn: add client audit logging ( #14950 )
1 year ago
conffile
ipn/conffile: don't depend on hujson on iOS/Android
2 years ago
desktop
various: keep tailscale connected when Always On mode is enabled on Windows
1 year ago
ipnauth
control/controlclient, ipn: add client audit logging ( #14950 )
1 year ago
ipnlocal
ipn/ipnlocal: do not attempt to start the auditlogger with a nil transport
1 year ago
ipnserver
various: keep tailscale connected when Always On mode is enabled on Windows
1 year ago
ipnstate
ipn: update AddPeer to include TaildropTarget ( #15091 )
1 year ago
localapi
ipn/{ipnserver,localapi},tsnet: use ipnauth.Self as the actor in tsnet localapi handlers
1 year ago
policy
ipn,tailconfig: clean up unreleased and removed app connector service
2 years ago
store
cmd/k8s-operator: configure proxies for HA Ingress to run in cert share mode ( #15308 )
1 year ago
backend.go
ipn: declare NotifyWatchOpt consts without using iota
1 year ago
conf.go
ipn: ensure that conffile is source of truth for advertised services. ( #15361 )
1 year ago
doc.go
ipn: generate LoginProfileView and use it instead of *LoginProfile where appropriate
1 year ago
ipn_clone.go
ipn: generate LoginProfileView and use it instead of *LoginProfile where appropriate
1 year ago
ipn_test.go
all: do not depend on the testing package
2 years ago
ipn_view.go
ipn: generate LoginProfileView and use it instead of *LoginProfile where appropriate
1 year ago
prefs.go
cmd/tailscale,ipn,tailcfg: add `tailscale advertise` subcommand behind envknob ( #13734 )
2 years ago
prefs_test.go
types/persist: remove Persist.LegacyFrontendPrivateMachineKey
1 year ago
serve.go
tailcfg: add ServiceName
1 year ago
serve_test.go
ipn: [serve] warn that foreground funnel won't work if shields are up ( #14685 )
1 year ago
store.go
ipn: add comment about thread-safety to StateStore
2 years ago
store_test.go
ipn: avoid useless no-op WriteState calls
3 years ago