tcptun

安全与信任

检查、钉版本、失败即关闭。

tcptun 可供检查:运行时源码、发布标签、npm 包布局,以及可先阅读再执行的安装器。本页记录供应链与安全属性,不做营销宣称。

供应链

二进制从哪来。

构建身份

运行时构建会暴露版本身份(例如受支持 bridge 上的 CoreVersion / 构建元数据)。mux 与 resume 请尽量让隧道两端版本一致。

安装安全

不要盲目管道执行不信任的脚本。

一键命令方便。更安全:先下载、阅读,再运行。或用 npm 安装,避免管道执行 shell。 curl -fsSL https://tcptun.com/install.sh | sh

推荐安装流程
# 1) Download installer for inspection
curl -fsSL https://tcptun.com/install.sh -o install-tcptun.sh

# 2) Read it
less install-tcptun.sh

# 3) Run only if you accept the script
sh install-tcptun.sh

# Prefer pinning a version
TCPTUN_VERSION=0.5.0 sh install-tcptun.sh

# Or install from npm without curl|sh
npm install -g [email protected]

运行时属性

与安全相关的默认行为。

严格配置校验

未知字段会被拒绝。打开监听前会检查标签、引用、认证、传输与安全组合。

失败即关闭

无效拓扑不会部分启动。校验失败时 DNS 与路由拒绝隐蔽的不安全回退。

资源有界

mux 池、resume 缓冲和数据包路径使用显式预算,长期服务可预期。

默认不记录凭证

日志级别由运维控制;本站浏览器工具在本地生成密钥,不会把材料上传到本站。