QUICParams: Add bbrProfile

This commit is contained in:
Fangliding
2026-05-18 02:01:36 +08:00
parent 3deee863e8
commit 152af42742
3 changed files with 21 additions and 3 deletions
+7 -1
View File
@@ -16,7 +16,7 @@ FinalMask 在核心处理完包括 TLS/REALITY 在内的传输层加密后,对
// ...
"streamSettings": {
"finalmask": {
// [!code focus:30]
// [!code focus:31]
"tcp": [
{
"type": "",
@@ -31,6 +31,7 @@ FinalMask 在核心处理完包括 TLS/REALITY 在内的传输层加密后,对
],
"quicParams": {
"congestion": "force-brutal",
"bbrProfile": "standard",
"debug": false,
"brutalUp": "60 mbps",
"brutalDown": 0,
@@ -319,6 +320,7 @@ FinalMask 在核心处理完包括 TLS/REALITY 在内的传输层加密后,对
```json
{
"congestion": "force-brutal",
"bbrProfile": "standard",
"debug": false,
"brutalUp": "60 mbps",
"brutalDown": 0,
@@ -349,6 +351,10 @@ FinalMask 在核心处理完包括 TLS/REALITY 在内的传输层加密后,对
`force-brutal`: 同 `brutal`,但强制使上行使用 `brutalUp` 固定发包速率,无视对端协商。
> `bbrProfile`: conservative | standard | aggressive
当 QUIC 阻塞控制被选择为 BBR 时,控制其 BBR 预设。 默认为 `standard`,`conservative` 稍微更保守,`aggressive` 则稍微更激进。
> `debug`: false | true
启用 bbr/brutal congestion control 日志。
+7 -1
View File
@@ -16,7 +16,7 @@ It can be used for multiple kinds of TCP and UDP camouflage, as well as QUIC-rel
// ...
"streamSettings": {
"finalmask": {
// [!code focus:30]
// [!code focus:31]
"tcp": [
{
"type": "",
@@ -31,6 +31,7 @@ It can be used for multiple kinds of TCP and UDP camouflage, as well as QUIC-rel
],
"quicParams": {
"congestion": "force-brutal",
"bbrProfile": "standard",
"debug": false,
"brutalUp": "60 mbps",
"brutalDown": 0,
@@ -319,6 +320,7 @@ Note that this differs from the usual TCP/UDP listening on `"0.0.0.0"` and `"::"
```json
{
"congestion": "force-brutal",
"bbrProfile": "standard",
"debug": false,
"brutalUp": "60 mbps",
"brutalDown": 0,
@@ -349,6 +351,10 @@ Congestion-control algorithm. Hysteria defaults to `brutal`. XHTTP H3 defaults t
`force-brutal` is the same as `brutal`, but it forcibly uses the fixed upstream rate from `brutalUp` and ignores peer negotiation.
> `bbrProfile`: conservative | standard | aggressive
Controls the BBR preset when QUIC congestion control is set to BBR. Defaults to `standard`. `conservative` is slightly more cautious, `aggressive` is slightly more aggressive.
> `debug`: false | true
Enable logging for the `bbr` and `brutal` congestion-control implementations.
+7 -1
View File
@@ -16,7 +16,7 @@ FinalMask добавляет последний слой маскировки п
// ...
"streamSettings": {
"finalmask": {
// [!code focus:30]
// [!code focus:31]
"tcp": [
{
"type": "",
@@ -31,6 +31,7 @@ FinalMask добавляет последний слой маскировки п
],
"quicParams": {
"congestion": "force-brutal",
"bbrProfile": "standard",
"debug": false,
"brutalUp": "60 mbps",
"brutalDown": 0,
@@ -319,6 +320,7 @@ FinalMask добавляет последний слой маскировки п
```json
{
"congestion": "force-brutal",
"bbrProfile": "standard",
"debug": false,
"brutalUp": "60 mbps",
"brutalDown": 0,
@@ -349,6 +351,10 @@ FinalMask добавляет последний слой маскировки п
`force-brutal` работает так же, как `brutal`, но принудительно использует фиксированную исходящую скорость из `brutalUp`, игнорируя переговоры с другой стороной.
> `bbrProfile`: conservative | standard | aggressive
Управляет пресетом BBR, когда QUIC использует алгоритм BBR. По умолчанию — `standard`. `conservative` — чуть более осторожный, `aggressive` — чуть более агрессивный.
> `debug`: false | true
Включает логирование для реализаций `bbr` и `brutal`.