MCPcopy
hub / github.com/apernet/hysteria

github.com/apernet/hysteria @v1.3.5 sqlite

repository ↗ · DeepWiki ↗ · release v1.3.5 ↗
413 symbols 1,087 edges 71 files 39 documented · 9%
README

Logo

License Release Telegram Discussions

AperNet

An Aperture Internet Laboratory project


Hysteria is a feature-packed proxy & relay tool optimized for lossy, unstable connections (e.g. satellite networks, congested public Wi-Fi, connecting to foreign servers from China) powered by a customized protocol based on QUIC.

Use cases

  • Censorship circumvention
  • Boosting slow connections
  • Bypassing commercial/academic/corporate firewalls
  • Bypassing ISP throttling
  • ...

Modes

  • SOCKS5 proxy (TCP & UDP)
  • HTTP/HTTPS proxy
  • TCP/UDP relay
  • TCP/UDP TPROXY (Linux)
  • TCP REDIRECT (Linux)
  • TUN (TAP on Windows)
  • Still growing...

Documentation


Hysteria 是一个功能丰富的,专为恶劣网络环境(如卫星网络、拥挤的公共 Wi-Fi、从中国连接境外服务器等)进行优化的双边加速工具,基于修改版的 QUIC 协议。

常见用例

  • 绕过网络审查
  • 提升传输速度
  • 绕过商业/学校/企业防火墙
  • 绕过运营商 QoS 限速

模式

  • SOCKS5 代理 (TCP & UDP)
  • HTTP/HTTPS 代理
  • TCP/UDP 转发
  • TCP/UDP TPROXY 透明代理 (Linux)
  • TCP REDIRECT 透明代理 (Linux)
  • TUN (Windows 下为 TAP)
  • 仍在增加中...

中文文档


Benchmarks

Bench


Donations are greatly appreciated! Contact me if you would like your name listed as a sponsor.

欢迎大佬捐赠! 如希望挂名请在捐赠后联系我。

Crypto donation button by NOWPayments

Extension points exported contracts — how you extend this code

STPacketConn (Interface)
(no doc) [8 implementers]
core/transport/server.go
HyUDPConn (Interface)
(no doc) [8 implementers]
core/cs/client.go
Matcher (Interface)
(no doc) [5 implementers]
core/acl/entry.go
Obfuscator (Interface)
(no doc) [1 implementers]
core/pktconns/obfs/obfs.go
TrafficCounter (Interface)
(no doc) [1 implementers]
core/cs/server.go
ClientPacketConnFunc (FuncType)
(no doc)
core/pktconns/funcs.go
ConnectFunc (FuncType)
(no doc)
core/cs/server.go
ServerPacketConnFunc (FuncType)
(no doc)
core/pktconns/funcs.go

Core symbols most depended-on inside this repo

Close
called by 75
core/cs/client.go
String
called by 75
app/cmd/config.go
Mask
called by 57
app/cmd/ipmasker.go
WriteTo
called by 22
core/cs/client.go
Close
called by 19
core/transport/server.go
RemoteAddr
called by 19
core/cs/client.go
ResolveIPAddr
called by 16
core/transport/server.go
sendReply
called by 16
app/socks5/server.go

Shape

Method 206
Function 117
Struct 71
FuncType 10
Interface 5
TypeAlias 4

Languages

Go100%
Python1%

Modules by API surface

core/cs/client.go27 symbols
core/pktconns/udp/hop.go22 symbols
core/pktconns/faketcp/tcp_linux.go21 symbols
core/acl/entry.go20 symbols
core/congestion/brutal.go18 symbols
core/cs/server.go17 symbols
core/transport/server.go16 symbols
core/transport/socks5.go13 symbols
core/pktconns/wechat/obfs.go13 symbols
core/pktconns/udp/obfs.go13 symbols
app/cmd/config.go13 symbols
core/pktconns/faketcp/obfs.go12 symbols

Dependencies from manifests, versioned

github.com/LiamHaworth/go-tproxyv0.0.0-2019072605495 · 1×
github.com/RackSec/srslogv0.0.0-2018070917412 · 1×
github.com/antonfisher/nested-logrus-formatterv1.3.1 · 1×
github.com/apernet/hysteria/corev0.0.0-0001010100000 · 1×
github.com/beorn7/perksv1.0.1 · 1×
github.com/cespare/xxhash/v2v2.1.2 · 1×
github.com/coreos/go-iptablesv0.6.0 · 1×
github.com/docker/go-unitsv0.5.0 · 1×
github.com/elazarl/goproxyv0.0.0-2022101516554 · 1×
github.com/elazarl/goproxy/extv0.0.0-2022101516554 · 1×
github.com/folbricht/routednsv0.1.21-0.2023022002 · 1×

For agents

$ claude mcp add hysteria \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact