mirror of
https://github.com/apernet/hysteria.git
synced 2025-04-02 03:57:38 +03:00
Hysteria is a powerful, lightning fast and censorship resistant proxy.
https://v2.hysteria.network/
app | ||
core | ||
extras | ||
.gitignore | ||
go.work | ||
go.work.sum | ||
hyperbole.py | ||
README.md |
Hysteria 2 Prototype
Warning
The code on this branch is a work-in-progress prototype of what will become Hysteria 2.0. It is currently very unfinished, and unless you know what you are doing, you should stick with the stable 1.x releases for now. The protocol is also subject to change, so we do not recommend third-party developers use this as a reference for the Hysteria 2 protocol at this time.
警告 此分支的代码是 Hysteria 2.0 的原型,目前仍在开发中,完成度十分有限。除非你十分确定自己在做什么,否则请继续使用稳定的 1.x 版本。协议也可能会发生变化,因此我们不建议第三方开发者在目前使用此分支作为 Hysteria 2 协议的参考。
Build (编译)
go build ./app
Usage (使用)
Server
./app server -c config.yaml
Example sever config (示例服务器配置)
Client
./app client -c config.yaml
Example client config (示例客户端配置)
Test HTTP/3 masquerading (测试 HTTP/3 伪装)
chrome --origin-to-force-quic-on=example.com:443
Then visit https://example.com:443
in Chrome.