Hysteria is a powerful, lightning fast and censorship resistant proxy. https://v2.hysteria.network/
Find a file
2023-09-01 13:44:12 -07:00
.github ci: build all platforms 2023-08-29 20:15:27 -07:00
app chore: small tweaks 2023-08-30 20:12:21 -07:00
core feat: options to disable update check & fix client lazy mode 2023-08-24 14:10:51 -07:00
extras fix: udp hop returning bogus close errors 2023-09-01 02:29:05 -07:00
.gitignore feat: hyperbole build script 2023-06-04 12:37:17 -07:00
go.work hysteria 2 prototype first public release 2023-05-25 20:24:24 -07:00
go.work.sum feat: pprof 2023-08-05 12:07:22 -07:00
hyperbole.py ci: test subcommand for hyperbole 2023-08-31 15:24:23 -07:00
LICENSE.md chore: add license 2023-09-01 13:44:12 -07:00
platforms.txt ci: build all platforms 2023-08-29 20:15:27 -07:00
PROTOCOL.md doc: PROTOCOL.md 2023-08-16 21:34:37 -07:00
README.md doc: update README 2023-07-07 13:41:27 -07:00

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.

警告 此分支的代码是 Hysteria 2.0 的原型,目前仍在开发中,完成度十分有限。除非你十分确定自己在做什么,否则请继续使用稳定的 1.x 版本。

Build (编译)

Use the environment variable HY_APP_PLATFORMS to control which platforms to build for. For example: "windows/amd64,linux/amd64,linux/arm"

用环境变量 HY_APP_PLATFORMS 来控制编译哪些平台的可执行文件。例如:"windows/amd64,linux/amd64,linux/arm"

python ./hyperbole.py build

Builds will be placed in ./build (编译输出在 ./build 目录下)

Usage (使用)

Server

./hysteria server -c config.yaml

Example sever config (示例服务器配置)

Client

./hysteria client -c config.yaml

Example client config (示例客户端配置)

Logging (日志)

The following environment variables for controlling logging are supported:

  • HYSTERIA_LOG_LEVEL - supported values are debug, info, warn, error

  • HYSTERIA_LOG_FORMAT - supported values are console, json

支持通过以下环境变量来控制日志:

  • HYSTERIA_LOG_LEVEL - 支持的值有 debug, info, warn, error

  • HYSTERIA_LOG_FORMAT - 支持的值有 console, json

Test HTTP/3 masquerading (测试 HTTP/3 伪装)

chrome --origin-to-force-quic-on=example.com:443

Then visit https://example.com/ in Chrome.