Skip to content

libtailscale: bump tailscale and simplify tests#53

Open
raggi wants to merge 1 commit intomainfrom
raggi/concurrency
Open

libtailscale: bump tailscale and simplify tests#53
raggi wants to merge 1 commit intomainfrom
raggi/concurrency

Conversation

@raggi
Copy link
Member

@raggi raggi commented Feb 28, 2026

Bump tailscale so that we can simplify tests now that self-dial works.

Fix a bug in TsnetGetRemoteAddr where the listener's addr map was keyed by the sender-side fd (closed after sendmsg), but looked up by the receiver-side fd (a different number from recvmsg). This worked by coincidence when fd allocation was predictable but broke under self-dial. Fix by sending the remote address string as sendmsg data alongside the fd rights, and populating the map in TsnetAccept with the received fd.

Add make test target that runs all test suites available on the host platform (Go always, Ruby if bundler is present, Swift if on macOS with xcodebuild).

Bump tailscale so that we can simplify tests now that self-dial works.

Fix a bug in TsnetGetRemoteAddr where the listener's addr map was keyed
by the sender-side fd (closed after sendmsg), but looked up by the
receiver-side fd (a different number from recvmsg). This worked by
coincidence when fd allocation was predictable but broke under self-dial.
Fix by sending the remote address string as sendmsg data alongside the
fd rights, and populating the map in TsnetAccept with the received fd.

Add make test target that runs all test suites available on the host
platform (Go always, Ruby if bundler is present, Swift if on macOS with
xcodebuild).
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