Files
sing-box-extended-mirror/docs/configuration/inbound/naive.zh.md
T

63 lines
1.1 KiB
Markdown
Raw Normal View History

2025-12-19 18:00:23 +08:00
!!! quote "sing-box 1.13.0 中的更改"
:material-plus: [quic_congestion_control](#quic_congestion_control)
2022-08-24 18:43:39 +08:00
### 结构
```json
{
2025-12-18 17:08:36 +08:00
"type": "naive",
"tag": "naive-in",
"network": "udp",
... // 监听字段
"users": [
{
"username": "sekai",
"password": "password"
}
],
"quic_congestion_control": "",
"tls": {}
2022-08-24 18:43:39 +08:00
}
```
2022-08-31 12:50:26 +08:00
### 监听字段
参阅 [监听字段](/zh/configuration/shared/listen/)。
### 字段
2022-08-24 18:43:39 +08:00
#### network
监听的网络协议,`tcp` `udp` 之一。
默认所有。
#### users
==必填==
2022-08-25 09:45:22 +08:00
Naive 用户。
2022-08-24 18:43:39 +08:00
2025-12-18 17:08:36 +08:00
#### quic_congestion_control
2025-12-19 18:00:23 +08:00
!!! question "Since sing-box 1.13.0"
2025-12-18 17:08:36 +08:00
QUIC 拥塞控制算法。
| 算法 | 描述 |
|----------------|--------------------|
| `bbr` | BBR |
| `bbr_standard` | BBR (标准版) |
| `bbr2` | BBRv2 |
| `bbr2_variant` | BBRv2 (一种试验变体) |
| `cubic` | CUBIC |
| `reno` | New Reno |
默认使用 `bbr`(NaiveProxy 基于的 Chromium 使用的 QUICHE 的默认值)。
2022-08-24 18:43:39 +08:00
#### tls
2026-03-16 12:24:10 +08:00
TLS 配置, 参阅 [TLS](/zh/configuration/shared/tls/#入站)。