pkg.soopen package index

brew / 排名 3312

使用 Homebrew, MacPorts, Nix, scoop 安装 wstunnel

查看 wstunnel 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install wstunnel

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install wstunnel

MacPorts ports tree · net/wstunnel/Portfile · 来源: api.github.com

Linux

Nix已验证 · 92%
nix profile install nixpkgs#wstunnel

nixpkgs package indexes · pkgs/by-name/ws/wstunnel/package.nix · 来源: api.github.com

Windows

Scoop已验证 · 92%
scoop install main/wstunnel

Scoop official bucket manifest trees · bucket/wstunnel.json · 来源: api.github.com

概览

软件包摘要

Tunnel all your traffic over Websocket or HTTP2

命令和别名

  • wstunnel

历史

项目历史与用法

wstunnel is a tunneling tool that carries arbitrary traffic over WebSocket or HTTP/2, aiming to look like ordinary HTTP-family traffic on networks where direct protocols are blocked by firewalls, proxies, or DPI systems. It supports static and reverse tunnels, TCP, UDP, Unix sockets, stdio, SOCKS5, HTTP proxy mode, TLS, mTLS, IPv6, and standalone binaries.

项目历史

The upstream README says wstunnel was inspired by an older npm package named `wstunnel`, but was remade so users would not need npm and Node.js. The project was originally written in Haskell and later moved to Rust; the README calls v7.0.0 a complete Rust rewrite that is not compatible with earlier versions and keeps the previous Haskell implementation on a separate branch.

The Rust rewrite was motivated by maintenance and performance concerns. The maintainer cites lower jitter from avoiding Haskell garbage collection, a more homogeneous command-line interface, reverse tunneling support, traffic that better resembles normal traffic, and easier long-term maintenance because the Haskell ecosystem had become harder for the maintainer to keep up with.

采用历史

wstunnel's adoption is concentrated among users who need a single-file tunnel that can survive HTTP-only or proxy-constrained networks. The README's examples cover ordinary port forwarding, UDP DNS forwarding, SOCKS5 and HTTP proxy modes, transparent proxying, Unix sockets, and using stdio as an SSH ProxyCommand transport.

The GitHub releases page shows an active v10 series, and the project publishes container images through GitHub Packages in addition to binary releases. That packaging footprint reflects its operational audience: people copying a tunnel binary or container to constrained client and server environments.

使用方式

A common pattern is to run a public wstunnel server and then start a local client with one or more `-L` local-to-remote forwards or `-R` remote-to-local forwards. For SSH, the README documents a stdio tunnel suitable for `ssh -o ProxyCommand=...`; for browser or whole-session use, it can expose SOCKS5 or HTTP proxy listeners.

The tool is often used where WebSocket over TLS is more likely to pass through middleboxes than raw SSH, WireGuard, or application-specific TCP/UDP traffic. The README cautions that HTTP/2 tunneling is harder behind reverse proxies and CDNs because buffering and protocol conversion can break streaming.

为什么软件包爱好者会关心

wstunnel is notable because it sits in the pragmatic tunneling family with tools such as chisel, gost, boringproxy, and SSH ProxyCommand setups, but keeps a very explicit WebSocket/HTTP transport identity. The Haskell-to-Rust rewrite also makes it a useful example of a network utility migrating runtimes to improve distribution and maintenance.

时间线

  • Original era: wstunnel was implemented in Haskell, inspired by an npm WebSocket tunnel package.
  • v7.0.0: The project was rewritten in Rust with an incompatible command-line and protocol transition from the Haskell version.
  • 2020s: The README documents WebSocket and HTTP/2 transports, reverse tunneling, SOCKS5/HTTP proxy modes, mTLS, IPv6, and standalone binaries.
  • 2026: The GitHub releases page lists active v10.x releases.

Related projects

  • The README links the older npm `wstunnel` package as the inspiration for this implementation.
  • The README points to the Haskell branch for users interested in the pre-v7 implementation.

安全态势

风险级别:blue

broad file, network, media, or database tool signal.

风险分类器

blue 风险 · 中 置信度 · tool

原因

  • broad file, network, media, or database tool signal

信号

  • text:http

安装行为

  • 未记录 Homebrew bottle 元数据。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

可执行文件

已安装的可执行文件

命令类型暴露范围备注
wstunnel可执行文件已索引可执行文件从本地可执行文件索引发现。

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-08-03
管理器版本10.6.2
管理器更新时间2026-07-18
本地数据未知
上游不可用
检测到的最新版本未检测到
  • OK没有生成新鲜度警告。

安装元数据

软件包元数据

软件包键brew:wstunnel
版本10.6.2
软件包管理器Homebrew
主页https://github.com/erebe/wstunnel
仓库https://github.com/erebe/wstunnel
最后更新2026-07-18T14:04:18Z
Pulseupdated
Bottle未记录
服务未声明

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Nix95%

wstunnel

nix profile install nixpkgs#wstunnel
  • normalized package name match
  • 匹配方式:Wstunnel
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/ws/wstunnel/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
MacPorts95%

wstunnel

sudo port install wstunnel
  • normalized package name match
  • 匹配方式:Wstunnel
MacPorts ports tree · api.github.com · MacPorts ports tree: net/wstunnel/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
Scoop95%

main/wstunnel

scoop install main/wstunnel
  • normalized package name match
  • 匹配方式:Wstunnel
Scoop official bucket manifest trees · api.github.com · Scoop official bucket manifest trees: bucket/wstunnel.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • Geiger risk classifier
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • pkg.so package database
  • pkgdb category and tag curation