Repository navigation
Releases
PinNode v0.3.1
Highlights
PinNode v0.3.1 updates the Go toolchain and security dependencies while retaining the embedded Tailscale v1.102.4 core and PinNode's Android network-binding patches.
Security and build updates
- Build Android and the Linux server with Go 1.27.3, including the latest crypto/x509 certificate distrust update.
- Update the Android/Tailscale dependency graph to golang.org/x/crypto v0.57.0, x/net v0.60.0, x/text v0.42.0 and x/mod v0.41.0, plus their required dependencies.
- Update github.com/insomniacslk/dhcp to the fixed c76316d4aa82 snapshot and the server's x/crypto dependency to v0.56.0.
- Cover the SSH, HTTP/2, text parsing, checksum database and DHCP advisories documented in the security update report.
- Run Android vulnerability checks with the same Tailscale Go build tags used for the APK, and retain the local Tailscale source replacement and forwarding patches.
- Refresh versioned license inventories and include the Linux server dependency inventory in the shared license bundle.
Reliability and maintenance
- Harden Android session startup, retries and cleanup, with regression coverage for interrupted and resumed startup paths.
- Rotate a stored Tailscale API/OAuth credential without changing its ID or breaking existing session references; invalidate cached OAuth credentials after rotation.
- Add local
admin-reset-passwordandbackupcommands for administrator recovery and consistent SQLite snapshots. - Respect reduced-motion preferences in the administrator console and add deployment examples and release-readiness documentation.
Validation and upgrade notes
The release includes signed Android APK and Linux amd64 server assets, SHA-256 files and the generated license bundle. The canonical APK has no fixed default server and keeps the existing application identity and signing key.
Source vulnerability checks report no affected imported packages or reachable vulnerable functions in the product targets. The unmaintained OpenPGP advisory GO-2026-5932 remains a module-level dependency finding; OpenPGP is not imported by these targets. Binary scanning after APK symbol stripping conservatively reports that same advisory. The report preserves this result and the scanner's precision limits rather than suppressing it.
Unused upstream Go tools and the two upstream Yarn projects still have inventory-level advisories; they are classified separately from product build dependencies in the report. Device/OEM/network acceptance remains outside the completed automated checks.
Before upgrading a server, back up the SQLite database and its database-adjacent pinnode.secret together. The backup command does not include the instance key.
Full changelog
PinNode v0.3.0
Highlights
PinNode v0.3.0 brings end-to-end administrator session management and updates the embedded Tailscale client to stable v1.102.4.
Administrator session management
- Create single-use six-digit pairing PINs with a selected managed Tailscale API/OAuth credential.
- View pending PINs, active sessions, and read-only stopped-session history in the admin console.
- Inspect PinNode heartbeats, client state, Tailscale control-plane availability and online state, addresses, routes, Exit Node state, configuration revisions, and client synchronization state.
- Edit a session's desired configuration from the admin console and apply it through the existing Android synchronization path.
- Stop active sessions from the admin console with idempotent cleanup of routes, devices, and auth keys.
- Copy policy configuration into a new session without reusing the previous session identity, device identity, or session credentials.
- Use authoritative attach snapshots for configuration, revision, routes, and expiry data.
Reliability and security
- Determine Tailscale online state from
connectedToControl, avoiding false offline or warning states when the legacyonlinefield is stale. - Enforce the database-adjacent
pinnode.secretas the authoritative instance key once it exists; stale environment overrides can no longer silently switch an existing database to another key. - Validate stored Tailscale credentials during startup and fail fast on an invalid instance key or malformed credential instead of starting with an unusable configuration.
- Add strict configuration patch validation, revision-based compare-and-swap protection, high-risk policy confirmation, and client-capability checks.
- Keep stopped-session history safe for inspection and policy copying without exposing session tokens, auth keys, or credential secrets.
Upstream and build updates
- Update the embedded Tailscale source to v1.102.4.
- Update the Android NDK build requirement to 30.0.16248370.
- Publish signed Android and Linux amd64 release artifacts with checksums and the generated third-party license bundle.
Upgrade note
For an existing server, keep server/data/pinnode.db and its database-adjacent server/data/pinnode.secret together. Once the secret file exists, it is the instance's key authority; the server intentionally refuses to fall back to conflicting environment key overrides.
The API details are documented in docs/api.md and docs/openapi.yaml.
Full changelog
PinNode v0.2.0
PinNode v0.2.0
本版本完善了受管会话、管理运维和 Android 救援网络能力。
主要更新
- 新增管理控制台,集中查看和管理配置、活动会话、客户端状态以及 Tailscale 节点快照。
- 新增服务端与 Android 客户端遥测、实时日志和能力协商,便于定位会话及网络问题。
- 完善会话退出策略和清理租约,支持按时间、固定时间点以及网络变化触发退出,并加强会话清理和能力检查。
- 改进管理员事件流、客户端日志上传和相关访问控制。
- 改进 Android 救援模式:主动请求并保持移动数据通道,让控制面流量稳定使用蜂窝网络;退出或停止时会清理网络请求。
- 同步更新 API、OpenAPI、架构、安全模型和发布文档。
发布资产
APK 使用包名 com.lsy223622.pinnode,最低支持 Android 13 / API 33,目标 API 36;服务器包为 Linux amd64,解压后包含 pinnode-server 和 LICENSES.md。
构建与验证
- GitHub Actions Release APK #33961840683 已成功完成。
- 已通过 Android 单元测试、服务端测试、Go 测试与静态检查、Android 格式检查、许可证检查以及 Linux
amd64服务器构建。 - APK 签名校验通过,使用 APK Signature Scheme v3。
- APK、服务器包及其
.sha256文件已完成校验和核对,APK 内置许可证与发布的许可证清单一致。 - 本次 CI 构建了 instrumentation test APK,但没有连接 Android 真机或模拟器执行 connected-device 测试。
完整变更记录:v0.1.0...v0.2.0。
PinNode v0.1.0
让 Android 手机成为可管理的 Tailscale 节点
PinNode 是一个自托管的 Android Tailscale 节点方案:由你自己的服务端统一下发配置,让手机在需要时加入 tailnet,并把路由、DNS、出口节点和退出策略集中管理。
它适合把手机变成:
- 救援连接:Wi-Fi 没有 Internet 时,控制面和非 LAN 流量仍可固定走移动数据,同时把当前 Wi-Fi 网关发布为精确的
/32路由。 - 子网路由器:把手机所在 Wi-Fi IPv4 子网安全地发布到 tailnet,便于访问家里或办公室的设备。
- 出口节点:把手机作为可选择的 Tailscale Exit Node,在需要时为其他设备提供移动网络出口。
- 普通受管节点:接受 tailnet 下发的 DNS 和路由,但不自动发布手机所在 LAN。
这个版本的亮点
- 自托管控制面,服务端和运行数据由部署者自己掌握。
- 手机只需输入一次性六位授权码,不把管理员凭据放进 APK。
- 配置由服务端统一管理,支持 DNS、路由、SNAT、Shields Up、Hostname、Exit Node 和策略性退出。
- 会话退出时主动撤销路由并清理受管节点,减少临时访问残留。
- 公开 APK 不内置、也不锁定任何服务器地址;你可以直接配置自己的 PinNode 服务端。
- 每个二进制文件名都带版本和构建提交短哈希,服务端压缩包内保留恒定的
pinnode-server文件名,便于审计和替换部署。
快速开始
- 下载下面的 Android APK,并按校验文件核对 SHA-256。
- 部署同一 Release 中的 Linux
amd64服务端压缩包,解压后使用其中的pinnode-server,再按服务端文档配置 HTTPS、数据库和实例密钥。 - 在管理页配置 Tailscale OAuth client 或 API token,选择模板并生成一次性授权码。
- 在手机中输入授权码,启动并观察节点、路由和退出状态。
下载文件
pinnode-android-v0.1.0-c8dd3abae822.apk:可直接安装的签名 APK;包内assets/LICENSES.md内嵌合并许可证。pinnode-android-v0.1.0-c8dd3abae822.apk.sha256:APK 校验和。pinnode-server-v0.1.0-linux-amd64-c8dd3abae822.tar.gz:Linuxamd64服务端及随附LICENSES.md。pinnode-server-v0.1.0-linux-amd64-c8dd3abae822.tar.gz.sha256:服务端压缩包校验和。pinnode-v0.1.0-c8dd3abae822-LICENSES.md:与本次构建对应的合并许可证、版权、专利和第三方声明。
源码与构建对应于 v0.1.0 tag。PinNode 原创代码采用 GNU GPLv3;所有发布二进制随附的许可和归属材料见 LICENSES.md,其源文件也保留在仓库中。