Skip to content

mote: update for tailcat's AllowClient API - #5

Merged
rsc merged 1 commit into
rsc:mainfrom
bradfitz:bradfitz/tailcat-allowclient
Sep 26, 2026
Merged

rsc merged 1 commit into
rsc:mainfrom
bradfitz:bradfitz/tailcat-allowclient

Conversation

@bradfitz

Copy link
Copy Markdown
Contributor

Bump github.com/tailscale/tailcat to 7d80847ede15, which replaces
Server.AllowedClients with a Server.AllowClient hook and adds the
KeySet type:

tailscale/tailcat@7d80847ede15

mote now builds a KeySet from allowed.txt and installs its Contains
method as the hook when the file has any keys. With no keys the hook
stays nil, so the server still answers everyone, as before. The
"answering N allowed client keys" log line moves into startTailcat,
where the count is known, since the server no longer exposes the list.

Updates tailscale/tailcat#119
Updates tailscale/tailcat#134

Bump github.com/tailscale/tailcat to 7d80847ede15, which replaces
Server.AllowedClients with a Server.AllowClient hook and adds the
KeySet type:

tailscale/tailcat@7d80847ede15

mote now builds a KeySet from allowed.txt and installs its Contains
method as the hook when the file has any keys. With no keys the hook
stays nil, so the server still answers everyone, as before. The
"answering N allowed client keys" log line moves into startTailcat,
where the count is known, since the server no longer exposes the list.

Updates tailscale/tailcat#119
Updates tailscale/tailcat#134
@bradfitz

Copy link
Copy Markdown
Contributor Author

cc @rsc

@rsc

rsc commented Sep 26, 2026

Copy link
Copy Markdown
Owner

Thanks!

@rsc
rsc merged commit cfa46fc into rsc:main Sep 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants