diff --git a/docs/configuration/dns/server.zh.md b/docs/configuration/dns/server.zh.md index 6fb5d506..76471d03 100644 --- a/docs/configuration/dns/server.zh.md +++ b/docs/configuration/dns/server.zh.md @@ -47,7 +47,7 @@ DNS 服务器的地址。 !!! warning "" - 默认安装不包含 QUIC 和 HTTP3 传输层,请参阅 [安装](/zh/#installation)。 + 默认安装不包含 QUIC 和 HTTP3 传输层,请参阅 [安装](/zh/#_2)。 !!! info "" diff --git a/docs/configuration/experimental/index.zh.md b/docs/configuration/experimental/index.zh.md index 4ab24512..9595383e 100644 --- a/docs/configuration/experimental/index.zh.md +++ b/docs/configuration/experimental/index.zh.md @@ -18,7 +18,7 @@ !!! error "" - 默认安装不包含 Clash API,参阅 [安装](/zh/#installation)。 + 默认安装不包含 Clash API,参阅 [安装](/zh/#_2)。 !!! note "" diff --git a/docs/configuration/inbound/hysteria.zh.md b/docs/configuration/inbound/hysteria.zh.md index ec3f231d..25ea0d6a 100644 --- a/docs/configuration/inbound/hysteria.zh.md +++ b/docs/configuration/inbound/hysteria.zh.md @@ -32,7 +32,7 @@ !!! warning "" - 默认安装不包含被 Hysteria 依赖的 QUIC,参阅 [安装](/zh/#installation)。 + 默认安装不包含被 Hysteria 依赖的 QUIC,参阅 [安装](/zh/#_2)。 ### Hysteria 字段 diff --git a/docs/configuration/inbound/naive.zh.md b/docs/configuration/inbound/naive.zh.md index d74e1ffb..2da3007e 100644 --- a/docs/configuration/inbound/naive.zh.md +++ b/docs/configuration/inbound/naive.zh.md @@ -30,7 +30,7 @@ !!! warning "" - 默认安装不包含 HTTP3 传输层, 参阅 [安装](/zh/#installation)。 + 默认安装不包含 HTTP3 传输层, 参阅 [安装](/zh/#_2)。 ### Naive 字段 diff --git a/docs/configuration/inbound/tun.zh.md b/docs/configuration/inbound/tun.zh.md index 55c1cbf0..9883d159 100644 --- a/docs/configuration/inbound/tun.zh.md +++ b/docs/configuration/inbound/tun.zh.md @@ -107,7 +107,7 @@ TCP/IP 栈。 !!! warning "" - 默认安装不包含 LWIP 栈,请参阅 [安装](/zh/#installation)。 + 默认安装不包含 LWIP 栈,请参阅 [安装](/zh/#_2)。 #### include_uid diff --git a/docs/configuration/outbound/hysteria.zh.md b/docs/configuration/outbound/hysteria.zh.md index 17dac3ba..84ac66d7 100644 --- a/docs/configuration/outbound/hysteria.zh.md +++ b/docs/configuration/outbound/hysteria.zh.md @@ -38,7 +38,7 @@ !!! warning "" - 默认安装不包含被 Hysteria 依赖的 QUIC,参阅 [安装](/zh/#installation)。 + 默认安装不包含被 Hysteria 依赖的 QUIC,参阅 [安装](/zh/#_2)。 ### Hysteria 字段 diff --git a/docs/configuration/outbound/tor.zh.md b/docs/configuration/outbound/tor.zh.md index 0e9e608a..a87f9fcb 100644 --- a/docs/configuration/outbound/tor.zh.md +++ b/docs/configuration/outbound/tor.zh.md @@ -30,7 +30,7 @@ !!! info "" - 默认安装不包含嵌入式 Tor, 参阅 [安装](/zh/#installation)。 + 默认安装不包含嵌入式 Tor, 参阅 [安装](/zh/#_2)。 ### Tor 字段 diff --git a/docs/configuration/outbound/wireguard.zh.md b/docs/configuration/outbound/wireguard.zh.md index 745c6240..14a6e9bf 100644 --- a/docs/configuration/outbound/wireguard.zh.md +++ b/docs/configuration/outbound/wireguard.zh.md @@ -35,7 +35,7 @@ !!! warning "" - 默认安装不包含 WireGuard, 参阅 [安装](/zh/#installation)。 + 默认安装不包含 WireGuard, 参阅 [安装](/zh/#_2)。 ### WireGuard 字段 diff --git a/docs/configuration/shared/tls.zh.md b/docs/configuration/shared/tls.zh.md index 31a844b0..18bc2bf2 100644 --- a/docs/configuration/shared/tls.zh.md +++ b/docs/configuration/shared/tls.zh.md @@ -32,7 +32,7 @@ !!! warning "" - 默认安装不包含 ACME,参阅 [安装](/zh/#installation)。 + 默认安装不包含 ACME,参阅 [安装](/zh/#_2)。 ### 出站 diff --git a/docs/configuration/shared/v2ray-transport.md b/docs/configuration/shared/v2ray-transport.md index a1e4b277..b2e78f48 100644 --- a/docs/configuration/shared/v2ray-transport.md +++ b/docs/configuration/shared/v2ray-transport.md @@ -108,6 +108,10 @@ It needs to be consistent with the server. } ``` +!!! warning "" + + QUIC is not included by default, see [Installation](/#installation). + !!! warning "Difference from v2ray-core" No additional encryption support: diff --git a/docs/configuration/shared/v2ray-transport.zh.md b/docs/configuration/shared/v2ray-transport.zh.md index ef95c546..2f7ae297 100644 --- a/docs/configuration/shared/v2ray-transport.zh.md +++ b/docs/configuration/shared/v2ray-transport.zh.md @@ -107,6 +107,10 @@ HTTP 请求的额外标头。 } ``` +!!! warning "" + + 默认安装不包含 QUIC, 参阅 [安装](/zh/#_2)。 + !!! warning "与 v2ray-core 的区别" 没有额外的加密支持: @@ -116,7 +120,7 @@ HTTP 请求的额外标头。 !!! warning "" - 默认安装不包含 gRPC, 参阅 [安装](/zh/#installation)。 + 默认安装不包含 gRPC, 参阅 [安装](/zh/#_2)。 ```json { diff --git a/docs/index.md b/docs/index.md index 080d58a0..2fcdffc3 100644 --- a/docs/index.md +++ b/docs/index.md @@ -22,16 +22,16 @@ Install with options: go install -v -tags with_clash_api github.com/sagernet/sing-box/cmd/sing-box@latest ``` -| Build Tag | Description | -|------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| -| `with_quic` | Build with QUIC support, see [QUIC and HTTP3 dns transports](./configuration/dns/server), [Naive inbound](./configuration/inbound/naive), [Hysteria Inbound](./configuration/inbound/hysteria) and [Hysteria Outbound](./configuration/outbound/hysteria). | -| `with_grpc` | Build with gRPC support, see [V2Ray Transport#gRPC](/configuration/shared/v2ray-transport#grpc). | -| `with_wireguard` | Build with WireGuard support, see [WireGuard outbound](./configuration/outbound/wireguard). | -| `with_acme` | Build with ACME TLS certificate issuer support, see [TLS](./configuration/shared/tls). | -| `with_clash_api` | Build with Clash API support, see [Experimental](./configuration/experimental#clash-api-fields). | -| `no_gvisor` | Build without gVisor Tun stack support, see [Tun inbound](./configuration/inbound/tun#stack). | -| `with_embedded_tor` (CGO required) | Build with embedded Tor support, see [Tor outbound](./configuration/outbound/tor). | -| `with_lwip` (CGO required) | Build with LWIP Tun stack support, see [Tun inbound](./configuration/inbound/tun#stack). | +| Build Tag | Description | +|------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| +| `with_quic` | Build with QUIC support, see [QUIC and HTTP3 dns transports](./configuration/dns/server), [Naive inbound](./configuration/inbound/naive), [Hysteria Inbound](./configuration/inbound/hysteria), [Hysteria Outbound](./configuration/outbound/hysteria) and [V2Ray Transport#QUIC](./configuration/shared/v2ray-transport#quic). | +| `with_grpc` | Build with gRPC support, see [V2Ray Transport#gRPC](./configuration/shared/v2ray-transport#grpc). | +| `with_wireguard` | Build with WireGuard support, see [WireGuard outbound](./configuration/outbound/wireguard). | +| `with_acme` | Build with ACME TLS certificate issuer support, see [TLS](./configuration/shared/tls). | +| `with_clash_api` | Build with Clash API support, see [Experimental](./configuration/experimental#clash-api-fields). | +| `no_gvisor` | Build without gVisor Tun stack support, see [Tun inbound](./configuration/inbound/tun#stack). | +| `with_embedded_tor` (CGO required) | Build with embedded Tor support, see [Tor outbound](./configuration/outbound/tor). | +| `with_lwip` (CGO required) | Build with LWIP Tun stack support, see [Tun inbound](./configuration/inbound/tun#stack). | The binary is built under $GOPATH/bin diff --git a/docs/index.zh.md b/docs/index.zh.md index ac7b716b..ef2bdaee 100644 --- a/docs/index.zh.md +++ b/docs/index.zh.md @@ -22,16 +22,16 @@ go install -v github.com/sagernet/sing-box/cmd/sing-box@latest go install -v -tags with_clash_api github.com/sagernet/sing-box/cmd/sing-box@latest ``` -| 构建标志 | 描述 | -|------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| -| `with_quic` | 启用 QUIC 支持,参阅 [QUIC 和 HTTP3 DNS 传输层](./configuration/dns/server),[Naive 入站](./configuration/inbound/naive),[Hysteria 入站](./configuration/inbound/hysteria) 和 [Hysteria 出站](./configuration/outbound/hysteria)。 | -| `with_grpc` | 启用 gRPC 支持,参阅 [V2Ray 传输层#gRPC](/configuration/shared/v2ray-transport#grpc)。 | -| `with_wireguard` | 启用 WireGuard 支持,参阅 [WireGuard 出站](./configuration/outbound/wireguard)。 | -| `with_acme` | 启用 ACME TLS 证书签发支持,参阅 [TLS](./configuration/shared/tls)。 | -| `with_clash_api` | 启用 Clash api 支持,参阅 [实验性](./configuration/experimental#clash-api-fields)。 | -| `no_gvisor` | 禁用 gVisor Tun 栈支持,参阅 [Tun 入站](./configuration/inbound/tun#stack)。 | -| `with_embedded_tor` (需要 CGO) | 启用 嵌入式 Tor 支持,参阅 [Tor 出站](./configuration/outbound/tor)。 | -| `with_lwip` (需要 CGO) | 启用 LWIP Tun 栈支持,参阅 [Tun 入站](./configuration/inbound/tun#stack)。 | +| 构建标志 | 描述 | +|------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| +| `with_quic` | 启用 QUIC 支持,参阅 [QUIC 和 HTTP3 DNS 传输层](./configuration/dns/server),[Naive 入站](./configuration/inbound/naive),[Hysteria 入站](./configuration/inbound/hysteria),[Hysteria 出站](./configuration/outbound/hysteria) 和 [V2Ray 传输层#QUIC](./configuration/shared/v2ray-transport#quic)。 | +| `with_grpc` | 启用 gRPC 支持,参阅 [V2Ray 传输层#gRPC](./configuration/shared/v2ray-transport#grpc)。 | +| `with_wireguard` | 启用 WireGuard 支持,参阅 [WireGuard 出站](./configuration/outbound/wireguard)。 | +| `with_acme` | 启用 ACME TLS 证书签发支持,参阅 [TLS](./configuration/shared/tls)。 | +| `with_clash_api` | 启用 Clash api 支持,参阅 [实验性](./configuration/experimental#clash-api-fields)。 | +| `no_gvisor` | 禁用 gVisor Tun 栈支持,参阅 [Tun 入站](./configuration/inbound/tun#stack)。 | +| `with_embedded_tor` (需要 CGO) | 启用 嵌入式 Tor 支持,参阅 [Tor 出站](./configuration/outbound/tor)。 | +| `with_lwip` (需要 CGO) | 启用 LWIP Tun 栈支持,参阅 [Tun 入站](./configuration/inbound/tun#stack)。 | 二进制文件将被构建在 `$GOPATH/bin` 下。