Transport: Refine Hysteria & quicParams

This commit is contained in:
Fangliding
2026-04-03 03:51:13 +08:00
parent 061d9462de
commit 7999f7eae6
6 changed files with 42 additions and 30 deletions
+3 -9
View File
@@ -1,14 +1,6 @@
# Hysteria
::: tip
搭配 `hysteria protocol` 时默认启用 `quic native udp`
搭配 `hysteria inbound` 时 `auth` 将会被 `clients` 覆盖 (如果存在)
搭配其他 `protocol` 能否代理 `udp` 取决于该 `protocol` 是否具有 `uot` 能力
启用 `finalmask.udp` 后将会破坏 `masquerade` 的页面伪装
:::
Hysteria2 的底层 QUIC 传输的 Xray 实现,通常搭配 hysteria[出站](../outbounds/hysteria.md) 和 hysteria[入站](../inbounds/hysteria.md) 使用,此时兼容其官方实现。
## HysteriaObject
@@ -45,6 +37,8 @@ Hysteria 版本,必须为 2。
Hysteria 认证密码,服务端和客户端需要保持一致。
搭配 `hysteria inbound` 时将会被 `clients` 覆盖 (如果存在)
> `udpIdleTimeout`: number
单位秒,默认 60。