Skip to content

streamlocal: resolve symlink directories when checking unix socket paths - #12

Merged
jentfoo merged 1 commit into
masterfrom
jent/streamlocal-symlink-following-fix
Jul 16, 2026
Merged

streamlocal: resolve symlink directories when checking unix socket paths#12
jentfoo merged 1 commit into
masterfrom
jent/streamlocal-symlink-following-fix

Conversation

@jentfoo

@jentfoo jentfoo commented Jul 15, 2026

Copy link
Copy Markdown

This change follows up on commit 90d7dcb to also cover potential symlink directories in reverse socket forwarding.

This is done by adding a new validateAndResolveListenPath, this is different from validateAndResolveSocketPath as it must validate to the directory level (socket file may not exist).

Updates tailscale/corp#41997

This change follows up on commit 90d7dcb to also cover potential symlink directories in reverse socket forwarding.

This is done by adding a new `validateAndResolveListenPath`, this is different from `validateAndResolveSocketPath` as it must validate to the directory level (socket file may not exist).

Updates tailscale/corp#41997

Signed-off-by: Mike Jensen <mikej@tailscale.com>
@jentfoo
jentfoo requested review from creachadair and patrickod July 15, 2026 21:15
@jentfoo jentfoo self-assigned this Jul 15, 2026
@jentfoo
jentfoo merged commit 1a0f895 into master Jul 16, 2026
4 checks passed
patrickod pushed a commit to tailscale/tailscale that referenced this pull request Jul 16, 2026
Updates tailscale/corp#41997

Change-Id: I5fb3d4705766deb71abd0b79a186e99e86be0b15
Signed-off-by: Mike Jensen <mikej@tailscale.com>
patrickod pushed a commit to tailscale/tailscale that referenced this pull request Jul 16, 2026
Updates tailscale/corp#41997

Change-Id: I5fb3d4705766deb71abd0b79a186e99e86be0b15
Signed-off-by: Mike Jensen <mikej@tailscale.com>
jentfoo added a commit to tailscale/tailscale that referenced this pull request Jul 16, 2026
* Update tailscale/gliderssh to pull in tailscale/gliderssh#12

Updates tailscale/corp#41997

Change-Id: I5fb3d4705766deb71abd0b79a186e99e86be0b15
Signed-off-by: Mike Jensen <mikej@tailscale.com>

* .github, tstest/natlab/vmtest: replace old VM runner job with natlab tests

The "vm" CI job ran a single test (TestRunUbuntu2404 from
tstest/integration/vms) on a privileged self-hosted runner. Its coverage
is nearly all redundant with the modern natlab vmtest suite, which boots
real Ubuntu VMs and already exercises connectivity, kernel TUN, SSH,
Taildrop, ACME, and OS DNS integration on GitHub-hosted runners.

The two things it tested that natlab didn't are added back as natlab
tests so the runner can be decommissioned:

TestUbuntuSystemdUnit runs tailscaled via the stock systemd unit that
Linux packages ship (cmd/tailscaled/tailscaled.service with
tailscaled.defaults as its EnvironmentFile) instead of launching the
binary directly, verifying the unit's directives and its Type=notify
readiness handshake.

TestDNSExtraRecordsSearchDomains verifies that control-plane DNS
ExtraRecords and search domains are resolvable through the guest's OS
resolver (libc to systemd-resolved to quad-100).

Updates #13038

Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
Change-Id: I8d0dfb8b8153289e7ca78f3af03dfece9497bfe8
(cherry picked from commit bef2cd8)

---------

Signed-off-by: Mike Jensen <mikej@tailscale.com>
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
Co-authored-by: Brad Fitzpatrick <bradfitz@tailscale.com>
jentfoo added a commit to tailscale/tailscale that referenced this pull request Jul 16, 2026
Updates tailscale/corp#41997

Change-Id: I5fb3d4705766deb71abd0b79a186e99e86be0b15
Signed-off-by: Mike Jensen <mikej@tailscale.com>
jentfoo added a commit to tailscale/tailscale that referenced this pull request Jul 16, 2026
Updates tailscale/corp#41997

Change-Id: I5fb3d4705766deb71abd0b79a186e99e86be0b15

Signed-off-by: Mike Jensen <mikej@tailscale.com>
eFog-R pushed a commit to eFog-R/tailscale that referenced this pull request Aug 3, 2026
…le#20485)

Updates tailscale/corp#41997

Change-Id: I5fb3d4705766deb71abd0b79a186e99e86be0b15

Signed-off-by: Mike Jensen <mikej@tailscale.com>
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